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
00026
#ifndef KOALARMCLIENT_H
00027
#define KOALARMCLIENT_H
00028
00029
#include "alarmclientiface.h"
00030
00031
#include <qtimer.h>
00032
00033
class AlarmDialog;
00034
class AlarmDockWindow;
00035
00036
namespace KCal {
00037
class CalendarResources;
00038 }
00039
00040
class KOAlarmClient :
public QObject,
virtual public AlarmClientIface
00041 {
00042 Q_OBJECT
00043
public:
00044 KOAlarmClient(
QObject *parent = 0,
const char *name = 0 );
00045 ~KOAlarmClient();
00046
00047
00048
void quit();
00049
void forceAlarmCheck();
00050
void dumpDebug();
00051
QStringList dumpAlarms();
00052
00053
void debugShowDialog();
00054
00055
public slots:
00060
void suspend(
int seconds );
00061
00062
protected slots:
00063
void showAlarmDialog();
00064
void checkAlarms();
00065
00066
private:
00067 AlarmDockWindow *mDocker;
00068 AlarmDialog *mAlarmDialog;
00069
QTimer mSuspendTimer;
00070
00071 KCal::CalendarResources *mCalendar;
00072
00073
QTimer mCheckTimer;
00074 };
00075
00076
#endif
This file is part of the documentation for korganizer Library Version 3.3.0.