kmail

KMailICalIface Class Reference

Inheritance diagram for KMailICalIface:

KMailICalIfaceImpl List of all members.

Detailed Description

Definition at line 45 of file kmailicalIface.h.


Public Types

enum  StorageFormat { StorageIcalVcard, StorageXML }
enum  FolderChanges { NoChange = 0, Contents = 1, ACL = 2 }

DCOP Member Functions

virtual bool isWritableFolder (const QString &type, const QString &resource)=0
virtual KMailICalIface::StorageFormat storageFormat (const QString &resource)=0
virtual KURL getAttachment (const QString &resource, Q_UINT32 sernum, const QString &filename)=0
virtual QString attachmentMimetype (const QString &resource, Q_UINT32 sernum, const QString &filename)=0
virtual QStringList listAttachments (const QString &resource, Q_UINT32 sernum)=0
virtual Q_UINT32 update (const QString &resource, Q_UINT32 sernum, const QString &subject, const QString &plainTextBody, const QMap< QCString, QString > &customHeaders, const QStringList &attachmentURLs, const QStringList &attachmentMimetypes, const QStringList &attachmentNames, const QStringList &deletedAttachments)=0
virtual bool deleteIncidenceKolab (const QString &resource, Q_UINT32 sernum)=0
virtual int incidencesKolabCount (const QString &mimetype, const QString &resource)=0
virtual QMap< Q_UINT32, QString > incidencesKolab (const QString &mimetype, const QString &resource, int startIndex, int nbMessages)=0
virtual QValueList< KMailICalIface::SubResourcesubresourcesKolab (const QString &contentsType)=0
virtual bool addSubresource (const QString &resource, const QString &parent, const QString &contentsType)=0
virtual bool removeSubresource (const QString &resource)=0
virtual bool triggerSync (const QString &)=0
void asyncLoadResult (const QMap< Q_UINT32, QString >, const QString &type, const QString &folder)
void incidenceDeleted (const QString &type, const QString &folder, const QString &uid)
void signalRefresh (const QString &type, const QString &folder)
void subresourceAdded (const QString &type, const QString &resource, const QString &label, bool writable, bool alarmRelevant)
void subresourceDeleted (const QString &type, const QString &resource)

Public Attributes

k_dcop_signals __pad0__: void incidenceAdded( const QString& type
k_dcop_signals const QString & folder
k_dcop_signals const QString
Q_UINT32 
sernum
k_dcop_signals const QString
Q_UINT32 int 
format
k_dcop_signals const QString
Q_UINT32 int const QString & 
entry

Classes

struct  SubResource

Member Enumeration Documentation

enum KMailICalIface::FolderChanges
 

This bitfield indicates which changes have been made in a folder, at syncing time.

Definition at line 70 of file kmailicalIface.h.

enum KMailICalIface::StorageFormat
 

The format of the mails containing other contents than actual mail (like contacts, calendar etc.

) This is currently either ical/vcard, or XML. For actual mail folders this simply to know which resource handles it This enum matches the one defined in kmail.kcfg

Definition at line 67 of file kmailicalIface.h.


Member Function Documentation

virtual bool KMailICalIface::addSubresource const QString &  resource,
const QString &  parent,
const QString &  contentsType
[pure virtual]
 

Trigger the creation of a new resource folder with name.

Parameters:
resource under parent
 
Returns:
success or failure

Implemented in KMailICalIfaceImpl.

virtual int KMailICalIface::incidencesKolabCount const QString &  mimetype,
const QString &  resource
[pure virtual]
 

Return the number of mails that need to be looked at by incidencesKolab.

This allows to call incidencesKolab in chunks.

Implemented in KMailICalIfaceImpl.

virtual bool KMailICalIface::removeSubresource const QString &  resource  )  [pure virtual]
 

Trigger the deletion of a new resource folder with id.

Parameters:
resource. 
Returns:
success or failure

Implemented in KMailICalIfaceImpl.

virtual QValueList<KMailICalIface::SubResource> KMailICalIface::subresourcesKolab const QString &  contentsType  )  [pure virtual]
 

Return list of subresources.

contentsType is Mail, Calendar, Contact, Note, Task or Journal

Implemented in KMailICalIfaceImpl.

virtual bool KMailICalIface::triggerSync const QString &   )  [pure virtual]
 

Causes all resource folders of the given type to be synced with the server.

Implemented in KMailICalIfaceImpl.

virtual Q_UINT32 KMailICalIface::update const QString &  resource,
Q_UINT32  sernum,
const QString &  subject,
const QString &  plainTextBody,
const QMap< QCString, QString > &  customHeaders,
const QStringList &  attachmentURLs,
const QStringList &  attachmentMimetypes,
const QStringList &  attachmentNames,
const QStringList &  deletedAttachments
[pure virtual]
 

Update a kolab storage entry.

Returns the new mail serial number, or 0 if something went wrong. Can be used for adding as well.

Implemented in KMailICalIfaceImpl.


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