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

kmail

KMAcctImap Class Reference

#include <kmacctimap.h>

Inheritance diagram for KMAcctImap:

Inheritance graph
[legend]

List of all members.


Detailed Description

Definition at line 40 of file kmacctimap.h.


Public Slots

void slotFiltered (quint32 serNum)
void slotUpdateFolderList ()

Public Member Functions

void execFilters (quint32 serNum)
virtual void ignoreJobsForFolder (KMFolder *folder)
virtual void ignoreJobsForMessage (KMMessage *msg)
virtual void killAllJobs (bool disconnectSlave=false)
virtual void listDirectory ()
ConnectionState makeConnection ()
virtual void processNewMail (bool)
virtual void pseudoAssign (const KMAccount *a)
virtual void readConfig (KConfigGroup &config)
virtual void removeSlaveJobsForFolder (KMFolder *folder)
virtual FolderStorage * rootFolder () const
virtual void setImapFolder (KMFolderImap *)
virtual ~KMAcctImap ()

Protected Slots

void postProcessNewMail (KMFolder *f)
void postProcessNewMail (KMFolderImap *, bool)
int slotFilterMsg (KMMessage *)
void slotFolderSelected (KMFolderImap *, bool)
void slotMailCheckCanceled ()
void slotResetConnectionError ()

Protected Member Functions

virtual void cancelMailCheck ()
virtual bool handleError (int error, const QString &errorMsg, KIO::Job *job, const QString &context, bool abortSync=false)
 KMAcctImap (AccountManager *owner, const QString &accountName, uint id)
void registerJob (KMail::ImapJob *job)
void unregisterJob (KMail::ImapJob *job)

Protected Attributes

QPointer< KMFolderImap > mFolder

Constructor & Destructor Documentation

KMAcctImap::~KMAcctImap (  )  [virtual]

Definition at line 85 of file kmacctimap.cpp.

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

Definition at line 58 of file kmacctimap.cpp.


Member Function Documentation

void KMAcctImap::cancelMailCheck (  )  [protected, virtual]

Abort all running mail checks.

Used when exiting.

Reimplemented from KMail::ImapAccountBase.

Definition at line 253 of file kmacctimap.cpp.

void KMAcctImap::execFilters ( quint32  serNum  ) 

Queues a message for automatic filtering.

Definition at line 579 of file kmacctimap.cpp.

bool KMAcctImap::handleError ( int  error,
const QString &  errorMsg,
KIO::Job *  job,
const QString &  context,
bool  abortSync = false 
) [protected, virtual]

Handle an error coming from a KIO job See ImapAccountBase::handleJobError for details.

Reimplemented from KMail::ImapAccountBase.

Definition at line 122 of file kmacctimap.cpp.

void KMAcctImap::ignoreJobsForFolder ( KMFolder *  folder  )  [virtual]

Definition at line 223 of file kmacctimap.cpp.

void KMAcctImap::ignoreJobsForMessage ( KMMessage *  msg  )  [virtual]

Kill all jobs related the the specified folder/msg.

Reimplemented from KMAccount.

Definition at line 208 of file kmacctimap.cpp.

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

Kill the slave if any jobs are active.

Implements KMail::ImapAccountBase.

Definition at line 152 of file kmacctimap.cpp.

void KMAcctImap::listDirectory (  )  [virtual]

Starts the folderlisting for the root folder.

Definition at line 529 of file kmacctimap.cpp.

ImapAccountBase::ConnectionState KMAcctImap::makeConnection (  ) 

Connect to the server, if no connection is active Returns Connected (ok), Error (ko) or Connecting - which means that one should wait for the slaveConnected signal from KIO::Scheduler before proceeding.

Reimplemented from KMail::ImapAccountBase.

Definition at line 554 of file kmacctimap.cpp.

void KMAcctImap::postProcessNewMail ( KMFolder *  f  )  [protected, slot]

new-mail-notification for not-selected folders (is called via numUnreadMsgsChanged)

Definition at line 393 of file kmacctimap.cpp.

void KMAcctImap::postProcessNewMail ( KMFolderImap *  folder,
bool   
) [protected, slot]

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

Definition at line 386 of file kmacctimap.cpp.

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

Inherited methods.

Implements KMAccount.

Definition at line 276 of file kmacctimap.cpp.

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

A weak assignment operator.

Reimplemented from KMail::ImapAccountBase.

Definition at line 102 of file kmacctimap.cpp.

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

Read config file entries.

This method is called by the account manager when a new account is created. The config group is already properly set by the caller.

Reimplemented from KMail::ImapAccountBase.

Definition at line 535 of file kmacctimap.cpp.

void KMAcctImap::registerJob ( KMail::ImapJob *  job  )  [protected]

The ImapJob calls this to register when it's created.

Definition at line 134 of file kmacctimap.cpp.

void KMAcctImap::removeSlaveJobsForFolder ( KMFolder *  folder  )  [virtual]

Definition at line 237 of file kmacctimap.cpp.

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

Returns the root folder of this account.

Implements KMail::ImapAccountBase.

Definition at line 549 of file kmacctimap.cpp.

void KMAcctImap::setImapFolder ( KMFolderImap *  aFolder  )  [virtual]

Set the top level pseudo folder.

Definition at line 113 of file kmacctimap.cpp.

void KMAcctImap::slotFiltered ( quint32  serNum  )  [slot]

updates the new-mail-check folderlist

Definition at line 498 of file kmacctimap.cpp.

int KMAcctImap::slotFilterMsg ( KMMessage *  msg  )  [protected, slot]

Definition at line 589 of file kmacctimap.cpp.

void KMAcctImap::slotFolderSelected ( KMFolderImap *  folder,
bool   
) [protected, slot]

Slots for automatic filtering.

Definition at line 570 of file kmacctimap.cpp.

void KMAcctImap::slotMailCheckCanceled (  )  [protected, slot]

hooked up to the progress item signaling cancellation.

Cleanup and reset state.

Definition at line 541 of file kmacctimap.cpp.

void KMAcctImap::slotResetConnectionError (  )  [protected, slot]

called to reset the connection error status

Definition at line 564 of file kmacctimap.cpp.

void KMAcctImap::slotUpdateFolderList (  )  [slot]

Definition at line 504 of file kmacctimap.cpp.

void KMAcctImap::unregisterJob ( KMail::ImapJob *  job  )  [protected]

The ImapJob calls this to register when it's destroyed.

Definition at line 143 of file kmacctimap.cpp.


Member Data Documentation

QPointer<KMFolderImap> KMAcctImap::mFolder [protected]

Reimplemented from KMAccount.

Definition at line 123 of file kmacctimap.h.


The documentation for this class was generated from the following files:
  • kmacctimap.h
  • kmacctimap.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