author | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-07-04 11:23:42 (UTC) |
commit | a08aff328d4393031d5ba7d622c2b05705a89d73 (patch) (side-by-side diff) | |
tree | 8ee90d686081c52e7c69b5ce946e9b1a7d690001 /microkde/kiconloader.h | |
parent | 11edc920afe4f274c0964436633aa632c8288a40 (diff) | |
download | kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.zip kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.gz kdepimpi-a08aff328d4393031d5ba7d622c2b05705a89d73.tar.bz2 |
initial public commit of qt4 portp1
-rw-r--r-- | microkde/kiconloader.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/microkde/kiconloader.h b/microkde/kiconloader.h index 68fec4e..2abb667 100644 --- a/microkde/kiconloader.h +++ b/microkde/kiconloader.h @@ -1,52 +1,52 @@ #ifndef MINIKDE_KICONLOADER_H #define MINIKDE_KICONLOADER_H #include <qpixmap.h> #include <qstring.h> //US -#include <qiconset.h> +#include <qicon.h> class KIcon { public: enum Group { NoGroup=-1, Desktop=0, Toolbar, MainToolbar, Small, Panel, LastGroup, User }; enum StdSizes { SizeSmall=16, SizeMedium=32, SizeLarge=48 }; enum States { DefaultState, ActiveState, DisabledState, LastState }; }; class KIconLoader { public: KIconLoader() : mIconpath(0) {} KIconLoader( const QString &iconpath ) : mIconpath(iconpath) {} //US QPixmap loadIcon( const QString &name, int ); QPixmap loadIcon(const QString& name, KIcon::Group group, int size=0, int state=KIcon::DefaultState, QString *path_store=0, bool canReturnNull=false) const; //US QString setIconPath( const QString &); QString iconPath( /*US const QString &, int */) const; QString iconPath( const QString &, int ) const; - QIconSet loadIconSet( const QString &name) const; + QIcon loadIconSet( const QString &name) const; //US to make this class usable for different applications, we have to add a iconpathvariable private: QString mIconpath; }; QPixmap BarIcon(const QString& name); QPixmap DesktopIcon(const QString& name, int); QPixmap SmallIcon(const QString& name); QPixmap SmallIconSet( const QString &name ); #endif |