[Kde-pim] [RFC] Contact specific Akonadi API
Volker Krause
vkrause at kde.org
Sun Aug 9 13:33:20 BST 2009
On Friday 07 August 2009 19:23:12 Thomas McGuire wrote:
> > So functionality from the old KAddressBook interface should be moved
> > to a library as well and be usable by any other KDE application.
> > The question is now:
> > What tasks are common enough to be worth putting them into the library?
> >
> > The tasks I came up for contacts are the following:
> >
> > * tasks without gui involvement
> > - create a new contact in a predefined address book
> > - modify a contact with a given uid
> > - delete a contact with a given uid
> > - search a contact that matches a given pattern
>
> - find a distribution list by name (used by KMail,
> distributionlistdialog.cpp) - other API that is currently in the
> addressbook API, like whoAmI() - getting a list of addressbooks
IMHO whoAmI() doesn't belong into the addressbook API but in the identities
library. Also, it's still based on the assumption that there is only one
entry for myself in the addressbook, which with multiple addressbooks is not
necessarily the case anymore.
> > * tasks with gui involvement
> > - create a new contact and allow the user to select the target
> > address book - modify a contact with a given uid by show up a dialog,
> > where the user can edit the contact - view a contact by show up a dialog
>
> - show an existing contact in the addressbook editor or viewer
>
> The above seems to cover the uses in KMail already, so we'd have to see how
> it goes when we do the actual porting.
regards
Volker
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20090809/76e8ecae/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list