kmail Library API Documentation

KMail::MailingList Class Reference

Class is used for all Mailing List handling inside KMail. More...

#include <mailinglist-magic.h>

List of all members.

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 QString &)
QString id () const
void writeConfig (KConfig *config) const
void readConfig (KConfig *config)

Static Public Member Functions

MailingList detect (const KMMessage *msg)
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.

Author:
Zack Rusin <zack@kde.org>

Definition at line 23 of file mailinglist-magic.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kmail Library Version 3.3.0.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Aug 27 12:53:01 2004 by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2003