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

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

IdleProtocol Class Reference

Inheritance diagram for IdleProtocol:
Inheritance graph
Collaboration diagram for IdleProtocol:
Collaboration graph

List of all members.


void completed (ImapCommand, OperationStatus)
void connectionError (int status, const QString &msg)
void connectionError (QMailServiceAction::Status::ErrorCode status, const QString &msg)
void continuationRequired (ImapCommand, const QString &)
void dataFetched (const QString &uid, const QString &section, const QString &fileName, int size)
void downloadSize (const QString &uid, int)
void exists (int)
void flags (const QString &)
void folderCreated (const QString &folder)
void folderDeleted (const QMailFolder &name)
void folderRenamed (const QMailFolder &folder, const QString &newPath)
void highestModSeq (const QString &)
void idleFlagsChangedNotification (QMailFolderId)
void idleNewMailNotification (QMailFolderId)
void mailboxListed (const QString &flags, const QString &name)
void messageCopied (const QString &copiedUid, const QString &createdUid)
void messageCreated (const QMailMessageId &id, const QString &uid)
void messageFetched (QMailMessage &mail, const QString &detachedFilename, bool structureOnly)
void messageStored (const QString &uid)
void noModSeq ()
void nonexistentUid (const QString &uid)
void openRequest (IdleProtocol *)
void recent (int)
void uidValidity (const QString &)
void updateStatus (const QString &)
void urlAuthorized (const QString &url)

Public Member Functions

const QStringList & capabilities () const
void close ()
bool connected () const
QChar delimiter () const
bool delimiterUnknown () const
bool encrypted () const
bool flatHierarchy () const
virtual void handleIdling ()
 IdleProtocol (ImapClient *client, const QMailFolder &folder)
int idleRetryDelay ()
bool inUse () const
QString lastError () const
bool loggingOut () const
const ImapMailboxPropertiesmailbox () const
virtual bool open (const ImapConfiguration &config)
void sendAppend (const QMailFolder &mailbox, const QMailMessageId &message)
void sendCapability ()
void sendClose ()
void sendCreate (const QMailFolderId &parentFolderId, const QString &name)
void sendDelete (const QMailFolder &mailbox)
void sendDiscoverDelimiter ()
void sendEnable (const QString &extensions)
void sendExamine (const QMailFolder &mailbox)
void sendExpunge ()
void sendFetchFlags (const QString &range, const QString &prefix=QString())
void sendGenUrlAuth (const QMailMessagePart::Location &location, bool bodyOnly, const QString &mechanism=QString())
void sendIdle ()
void sendIdleDone ()
void sendList (const QMailFolder &reference, const QString &mailbox)
void sendLogin (const QMailAccountConfiguration &config)
void sendLogout ()
void sendNoop ()
void sendQResync (const QMailFolder &mailbox)
void sendRename (const QMailFolder &mailbox, const QString &newname)
void sendSearch (MessageFlags flags, const QString &range=QString())
void sendSearchMessages (const QMailMessageKey &key, const QString &body, const QMailMessageSortKey &sort)
void sendSelect (const QMailFolder &mailbox)
void sendStartTLS ()
void sendUidCopy (const QString &range, const QMailFolder &destination)
void sendUidFetch (FetchItemFlags items, const QString &uidList)
void sendUidFetchSection (const QString &uid, const QString &section, int start, int end)
void sendUidSearch (MessageFlags flags, const QString &range=QString())
void sendUidStore (MessageFlags flags, bool set, const QString &range)
void setCapabilities (const QStringList &)
void setDelimiter (QChar delimiter)
void setFlatHierarchy (bool flat)
bool supportsCapability (const QString &name) const

Static Public Member Functions

static QString quoteString (const QString &input)
static QByteArray quoteString (const QByteArray &input)
static QString uid (const QString &identifier)
static QString url (const QMailMessagePart::Location &location, bool absolute, bool bodyOnly)

Protected Slots

void connected (QMailTransport::EncryptType encryptType)
void errorHandling (int status, QString msg)
virtual void idleCommandTransition (ImapCommand, OperationStatus)
virtual void idleContinuation (ImapCommand, const QString &)
virtual void idleErrorRecovery ()
virtual void idleTimeOut ()
virtual void idleTransportError ()
void incomingData ()

Protected Attributes

QMailFolder _folder

Private Types

enum  IdleRetryDelay { InitialIdleRetryDelay = 30 }

Private Attributes

QTimer _idleRecoveryTimer
int _idleRetryDelay
QTimer _idleTimer

Detailed Description

Definition at line 217 of file imapclient.cpp.

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

Generated by  Doxygen 1.6.0   Back to index