/***************************************************************************
- * 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 *
#ifndef ICONLOADER_H_
#define ICONLOADER_H_
+#ifndef HAVE_KDE
+
#include <QPixmap>
/// Provides basic facilities to load icons from standard locations or resources
// convenience
QPixmap DesktopIcon(const QString& name, int size = 0);
QPixmap BarIcon(const QString& name, int size = 0);
-QPixmap MainbarIcon(const QString& name, int size = 0);
+QPixmap MainBarIcon(const QString& name, int size = 0);
QPixmap SmallIcon(const QString& name, int size = 0);
//QPixmap SmallMediumIcon(const QString &name, int size = 0); // not part of KIconLoader
QString IconLoader::theme() const { return _theme; }
+#else /* HAVE_KDE */
+
+#include <KIconLoader>
+class IconLoader : public KIconLoader { Q_OBJECT };
+
+#endif /* HAVE_KDE */
+
#endif