• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepimlibs API Reference
  • KDE Home
  • Contact Us
 

akonadi

  • Akonadi
  • Scheduler
Public Types | Signals | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Akonadi::Scheduler Class Referenceabstract

#include <scheduler_p.h>

Inherits QObject.

Inherited by Akonadi::MailScheduler.

Public Types

enum  Result {
  ResultSuccess, ResultAssigningDifferentTypes, ResultOutatedUpdate, ResultErrorDelete,
  ResultIncidenceToDeleteNotFound, ResultGenericError, ResultNoFreeBusyCache, ResultErrorSavingFreeBusy,
  ResultCreatingError, ResultModifyingError, ResultDeletingError, ResultUnsupported,
  ResultUserCancelled
}
 

Signals

void transactionFinished (Akonadi::Scheduler::Result, const QString &errorMessage)
 

Public Member Functions

 Scheduler (QObject *parent=0)
 
void acceptTransaction (const KCalCore::IncidenceBase::Ptr &incidence, const Akonadi::CalendarBase::Ptr &calendar, KCalCore::iTIPMethod method, KCalCore::ScheduleMessage::Status status, const QString &email=QString())
 
KCalCore::FreeBusyCache * freeBusyCache () const
 
virtual QString freeBusyDir () const =0
 
virtual void performTransaction (const KCalCore::IncidenceBase::Ptr &incidence, KCalCore::iTIPMethod method)=0
 
virtual void performTransaction (const KCalCore::IncidenceBase::Ptr &incidence, KCalCore::iTIPMethod method, const QString &recipients)=0
 
virtual void publish (const KCalCore::IncidenceBase::Ptr &incidence, const QString &recipients)=0
 
void setFreeBusyCache (KCalCore::FreeBusyCache *)
 
void setShowDialogs (bool enable)
 

Protected Member Functions

void acceptAdd (const KCalCore::IncidenceBase::Ptr &, KCalCore::ScheduleMessage::Status status)
 
void acceptCancel (const KCalCore::IncidenceBase::Ptr &, const Akonadi::CalendarBase::Ptr &calendar, KCalCore::ScheduleMessage::Status status, const QString &attendee)
 
void acceptCounter (const KCalCore::IncidenceBase::Ptr &, KCalCore::ScheduleMessage::Status status)
 
void acceptDeclineCounter (const KCalCore::IncidenceBase::Ptr &, KCalCore::ScheduleMessage::Status status)
 
void acceptFreeBusy (const KCalCore::IncidenceBase::Ptr &, KCalCore::iTIPMethod method)
 
void acceptPublish (const KCalCore::IncidenceBase::Ptr &, const Akonadi::CalendarBase::Ptr &calendar, KCalCore::ScheduleMessage::Status status, KCalCore::iTIPMethod method)
 
void acceptRefresh (const KCalCore::IncidenceBase::Ptr &, KCalCore::ScheduleMessage::Status status)
 
void acceptReply (const KCalCore::IncidenceBase::Ptr &, const Akonadi::CalendarBase::Ptr &calendar, KCalCore::ScheduleMessage::Status status, KCalCore::iTIPMethod method)
 
void acceptRequest (const KCalCore::IncidenceBase::Ptr &, const Akonadi::CalendarBase::Ptr &calendar, KCalCore::ScheduleMessage::Status status, const QString &email)
 

Protected Attributes

KCalCore::ICalFormat * mFormat
 

Detailed Description

This class provides an encapsulation of iTIP transactions (RFC 2446).

It is an abstract base class for inheritance by implementations of the iTIP scheme like iMIP or iRIP.

Definition at line 43 of file scheduler_p.h.

Constructor & Destructor Documentation

Akonadi::Scheduler::Scheduler ( QObject *  parent = 0)
explicit

Creates a scheduler for calendar specified as argument.

Member Function Documentation

void Akonadi::Scheduler::acceptTransaction ( const KCalCore::IncidenceBase::Ptr &  incidence,
const Akonadi::CalendarBase::Ptr &  calendar,
KCalCore::iTIPMethod  method,
KCalCore::ScheduleMessage::Status  status,
const QString &  email = QString() 
)

Accepts the transaction.

The incidence argument specifies the iCal component 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.

Parameters
incidencethe incidence for the transaction. Must be valid.
calendara loaded calendar.
methodiTIP transaction method to check.
statusscheduling status.
emailthe email address of the person for whom this transaction is to be performed.

Listen to the acceptTransactionFinished() signal to know the success.

KCalCore::FreeBusyCache* Akonadi::Scheduler::freeBusyCache ( ) const

Returns the free/busy cache.

virtual QString Akonadi::Scheduler::freeBusyDir ( ) const
pure virtual

Returns the directory where the free-busy information is stored.

virtual void Akonadi::Scheduler::performTransaction ( const KCalCore::IncidenceBase::Ptr &  incidence,
KCalCore::iTIPMethod  method 
)
pure virtual

Performs iTIP transaction on incidence.

The method is specified as the method argument and can be any valid iTIP method.

Parameters
incidencethe incidence for the transaction. Must be valid.
methodthe iTIP transaction method to use.
virtual void Akonadi::Scheduler::performTransaction ( const KCalCore::IncidenceBase::Ptr &  incidence,
KCalCore::iTIPMethod  method,
const QString &  recipients 
)
pure virtual

Performs iTIP transaction on incidence to specified recipient(s).

The method is specified as the method argumanet and can be any valid iTIP method.

Parameters
incidencethe incidence for the transaction. Must be valid.
methodthe iTIP transaction method to use.
recipientsthe receipients of the transaction.
virtual void Akonadi::Scheduler::publish ( const KCalCore::IncidenceBase::Ptr &  incidence,
const QString &  recipients 
)
pure virtual

Notify recipients about incidence.

Parameters
incidencethe incidence to send
recipientsthe people to send it to
void Akonadi::Scheduler::setFreeBusyCache ( KCalCore::FreeBusyCache *  )

Sets the free/busy cache used to store free/busy information.


The documentation for this class was generated from the following file:
  • scheduler_p.h
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 23:00:29 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

akonadi

Skip menu "akonadi"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • Modules
  • Related Pages

kdepimlibs API Reference

Skip menu "kdepimlibs API Reference"
  • akonadi
  •   contact
  •   kmime
  •   socialutils
  • kabc
  • kalarmcal
  • kblog
  • kcal
  • kcalcore
  • kcalutils
  • kholidays
  • kimap
  • kldap
  • kmbox
  • kmime
  • kpimidentities
  • kpimtextedit
  • kresources
  • ktnef
  • kxmlrpcclient
  • microblog

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal