X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fuisupport%2Ficon.cpp;h=791380dd0c76c0ad11953f878aa4835ec6bc0214;hb=3c2914faeb01f3bc32e29f40179ae88040fbcf59;hp=729a88b22823acb6bf3acadd7ab1b37af2592431;hpb=71d7e1a6931b5edfa3fd15de5ad82bbca25d1426;p=quassel.git diff --git a/src/uisupport/icon.cpp b/src/uisupport/icon.cpp index 729a88b2..791380dd 100644 --- a/src/uisupport/icon.cpp +++ b/src/uisupport/icon.cpp @@ -18,9 +18,28 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ +#ifndef HAVE_KDE + #include "icon.h" #include "iconloader.h" +Icon::Icon() : QIcon() { + +} + Icon::Icon(const QString &name) : QIcon() { addPixmap(IconLoader::global()->loadIcon(name, IconLoader::Desktop)); } + +Icon::Icon(const QIcon& copy) : QIcon(copy) { + +} + +Icon& Icon::operator=(const Icon &other) { + if (this != &other) { + QIcon::operator=(other); + } + return *this; +} + +#endif