KPIM::DistributionList Class Reference
Distribution list of email addresses. More...
#include <distributionlist.h>
Public Types | |
typedef QValueList< DistributionList > | List |
Public Member Functions | |
DistributionList () | |
DistributionList (const KABC::Addressee &addr) | |
~DistributionList () | |
void | setName (const QString &name) |
QString | name () const |
void | insertEntry (const Addressee &, const QString &email=QString::null) |
void | removeEntry (const Addressee &, const QString &email=QString::null) |
void | insertEntry (const QString &uid, const QString &email=QString::null) |
void | removeEntry (const QString &uid, const QString &email=QString::null) |
QStringList | emails (KABC::AddressBook *book) const |
Entry::List | entries (KABC::AddressBook *book) const |
Static Public Member Functions | |
static bool | isDistributionList (const KABC::Addressee &addr) |
static DistributionList | findByName (KABC::AddressBook *book, const QString &name, bool caseSensitive=true) |
static QValueList< DistributionList > | allDistributionLists (KABC::AddressBook *book) |
Classes | |
struct | Entry |
Distribution List Entry. More... |
Detailed Description
Distribution list of email addresses.This class represents a list of email addresses. Each email address is associated with an address book entry. If the address book entry changes, the entry in the distribution list is automatically updated.
This should probably go into kdelibs at some point.
Definition at line 22 of file distributionlist.h.
Constructor & Destructor Documentation
|
Create distribution list object.
|
|
Destructor.
Definition at line 58 of file distributionlist.h. |
Member Function Documentation
|
HACK: reimplemented from Addressee, but it's NOT virtual there.
|
|
Insert an entry into this distribution list. If the entry already exists nothing happens. |
|
Remove an entry from this distribution list. If the entry doesn't exist nothing happens. |
|
Overload, used by resources to avoid looking up the addressee.
|
|
Overload, used by resources to avoid looking up the addressee.
|
|
Return list of email addresses, which belong to this distributon list. These addresses can be directly used by e.g. a mail client.
|
|
Return list of entries belonging to this distribution list. This function is mainly useful for a distribution list editor.
|
The documentation for this class was generated from the following file: