kmail
KMail::MailingList Class Reference
Class is used for all Mailing List handling inside KMail. More...
#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 | |
KURL::List | archiveURLS () const |
int | features () const |
Handler | handler () const |
KURL::List | helpURLS () const |
QString | id () const |
MailingList () | |
KURL::List | postURLS () const |
void | readConfig (KConfig *config) |
void | setArchiveURLS (const KURL::List &) |
void | setHandler (Handler han) |
void | setHelpURLS (const KURL::List &) |
void | setId (const QString &) |
void | setPostURLS (const KURL::List &) |
void | setSubscribeURLS (const KURL::List &) |
void | setUnsubscribeURLS (const KURL::List &) |
KURL::List | subscribeURLS () const |
KURL::List | unsubscribeURLS () const |
void | writeConfig (KConfig *config) const |
Static Public Member Functions | |
static MailingList | detect (const KMMessage *msg) |
static QString | name (const KMMessage *message, QCString &header_name, QString &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 23 of file mailinglist-magic.h.
Member Enumeration Documentation
Definition at line 31 of file mailinglist-magic.h.
Constructor & Destructor Documentation
MailingList::MailingList | ( | ) |
Definition at line 272 of file mailinglist-magic.cpp.
Member Function Documentation
KURL::List MailingList::archiveURLS | ( | ) | const |
Definition at line 367 of file mailinglist-magic.cpp.
MailingList MailingList::detect | ( | const KMMessage * | msg | ) | [static] |
Definition at line 233 of file mailinglist-magic.cpp.
int MailingList::features | ( | ) | const |
Definition at line 278 of file mailinglist-magic.cpp.
MailingList::Handler MailingList::handler | ( | ) | const |
Definition at line 289 of file mailinglist-magic.cpp.
KURL::List MailingList::helpURLS | ( | ) | const |
Definition at line 351 of file mailinglist-magic.cpp.
QString MailingList::id | ( | ) | const |
Definition at line 383 of file mailinglist-magic.cpp.
QString MailingList::name | ( | const KMMessage * | message, | |
QCString & | header_name, | |||
QString & | header_value | |||
) | [static] |
Definition at line 253 of file mailinglist-magic.cpp.
KURL::List MailingList::postURLS | ( | ) | const |
Definition at line 304 of file mailinglist-magic.cpp.
void MailingList::readConfig | ( | KConfig * | config | ) |
Definition at line 402 of file mailinglist-magic.cpp.
void MailingList::setArchiveURLS | ( | const KURL::List & | lst | ) |
Definition at line 357 of file mailinglist-magic.cpp.
void MailingList::setHandler | ( | MailingList::Handler | han | ) |
Definition at line 284 of file mailinglist-magic.cpp.
void MailingList::setHelpURLS | ( | const KURL::List & | lst | ) |
Definition at line 341 of file mailinglist-magic.cpp.
void MailingList::setId | ( | const QString & | str | ) |
Definition at line 373 of file mailinglist-magic.cpp.
void MailingList::setPostURLS | ( | const KURL::List & | lst | ) |
Definition at line 295 of file mailinglist-magic.cpp.
void MailingList::setSubscribeURLS | ( | const KURL::List & | lst | ) |
Definition at line 310 of file mailinglist-magic.cpp.
void MailingList::setUnsubscribeURLS | ( | const KURL::List & | lst | ) |
Definition at line 326 of file mailinglist-magic.cpp.
KURL::List MailingList::subscribeURLS | ( | ) | const |
Definition at line 320 of file mailinglist-magic.cpp.
KURL::List MailingList::unsubscribeURLS | ( | ) | const |
Definition at line 335 of file mailinglist-magic.cpp.
void MailingList::writeConfig | ( | KConfig * | config | ) | const |
Definition at line 389 of file mailinglist-magic.cpp.
The documentation for this class was generated from the following files: