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 );
This class provides an encapsulation of a scheduling message.
TQString error() Return error message if there is any.
Status status() Return status of this message.
int method() Return iTIP method associated with this message.
This class provides the base class common to all calendar components.
static TQString statusName(Status status) Return a human-readable name for an iTIP message status.
IncidenceBase * event() Return event associated with this message.
ScheduleMessage(IncidenceBase *, int method, Status status) Create a scheduling message with method as defined in Scheduler::Method and a status.
This class provides an encapsulation of iTIP transactions.
|