kmail
KMail::Vacation Class Reference
#include <vacation.h>
Signals | |
void | result (bool success) |
void | scriptActive (bool active) |
Public Member Functions | |
bool | isUsable () const |
Vacation (QObject *parent=0, bool checkOnly=false, const char *name=0) | |
virtual | ~Vacation () |
Static Public Member Functions | |
static QString | defaultDomainName () |
static QStringList | defaultMailAliases () |
static QString | defaultMessageText () |
static int | defaultNotificationInterval () |
static bool | defaultSendForSpam () |
Protected Slots | |
void | slotDialogCancel () |
void | slotDialogDefaults () |
void | slotDialogOk () |
void | slotGetResult (KMail::SieveJob *job, bool success, const QString &script, bool active) |
void | slotPutActiveResult (KMail::SieveJob *, bool) |
void | slotPutInactiveResult (KMail::SieveJob *, bool) |
Protected Member Functions | |
KURL | findURL () const |
void | handlePutResult (KMail::SieveJob *job, bool success, bool) |
Static Protected Member Functions | |
static QString | composeScript (const QString &messageText, int notificationInterval, const KMime::Types::AddrSpecList &aliases, bool sendForSpam, const QString &excludeDomain) |
static bool | parseScript (const QString &script, QString &messageText, int ¬ificationInterval, QStringList &aliases, bool &sendForSpam, QString &domainName) |
Protected Attributes | |
bool | mCheckOnly |
KMail::VacationDialog * | mDialog |
KMail::SieveJob * | mSieveJob |
KURL | mUrl |
bool | mWasActive |
Detailed Description
Definition at line 38 of file vacation.h.
Constructor & Destructor Documentation
KMail::Vacation::Vacation | ( | QObject * | parent = 0 , |
|
bool | checkOnly = false , |
|||
const char * | name = 0 | |||
) |
Definition at line 431 of file vacation.cpp.
KMail::Vacation::~Vacation | ( | ) | [virtual] |
Definition at line 443 of file vacation.cpp.
Member Function Documentation
static QString KMail::Vacation::composeScript | ( | const QString & | messageText, | |
int | notificationInterval, | |||
const KMime::Types::AddrSpecList & | aliases, | |||
bool | sendForSpam, | |||
const QString & | excludeDomain | |||
) | [static, protected] |
QString KMail::Vacation::defaultDomainName | ( | ) | [static] |
Definition at line 592 of file vacation.cpp.
QStringList KMail::Vacation::defaultMailAliases | ( | ) | [static] |
Definition at line 579 of file vacation.cpp.
QString KMail::Vacation::defaultMessageText | ( | ) | [static] |
Definition at line 561 of file vacation.cpp.
int KMail::Vacation::defaultNotificationInterval | ( | ) | [static] |
Definition at line 575 of file vacation.cpp.
bool KMail::Vacation::defaultSendForSpam | ( | ) | [static] |
Definition at line 588 of file vacation.cpp.
KURL KMail::Vacation::findURL | ( | ) | const [protected] |
Definition at line 513 of file vacation.cpp.
void KMail::Vacation::handlePutResult | ( | KMail::SieveJob * | job, | |
bool | success, | |||
bool | activated | |||
) | [protected] |
Definition at line 711 of file vacation.cpp.
bool KMail::Vacation::isUsable | ( | ) | const [inline] |
Definition at line 44 of file vacation.h.
bool KMail::Vacation::parseScript | ( | const QString & | script, | |
QString & | messageText, | |||
int & | notificationInterval, | |||
QStringList & | aliases, | |||
bool & | sendForSpam, | |||
QString & | domainName | |||
) | [static, protected] |
Definition at line 525 of file vacation.cpp.
void KMail::Vacation::result | ( | bool | success | ) | [signal] |
void KMail::Vacation::scriptActive | ( | bool | active | ) | [signal] |
void KMail::Vacation::slotDialogCancel | ( | ) | [protected, slot] |
Definition at line 696 of file vacation.cpp.
void KMail::Vacation::slotDialogDefaults | ( | ) | [protected, slot] |
Definition at line 660 of file vacation.cpp.
void KMail::Vacation::slotDialogOk | ( | ) | [protected, slot] |
Definition at line 671 of file vacation.cpp.
void KMail::Vacation::slotGetResult | ( | KMail::SieveJob * | job, | |
bool | success, | |||
const QString & | script, | |||
bool | active | |||
) | [protected, slot] |
Definition at line 596 of file vacation.cpp.
void KMail::Vacation::slotPutActiveResult | ( | KMail::SieveJob * | job, | |
bool | success | |||
) | [protected, slot] |
Definition at line 703 of file vacation.cpp.
void KMail::Vacation::slotPutInactiveResult | ( | KMail::SieveJob * | job, | |
bool | success | |||
) | [protected, slot] |
Definition at line 707 of file vacation.cpp.
Member Data Documentation
bool KMail::Vacation::mCheckOnly [protected] |
Definition at line 84 of file vacation.h.
KMail::VacationDialog* KMail::Vacation::mDialog [protected] |
Definition at line 82 of file vacation.h.
KMail::SieveJob* KMail::Vacation::mSieveJob [protected] |
Definition at line 79 of file vacation.h.
KURL KMail::Vacation::mUrl [protected] |
Definition at line 80 of file vacation.h.
bool KMail::Vacation::mWasActive [protected] |
Definition at line 83 of file vacation.h.
The documentation for this class was generated from the following files: