KCal::Scheduler Class Reference
This class provides an encapsulation of iTIP transactions. More...
#include <scheduler.h>
Inheritance diagram for KCal::Scheduler:

Public Types | |
enum | Method { Publish, Request, Refresh, Cancel, Add, Reply, Counter, Declinecounter, NoMethod } |
iTIP methods. More... | |
Public Member Functions | |
Scheduler (Calendar *calendar) | |
Create scheduler for calendar specified as argument. | |
virtual bool | publish (IncidenceBase *incidence, const QString &recipients)=0 |
iTIP publish action | |
virtual bool | performTransaction (IncidenceBase *incidence, Method method)=0 |
Perform iTIP transaction on incidence. | |
virtual bool | performTransaction (IncidenceBase *incidence, Method method, const QString &recipients)=0 |
Perform iTIP transaction on incidence to specified recipient(s). | |
virtual QPtrList< ScheduleMessage > | retrieveTransactions ()=0 |
Retrieve incoming iTIP transactions. | |
bool | acceptTransaction (IncidenceBase *, Method method, ScheduleMessage::Status status) |
Accept transaction. | |
virtual bool | deleteTransaction (IncidenceBase *incidence) |
Static Public Member Functions | |
QString | methodName (Method) |
Return a human-readable name for a iTIP method. | |
Protected Member Functions | |
bool | acceptPublish (IncidenceBase *, ScheduleMessage::Status status, Method method) |
bool | acceptRequest (IncidenceBase *, ScheduleMessage::Status status) |
bool | acceptAdd (IncidenceBase *, ScheduleMessage::Status status) |
bool | acceptCancel (IncidenceBase *, ScheduleMessage::Status status) |
bool | acceptDeclineCounter (IncidenceBase *, ScheduleMessage::Status status) |
bool | acceptReply (IncidenceBase *, ScheduleMessage::Status status, Method method) |
bool | acceptRefresh (IncidenceBase *, ScheduleMessage::Status status) |
bool | acceptCounter (IncidenceBase *, ScheduleMessage::Status status) |
bool | acceptFreeBusy (IncidenceBase *, Method method) |
Protected Attributes | |
Calendar * | mCalendar |
ICalFormat * | mFormat |
Detailed Description
This class provides an encapsulation of iTIP transactions.It is an abstract base class for inheritance by implementations of the iTIP scheme like iMIP or iRIP.
Definition at line 78 of file scheduler.h.
Member Enumeration Documentation
|
iTIP methods.
Definition at line 81 of file scheduler.h. |
Constructor & Destructor Documentation
|
Create scheduler for calendar specified as argument.
Definition at line 62 of file scheduler.cpp. |
Member Function Documentation
|
iTIP publish action
Implemented in KCal::DummyScheduler. |
|
Perform iTIP transaction on incidence. The method is specified as the method argumanet and can be any valid iTIP method. Implemented in KCal::DummyScheduler. |
|
Perform iTIP transaction on incidence to specified recipient(s). The method is specified as the method argumanet and can be any valid iTIP method. Implemented in KCal::DummyScheduler. |
|
Retrieve incoming iTIP transactions.
Implemented in KCal::DummyScheduler. |
|
Accept transaction. The incidence argument specifies the iCal compoennt on which the transaction acts. The status is the result of processing a iTIP message with the current calendar and specifies the action to be taken for this incidence. Definition at line 73 of file scheduler.cpp. |
|
Return a human-readable name for a iTIP method.
Definition at line 101 of file scheduler.cpp. |
The documentation for this class was generated from the following files: