karm

tray.h
1#ifndef KARM_TRAY_H
2#define KARM_TRAY_H
3
4#include <tqptrvector.h>
5#include <tqpixmap.h>
6#include <tqptrlist.h>
7// experiement
8// #include <tdepopupmenu.h>
9#include <ksystemtray.h>
10
11#include "task.h"
12#include "karm_part.h"
13
14class KarmPart;
15
16class TQPopupMenu;
17class TQTimer;
18
19class KSystemTray;
20class MainWindow;
21// experiment
22// class TDEPopupMenu;
23
24class KarmTray : public KSystemTray
25{
26 TQ_OBJECT
27
28
29 public:
30 KarmTray(MainWindow * parent);
31 KarmTray(karmPart * parent);
32 ~KarmTray();
33
34 private:
35 int _activeIcon;
36 static TQPtrVector<TQPixmap> *icons;
37 TQTimer *_taskActiveTimer;
38
39 public slots:
40 void startClock();
41 void stopClock();
42 void resetClock();
43 void updateToolTip( TQPtrList<Task> activeTasks);
44 void initToolTip();
45
46 protected slots:
47 void advanceClock();
48
49 // experiment
50 /*
51 void insertTitle(TQString title);
52
53 private:
54 TDEPopupMenu *trayPopupMenu;
55 TQPopupMenu *trayPopupMenu2;
56 */
57};
58
59#endif // KARM_TRAY_H
Main window to tie the application together.
Definition: mainwindow.h:27
This is a "Part".
Definition: karm_part.h:31