Yearly copyright bump :)
[quassel.git] / src / uisupport / iconloader.h
index c40dc57..509eb2d 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-08 by the Quassel IRC Team                         *
+ *   Copyright (C) 2005-09 by the Quassel Project                          *
  *   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 HAVE_KDE
+
 #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; }
 
+#else /* HAVE_KDE */
+
+#include <KIconLoader>
+class IconLoader : public KIconLoader { Q_OBJECT };
+
+#endif /* HAVE_KDE */
+
 #endif