From kde-core-devel Sat Aug 14 13:31:30 1999 From: Stephan Kulow Date: Sat, 14 Aug 1999 13:31:30 +0000 To: kde-core-devel Subject: Re: icon with filename X-MARC-Message: https://marc.info/?l=kde-core-devel&m=93463781129685 "Dirk A. Mueller" wrote: > > Stephan Kulow wrote: > > >> if the filename is an absolute pathname, use ICON() > > Why would you want ICON for an absolute pathname? > > Well... QPixmap constructor would be too easy ;) > > > BTW: Many contacted me and told me that ICON doesn't load icons, > > but only toolbar icons. That's right > > not in KDE_1_1_BRANCH.. > > > so shouldn't we rename it to Toolbar()? > > toolbarIcon() > > > ICON is very misleading! > > and ugly (who needs upper case?) > > > while beeing at it. ICON is defined in kiconloader.h, but requires > > kglobal.h to work, which is bad. > > well, didn't you want to fix that some while ago? Or is there no easy > way? > toolbarIcon is a bit long for my taste. ICON is written this way as it's a macro. Greetings, Stephan -- Better give your hours some more life than your life some more hours. - anonymous