• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • kdepim
  • Sitemap
  • Contact Us
 

kmail

KMAcctCachedImap Class Reference

#include <kmacctcachedimap.h>

Inheritance diagram for KMAcctCachedImap:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 54 of file kmacctcachedimap.h.


Public Types

enum  GroupwareType { GroupwareNone, GroupwareKolab, GroupwareScalix }

Public Member Functions

void addDeletedFolder (const QString &imapPath)
void addDeletedFolder (KMFolder *folder)
void addLastUnreadMsgCount (const KMFolderCachedImap *folder, int countLastUnread)
void addRenamedFolder (const QString &subFolderPath, const QString &oldLabel, const QString &newName)
void addUnreadMsgCount (const KMFolderCachedImap *folder, int countUnread)
bool annotationCheckPassed ()
virtual void cancelMailCheck ()
QStringList deletedFolderPaths (const QString &subFolderPath) const
GroupwareType groupwareType () const
KMFolderCachedImap * imapFolder () const
virtual void init ()
virtual void invalidateIMAPFolders (KMFolderCachedImap *)
virtual void invalidateIMAPFolders ()
bool isDeletedFolder (const QString &subFolderPath) const
bool isPreviouslyDeletedFolder (const QString &subFolderPath) const
virtual void killAllJobs (bool disconnectSlave=false)
void killJobsForItem (KMFolderTreeItem *fti)
virtual void processNewMail (bool interactive)
virtual void pseudoAssign (const KMAccount *a)
virtual void readConfig (KConfigGroup &config)
void removeDeletedFolder (const QString &subFolderPath)
void removeRenamedFolder (const QString &subFolderPath)
QString renamedFolder (const QString &imapPath) const
const QMap< QString,
RenamedFolder > & 
renamedFolders () const
virtual FolderStorage * rootFolder () const
bool sentCustomLoginCommand () const
void setAnnotationCheckPassed (bool a)
virtual void setAutoExpunge (bool)
void setGroupwareType (GroupwareType type)
virtual void setImapFolder (KMFolderCachedImap *)
void setSentCustomLoginCommand (bool value)
virtual void writeConfig (KConfigGroup &config)
virtual ~KMAcctCachedImap ()

Protected Slots

void postProcessNewMail (KMFolderCachedImap *, bool)
virtual void slotCheckQueuedFolders ()
void slotProgressItemCanceled (KPIM::ProgressItem *)

Protected Member Functions

 KMAcctCachedImap (AccountManager *owner, const QString &accountName, uint id)

Classes

struct  RenamedFolder

Member Enumeration Documentation

enum KMAcctCachedImap::GroupwareType

Describes whether the account is a groupware account.

Enumerator:
GroupwareNone  Normal IMAP account.
GroupwareKolab  A Kolab groupware account.
GroupwareScalix  A Scalix groupware account.

Definition at line 188 of file kmacctcachedimap.h.


Constructor & Destructor Documentation

KMAcctCachedImap::~KMAcctCachedImap (  )  [virtual]

Definition at line 66 of file kmacctcachedimap.cpp.

KMAcctCachedImap::KMAcctCachedImap ( AccountManager *  owner,
const QString &  accountName,
uint  id 
) [protected]


Member Function Documentation

void KMAcctCachedImap::addDeletedFolder ( const QString &  imapPath  ) 

Remember that a folder got explicitly deleted - NOT including all child folders This is used when renaming a folder.

Definition at line 399 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::addDeletedFolder ( KMFolder *  folder  ) 

Remember that a folder got explicitly deleted - including all child folders.

Definition at line 377 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::addLastUnreadMsgCount ( const KMFolderCachedImap *  folder,
int  countLastUnread 
)

Add a folder's unread count to the last "unread messages count", i.e.

the counts before getting new mail

Definition at line 298 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::addRenamedFolder ( const QString &  subFolderPath,
const QString &  oldLabel,
const QString &  newName 
)

Remember that a folder was renamed.

Definition at line 437 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::addUnreadMsgCount ( const KMFolderCachedImap *  folder,
int  countUnread 
)

Add a folder's unread count to the new "unread messages count", done during a sync after getting new mail.

Definition at line 282 of file kmacctcachedimap.cpp.

bool KMAcctCachedImap::annotationCheckPassed (  )  [inline]

return if the account passed the annotation test

Definition at line 184 of file kmacctcachedimap.h.

void KMAcctCachedImap::cancelMailCheck (  )  [virtual]

Abort running mail checks.

Reimplemented from KMail::ImapAccountBase.

Definition at line 151 of file kmacctcachedimap.cpp.

QStringList KMAcctCachedImap::deletedFolderPaths ( const QString &  subFolderPath  )  const

return the imap path to the deleted folder, as well as the paths for any child folders

Definition at line 404 of file kmacctcachedimap.cpp.

GroupwareType KMAcctCachedImap::groupwareType (  )  const [inline]

Definition at line 197 of file kmacctcachedimap.h.

KMFolderCachedImap* KMAcctCachedImap::imapFolder (  )  const [inline]

Definition at line 96 of file kmacctcachedimap.h.

void KMAcctCachedImap::init ( void   )  [virtual]

Set the config options to a decent state.

Reimplemented from KMail::ImapAccountBase.

Definition at line 73 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::invalidateIMAPFolders ( KMFolderCachedImap *  folder  )  [virtual]

Definition at line 344 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::invalidateIMAPFolders (  )  [virtual]

Invalidate the local cache.

Reimplemented from KMAccount.

Definition at line 339 of file kmacctcachedimap.cpp.

bool KMAcctCachedImap::isDeletedFolder ( const QString &  subFolderPath  )  const

Ask if a folder was explicitly deleted in this session.

Definition at line 421 of file kmacctcachedimap.cpp.

bool KMAcctCachedImap::isPreviouslyDeletedFolder ( const QString &  subFolderPath  )  const

Ask if a folder was explicitly deleted in a previous session.

Definition at line 426 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::killAllJobs ( bool  disconnectSlave = false  )  [virtual]

Kill the slave if any jobs are active.

Implements KMail::ImapAccountBase.

Definition at line 105 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::killJobsForItem ( KMFolderTreeItem *  fti  ) 

Kill all jobs related the the specified folder.

Definition at line 174 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::postProcessNewMail ( KMFolderCachedImap *  folder,
bool   
) [protected, slot]

new-mail-notification for the current folder (is called via folderComplete)

Definition at line 258 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::processNewMail ( bool  interactive  )  [virtual]

Inherited methods.

Implements KMAccount.

Definition at line 202 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::pseudoAssign ( const KMAccount *  a  )  [virtual]

A weak assignment operator.

Reimplemented from KMail::ImapAccountBase.

Definition at line 78 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::readConfig ( KConfigGroup &  config  )  [virtual]

Read config file entries.

This method is called by the account manager when a new account is created.

Reimplemented from KMail::ImapAccountBase.

Definition at line 311 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::removeDeletedFolder ( const QString &  subFolderPath  ) 

Remove folder from the "deleted folders" list.

Definition at line 431 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::removeRenamedFolder ( const QString &  subFolderPath  ) 

Remove folder from "renamed folders" list Warning: subFolderPath is the OLD path.

Definition at line 442 of file kmacctcachedimap.cpp.

QString KMAcctCachedImap::renamedFolder ( const QString &  imapPath  )  const

Returns new name for folder if it was renamed.

Definition at line 463 of file kmacctcachedimap.cpp.

const QMap<QString, RenamedFolder>& KMAcctCachedImap::renamedFolders (  )  const [inline]

Returns the list of folders that were renamed.

Definition at line 165 of file kmacctcachedimap.h.

FolderStorage * KMAcctCachedImap::rootFolder (  )  const [virtual]

Returns the root folder of this account.

Implements KMail::ImapAccountBase.

Definition at line 457 of file kmacctcachedimap.cpp.

bool KMAcctCachedImap::sentCustomLoginCommand (  )  const [inline]

Definition at line 200 of file kmacctcachedimap.h.

void KMAcctCachedImap::setAnnotationCheckPassed ( bool  a  )  [inline]

Definition at line 185 of file kmacctcachedimap.h.

void KMAcctCachedImap::setAutoExpunge ( bool   )  [virtual]

Overloaded to make sure it's never set for cached IMAP.

Reimplemented from KMail::ImapAccountBase.

Definition at line 98 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::setGroupwareType ( GroupwareType  type  )  [inline]

Definition at line 196 of file kmacctcachedimap.h.

void KMAcctCachedImap::setImapFolder ( KMFolderCachedImap *  aFolder  )  [virtual]

Set the top level pseudo folder.

Definition at line 89 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::setSentCustomLoginCommand ( bool  value  )  [inline]

Definition at line 199 of file kmacctcachedimap.h.

void KMAcctCachedImap::slotCheckQueuedFolders (  )  [protected, virtual, slot]

Reimplemented from KMail::ImapAccountBase.

Definition at line 189 of file kmacctcachedimap.cpp.

void KMAcctCachedImap::slotProgressItemCanceled ( KPIM::ProgressItem *   )  [protected, slot]

void KMAcctCachedImap::writeConfig ( KConfigGroup &  config  )  [virtual]

Write all account information to given config file.

Reimplemented from KMail::ImapAccountBase.

Definition at line 326 of file kmacctcachedimap.cpp.


The documentation for this class was generated from the following files:
  • kmacctcachedimap.h
  • kmacctcachedimap.cpp

kmail

Skip menu "kmail"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

kdepim

Skip menu "kdepim"
  • akonadi
  •   clients
  •   kabc
  •   kcal
  •   kcm
  • akregator
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt
  • kdgantt1
  • kjots
  • kleopatra
  • kmail
  • kmobiletools
  • knode
  • knotes
  • kontact
  • kontactinterfaces
  • korganizer
  •   korgac
  • kpilot
  • ktimetracker
  •   doc
  • libkdepim
  • libkholidays
  • libkleo
  • libkpgp
  • maildir
Generated for kdepim by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal