karm
tray.h00001 #ifndef KARM_TRAY_H
00002 #define KARM_TRAY_H
00003
00004 #include <tqptrvector.h>
00005 #include <tqpixmap.h>
00006 #include <tqptrlist.h>
00007
00008
00009 #include <ksystemtray.h>
00010
00011 #include "task.h"
00012 #include "karm_part.h"
00013
00014 class KarmPart;
00015
00016 class TQPopupMenu;
00017 class TQTimer;
00018
00019 class KSystemTray;
00020 class MainWindow;
00021
00022
00023
00024 class KarmTray : public KSystemTray
00025 {
00026 Q_OBJECT
00027
00028
00029 public:
00030 KarmTray(MainWindow * parent);
00031 KarmTray(karmPart * parent);
00032 ~KarmTray();
00033
00034 private:
00035 int _activeIcon;
00036 static TQPtrVector<TQPixmap> *icons;
00037 TQTimer *_taskActiveTimer;
00038
00039 public slots:
00040 void startClock();
00041 void stopClock();
00042 void resetClock();
00043 void updateToolTip( TQPtrList<Task> activeTasks);
00044 void initToolTip();
00045
00046 protected slots:
00047 void advanceClock();
00048
00049
00050
00051
00052
00053
00054
00055
00056
00057 };
00058
00059 #endif // KARM_TRAY_H
|