From kde-devel Wed Mar 29 20:31:56 2000 From: Kurt Granroth Date: Wed, 29 Mar 2000 20:31:56 +0000 To: kde-devel Subject: Re: Installation of application icons X-MARC-Message: https://marc.info/?l=kde-devel&m=95436197408021 David Faure wrote: > > > > > pixmap = loader->loadIcon("file1", KIcon::*); > > > > > > > > What is that 'KIcon::*'? If that means "look everywhere", could you > > > > just make it the default parameter in loadIcon? Or is it just > > > > shorthand for your email message? > > > > > > Never heard of class prefixes / namespaces ? > > > > Er... I don't know what you are talking about, here. What do either > > class prefixes or namespaces have to do with this? > > KIcon:: is a class prefix, I thought your question was about how to avoid it. > I understand your question now, but you didn't see that * above is > pseudo-code and that it's in fact the group name. Read kiconloader.h. Okay, that was what I was asking: is the '*' shorthand or a new group meaning "everything". And yes, I think I do know what a class prefix is ;-) -- Kurt Granroth | http://www.granroth.org KDE Developer/Evangelist | SuSE Labs Open Source Developer granroth@kde.org | granroth@suse.com KDE -- Putting a Friendly Face on Unix