21#ifndef KCAL_SCHEDULER_H
22#define KCAL_SCHEDULER_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;
129 const TQString &recipients ) = 0;
144 const TQString& attendee = TQString() );
149 static TQString methodName( Method );
153 static TQString translatedMethodName( Method );
165 void setFreeBusyCache( FreeBusyCache * );
169 FreeBusyCache *freeBusyCache() const;
175 const TQString & attendee );
179 const TQString & attendee );
This is the main "calendar" object class.
This class provides the base class common to all calendar components.
This class provides an encapsulation of a scheduling message.
TQString error() Return error message if there is any.
int method() Return iTIP method associated with this message.
Status status() Return status of this message.
static TQString statusName(Status status) Return a human-readable name for an iTIP message status.
IncidenceBase * event() Return event associated with this message.
This class provides an encapsulation of iTIP transactions.
virtual TQString freeBusyDir()=0 Returns the directory where the free-busy information is stored.
virtual bool publish(IncidenceBase *incidence, const TQString &recipients)=0 iTIP publish action
virtual bool performTransaction(IncidenceBase *incidence, Method method, const TQString &recipients)=0 Perform iTIP transaction on incidence to specified recipient(s).
virtual bool performTransaction(IncidenceBase *incidence, Method method)=0 Perform iTIP transaction on incidence.
virtual TQPtrList< ScheduleMessage > retrieveTransactions()=0 Retrieve incoming iTIP transactions.
Namespace KCal is for global classes, objects and/or functions in libkcal.
|