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

Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes

ImapRetrieveFolderListStrategy Class Reference

Inheritance diagram for ImapRetrieveFolderListStrategy:
Inheritance graph
Collaboration diagram for ImapRetrieveFolderListStrategy:
Collaboration graph

List of all members.

Public Member Functions

void clearError ()
virtual void clearSelection ()
virtual void dataFetched (ImapStrategyContextBase *context, QMailMessage &message, const QString &uid, const QString &section)
virtual void dataFlushed (ImapStrategyContextBase *context, QMailMessage &message, const QString &uid, const QString &section)
virtual void downloadSize (ImapStrategyContextBase *, const QString &uid, int length)
bool error ()
virtual void folderCreated (ImapStrategyContextBase *context, const QString &folder)
virtual void folderDeleted (ImapStrategyContextBase *context, const QMailFolder &folder)
virtual void folderRenamed (ImapStrategyContextBase *context, const QMailFolder &folder, const QString &newName)
virtual void initialAction (ImapStrategyContextBase *context)
virtual void mailboxListed (ImapStrategyContextBase *context, QMailFolder &folder, const QString &flags)
virtual void messageCopied (ImapStrategyContextBase *context, const QString &copiedUid, const QString &createdUid)
virtual void messageCreated (ImapStrategyContextBase *context, const QMailMessageId &id, const QString &uid)
virtual void messageFetched (ImapStrategyContextBase *context, QMailMessage &message)
virtual void messageFlushed (ImapStrategyContextBase *context, QMailMessage &message)
virtual void messageStored (ImapStrategyContextBase *context, const QString &uid)
virtual void newConnection (ImapStrategyContextBase *context)
virtual void nonexistentUid (ImapStrategyContextBase *context, const QString &uid)
virtual void prepareCompletionList (ImapStrategyContextBase *context, const QMailMessage &message, QMailMessageIdList &completionList, QList< QPair< QMailMessagePart::Location, uint > > &completionSectionList)
virtual void selectedFoldersAppend (const QMailFolderIdList &ids)
virtual void selectedMailsAppend (const QMailMessageIdList &ids)
virtual void selectedSectionsAppend (const QMailMessagePart::Location &location)
virtual void selectedSectionsAppend (const QMailMessagePart::Location &, int=-1)
virtual void selectFolder (ImapStrategyContextBase *context, const QMailFolder &folder)
virtual void setBase (const QMailFolderId &folderId)
virtual void setDescending (bool descending)
virtual void setOperation (ImapStrategyContextBase *context, QMailRetrievalAction::RetrievalSpecification spec)
virtual void setQuickList (bool quickList)
virtual void transition (ImapStrategyContextBase *, const ImapCommand, const OperationStatus)
virtual void urlAuthorized (ImapStrategyContextBase *context, const QString &url)

Protected Types

enum  { DefaultBatchSize = 50 }
enum  { MaxPipeliningDepth = 4 }
enum  FolderStatus {
  NoInferiors = (1 << 0), NoSelect = (1 << 1), Marked = (1 << 2), Unmarked = (1 << 3),
  HasChildren = (1 << 4), HasNoChildren = (1 << 5)
typedef QMultiMap< QString,
QPair< QPair< uint, uint >
, uint > > 
enum  TransferState {
  Init, List, Search, Preview,
  Complete, Copy

Protected Member Functions

virtual void checkUidValidity (ImapStrategyContextBase *context)
virtual void fetchNextMailPreview (ImapStrategyContextBase *context)
virtual void folderListCompleted (ImapStrategyContextBase *context)
virtual void folderListFolderAction (ImapStrategyContextBase *context)
virtual void folderPreviewCompleted (ImapStrategyContextBase *context)
virtual void handleClose (ImapStrategyContextBase *context)
virtual void handleCreate (ImapStrategyContextBase *context)
virtual void handleDelete (ImapStrategyContextBase *context)
virtual void handleList (ImapStrategyContextBase *context)
virtual void handleLogin (ImapStrategyContextBase *context)
virtual void handleRename (ImapStrategyContextBase *context)
virtual void handleSearch (ImapStrategyContextBase *context)
virtual void handleSelect (ImapStrategyContextBase *context)
virtual void handleUidFetch (ImapStrategyContextBase *context)
virtual void itemFetched (ImapStrategyContextBase *context, const QString &uid)
virtual void messageListCompleted (ImapStrategyContextBase *context)
virtual void messageListFolderAction (ImapStrategyContextBase *context)
virtual bool messageListFolderActionRequired ()
virtual void messageListMessageAction (ImapStrategyContextBase *context)
virtual void metaDataAnalysis (ImapStrategyContextBase *context, const QMailMessagePartContainer &partContainer, const QList< QMailMessagePartContainer::Location > &attachmentLocations, QList< QPair< QMailMessagePart::Location, uint > > &sectionList, QList< QPair< QMailMessagePart::Location, uint > > &completionSectionList, uint &bytesLeft, bool &foundBody)
virtual bool nextFolder ()
virtual void previewDiscoveredMessages (ImapStrategyContextBase *context)
virtual void processFolder (ImapStrategyContextBase *context)
virtual void processNextFolder (ImapStrategyContextBase *context)
virtual void processUidSearchResults (ImapStrategyContextBase *context)
void removeDeletedMailboxes (ImapStrategyContextBase *context)
virtual void resetMessageListTraversal ()
virtual bool selectNextMessageSequence (ImapStrategyContextBase *context, int maximum=DefaultBatchSize, bool folderActionPermitted=true)
virtual bool selectNextPreviewFolder (ImapStrategyContextBase *context)
virtual void setCurrentMailbox (const QMailFolderId &id)
virtual bool synchronizationEnabled (const QMailFolder &folder) const
void updateUndiscoveredCount (ImapStrategyContextBase *context)

Protected Attributes

QSet< QString > _ancestorPaths
QStringList _ancestorSearchPaths
QString _baseFolder
QMailFolderId _baseId
QMailMessageIdList _completionList
QList< QPair
< QMailMessagePart::Location,
uint > > 
QMailFolder _currentMailbox
QString _currentModSeq
bool _descending
bool _error
QMap< QString, bool > _folder
SelectionMap::Iterator _folderItr
QMap< QMailFolderId, FolderStatus > _folderStatus
uint _headerLimit
int _listSize
QMailFolderIdList _mailboxIds
QMailFolderIdList _mailboxList
QStringList _mailboxPaths
int _messageCount
int _messageCountIncremental
QStringList _messageUids
QMailMessagePart::Location _msgSection
QStringList _newUids
int _outstandingFetches
int _outstandingPreviews
int _processable
int _processed
uint _progressRetrievalSize
bool _quickList
RetrievalMap _retrievalSize
QMailRetrievalAction::RetrievalSpecification _retrievalSpec
QList< QPair< QMailFolderId,
QStringList > > 
int _sectionEnd
int _sectionStart
FolderSelections::ConstIterator _selectionItr
SelectionMap _selectionMap
uint _totalRetrievalSize
TransferState _transferState

Detailed Description

Definition at line 472 of file imapstrategy.h.

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

Generated by  Doxygen 1.6.0   Back to index