diff options
Diffstat (limited to 'akregator/src/trayicon.h')
-rw-r--r-- | akregator/src/trayicon.h | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/akregator/src/trayicon.h b/akregator/src/trayicon.h index e491fdaca..7c854666e 100644 --- a/akregator/src/trayicon.h +++ b/akregator/src/trayicon.h @@ -35,27 +35,33 @@ namespace Akregator class TrayIcon : public KSystemTray { Q_OBJECT - + public: static TrayIcon* getInstance(); static void setInstance(TrayIcon* trayIcon); - + TrayIcon(TQWidget *parent = 0, const char *name = 0); ~TrayIcon(); - + TQPixmap takeScreenshot() const; virtual void mousePressEvent(TQMouseEvent *); + public slots: void settingsChanged(); void slotSetUnread(int unread); void viewButtonClicked(); - + + protected: + void resizeEvent(TQResizeEvent *); + signals: void showPart(); private: + void setUnread(int unread, bool force); + static TrayIcon* m_instance; - + TQPixmap m_defaultIcon; TQImage m_lightIconImage; int m_unread; |