#include <mailinglist-magic.h>
Public Types | |
enum | Handler { KMail , Browser } |
enum | Supports { None = 0 << 0 , Post = 1 << 0 , Subscribe = 1 << 1 , Unsubscribe = 1 << 2 , Help = 1 << 3 , Archive = 1 << 4 , Id = 1 << 5 } |
Public Member Functions | |
int | features () const |
void | setHandler (Handler han) |
Handler | handler () const |
void | setPostURLS (const KURL::List &) |
KURL::List | postURLS () const |
void | setSubscribeURLS (const KURL::List &) |
KURL::List | subscribeURLS () const |
void | setUnsubscribeURLS (const KURL::List &) |
KURL::List | unsubscribeURLS () const |
void | setHelpURLS (const KURL::List &) |
KURL::List | helpURLS () const |
void | setArchiveURLS (const KURL::List &) |
KURL::List | archiveURLS () const |
void | setId (const TQString &) |
TQString | id () const |
void | writeConfig (TDEConfig *config) const |
void | readConfig (TDEConfig *config) |
Static Public Member Functions | |
static MailingList | detect (const KMMessage *msg) |
static TQString | name (const KMMessage *message, TQCString &header_name, TQString &header_value) |
Detailed Description
Class is used for all Mailing List handling inside KMail.
The static detect method is used to detect a full set of ml informations from a message. The features() method defines which addresses the mailing has defined.
Definition at line 22 of file mailinglist-magic.h.
Member Enumeration Documentation
◆ Handler
enum KMail::MailingList::Handler |
Definition at line 25 of file mailinglist-magic.h.
◆ Supports
enum KMail::MailingList::Supports |
Definition at line 30 of file mailinglist-magic.h.
Constructor & Destructor Documentation
◆ MailingList()
MailingList::MailingList | ( | ) |
Definition at line 271 of file mailinglist-magic.cpp.
Member Function Documentation
◆ archiveURLS()
KURL::List MailingList::archiveURLS | ( | ) | const |
Definition at line 366 of file mailinglist-magic.cpp.
◆ detect()
|
static |
Definition at line 232 of file mailinglist-magic.cpp.
◆ features()
int MailingList::features | ( | ) | const |
Definition at line 277 of file mailinglist-magic.cpp.
◆ handler()
MailingList::Handler MailingList::handler | ( | ) | const |
Definition at line 288 of file mailinglist-magic.cpp.
◆ helpURLS()
KURL::List MailingList::helpURLS | ( | ) | const |
Definition at line 350 of file mailinglist-magic.cpp.
◆ id()
TQString MailingList::id | ( | ) | const |
Definition at line 382 of file mailinglist-magic.cpp.
◆ name()
|
static |
Definition at line 252 of file mailinglist-magic.cpp.
◆ postURLS()
KURL::List MailingList::postURLS | ( | ) | const |
Definition at line 303 of file mailinglist-magic.cpp.
◆ readConfig()
void MailingList::readConfig | ( | TDEConfig * | config | ) |
Definition at line 401 of file mailinglist-magic.cpp.
◆ setArchiveURLS()
void MailingList::setArchiveURLS | ( | const KURL::List & | lst | ) |
Definition at line 356 of file mailinglist-magic.cpp.
◆ setHandler()
void MailingList::setHandler | ( | MailingList::Handler | han | ) |
Definition at line 283 of file mailinglist-magic.cpp.
◆ setHelpURLS()
void MailingList::setHelpURLS | ( | const KURL::List & | lst | ) |
Definition at line 340 of file mailinglist-magic.cpp.
◆ setId()
void MailingList::setId | ( | const TQString & | str | ) |
Definition at line 372 of file mailinglist-magic.cpp.
◆ setPostURLS()
void MailingList::setPostURLS | ( | const KURL::List & | lst | ) |
Definition at line 294 of file mailinglist-magic.cpp.
◆ setSubscribeURLS()
void MailingList::setSubscribeURLS | ( | const KURL::List & | lst | ) |
Definition at line 309 of file mailinglist-magic.cpp.
◆ setUnsubscribeURLS()
void MailingList::setUnsubscribeURLS | ( | const KURL::List & | lst | ) |
Definition at line 325 of file mailinglist-magic.cpp.
◆ subscribeURLS()
KURL::List MailingList::subscribeURLS | ( | ) | const |
Definition at line 319 of file mailinglist-magic.cpp.
◆ unsubscribeURLS()
KURL::List MailingList::unsubscribeURLS | ( | ) | const |
Definition at line 334 of file mailinglist-magic.cpp.
◆ writeConfig()
void MailingList::writeConfig | ( | TDEConfig * | config | ) | const |
Definition at line 388 of file mailinglist-magic.cpp.
The documentation for this class was generated from the following files: