X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fqtui%2Flegacysystemtray.h;h=f366fbda2b15a6c33dea012a520cc9d6496e74ea;hb=921321156c2f1ceed0e02d519a1835e63e8c8b48;hp=196c6984232da08afba9d761cf2b0469ece44945;hpb=d0c0848307dab16108e855cab557be4a2f3d8d1b;p=quassel.git diff --git a/src/qtui/legacysystemtray.h b/src/qtui/legacysystemtray.h index 196c6984..f366fbda 100644 --- a/src/qtui/legacysystemtray.h +++ b/src/qtui/legacysystemtray.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2013 by the Quassel Project * + * Copyright (C) 2005-2015 by the Quassel Project * * devel@quassel-irc.org * * * * This file is free software; you can redistribute it and/or modify * @@ -23,12 +23,13 @@ #ifndef QT_NO_SYSTEMTRAYICON -#ifdef HAVE_KDE +#ifdef HAVE_KDE4 # include #else # include #endif +#include #include #include "systemtray.h" @@ -44,7 +45,7 @@ public: virtual bool isVisible() const; virtual inline bool isSystemTrayAvailable() const; - virtual Icon stateIcon() const; // overriden to care about blinkState + virtual QIcon stateIcon() const; // overriden to care about blinkState public slots: virtual void setState(State state); @@ -69,7 +70,7 @@ private: bool _blinkState; uint _lastMessageId; -#ifdef HAVE_KDE +#ifdef HAVE_KDE4 KSystemTrayIcon *_trayIcon; #else QSystemTrayIcon *_trayIcon;