adcalendar.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 ADCALENDAR_H
00026
#define ADCALENDAR_H
00027
00028
#include "adcalendarbase.h"
00029
00030
00031
class ADCalendar :
public ADCalendarBase
00032 {
00033
public:
00034 ADCalendar(
const QString& url,
const QCString& appname, Type);
00035 ~ADCalendar() { }
00036 ADCalendar *create(
const QString& url,
const QString& appname, Type);
00037
00038
void setEnabled(
bool enabled ) { enabled_ = enabled; }
00039
bool enabled()
const {
return enabled_ && !unregistered(); }
00040
00041
void setAvailable(
bool ) {}
00042
bool available()
const {
return loaded() && !unregistered(); }
00043
00044
bool eventHandled(
const Event*,
const QValueList<QDateTime> &);
00045
void setEventHandled(
const Event*,
00046
const QValueList<QDateTime> &);
00047
static void clearEventsHandled(
const QString& calendarURL);
00048
00049
bool loadFile() {
return loadFile_(); }
00050
00051
public:
00052
bool available_;
00053
bool enabled_;
00054 };
00055
00056
class ADCalendarFactory :
public ADCalendarBaseFactory
00057 {
00058
public:
00059 ADCalendar *create(
const QString& url,
const QCString& appname, ADCalendarBase::Type);
00060 };
00061
00062
#endif
This file is part of the documentation for kalarmd Library Version 3.3.0.