KABC::DistributionListManager Class Reference
#include <distributionlist.h>
Detailed Description
Manager of distribution lists.This class represents a collection of distribution lists, which are associated with a given address book.
Definition at line 122 of file distributionlist.h.
Public Member Functions | |
| DistributionListManager (AddressBook *) | |
| ~DistributionListManager () | |
| DistributionList * | list (const QString &name) |
| void | insert (DistributionList *) |
| void | remove (DistributionList *) |
| QStringList | listNames () |
| bool | load () |
| bool | save () |
Constructor & Destructor Documentation
| KABC::DistributionListManager::DistributionListManager | ( | AddressBook * | ) |
Create manager for given address book.
| KABC::DistributionListManager::~DistributionListManager | ( | ) |
Destructor.
Member Function Documentation
| void KABC::DistributionListManager::insert | ( | DistributionList * | ) |
Insert distribution list.
If a list with this name already exists, nothing happens. The passed object is deleted by the manager.
| DistributionList* KABC::DistributionListManager::list | ( | const QString & | name | ) |
Return distribution list with given name.
| QStringList KABC::DistributionListManager::listNames | ( | ) |
Return names of all distribution lists managed by this manager.
| bool KABC::DistributionListManager::load | ( | ) |
Load distribution lists form disk.
| void KABC::DistributionListManager::remove | ( | DistributionList * | ) |
Remove distribution list.
If a list with this name doesn't exist, nothing happens.
| bool KABC::DistributionListManager::save | ( | ) |
Save distribution lists to disk.
The documentation for this class was generated from the following file:

