KDE PIM / Developers / API Docs / kmail

KMAcctExpPop Class Reference

KMail account for pop mail account The Exp in the name used to mean Experimental, but it's the stable one now :). More...

#include <kmacctexppop.h>

Inherits KMail::NetworkAccount.

List of all members.

Public Member Functions

Protected Types

Protected Slots

Protected Member Functions

Protected Attributes

Friends


Detailed Description

KMail account for pop mail account The Exp in the name used to mean Experimental, but it's the stable one now :).


Member Function Documentation

void KMAcctExpPop::pseudoAssign const KMAccount *  a  )  [virtual]
 

A weak assignment operator.

bool KMAcctExpPop::usePipelining void   )  const [inline]
 

Sending of several commands at once.

bool KMAcctExpPop::leaveOnServer void   )  const [inline]
 

Shall messages be left on the server upon retreival (TRUE) or deleted (FALSE).

bool KMAcctExpPop::filterOnServer void   )  const [inline]
 

Shall messages be filter on the server (TRUE) or not (FALSE).

unsigned int KMAcctExpPop::filterOnServerCheckSize void   )  const [inline]
 

Size of messages which should be check on the pop server before download.

QString KMAcctExpPop::type void   )  const [virtual]
 

Inherited methods.

void KMAcctExpPop::startJob  )  [protected]
 

Start a KIO Job to get a list of messages on the pop server.

void KMAcctExpPop::connectJob  )  [protected]
 

Connect up the standard signals/slots for the KIO Jobs.

void KMAcctExpPop::processRemainingQueuedMessages  )  [protected]
 

Process any queued messages.

void KMAcctExpPop::saveUidList  )  [protected]
 

Save the list of seen uids for this user/server.

void KMAcctExpPop::slotProcessPendingMsgs  )  [protected, slot]
 

Messages are downloaded in the background and then once every x seconds a batch of messages are processed.

Messages are processed in batches to reduce flicker (multiple refreshes of the qlistview of messages headers in a single second causes flicker) when using a fast pop server such as one on a lan.

Processing a message means applying KMAccount::processNewMsg to it and adding its UID to the list of seen UIDs

void KMAcctExpPop::slotGetNextMsg  )  [protected, slot]
 

If there are more messages to be downloaded then start a new kio job to get the message whose id is at the head of the queue.

void KMAcctExpPop::slotMsgRetrieved KIO::Job *  ,
const QString & 
[protected, slot]
 

A messages has been retrieved successfully.

The next data belongs to the next message.

void KMAcctExpPop::slotData KIO::Job *  ,
const QByteArray & 
[protected, slot]
 

New data has arrived append it to the end of the current message.

void KMAcctExpPop::slotResult KIO::Job *   )  [protected, slot]
 

Finished downloading the current kio job, either due to an error or because the job has been canceled or because the complete message has been downloaded.

void KMAcctExpPop::slotCancel  )  [protected, slot]
 

Cleans up after a user cancels the current job.

void KMAcctExpPop::slotAbortRequested  )  [protected, slot]
 

Kills the job if still stage == List.

void KMAcctExpPop::slotJobFinished  )  [protected, slot]
 

Called when a job is finished.

Basically a finite state machine for cycling through the Idle, List, Uidl, Retr, Quit stages

void KMAcctExpPop::slotSlaveError KIO::Slave *  ,
int  ,
const QString & 
[protected, slot]
 

Slave error handling.

void KMAcctExpPop::slotGetNextHdr  )  [protected, slot]
 

If there are more headers to be downloaded then start a new kio job to get the next header.


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