25 #ifndef AKREGATORTRAYICON_H 26 #define AKREGATORTRAYICON_H 28 #include <ksystemtray.h> 35 class TrayIcon : public KSystemTray 40 static TrayIcon* getInstance(); 41 static void setInstance(TrayIcon* trayIcon); 43 TrayIcon(TQWidget *parent = 0, const char *name = 0); 46 TQPixmap takeScreenshot() const; 47 virtual void mousePressEvent(TQMouseEvent *); 50 void settingsChanged(); 51 void slotSetUnread( int unread); 52 void viewButtonClicked(); 55 void resizeEvent(TQResizeEvent *); 61 void setUnread( int unread, bool force); 63 static TrayIcon* m_instance; 65 TQPixmap m_defaultIcon; 66 TQImage m_lightIconImage;
|