projects
/
quassel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
/* no comment */
[quassel.git]
/
src
/
uisupport
/
iconloader.h
diff --git
a/src/uisupport/iconloader.h
b/src/uisupport/iconloader.h
index
c40dc57
..
509eb2d
100644
(file)
--- a/
src/uisupport/iconloader.h
+++ b/
src/uisupport/iconloader.h
@@
-1,5
+1,5
@@
/***************************************************************************
/***************************************************************************
- * Copyright (C) 2005-0
8 by the Quassel IRC Team
*
+ * Copyright (C) 2005-0
9 by the Quassel Project
*
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-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