kpilot

PopMailConduit Class Reference

#include <popmail-conduit.h>

Inheritance diagram for PopMailConduit:

List of all members.


Public Member Functions

 PopMailConduit (KPilotLink *d, const char *n=0L, const QStringList &l=QStringList())
virtual ~PopMailConduit ()

Protected Member Functions

void doSync ()
void doTest ()
virtual bool exec ()
QString getKMailOutbox () const
int sendPendingMail (int mode)
int sendViaKMail ()
void writeMessageToFile (FILE *sendf, struct Mail &theMail)

Detailed Description

Definition at line 44 of file popmail-conduit.h.


Constructor & Destructor Documentation

PopMailConduit::PopMailConduit ( KPilotLink d,
const char *  n = 0L,
const QStringList l = QStringList() 
)

Definition at line 83 of file popmail-conduit.cc.

PopMailConduit::~PopMailConduit (  )  [virtual]

Definition at line 92 of file popmail-conduit.cc.


Member Function Documentation

void PopMailConduit::doSync (  )  [protected]

Definition at line 97 of file popmail-conduit.cc.

void PopMailConduit::doTest (  )  [protected]

Definition at line 369 of file popmail-conduit.cc.

bool PopMailConduit::exec (  )  [protected, virtual]

This function starts the actual processing done by the conduit.

It should return false if the processing cannot be initiated, f.ex. because some parameters were not set or a needed library is missing. This will be reported to the user. It should return true if processing is started normally. If processing starts normally, it is the _conduit's_ responsibility to eventually emit syncDone(); if processing does not start normally (ie. exec() returns false) then the environment will deal with syncDone().

Implements SyncAction.

Definition at line 387 of file popmail-conduit.cc.

QString PopMailConduit::getKMailOutbox (  )  const [protected]

Definition at line 160 of file popmail-conduit.cc.

int PopMailConduit::sendPendingMail ( int  mode  )  [protected]

Definition at line 125 of file popmail-conduit.cc.

int PopMailConduit::sendViaKMail (  )  [protected]

Definition at line 183 of file popmail-conduit.cc.

void PopMailConduit::writeMessageToFile ( FILE *  sendf,
struct Mail &  theMail 
) [protected]

Definition at line 301 of file popmail-conduit.cc.


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