Logo Search packages:      
Sourcecode: qmf version File versions  Download package

Public Slots | Public Member Functions | Static Public Member Functions | Static Public Attributes | Protected Types | Protected Member Functions | Static Protected Member Functions | Static Protected Attributes

QMailStoreImplementation Class Reference

Inheritance diagram for QMailStoreImplementation:
Inheritance graph
[legend]
Collaboration diagram for QMailStoreImplementation:
Collaboration graph
[legend]

List of all members.

Public Slots

void aboutToQuit ()
void flushNotifications ()
void ipcMessage (const QString &message, const QByteArray &data)
void processIpcMessageQueue ()

Public Member Functions

virtual QMailAccount account (const QMailAccountId &id) const =0
virtual QMailAccountConfiguration accountConfiguration (const QMailAccountId &id) const =0
virtual quint64 accountStatusMask (const QString &name) const =0
virtual bool addAccount (QMailAccount *account, QMailAccountConfiguration *config, QMailAccountIdList *addedAccountIds)=0
virtual bool addFolder (QMailFolder *f, QMailFolderIdList *addedFolderIds, QMailAccountIdList *modifiedAccountIds)=0
virtual bool addMessages (const QList< QMailMessage * > &m, QMailMessageIdList *addedMessageIds, QMailMessageIdList *updatedMessageIds, QMailFolderIdList *modifiedFolderIds, QMailAccountIdList *modifiedAccountIds)=0
virtual bool addMessages (const QList< QMailMessageMetaData * > &m, QMailMessageIdList *addedMessageIds, QMailMessageIdList *updatedMessageIds, QMailFolderIdList *modifiedFolderIds, QMailAccountIdList *modifiedAccountIds)=0
bool asynchronousEmission () const
virtual void clearContent ()=0
virtual int countAccounts (const QMailAccountKey &key) const =0
virtual int countFolders (const QMailFolderKey &key) const =0
virtual int countMessages (const QMailMessageKey &key) const =0
void flushIpcNotifications ()
virtual QMailFolder folder (const QMailFolderId &id) const =0
virtual quint64 folderStatusMask (const QString &name) const =0
void initialize ()
QMailStore::ErrorCode lastError () const
virtual void lock ()=0
virtual QMailMessage message (const QMailMessageId &id) const =0
virtual QMailMessage message (const QString &uid, const QMailAccountId &accountId) const =0
virtual QMap< QString, QString > messageCustomFields (const QMailMessageId &id)=0
virtual QMailMessageMetaData messageMetaData (const QString &uid, const QMailAccountId &accountId) const =0
virtual QMailMessageMetaData messageMetaData (const QMailMessageId &id) const =0
virtual
QMailMessageRemovalRecordList 
messageRemovalRecords (const QMailAccountId &parentAccountId, const QMailFolderId &parentFolderId) const =0
virtual QMailMessageMetaDataList messagesMetaData (const QMailMessageKey &key, const QMailMessageKey::Properties &properties, QMailStore::ReturnOption option) const =0
virtual quint64 messageStatusMask (const QString &name) const =0
void notifyAccountsChange (QMailStore::ChangeType changeType, const QMailAccountIdList &ids)
void notifyFoldersChange (QMailStore::ChangeType changeType, const QMailFolderIdList &ids)
void notifyMessageRemovalRecordsChange (QMailStore::ChangeType changeType, const QMailAccountIdList &ids)
void notifyMessagesChange (QMailStore::ChangeType changeType, const QMailMessageIdList &ids)
void notifyMessagesDataChange (const QMailMessageIdList &ids, quint64 status, bool set)
void notifyMessagesDataChange (QMailStore::ChangeType changeType, const QMailMessageMetaDataList &data)
void notifyMessagesDataChange (const QMailMessageIdList &ids, const QMailMessageKey::Properties &properties, const QMailMessageMetaData &data)
void notifyRetrievalInProgress (const QMailAccountIdList &ids)
void notifyTransmissionInProgress (const QMailAccountIdList &ids)
virtual bool purgeMessageRemovalRecords (const QMailAccountId &accountId, const QStringList &serverUids)=0
 QMailStoreImplementation (QMailStore *parent)
virtual QMailAccountIdList queryAccounts (const QMailAccountKey &key, const QMailAccountSortKey &sortKey, uint limit, uint offset) const =0
virtual QMailFolderIdList queryFolders (const QMailFolderKey &key, const QMailFolderSortKey &sortKey, uint limit, uint offset) const =0
virtual QMailMessageIdList queryMessages (const QMailMessageKey &key, const QMailMessageSortKey &sortKey, uint limit, uint offset) const =0
virtual bool registerAccountStatusFlag (const QString &name)=0
virtual bool registerFolderStatusFlag (const QString &name)=0
virtual bool registerMessageStatusFlag (const QString &name)=0
virtual bool removeAccounts (const QMailAccountKey &key, QMailAccountIdList *deletedAccounts, QMailFolderIdList *deletedFolders, QMailMessageIdList *deletedMessages, QMailMessageIdList *updatedMessages, QMailFolderIdList *modifiedFolderIds, QMailAccountIdList *modifiedAccountIds)=0
virtual bool removeFolders (const QMailFolderKey &key, QMailStore::MessageRemovalOption option, QMailFolderIdList *deletedFolders, QMailMessageIdList *deletedMessages, QMailMessageIdList *updatedMessages, QMailFolderIdList *modifiedFolderIds, QMailAccountIdList *modifiedAccountIds)=0
virtual bool removeMessages (const QMailMessageKey &key, QMailStore::MessageRemovalOption option, QMailMessageIdList *deletedMessages, QMailMessageIdList *updatedMessages, QMailFolderIdList *modifiedFolderIds, QMailAccountIdList *modifiedAccountIds)=0
void setLastError (QMailStore::ErrorCode code) const
bool setRetrievalInProgress (const QMailAccountIdList &ids)
bool setTransmissionInProgress (const QMailAccountIdList &ids)
virtual int sizeOfMessages (const QMailMessageKey &key) const =0
virtual void unlock ()=0
virtual bool updateAccount (QMailAccount *account, QMailAccountConfiguration *config, QMailAccountIdList *updatedAccountIds)=0
virtual bool updateAccountConfiguration (QMailAccountConfiguration *config, QMailAccountIdList *updatedAccountIds)=0
virtual bool updateFolder (QMailFolder *f, QMailFolderIdList *updatedFolderIds, QMailAccountIdList *modifiedAccountIds)=0
virtual bool updateMessages (const QList< QPair< QMailMessageMetaData *, QMailMessage * > > &m, QMailMessageIdList *updatedMessageIds, QMailMessageIdList *modifiedMessageIds, QMailFolderIdList *modifiedFolderIds, QMailAccountIdList *modifiedAccountIds)=0
virtual bool updateMessagesMetaData (const QMailMessageKey &key, quint64 messageStatus, bool set, QMailMessageIdList *updatedMessageIds, QMailFolderIdList *modifiedFolderIds, QMailAccountIdList *modifiedAccountIds)=0
virtual bool updateMessagesMetaData (const QMailMessageKey &key, const QMailMessageKey::Properties &properties, const QMailMessageMetaData &data, QMailMessageIdList *updatedMessageIds, QMailFolderIdList *modifiedFolderIds, QMailAccountIdList *modifiedAccountIds)=0

Static Public Member Functions

static QString accountAddedSig ()
static QString accountContentsModifiedSig ()
static QString accountRemovedSig ()
static QString accountUpdatedSig ()
static QString folderAddedSig ()
static QString folderContentsModifiedSig ()
static QString folderRemovedSig ()
static QString folderUpdatedSig ()
static
QMailStore::InitializationState 
initializationState ()
static QString messageAddedSig ()
static QString messageContentsModifiedSig ()
static QString messageMetaDataAddedSig ()
static QString messageMetaDataUpdatedSig ()
static QString messagePropertyUpdatedSig ()
static QString messageRemovalRecordsAddedSig ()
static QString messageRemovalRecordsRemovedSig ()
static QString messageRemovedSig ()
static QString messageStatusUpdatedSig ()
static QString messageUpdatedSig ()
static QString retrievalInProgressSig ()
static QString transmissionInProgressSig ()

Static Public Attributes

static const int maxNotifySegmentSize = 0

Protected Types

typedef void(QMailStore::* AccountUpdateSignal )(const QMailAccountIdList &)
typedef QMap< QString,
AccountUpdateSignal > 
AccountUpdateSignalMap
typedef void(QMailStore::* FolderUpdateSignal )(const QMailFolderIdList &)
typedef QMap< QString,
FolderUpdateSignal > 
FolderUpdateSignalMap
typedef void(QMailStore::* MessageDataPreCacheSignal )(const QMailMessageMetaDataList &)
typedef QMap< QString,
MessageDataPreCacheSignal > 
MessageDataPreCacheSignalMap
typedef void(QMailStore::* MessageUpdateSignal )(const QMailMessageIdList &)
typedef QMap< QString,
MessageUpdateSignal > 
MessageUpdateSignalMap

Protected Member Functions

virtual void emitIpcNotification (AccountUpdateSignal signal, const QMailAccountIdList &ids)
virtual void emitIpcNotification (const QMailMessageIdList &ids, quint64 status, bool set)
virtual void emitIpcNotification (const QMailMessageIdList &ids, const QMailMessageKey::Properties &properties, const QMailMessageMetaData &data)
virtual void emitIpcNotification (MessageDataPreCacheSignal signal, const QMailMessageMetaDataList &data)
virtual void emitIpcNotification (MessageUpdateSignal signal, const QMailMessageIdList &ids)
virtual void emitIpcNotification (FolderUpdateSignal signal, const QMailFolderIdList &ids)

Static Protected Member Functions

static AccountUpdateSignalMap initAccountUpdateSignals ()
static FolderUpdateSignalMap initFolderUpdateSignals ()
static MessageDataPreCacheSignalMap initMessageDataPreCacheSignals ()
static MessageUpdateSignalMap initMessageUpdateSignals ()

Static Protected Attributes

static
QMailStore::InitializationState 
initState = QMailStore::Uninitialized

Detailed Description

Definition at line 211 of file qmailstoreimplementation_p.h.


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

Generated by  Doxygen 1.6.0   Back to index