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

List:       kde-commits
Subject:    kdelibs/kdecore
From:       CVS by granroth <kde-cvs () kde ! org>
Date:       1999-12-30 20:53:57
[Download RAW message or body]


kdelibs/kdecore kiconloader.cpp,1.88,1.89 kiconloader.h,1.48,1.49
Author: granroth
CVSROOT: /home/kde
Thu Dec 30 21:53:56 MET 1999
Update of /home/kde/kdelibs/kdecore
In directory zeus:/tmp/cvs-serv24730

Modified Files:
	kiconloader.cpp kiconloader.h 
Log Message:
Since we have BarIcon handling the following:

KGlobal::iconLoader()->loadIcon("toolbar/" + pixmap)

it makes sense to have helper functions for the other types of icons
as well.  So without further ado, meet

AppIcon  - KGlobal::iconLoader()->loadIcon(pixmap)
MimeIcon - KGlobal::iconLoader()->loadIcon("mimetypes/" + pixmap)
DevIcon  - KGlobal::iconLoader()->loadIcon("devices/" + pixmap)
FileIcon - KGlobal::iconLoader()->loadIcon("filesystems/" + pixmap)

Apps that need specific sizes, etc, may still use loadIcon directly.

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

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