kmail
KMSender Class Reference
#include <kmsender.h>
Public Member Functions | |
KMSender () | |
void | readConfig () |
bool | sendImmediate () const |
bool | sendQuotedPrintable () const |
void | setSendImmediate (bool) |
void | setSendQuotedPrintable (bool) |
void | writeConfig (bool withSync=true) |
~KMSender () | |
Protected Member Functions | |
bool | doSend (KMMessage *msg, short sendNow) |
bool | doSendQueued (const QString &transport) |
Detailed Description
Definition at line 53 of file kmsender.h.
Constructor & Destructor Documentation
KMSender::KMSender | ( | ) |
Definition at line 50 of file kmsender.cpp.
KMSender::~KMSender | ( | ) |
Definition at line 71 of file kmsender.cpp.
Member Function Documentation
bool KMSender::doSend | ( | KMMessage * | msg, | |
short | sendNow | |||
) | [protected, virtual] |
Send given message.
The message is either queued or sent immediately. The default behaviour, as selected with setSendImmediate(), can be overwritten with the parameter sendNow (by specifying TRUE or FALSE). The sender takes ownership of the given message on success, so DO NOT DELETE OR MODIFY the message further. Returns TRUE on success.
Implements KMail::MessageSender.
Definition at line 128 of file kmsender.cpp.
bool KMSender::doSendQueued | ( | const QString & | transport | ) | [protected, virtual] |
Send queued messages, using the specified transport or the default, if none is given.
Implements KMail::MessageSender.
Definition at line 211 of file kmsender.cpp.
void KMSender::readConfig | ( | void | ) | [virtual] |
Read configuration from global config.
Implements KMail::MessageSender.
Definition at line 87 of file kmsender.cpp.
bool KMSender::sendImmediate | ( | ) | const [inline, virtual] |
Shall messages be sent immediately (TRUE), or shall they be queued and sent later upon call of sendQueued() ?
Implements KMail::MessageSender.
Definition at line 86 of file kmsender.h.
bool KMSender::sendQuotedPrintable | ( | ) | const [inline, virtual] |
Shall messages be sent quoted-printable encoded.
No encoding happens otherwise.
Implements KMail::MessageSender.
Definition at line 91 of file kmsender.h.
void KMSender::setSendImmediate | ( | bool | aSendImmediate | ) | [virtual] |
void KMSender::setSendQuotedPrintable | ( | bool | aSendQuotedPrintable | ) | [virtual] |
void KMSender::writeConfig | ( | bool | withSync = true |
) | [virtual] |
Write configuration to global config with optional sync().
Implements KMail::MessageSender.
Definition at line 98 of file kmsender.cpp.
The documentation for this class was generated from the following files: