summaryrefslogtreecommitdiffabout
path: root/microkde/kiconloader.h
Side-by-side diff
Diffstat (limited to 'microkde/kiconloader.h') (more/less context) (show whitespace changes)
-rw-r--r--microkde/kiconloader.h4
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