Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KABC::DistributionList Class Reference

Distribution list of email addresses. More...

#include <distributionlist.h>

List of all members.

Public Methods

 DistributionList (DistributionListManager *manager, const QString &name)
 ~DistributionList ()
void setName (const QString &)
QString name () const
void insertEntry (const Addressee &, const QString &email=QString::null)
void removeEntry (const Addressee &, const QString &email=QString::null)
QStringList emails () const
Entry::List entries () const


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.

Definition at line 39 of file distributionlist.h.


Constructor & Destructor Documentation

KABC::DistributionList::DistributionList DistributionListManager   manager,
const QString &    name
 

Create distribution list object.

Parameters:
manager  Managing object of this list.
name  Name of this list.

KABC::DistributionList::~DistributionList  
 

Destructor.


Member Function Documentation

QStringList KABC::DistributionList::emails  
 

Return list of email addresses, which belong to this distributon list. These addresses can be directly used by e.g. a mail client.

Entry::List KABC::DistributionList::entries  
 

Return list of entries belonging to this distribution list. This function is mainly useful for a distribution list editor.

void KABC::DistributionList::insertEntry const Addressee  ,
const QString &    email = QString::null
 

Insert an entry into this distribution list. If the entry already exists nothing happens.

QString KABC::DistributionList::name  
 

Get name of this list.

void KABC::DistributionList::removeEntry const Addressee  ,
const QString &    email = QString::null
 

Remove an entry from this distribution list. If the entry doesn't exist nothing happens.

void KABC::DistributionList::setName const QString &   
 

Set name of this list. The name is used as key by the DistributinListManager.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:31 2003 for kdelibs by doxygen1.2.18