tray.h
00001
#ifndef KARM_TRAY_H
00002
#define KARM_TRAY_H
00003
00004
#include <qptrvector.h>
00005
#include <qpixmap.h>
00006
#include <qptrlist.h>
00007
00008
00009
#include <ksystemtray.h>
00010
00011
#include "task.h"
00012
00013
class QPopupMenu;
00014
class QTimer;
00015
00016
class KSystemTray;
00017
class MainWindow;
00018
00019
00020
00021
class KarmTray :
public KSystemTray
00022 {
00023 Q_OBJECT
00024
00025
public:
00026 KarmTray(
MainWindow * parent);
00027 ~KarmTray();
00028
00029
private:
00030
int _activeIcon;
00031
static QPtrVector<QPixmap> *icons;
00032 QTimer *_taskActiveTimer;
00033
00034
public slots:
00035
void startClock();
00036
void stopClock();
00037
void resetClock();
00038
void updateToolTip( QPtrList<Task> activeTasks);
00039
void initToolTip();
00040
00041
protected slots:
00042
void advanceClock();
00043
00044
00045
00046
00047
00048
00049
00050
00051
00052 };
00053
00054
#endif // KARM_TRAY_H
This file is part of the documentation for karm Library Version 3.2.2.