libkcal

KCal::ScheduleMessage Class Reference

#include <scheduler.h>

List of all members.


Detailed Description

This class provides an encapsulation of a scheduling message.A Scheduling message.

It associates an incidence with a method and status information. This class is used by the Scheduler class.

Definition at line 44 of file scheduler.h.


Public Types

enum  Status {
  PublishNew, PublishUpdate, Obsolete, RequestNew,
  RequestUpdate, Unknown
}

Public Member Functions

 ScheduleMessage (IncidenceBase *, int method, Status status)
 ~ScheduleMessage ()
IncidenceBaseevent ()
int method ()
Status status ()
QString error ()

Static Public Member Functions

static QString statusName (Status status)

Member Enumeration Documentation

Message status.

Definition at line 50 of file scheduler.h.


Constructor & Destructor Documentation

ScheduleMessage::ScheduleMessage ( IncidenceBase ,
int  method,
Status  status 
)

Create a scheduling message with method as defined in Scheduler::Method and a status.

Definition at line 38 of file scheduler.cpp.


Member Function Documentation

IncidenceBase* KCal::ScheduleMessage::event (  )  [inline]

Return event associated with this message.

Definition at line 63 of file scheduler.h.

int KCal::ScheduleMessage::method (  )  [inline]

Return iTIP method associated with this message.

Definition at line 67 of file scheduler.h.

Status KCal::ScheduleMessage::status (  )  [inline]

Return status of this message.

Definition at line 71 of file scheduler.h.

QString KCal::ScheduleMessage::error (  )  [inline]

Return error message if there is any.

Definition at line 75 of file scheduler.h.

QString ScheduleMessage::statusName ( Status  status  )  [static]

Return a human-readable name for an iTIP message status.

Definition at line 45 of file scheduler.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys