korganizer
mailscheduler.h00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #ifndef MAILSCHEDULER_H
00025 #define MAILSCHEDULER_H
00026
00027 #include <qptrlist.h>
00028 #include <qmap.h>
00029 #include <qstring.h>
00030
00031 #include <libkcal/imipscheduler.h>
00032
00033 namespace KCal {
00034
00035
00036
00037
00038
00039 class MailScheduler : public IMIPScheduler
00040 {
00041 public:
00042 MailScheduler( Calendar * );
00043 virtual ~MailScheduler();
00044
00045 bool publish ( IncidenceBase *incidence, const QString &recipients );
00046 bool performTransaction( IncidenceBase *incidence, Method method );
00047 bool performTransaction( IncidenceBase *incidence, Method method,
00048 const QString &recipients );
00049 QPtrList<ScheduleMessage> retrieveTransactions();
00050
00051 bool deleteTransaction( IncidenceBase *incidence );
00052
00054 virtual QString freeBusyDir();
00055
00056 private:
00057 QMap<IncidenceBase *, QString> mEventMap;
00058 };
00059
00060 }
00061
00062 #endif
|