kmail

KMailICalIface Class Reference

#include <kmailicalIface.h>

Inheritance diagram for KMailICalIface:

List of all members.


Classes

struct  SubResource

Public Types

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

Public Attributes

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

Detailed Description

Definition at line 45 of file kmailicalIface.h.


Member Enumeration Documentation

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

Enumerator:
NoChange 
Contents 
ACL 

Definition at line 70 of file kmailicalIface.h.

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

Enumerator:
StorageIcalVcard 
StorageXML 

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.

void KMailICalIface::asyncLoadResult ( const QMap< Q_UINT32, QString ,
const QString type,
const QString folder 
)

virtual QString KMailICalIface::attachmentMimetype ( const QString resource,
Q_UINT32  sernum,
const QString filename 
) [pure virtual]

Implemented in KMailICalIfaceImpl.

virtual bool KMailICalIface::deleteIncidenceKolab ( const QString resource,
Q_UINT32  sernum 
) [pure virtual]

Implemented in KMailICalIfaceImpl.

virtual KURL KMailICalIface::getAttachment ( const QString resource,
Q_UINT32  sernum,
const QString filename 
) [pure virtual]

Implemented in KMailICalIfaceImpl.

void KMailICalIface::incidenceDeleted ( const QString type,
const QString folder,
const QString uid 
)

virtual QMap<Q_UINT32, QString> KMailICalIface::incidencesKolab ( const QString mimetype,
const QString resource,
int  startIndex,
int  nbMessages 
) [pure virtual]

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::isWritableFolder ( const QString type,
const QString resource 
) [pure virtual]

Implemented in KMailICalIfaceImpl.

virtual QStringList KMailICalIface::listAttachments ( const QString resource,
Q_UINT32  sernum 
) [pure virtual]

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.

void KMailICalIface::signalRefresh ( const QString type,
const QString folder 
)

virtual KMailICalIface::StorageFormat KMailICalIface::storageFormat ( const QString resource  )  [pure virtual]

Implemented in KMailICalIfaceImpl.

void KMailICalIface::subresourceAdded ( const QString type,
const QString resource,
const QString label,
bool  writable,
bool  alarmRelevant 
)

void KMailICalIface::subresourceDeleted ( const QString type,
const QString resource 
)

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.


Member Data Documentation

k_dcop_signals KMailICalIface::__pad0__

Definition at line 136 of file kmailicalIface.h.

k_dcop_signals const QString Q_UINT32 int const QString& KMailICalIface::entry

Definition at line 136 of file kmailicalIface.h.

k_dcop_signals const QString& KMailICalIface::folder

Definition at line 136 of file kmailicalIface.h.

k_dcop_signals const QString Q_UINT32 int KMailICalIface::format

Definition at line 136 of file kmailicalIface.h.

k_dcop_signals const QString Q_UINT32 KMailICalIface::sernum

Definition at line 136 of file kmailicalIface.h.


The documentation for this class was generated from the following file: