kmail
KMFolderCachedImap Class Reference
#include <kmfoldercachedimap.h>
Public Types | |
typedef QValueVector < KMail::ACLListEntry > | ACLList |
enum | imapState { imapNoInformation = 0, imapInProgress = 1, imapFinished = 2 } |
enum | IncidencesFor { IncForNobody, IncForAdmins, IncForReaders } |
Public Slots | |
void | slotCheckNamespace (const QStringList &, const QStringList &, const QStringList &, const QStringList &, const ImapAccountBase::jobData &) |
void | slotListResult (const QStringList &, const QStringList &, const QStringList &, const QStringList &, const ImapAccountBase::jobData &) |
void | slotSimpleData (KIO::Job *job, const QByteArray &data) |
void | slotTroubleshoot () |
Signals | |
void | folderComplete (KMFolderCachedImap *folder, bool success) |
void | listComplete (KMFolderCachedImap *) |
void | syncState (int state, int number) |
Public Member Functions | |
KMAcctCachedImap * | account () const |
const ACLList & | aclList () const |
virtual int | addMsg (KMMessage *msg, int *index_return=0) |
virtual int | addMsgInternal (KMMessage *msg, bool, int *index_return=0) |
virtual int | addMsgKeepUID (KMMessage *msg, int *index_return=0) |
bool | alarmsBlocked () const |
QString | annotationFolderType () const |
void | checkUidValidity () |
void | clearUidMap () |
virtual int | create () |
virtual int | createIndexFromContents () |
int | createIndexFromContentsRecursive () |
KMMsgBase * | findByUID (ulong uid) |
QString | folderAttributes () const |
virtual KMFolderType | folderType () const |
virtual imapState | getContentState () |
virtual imapState | getSubfolderState () |
QString | imapPath () const |
const QString & | imapPathForCreation () |
IncidencesFor | incidencesFor () const |
void | initializeFrom (KMFolderCachedImap *parent) |
bool | isCloseToQuota () const |
virtual bool | isMoveable () const |
bool | isReadOnly () const |
KMFolderCachedImap (KMFolder *folder, const char *name=0) | |
ulong | lastUid () |
virtual bool | listDirectory () |
virtual void | listNamespaces () |
QStringList | namespacesToList () |
int | permanentFlags () const |
int | progress () const |
const QuotaInfo | quotaInfo () const |
virtual void | readConfig () |
int | readUidCache () |
void | reallyDoClose (const char *owner) |
virtual void | remove () |
virtual void | removeMsg (QPtrList< KMMessage > msgList, bool imapQuiet=false) |
virtual void | removeMsg (int i, bool imapQuiet=false) |
virtual int | rename (const QString &aName, KMFolderDir *aParent=0) |
void | resetSyncState () |
void | sendFolderComplete (bool success) |
virtual void | serverSync (bool recurse) |
void | setAccount (KMAcctCachedImap *acct) |
void | setACLList (const ACLList &arr) |
void | setAlarmsBlocked (bool blocked) |
virtual void | setContentState (imapState state) |
void | setImapPath (const QString &path) |
void | setImapPathForCreation (const QString &path) |
void | setIncidencesFor (IncidencesFor incfor) |
void | setLastUid (ulong uid) |
void | setNamespacesToList (QStringList list) |
void | setQuotaInfo (const QuotaInfo &) |
void | setSilentUpload (bool silent) |
virtual void | setStatus (QValueList< int > &ids, KMMsgStatus status, bool toggle) |
virtual void | setStatus (int id, KMMsgStatus status, bool toggle) |
virtual void | setSubfolderState (imapState state) |
void | setUidValidity (const QString &validity) |
void | setUserRights (unsigned int userRights) |
bool | silentUpload () |
virtual KMMessage * | take (int idx) |
void | takeTemporarily (int idx) |
KMFolder * | trashFolder () const |
QString | uidCacheLocation () const |
QString | uidValidity () const |
void | updateAnnotationFolderType () |
int | userRights () const |
virtual void | writeConfig () |
void | writeConfigKeysWhichShouldNotGetOverwrittenByReadConfig () |
int | writeUidCache () |
virtual | ~KMFolderCachedImap () |
Static Public Member Functions | |
static QString | cacheLocation () |
Protected Slots | |
void | getMessagesResult (KMail::FolderJob *, bool lastSet) |
void | slotACLChanged (const QString &, int) |
void | slotAnnotationChanged (const QString &entry, const QString &attribute, const QString &value) |
void | slotAnnotationResult (const QString &entry, const QString &value, bool found) |
void | slotCheckUidValidityResult (KMail::FolderJob *job) |
void | slotConnectionResult (int errorCode, const QString &errorMsg) |
void | slotDeleteMessagesResult (KMail::FolderJob *) |
void | slotGetAnnotationResult (KIO::Job *) |
void | slotGetLastMessagesResult (KMail::FolderJob *) |
void | slotGetMessagesData (KIO::Job *job, const QByteArray &data) |
void | slotImapStatusChanged (KMFolder *folder, const QString &, bool) |
void | slotMultiSetACLResult (KIO::Job *) |
void | slotMultiUrlGetAnnotationResult (KIO::Job *) |
void | slotPermanentFlags (int flags) |
void | slotProgress (unsigned long done, unsigned long total) |
void | slotPutProgress (unsigned long, unsigned long) |
void | slotQuotaResult (KIO::Job *job) |
void | slotReceivedACL (KMFolder *, KIO::Job *, const KMail::ACLList &) |
void | slotReceivedUserRights (KMFolder *) |
void | slotSetAnnotationResult (KIO::Job *job) |
void | slotStorageQuotaResult (const QuotaInfo &) |
void | slotSubFolderComplete (KMFolderCachedImap *, bool) |
void | slotTestAnnotationResult (KIO::Job *job) |
Protected Member Functions | |
virtual bool | canRemoveFolder () const |
void | createFoldersNewOnServerAndFinishListing (const QValueVector< int > foldersNewOnServer) |
void | createNewFolders () |
bool | deleteMessages () |
virtual FolderJob * | doCreateJob (QPtrList< KMMessage > &msgList, const QString &sets, FolderJob::JobType jt, KMFolder *folder) const |
virtual FolderJob * | doCreateJob (KMMessage *msg, FolderJob::JobType jt, KMFolder *folder, QString partSpecifier, const AttachmentStrategy *as) const |
virtual QValueList < KMFolderCachedImap * > | findNewFolders () |
virtual QValueList< unsigned long > | findNewMessages () |
KMFolderCachedImap * | findParent (const QString &path, const QString &name) |
void | listDirectory2 () |
void | listMessages () |
void | newState (int progress, const QString &syncStatus) |
virtual void | timerEvent (QTimerEvent *) |
void | uploadFlags () |
void | uploadNewMessages () |
void | uploadSeenFlags () |
Detailed Description
Definition at line 89 of file kmfoldercachedimap.h.
Member Typedef Documentation
Member Enumeration Documentation
Definition at line 139 of file kmfoldercachedimap.h.
Free-busy and alarms relevance of this folder, i.e.
for whom should events in this calendar lead to "busy" periods in their freebusy lists, and who should get alarms for the incidences in this folder. Applies to Calendar and Task folders only.
IncForNobody: not relevant for free-busy and alarms to anybody IncForAdmins: apply to persons with admin permissions on this calendar IncForReaders: apply to all readers of this calendar
Definition at line 295 of file kmfoldercachedimap.h.
Constructor & Destructor Documentation
KMFolderCachedImap::KMFolderCachedImap | ( | KMFolder * | folder, | |
const char * | name = 0 | |||
) |
Usually a parent is given.
But in some cases there is no fitting parent object available. Then the name of the folder is used as the absolute path to the folder file.
Definition at line 179 of file kmfoldercachedimap.cpp.
KMFolderCachedImap::~KMFolderCachedImap | ( | ) | [virtual] |
Definition at line 215 of file kmfoldercachedimap.cpp.
Member Function Documentation
KMAcctCachedImap * KMFolderCachedImap::account | ( | ) | const [virtual] |
const ACLList& KMFolderCachedImap::aclList | ( | ) | const [inline] |
Definition at line 273 of file kmfoldercachedimap.h.
int KMFolderCachedImap::addMsg | ( | KMMessage * | msg, | |
int * | index_return = 0 | |||
) | [virtual] |
Add the given message to the folder.
Usually the message is added at the end of the folder. Returns zero on success and an errno error code on failure. The index of the new message is stored in index_return if given. Please note that the message is added as is to the folder and the folder takes ownership of the message (deleting it in the destructor).
Reimplemented from KMFolderMaildir.
Definition at line 516 of file kmfoldercachedimap.cpp.
int KMFolderCachedImap::addMsgInternal | ( | KMMessage * | msg, | |
bool | newMail, | |||
int * | index_return = 0 | |||
) | [virtual] |
Definition at line 487 of file kmfoldercachedimap.cpp.
virtual int KMFolderCachedImap::addMsgKeepUID | ( | KMMessage * | msg, | |
int * | index_return = 0 | |||
) | [inline, virtual] |
(Note(bo): This needs to be fixed better at a later point.
) This is overridden by dIMAP because addMsg strips the X-UID header from the mail.
Reimplemented from FolderStorage.
Definition at line 203 of file kmfoldercachedimap.h.
bool KMFolderCachedImap::alarmsBlocked | ( | ) | const |
Should alarms for this folder be blocked? (Only useful for resource folders).
Definition at line 2826 of file kmfoldercachedimap.cpp.
QString KMFolderCachedImap::annotationFolderType | ( | ) | const [inline] |
Definition at line 282 of file kmfoldercachedimap.h.
static QString KMFolderCachedImap::cacheLocation | ( | ) | [inline, static] |
Definition at line 94 of file kmfoldercachedimap.h.
bool KMFolderCachedImap::canRemoveFolder | ( | ) | const [protected, virtual] |
This returns false if we have subfolders.
Otherwise it returns canRemoveFolder()
Definition at line 543 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::checkUidValidity | ( | ) |
Definition at line 1594 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::clearUidMap | ( | ) | [inline] |
Forget which mails are considered locally present.
Needed when uidvalidity changes.
Definition at line 164 of file kmfoldercachedimap.h.
int KMFolderCachedImap::create | ( | ) | [virtual] |
void KMFolderCachedImap::createFoldersNewOnServerAndFinishListing | ( | const QValueVector< int > | foldersNewOnServer | ) | [protected] |
Definition at line 2197 of file kmfoldercachedimap.cpp.
virtual int KMFolderCachedImap::createIndexFromContents | ( | ) | [inline, virtual] |
Create index file from messages file and fill the message-info list mMsgList.
Returns 0 on success and an errno value (see fopen) on failure.
Reimplemented from KMFolderMaildir.
Definition at line 228 of file kmfoldercachedimap.h.
int KMFolderCachedImap::createIndexFromContentsRecursive | ( | ) |
Definition at line 2802 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::createNewFolders | ( | ) | [protected] |
Definition at line 1489 of file kmfoldercachedimap.cpp.
bool KMFolderCachedImap::deleteMessages | ( | ) | [protected] |
Definition at line 1528 of file kmfoldercachedimap.cpp.
virtual FolderJob* KMFolderCachedImap::doCreateJob | ( | QPtrList< KMMessage > & | msgList, | |
const QString & | sets, | |||
FolderJob::JobType | jt, | |||
KMFolder * | folder | |||
) | const [protected, virtual] |
Reimplemented from KMFolderMaildir.
virtual FolderJob* KMFolderCachedImap::doCreateJob | ( | KMMessage * | msg, | |
FolderJob::JobType | jt, | |||
KMFolder * | folder, | |||
QString | partSpecifier, | |||
const AttachmentStrategy * | as | |||
) | const [protected, virtual] |
KMMsgBase * KMFolderCachedImap::findByUID | ( | ulong | uid | ) |
Find message by UID.
Returns NULL if it doesn't exist
Definition at line 617 of file kmfoldercachedimap.cpp.
QValueList< KMFolderCachedImap * > KMFolderCachedImap::findNewFolders | ( | ) | [protected, virtual] |
Utility methods for syncing.
Finds new subfolders in the local cache that must be created in the server
Definition at line 1504 of file kmfoldercachedimap.cpp.
QValueList< unsigned long > KMFolderCachedImap::findNewMessages | ( | ) | [protected, virtual] |
Utility methods for syncing.
Finds new messages in the local cache that must be uploaded
Definition at line 1312 of file kmfoldercachedimap.cpp.
KMFolderCachedImap * KMFolderCachedImap::findParent | ( | const QString & | path, | |
const QString & | name | |||
) | [protected] |
See if there is a better parent then this folder.
Definition at line 2230 of file kmfoldercachedimap.cpp.
QString KMFolderCachedImap::folderAttributes | ( | ) | const [inline] |
Definition at line 325 of file kmfoldercachedimap.h.
void KMFolderCachedImap::folderComplete | ( | KMFolderCachedImap * | folder, | |
bool | success | |||
) | [signal] |
virtual KMFolderType KMFolderCachedImap::folderType | ( | ) | const [inline, virtual] |
Returns the type of this folder.
Reimplemented from KMFolderMaildir.
Definition at line 116 of file kmfoldercachedimap.h.
virtual imapState KMFolderCachedImap::getContentState | ( | ) | [inline, virtual] |
Definition at line 141 of file kmfoldercachedimap.h.
void KMFolderCachedImap::getMessagesResult | ( | KMail::FolderJob * | job, | |
bool | lastSet | |||
) | [protected, slot] |
Definition at line 1808 of file kmfoldercachedimap.cpp.
virtual imapState KMFolderCachedImap::getSubfolderState | ( | ) | [inline, virtual] |
Definition at line 144 of file kmfoldercachedimap.h.
QString KMFolderCachedImap::imapPath | ( | ) | const [inline] |
Definition at line 149 of file kmfoldercachedimap.h.
const QString& KMFolderCachedImap::imapPathForCreation | ( | ) | [inline] |
Specify an imap path that is used to create the folder on the server Otherwise the parent folder is used to construct the path.
Definition at line 315 of file kmfoldercachedimap.h.
IncidencesFor KMFolderCachedImap::incidencesFor | ( | ) | const [inline] |
Definition at line 297 of file kmfoldercachedimap.h.
void KMFolderCachedImap::initializeFrom | ( | KMFolderCachedImap * | parent | ) |
Initialize this storage from another one.
Used when creating a child folder
Definition at line 228 of file kmfoldercachedimap.cpp.
bool KMFolderCachedImap::isCloseToQuota | ( | ) | const [virtual] |
- Reimplemented from superclass.
Reimplemented from FolderStorage.
Definition at line 2831 of file kmfoldercachedimap.cpp.
bool KMFolderCachedImap::isMoveable | ( | ) | const [virtual] |
Returns true if this folder can be moved.
Reimplemented from FolderStorage.
Definition at line 2785 of file kmfoldercachedimap.cpp.
bool KMFolderCachedImap::isReadOnly | ( | ) | const [inline, virtual] |
Is the folder readonly?
Reimplemented from KMFolderMaildir.
Definition at line 213 of file kmfoldercachedimap.h.
ulong KMFolderCachedImap::lastUid | ( | ) |
Definition at line 612 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::listComplete | ( | KMFolderCachedImap * | ) | [signal] |
bool KMFolderCachedImap::listDirectory | ( | ) | [virtual] |
List a directory and add the contents to kmfoldermgr It uses a ListJob to get the folders returns false if the connection failed.
Definition at line 1975 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::listDirectory2 | ( | ) | [protected] |
Definition at line 2070 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::listMessages | ( | ) | [protected] |
Definition at line 1628 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::listNamespaces | ( | ) | [virtual] |
Definition at line 1857 of file kmfoldercachedimap.cpp.
QStringList KMFolderCachedImap::namespacesToList | ( | ) | [inline] |
List of namespaces that need to be queried Is set by the account for the root folder when the listing starts.
Definition at line 308 of file kmfoldercachedimap.h.
void KMFolderCachedImap::newState | ( | int | progress, | |
const QString & | syncStatus | |||
) | [protected] |
Definition at line 2431 of file kmfoldercachedimap.cpp.
int KMFolderCachedImap::permanentFlags | ( | ) | const [inline] |
Flags that can be permanently stored on the server.
Definition at line 322 of file kmfoldercachedimap.h.
int KMFolderCachedImap::progress | ( | ) | const [inline] |
const QuotaInfo KMFolderCachedImap::quotaInfo | ( | ) | const [inline] |
The quota information for this folder.
- Returns:
- an invalid info if we haven't synced yet, or the server doesn't support quota. The difference can be figured out by asking the account whether it supports quota. If we have synced, the account supports quota, but there is no quota on the folder, the return info will be valid, but empty.
- See also:
- QuotaInfo::isEmpty(), QuotaInfo::isValid()
Definition at line 268 of file kmfoldercachedimap.h.
void KMFolderCachedImap::readConfig | ( | void | ) | [virtual] |
Read the config file.
Reimplemented from FolderStorage.
Definition at line 237 of file kmfoldercachedimap.cpp.
int KMFolderCachedImap::readUidCache | ( | ) |
Read the uidValitidy and lastUid values from disk.
Definition at line 397 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::reallyDoClose | ( | const char * | owner | ) | [virtual] |
void KMFolderCachedImap::remove | ( | ) | [virtual] |
Remove this folder.
Reimplemented from FolderStorage.
Definition at line 376 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::removeMsg | ( | int | i, | |
bool | imapQuiet = false | |||
) | [virtual] |
Remove (first occurrence of) given message from the folder.
Reimplemented from KMFolderMaildir.
Definition at line 535 of file kmfoldercachedimap.cpp.
int KMFolderCachedImap::rename | ( | const QString & | newName, | |
KMFolderDir * | aParent = 0 | |||
) | [virtual] |
Physically rename the folder.
Returns zero on success and an errno on failure.
Reimplemented from FolderStorage.
Definition at line 556 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::resetSyncState | ( | ) |
void KMFolderCachedImap::sendFolderComplete | ( | bool | success | ) | [inline] |
void KMFolderCachedImap::serverSync | ( | bool | recurse | ) | [virtual] |
Synchronize this folder and it's subfolders with the server.
Definition at line 722 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::setAccount | ( | KMAcctCachedImap * | acct | ) |
The imap account associated with this folder.
Definition at line 1839 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::setACLList | ( | const ACLList & | arr | ) |
Set the list of ACL for this folder (for FolderDiaACLTab).
Definition at line 2372 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::setAlarmsBlocked | ( | bool | blocked | ) |
Block this folder from generating alarms, even if the annotations on it say otherwise.
Used to override alarms for read-only folders. (Only useful for resource folders)
Definition at line 2821 of file kmfoldercachedimap.cpp.
virtual void KMFolderCachedImap::setContentState | ( | imapState | state | ) | [inline, virtual] |
Definition at line 142 of file kmfoldercachedimap.h.
void KMFolderCachedImap::setImapPath | ( | const QString & | path | ) |
void KMFolderCachedImap::setImapPathForCreation | ( | const QString & | path | ) | [inline] |
Definition at line 316 of file kmfoldercachedimap.h.
void KMFolderCachedImap::setIncidencesFor | ( | IncidencesFor | incfor | ) |
void KMFolderCachedImap::setLastUid | ( | ulong | uid | ) |
void KMFolderCachedImap::setNamespacesToList | ( | QStringList | list | ) | [inline] |
Definition at line 309 of file kmfoldercachedimap.h.
void KMFolderCachedImap::setQuotaInfo | ( | const QuotaInfo & | info | ) |
Definition at line 2362 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::setSilentUpload | ( | bool | silent | ) | [inline] |
The silentUpload can be set to remove the folder upload error dialog.
Definition at line 225 of file kmfoldercachedimap.h.
void KMFolderCachedImap::setStatus | ( | QValueList< int > & | ids, | |
KMMsgStatus | status, | |||
bool | toggle | |||
) | [virtual] |
Set the status of the message(s) in the QValueList ids
to status
.
Reimplemented from FolderStorage.
Definition at line 1482 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::setStatus | ( | int | idx, | |
KMMsgStatus | status, | |||
bool | toggle | |||
) | [virtual] |
Set the status of the message at index idx
to status
.
Reimplemented from FolderStorage.
Definition at line 1476 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::setSubfolderState | ( | imapState | state | ) | [virtual] |
Definition at line 2452 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::setUidValidity | ( | const QString & | validity | ) | [inline] |
void KMFolderCachedImap::setUserRights | ( | unsigned int | userRights | ) |
Set the user's rights on this folder - called by getUserRights.
Definition at line 2315 of file kmfoldercachedimap.cpp.
bool KMFolderCachedImap::silentUpload | ( | ) | [inline] |
Definition at line 226 of file kmfoldercachedimap.h.
void KMFolderCachedImap::slotACLChanged | ( | const QString & | userId, | |
int | permissions | |||
) | [protected, slot] |
Definition at line 2396 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotAnnotationChanged | ( | const QString & | entry, | |
const QString & | attribute, | |||
const QString & | value | |||
) | [protected, slot] |
Definition at line 2691 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotAnnotationResult | ( | const QString & | entry, | |
const QString & | value, | |||
bool | found | |||
) | [protected, slot] |
Definition at line 2518 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotCheckNamespace | ( | const QStringList & | , | |
const QStringList & | , | |||
const QStringList & | , | |||
const QStringList & | , | |||
const ImapAccountBase::jobData & | ||||
) | [slot] |
Connected to ListJob::receivedFolders creates namespace folders.
void KMFolderCachedImap::slotCheckUidValidityResult | ( | KMail::FolderJob * | job | ) | [protected, slot] |
Definition at line 1610 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotConnectionResult | ( | int | errorCode, | |
const QString & | errorMsg | |||
) | [protected, slot] |
Definition at line 1295 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotDeleteMessagesResult | ( | KMail::FolderJob * | job | ) | [protected, slot] |
Definition at line 1581 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotGetAnnotationResult | ( | KIO::Job * | job | ) | [protected, slot] |
Definition at line 2587 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotGetLastMessagesResult | ( | KMail::FolderJob * | job | ) | [protected, slot] |
Definition at line 1659 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotGetMessagesData | ( | KIO::Job * | job, | |
const QByteArray & | data | |||
) | [protected, slot] |
Definition at line 1665 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotImapStatusChanged | ( | KMFolder * | folder, | |
const QString & | , | |||
bool | cont | |||
) | [protected, slot] |
Definition at line 1455 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotListResult | ( | const QStringList & | , | |
const QStringList & | , | |||
const QStringList & | , | |||
const QStringList & | , | |||
const ImapAccountBase::jobData & | ||||
) | [slot] |
Connected to ListJob::receivedFolders creates/removes folders.
void KMFolderCachedImap::slotMultiSetACLResult | ( | KIO::Job * | job | ) | [protected, slot] |
Definition at line 2378 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotMultiUrlGetAnnotationResult | ( | KIO::Job * | job | ) | [protected, slot] |
Definition at line 2613 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotPermanentFlags | ( | int | flags | ) | [protected, slot] |
Definition at line 1621 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotProgress | ( | unsigned long | done, | |
unsigned long | total | |||
) | [protected, slot] |
Definition at line 1830 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotPutProgress | ( | unsigned long | done, | |
unsigned long | total | |||
) | [protected, slot] |
Definition at line 1356 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotQuotaResult | ( | KIO::Job * | job | ) | [protected, slot] |
Definition at line 2665 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotReceivedACL | ( | KMFolder * | folder, | |
KIO::Job * | , | |||
const KMail::ACLList & | aclList | |||
) | [protected, slot] |
Definition at line 2346 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotReceivedUserRights | ( | KMFolder * | folder | ) | [protected, slot] |
Definition at line 2322 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotSetAnnotationResult | ( | KIO::Job * | job | ) | [protected, slot] |
Definition at line 2726 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotSimpleData | ( | KIO::Job * | job, | |
const QByteArray & | data | |||
) | [slot] |
Add the data a KIO::Job retrieves to the buffer.
Definition at line 2282 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotStorageQuotaResult | ( | const QuotaInfo & | info | ) | [protected, slot] |
Definition at line 2357 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotSubFolderComplete | ( | KMFolderCachedImap * | sub, | |
bool | success | |||
) | [protected, slot] |
Definition at line 2258 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotTestAnnotationResult | ( | KIO::Job * | job | ) | [protected, slot] |
Definition at line 2706 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::slotTroubleshoot | ( | ) | [slot] |
void KMFolderCachedImap::syncState | ( | int | state, | |
int | number | |||
) | [signal] |
emitted when we enter the state "state" and have to process "number" items (for example messages
KMMessage * KMFolderCachedImap::take | ( | int | idx | ) | [virtual] |
Reimplemented from KMFolderMaildir This deletes the message permanently, also from the server.
For this, rememberDeletion() is called, so that the message can be deleted from the server on the next sync.
Reimplemented from KMFolderMaildir.
Definition at line 474 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::takeTemporarily | ( | int | idx | ) |
Like take(), only that the deletion is not remembered, i.e.
the message will not be deleted from the server. Calling this can cause inconsistencies, so make sure you re-add the message later!
Definition at line 481 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::timerEvent | ( | QTimerEvent * | ) | [protected, virtual] |
KMFolder * KMFolderCachedImap::trashFolder | ( | ) | const [virtual] |
Return the trash folder.
Reimplemented from FolderStorage.
Definition at line 587 of file kmfoldercachedimap.cpp.
QString KMFolderCachedImap::uidCacheLocation | ( | ) | const |
QString KMFolderCachedImap::uidValidity | ( | ) | const [inline] |
Definition at line 160 of file kmfoldercachedimap.h.
void KMFolderCachedImap::updateAnnotationFolderType | ( | ) |
Definition at line 2480 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::uploadFlags | ( | ) | [protected] |
Definition at line 1366 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::uploadNewMessages | ( | ) | [protected] |
Definition at line 1325 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::uploadSeenFlags | ( | ) | [protected] |
Definition at line 1410 of file kmfoldercachedimap.cpp.
int KMFolderCachedImap::userRights | ( | ) | const [inline] |
The user's rights on this folder - see bitfield in ACLJobs namespace.
- Returns:
- 0 when not known yet, -1 if there was an error fetching them
Definition at line 254 of file kmfoldercachedimap.h.
void KMFolderCachedImap::writeConfig | ( | void | ) | [virtual] |
Write the config file.
Reimplemented from FolderStorage.
Definition at line 302 of file kmfoldercachedimap.cpp.
void KMFolderCachedImap::writeConfigKeysWhichShouldNotGetOverwrittenByReadConfig | ( | ) |
Definition at line 339 of file kmfoldercachedimap.cpp.
int KMFolderCachedImap::writeUidCache | ( | ) |
Write the uidValitidy and lastUid values to disk.
Definition at line 426 of file kmfoldercachedimap.cpp.
The documentation for this class was generated from the following files: