[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: Installation of application icons
From:       Kurt Granroth <granroth () kde ! org>
Date:       2000-03-29 20:31:56
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic