[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-pim
Subject: [Kde-pim] Distribution Lists
From: Cornelius Schumacher <schumacher () kde ! org>
Date: 2001-10-22 21:02:00
[Download RAW message or body]
I have added support for distribution lists to the new address book API
(see kdepim/kabc).
There are two new classes: DistributionList and
DistributionListManager. The DistributionList is a collection of
entries. Each entry references an address book entry and optionally
specifies a certain email address. If no specific email address is
given, the preferred address from the address book entry is used. The
DistributionListManager maintains a collection of named distribution
lists. It has a reference to an address book, so that changes in the
address book (e.g. name changes or a change of the preferred email
address) are automatically reflected in the distribution lists.
These classes also demonstrate the concept of an address book
extension. The API and the storage of data are separated from the basic
address book API. If a program dosen't use distribution lists it has no
overhead, but if a program uses them it can treat them as if they would
be part of the address book API.
I also did a quick implementation of a GUI for editing distribution
lists. To test it use the program "testdistlist" ("make check" builds
it). It opens a dialog, where you can edit distribution lists based on
the standrad addressbook. "testdistlist --list <name>" displays the
entries belonging to the distribution list with the given name.
The GUI for editing the distribution lists could become part of KMail
or a plugin for KAddressBook or a stand-alone program.
--
Cornelius Schumacher <schumacher@kde.org>
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic