X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Ficonloader.h;h=81059d826505f817d4a6b2a599aa11cd23e7358c;hb=75d7f7d582826603236394a37f43feb4cd725bb0;hp=c40dc576cd40af572cf0279f663a054da450cb0e;hpb=e8e1f038e6bf4a7bc938e316774374d3116ff39a;p=quassel.git diff --git a/src/uisupport/iconloader.h b/src/uisupport/iconloader.h index c40dc576..81059d82 100644 --- a/src/uisupport/iconloader.h +++ b/src/uisupport/iconloader.h @@ -24,6 +24,8 @@ #ifndef ICONLOADER_H_ #define ICONLOADER_H_ +#ifndef HAVE_KDE + #include /// Provides basic facilities to load icons from standard locations or resources @@ -102,4 +104,11 @@ QPixmap SmallIcon(const QString& name, int size = 0); QString IconLoader::theme() const { return _theme; } +#else /* HAVE_KDE */ + +#include +class IconLoader : public KIconLoader { Q_OBJECT }; + +#endif /* HAVE_KDE */ + #endif