X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fuisupport%2Ficonloader.h;h=509eb2dc518e1c03c17a3e576889e9e81ea80d0e;hp=c40dc576cd40af572cf0279f663a054da450cb0e;hb=f824db0e31b54969e0b7fa0b5405b1e9173d482c;hpb=e8e1f038e6bf4a7bc938e316774374d3116ff39a diff --git a/src/uisupport/iconloader.h b/src/uisupport/iconloader.h index c40dc576..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 @@ -102,4 +104,11 @@ QPixmap SmallIcon(const QString& name, int size = 0); QString IconLoader::theme() const { return _theme; } +#else /* HAVE_KDE */ + +#include +class IconLoader : public KIconLoader { Q_OBJECT }; + +#endif /* HAVE_KDE */ + #endif