21 #ifndef KCAL_SCHEDULER_H
22 #define KCAL_SCHEDULER_H
25 #include <tqptrlist.h>
27 #include "libkcal_export.h"
50 enum Status { PublishNew, PublishUpdate, Obsolete, RequestNew,
51 RequestUpdate, Unknown };
75 TQString
error() {
return mError; }
103 enum Method { Publish,Request,Refresh,Cancel,Add,Reply,Counter,
104 Declinecounter,NoMethod };
116 const TQString &recipients ) = 0;
128 virtual bool performTransaction(
IncidenceBase *incidence, Method method,
129 const TQString &recipients ) = 0;
133 virtual TQPtrList<ScheduleMessage> retrieveTransactions() = 0;
144 const TQString& attendee = TQString() );
149 static TQString methodName( Method );
153 static TQString translatedMethodName( Method );
160 virtual TQString freeBusyDir() = 0;
165 void setFreeBusyCache( FreeBusyCache * );
169 FreeBusyCache *freeBusyCache()
const;
175 const TQString & attendee );
179 const TQString & attendee );
IncidenceBase * event()
Return event associated with this message.
This is the main "calendar" object class.
This class provides the base class common to all calendar components.
TQString error()
Return error message if there is any.
static TQString statusName(Status status)
Return a human-readable name for an iTIP message status.
Status status()
Return status of this message.
This class provides an encapsulation of a scheduling message.
int method()
Return iTIP method associated with this message.
Namespace KCal is for global classes, objects and/or functions in libkcal.
This class provides an encapsulation of iTIP transactions.
ScheduleMessage(IncidenceBase *, int method, Status status)
Create a scheduling message with method as defined in Scheduler::Method and a status.