projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo
[quassel.git]
/
src
/
uisupport
/
iconloader.h
diff --git
a/src/uisupport/iconloader.h
b/src/uisupport/iconloader.h
index
c40dc57
..
81059d8
100644
(file)
--- a/
src/uisupport/iconloader.h
+++ b/
src/uisupport/iconloader.h
@@
-24,6
+24,8
@@
#ifndef ICONLOADER_H_
#define ICONLOADER_H_
#ifndef ICONLOADER_H_
#define ICONLOADER_H_
+#ifndef HAVE_KDE
+
#include <QPixmap>
/// Provides basic facilities to load icons from standard locations or resources
#include <QPixmap>
/// 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; }
QString IconLoader::theme() const { return _theme; }
+#else /* HAVE_KDE */
+
+#include <KIconLoader>
+class IconLoader : public KIconLoader { Q_OBJECT };
+
+#endif /* HAVE_KDE */
+
#endif
#endif