koalarmclient.h
00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024
00025 #ifndef KOALARMCLIENT_H
00026 #define KOALARMCLIENT_H
00027
00028
00029 #include <qtimer.h>
00030
00031 #include "alarmguiiface.h"
00032
00033 class AlarmDialog;
00034 class AlarmDockWindow;
00035
00036 class KOAlarmClient : public QObject, virtual public AlarmGuiIface
00037 {
00038 Q_OBJECT
00039 public:
00040 KOAlarmClient( QObject *parent = 0, const char *name = 0 );
00041 virtual ~KOAlarmClient();
00042
00043 public slots:
00044 void suspend(int minutes);
00045
00046 private slots:
00047 void showAlarmDialog();
00048
00049 private:
00050
00051 void alarmDaemonUpdate( int, const QString &, const QCString & ) {}
00052 void handleEvent( const QString &, const QString & ) {}
00053 void handleEvent( const QString &iCalendarString );
00054
00055 private:
00056 AlarmDockWindow *mDocker;
00057 AlarmDialog *mAlarmDialog;
00058 QTimer mSuspendTimer;
00059 };
00060
00061 #endif
This file is part of the documentation for kdelibs Version 3.1.4.