kmail

KMAcctImap Class Reference

Inheritance diagram for KMAcctImap:

KMail::ImapAccountBase KMail::NetworkAccount KMAccount List of all members.

Detailed Description

Definition at line 40 of file kmacctimap.h.


Public Slots

void slotFiltered (Q_UINT32 serNum)
void slotUpdateFolderList ()

Public Member Functions

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

Protected Slots

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

Protected Member Functions

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

Protected Attributes

QPtrList< KMail::ImapJobmJobList
QGuardedPtr< KMFolderImapmFolder

Friends

class KMail::ImapJob
class ::AccountManager

Member Function Documentation

void KMAcctImap::cancelMailCheck  )  [protected, virtual]
 

Abort all running mail checks.

Used when exiting.

Reimplemented from KMail::ImapAccountBase.

Definition at line 236 of file kmacctimap.cpp.

void KMAcctImap::execFilters Q_UINT32  serNum  ) 
 

Queues a message for automatic filtering.

Definition at line 567 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 124 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 189 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 138 of file kmacctimap.cpp.

void KMAcctImap::listDirectory  )  [virtual]
 

Starts the folderlisting for the root folder.

Definition at line 517 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 542 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 377 of file kmacctimap.cpp.

void KMAcctImap::postProcessNewMail KMFolderImap ,
bool 
[protected, slot]
 

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

Definition at line 370 of file kmacctimap.cpp.

void KMAcctImap::processNewMail bool   )  [virtual]
 

Process new mail for this account if one arrived.

Returns TRUE if new mail has been found. Whether the mail is automatically loaded to an associated folder or not depends on the type of the account.

Implements KMAccount.

Definition at line 259 of file kmacctimap.cpp.

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

A weak assignment operator.

Reimplemented from KMail::ImapAccountBase.

Definition at line 104 of file kmacctimap.cpp.

void KMAcctImap::readConfig KConfig &  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 523 of file kmacctimap.cpp.

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

Returns the root folder of this account.

Implements KMail::ImapAccountBase.

Definition at line 537 of file kmacctimap.cpp.

void KMAcctImap::setImapFolder KMFolderImap  )  [virtual]
 

Set the top level pseudo folder.

Definition at line 115 of file kmacctimap.cpp.

void KMAcctImap::slotFiltered Q_UINT32  serNum  )  [slot]
 

updates the new-mail-check folderlist

Definition at line 486 of file kmacctimap.cpp.

void KMAcctImap::slotFolderSelected KMFolderImap ,
bool 
[protected, slot]
 

Slots for automatic filtering.

Definition at line 558 of file kmacctimap.cpp.

void KMAcctImap::slotMailCheckCanceled  )  [protected, slot]
 

hooked up to the progress item signaling cancellation.

Cleanup and reset state.

Definition at line 529 of file kmacctimap.cpp.

void KMAcctImap::slotResetConnectionError  )  [protected, slot]
 

called to reset the connection error status

Definition at line 552 of file kmacctimap.cpp.

QString KMAcctImap::type void   )  const [virtual]
 

Inherited methods.

Reimplemented from KMAccount.

Definition at line 98 of file kmacctimap.cpp.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys