X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Ficonloader.h;h=509eb2dc518e1c03c17a3e576889e9e81ea80d0e;hp=165aa9b731c3a49e4ba07b9f384176827c4a16a4;hb=f824db0e31b54969e0b7fa0b5405b1e9173d482c;hpb=71d7e1a6931b5edfa3fd15de5ad82bbca25d1426 diff --git a/src/uisupport/iconloader.h b/src/uisupport/iconloader.h index 165aa9b7..509eb2dc 100644 --- a/src/uisupport/iconloader.h +++ b/src/uisupport/iconloader.h @@ -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 /// Provides basic facilities to load icons from standard locations or resources @@ -96,10 +98,17 @@ private: // 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 +class IconLoader : public KIconLoader { Q_OBJECT }; + +#endif /* HAVE_KDE */ + #endif