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

Public Slots | Signals | Public Member Functions | Protected Slots | Protected Member Functions | Private Types | Private Member Functions | Private Attributes

ImapService::Source Class Reference

Inheritance diagram for ImapService::Source:
Inheritance graph
[legend]
Collaboration diagram for ImapService::Source:
Collaboration graph
[legend]

List of all members.

Public Slots

virtual bool cancelSearch ()
virtual bool cancelSearch (quint64 action)
virtual bool copyMessages (const QMailMessageIdList &ids, const QMailFolderId &destinationId, quint64 action)
virtual bool copyMessages (const QMailMessageIdList &ids, const QMailFolderId &destinationId)
virtual bool createFolder (const QString &name, const QMailAccountId &accountId, const QMailFolderId &parentId, quint64 action)
virtual bool createFolder (const QString &name, const QMailAccountId &accountId, const QMailFolderId &parentId)
virtual bool deleteFolder (const QMailFolderId &folderId, quint64 action)
virtual bool deleteFolder (const QMailFolderId &folderId)
virtual bool deleteMessages (const QMailMessageIdList &ids)
virtual bool deleteMessages (const QMailMessageIdList &ids, quint64 action)
virtual bool exportUpdates (const QMailAccountId &accountId, quint64 action)
virtual bool exportUpdates (const QMailAccountId &accountId)
virtual bool flagMessages (const QMailMessageIdList &ids, quint64 setMask, quint64 unsetMask, quint64 action)
virtual bool flagMessages (const QMailMessageIdList &ids, quint64 setMask, quint64 unsetMask)
void intervalCheck ()
void messageActionCompleted (const QString &uid)
void messageCopyCompleted (QMailMessage &message, const QMailMessage &original)
virtual bool moveMessages (const QMailMessageIdList &ids, const QMailFolderId &destinationId, quint64 action)
virtual bool moveMessages (const QMailMessageIdList &ids, const QMailFolderId &destinationId)
virtual bool prepareMessages (const QList< QPair< QMailMessagePart::Location, QMailMessagePart::Location > > &ids)
virtual bool prepareMessages (const QList< QPair< QMailMessagePart::Location, QMailMessagePart::Location > > &ids, quint64 action)
virtual bool protocolRequest (const QMailAccountId &accountId, const QString &request, const QVariant &data, quint64 action)
virtual bool protocolRequest (const QMailAccountId &accountId, const QString &request, const QVariant &data)
void queueFlagsChangedCheck ()
void queueMailCheck (QMailFolderId folderId)
virtual bool renameFolder (const QMailFolderId &folderId, const QString &name)
virtual bool renameFolder (const QMailFolderId &folderId, const QString &name, quint64 action)
void retrievalCompleted ()
void retrievalTerminated ()
virtual bool retrieveAll (const QMailAccountId &accountId, quint64 action)
virtual bool retrieveAll (const QMailAccountId &accountId)
virtual bool retrieveFolderList (const QMailAccountId &accountId, const QMailFolderId &folderId, bool descending, quint64 action)
virtual bool retrieveFolderList (const QMailAccountId &accountId, const QMailFolderId &folderId, bool descending)
virtual bool retrieveMessageList (const QMailAccountId &accountId, const QMailFolderId &folderId, uint minimum, const QMailMessageSortKey &sort)
virtual bool retrieveMessageList (const QMailAccountId &accountId, const QMailFolderId &folderId, uint minimum, const QMailMessageSortKey &sort, quint64 action)
virtual bool retrieveMessagePart (const QMailMessagePart::Location &partLocation)
virtual bool retrieveMessagePart (const QMailMessagePart::Location &partLocation, quint64 action)
virtual bool retrieveMessagePartRange (const QMailMessagePart::Location &partLocation, uint minimum)
virtual bool retrieveMessagePartRange (const QMailMessagePart::Location &partLocation, uint minimum, quint64 action)
virtual bool retrieveMessageRange (const QMailMessageId &messageId, uint minimum)
virtual bool retrieveMessageRange (const QMailMessageId &messageId, uint minimum, quint64 action)
virtual bool retrieveMessages (const QMailMessageIdList &messageIds, QMailRetrievalAction::RetrievalSpecification spec, quint64 action)
virtual bool retrieveMessages (const QMailMessageIdList &messageIds, QMailRetrievalAction::RetrievalSpecification spec)
virtual bool searchMessages (const QMailMessageKey &searchCriteria, const QString &bodyText, const QMailMessageSortKey &sort)
virtual bool searchMessages (const QMailMessageKey &filter, const QString &bodyText, const QMailMessageSortKey &sort, quint64 action)
virtual bool synchronize (const QMailAccountId &accountId, quint64 action)
virtual bool synchronize (const QMailAccountId &accountId)

Signals

void matchingMessageIds (const QMailMessageIdList &ids)
void matchingMessageIds (const QMailMessageIdList &ids, quint64 action)
void messageActionCompleted (const QMailMessageIdList &ids)
void messagesCopied (const QMailMessageIdList &ids)
void messagesCopied (const QMailMessageIdList &ids, quint64 action)
void messagesDeleted (const QMailMessageIdList &ids)
void messagesDeleted (const QMailMessageIdList &ids, quint64 action)
void messagesFlagged (const QMailMessageIdList &ids)
void messagesFlagged (const QMailMessageIdList &ids, quint64 action)
void messagesMoved (const QMailMessageIdList &ids)
void messagesMoved (const QMailMessageIdList &ids, quint64 action)
void messagesPrepared (const QMailMessageIdList &ids, quint64 action)
void messagesPrepared (const QMailMessageIdList &ids)
void newMessagesAvailable ()
void newMessagesAvailable (quint64 action)
void protocolResponse (const QString &response, const QVariant &data, quint64 action)
void protocolResponse (const QString &response, const QVariant &data)

Public Member Functions

virtual
QMailStore::MessageRemovalOption 
messageRemovalOption () const
void setIntervalTimer (int interval)
 Source (ImapService *service)

Protected Slots

void copyMessages ()
void deleteMessages ()
void flagMessages ()
void moveMessages ()

Protected Member Functions

bool modifyMessageFlags (const QMailMessageIdList &ids, quint64 setMask, quint64 unsetMask)
void notImplemented ()
void notImplemented (quint64 action)

Private Types

enum  MailCheckPhase { RetrieveFolders = 0, RetrieveMessages, CheckFlags }

Private Member Functions

virtual void appendStrategy (ImapStrategy *strategy, const char *signal=0)
bool doDelete (const QMailMessageIdList &ids)
virtual bool initiateStrategy ()
void queueDisconnectedOperations (const QMailAccountId &accountId)
virtual bool setStrategy (ImapStrategy *strategy, const char *signal=0)

Private Attributes

bool _flagsCheckQueued
QMailHeartbeatTimer _intervalTimer
QMailFolderId _mailCheckFolderId
MailCheckPhase _mailCheckPhase
QList< QPair< ImapStrategy
*, QLatin1String > > 
_pendingStrategies
QList< QMailFolderId_queuedFolders
bool _queuedMailCheckInProgress
ImapService_service
quint64 _setMask
bool _synchronizing
bool _unavailable
quint64 _unsetMask

Detailed Description

Definition at line 76 of file imapservice.cpp.


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

Generated by  Doxygen 1.6.0   Back to index