kmail
KMailICalIfaceImpl Class Reference
#include <kmailicalifaceimpl.h>
Inheritance diagram for KMailICalIfaceImpl:

Detailed Description
The implementation of the interface.
Definition at line 84 of file kmailicalifaceimpl.h.
Public Slots | |
void | readConfig () |
void | slotFolderRemoved (KMFolder *folder) |
void | slotIncidenceAdded (KMFolder *folder, Q_UINT32 sernum) |
void | slotIncidenceDeleted (KMFolder *folder, Q_UINT32 sernum) |
void | slotRefresh (const QString &type) |
void | slotFolderPropertiesChanged (KMFolder *folder) |
Public Member Functions | |
KMailICalIfaceImpl () | |
bool | isWritableFolder (const QString &type, const QString &resource) |
StorageFormat | storageFormat (const QString &resource) |
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) |
bool | deleteIncidenceKolab (const QString &resource, Q_UINT32 sernum) |
int | incidencesKolabCount (const QString &mimetype, const QString &resource) |
QMap< Q_UINT32, QString > | incidencesKolab (const QString &mimetype, const QString &resource, int startIndex, int nbMessages) |
QValueList< SubResource > | subresourcesKolab (const QString &contentsType) |
bool | triggerSync (const QString &contentsType) |
KURL | getAttachment (const QString &resource, Q_UINT32 sernum, const QString &filename) |
QString | attachmentMimetype (const QString &resource, Q_UINT32 sernum, const QString &filename) |
QStringList | listAttachments (const QString &resource, Q_UINT32 sernum) |
bool | removeSubresource (const QString &) |
bool | addSubresource (const QString &resource, const QString &parent, const QString &contentsType) |
void | msgRemoved (KMFolder *, KMMessage *) |
void | initFolders () |
void | cleanup () |
bool | isResourceFolder (KMFolder *folder) const |
bool | isStandardResourceFolder (KMFolder *folder) const |
bool | hideResourceFolder (KMFolder *folder) const |
bool | hideResourceAccountRoot (KMFolder *folder) const |
KFolderTreeItem::Type | folderType (KMFolder *folder) const |
QString | folderPixmap (KFolderTreeItem::Type type) const |
QString | folderName (KFolderTreeItem::Type type, int language=-1) const |
KMFolder * | folderFromType (const QString &type, const QString &folder) |
QString | icalFolderType (KMFolder *folder) const |
KMMessage * | findMessageByUID (const QString &uid, KMFolder *folder) |
void | deleteMsg (KMMessage *msg) |
bool | isEnabled () const |
void | folderContentsTypeChanged (KMFolder *, KMail::FolderContentsType) |
StorageFormat | storageFormat (KMFolder *folder) const |
void | setStorageFormat (KMFolder *folder, StorageFormat format) |
void | folderSynced (KMFolder *folder, const KURL &folderURL) |
void | folderDeletedOnServer (const KURL &folderURL) |
void | addFolderChange (KMFolder *folder, FolderChanges changes) |
bool | isResourceQuiet () const |
void | setResourceQuiet (bool q) |
Static Public Member Functions | |
static KMMessage * | findMessageBySerNum (Q_UINT32 serNum, KMFolder *folder) |
static const char * | annotationForContentsType (KMail::FolderContentsType type) |
Member Function Documentation
|
Trigger the creation of a new resource folder with name.
Implements KMailICalIface. Definition at line 2220 of file kmailicalifaceimpl.cpp. |
|
Disconnect all slots and close the dirs.
Definition at line 2059 of file kmailicalifaceimpl.cpp. |
|
Convenience function to delete a message.
Definition at line 1359 of file kmailicalifaceimpl.cpp. |
|
Find message matching a given serial number.
Definition at line 1339 of file kmailicalifaceimpl.cpp. |
|
Find message matching a given UID.
Definition at line 1328 of file kmailicalifaceimpl.cpp. |
|
Called when a folders contents have changed.
Definition at line 1379 of file kmailicalifaceimpl.cpp. |
|
Get the folder that holds *type* entries.
Definition at line 1203 of file kmailicalifaceimpl.cpp. |
|
Returns the localized name of a folder of given type.
Definition at line 1276 of file kmailicalifaceimpl.cpp. |
|
Returns the name of the standard icon for a folder of given type or QString::null if the type is no groupware type.
Definition at line 2070 of file kmailicalifaceimpl.cpp. |
|
Returns the resource folder type. Other is returned if resource isn't enabled or it isn't a resource folder. Definition at line 1259 of file kmailicalifaceimpl.cpp. |
|
Returns true if the given folder is the root of the groupware account, groupware folders are hidden, and only groupware folders shown in this account.
Definition at line 1249 of file kmailicalifaceimpl.cpp. |
|
Returns true if isResourceFolder( folder ) returns true, and imap folders should be hidden.
Definition at line 1244 of file kmailicalifaceimpl.cpp. |
|
Return the ical type of a folder.
|
|
Get the mimetype attachments from this folder. Returns a QMap with serialNumber/attachment pairs. (serial numbers of the mail are provided for easier later update) Implements KMailICalIface. Definition at line 530 of file kmailicalifaceimpl.cpp. |
|
Return the number of mails that need to be looked at by incidencesKolab. This allows to call incidencesKolab in chunks. Implements KMailICalIface. Definition at line 508 of file kmailicalifaceimpl.cpp. |
|
Initialize all folders.
|
|
Returns true if resource mode is enabled and folder is one of the resource folders.
Definition at line 1232 of file kmailicalifaceimpl.cpp. |
|
Trigger the deletion of a new resource folder with id.
Implements KMailICalIface. Definition at line 2249 of file kmailicalifaceimpl.cpp. |
|
Set the storage format of a given folder. Called when seeing the kolab annotation.
Definition at line 1462 of file kmailicalifaceimpl.cpp. |
|
Definition at line 1454 of file kmailicalifaceimpl.cpp. |
|
Return list of subresources.
Implements KMailICalIface. Definition at line 695 of file kmailicalifaceimpl.cpp. |
|
Causes all resource folders of the given type to be synced with the server.
Implements KMailICalIface. Definition at line 726 of file kmailicalifaceimpl.cpp. |
|
Update a kolab storage entry. If message is not there, it is added and given the subject as Subject: header. Returns the new mail serial number, or 0 if something went wrong, Implements KMailICalIface. Definition at line 790 of file kmailicalifaceimpl.cpp. |
The documentation for this class was generated from the following files: