[Kde-pim] kabc/distributionlist: Entry class returns references
Tobias Koenig
tokoe at kde.org
Sun Sep 9 12:17:30 BST 2007
On Sat, Sep 08, 2007 at 08:55:10PM +0200, Kevin Krammer wrote:
> Hi Tobias,
Hi Kevin,
> > This format should support the following distribution list attributes:
> >
> > - unique identifier
> > - user visible i18n'ed name
> > - list of entries
> > - custom fields
> >
> > The entries should have the following attributes:
> >
> > - type (contact, contact reference)
> >
> > if it is from type contact, it provides
> > - name
> > - email address
> > - custom fields
> >
> > if it is from type contact reference, it contains
> >
> > - contact uid
> > - preferred email
> > - custom fields
>
> Are there other type of distribution lists than email? E.g. for snail mail or
> shipment?
Well, that would be a distribution list with only contact references in
it. So any application can load such a list, find the contacts which are
referenced there, and extract the address or telephone field.
> > Distribution lists inside distribution lists are strange and I'd like to
> > avoid them. They make stuff unecessarily complex.
>
> You're the expert :)
No, just a lazy developer ;)
Honestly, if you support nested groups, you somehow have to map it to
the different groupware systems, that makes writing agents too complex.
> > So we can retire KABC::DistributionListManager and let the single
> > KResources load/store the distribution lists.
>
> Are we talking about a special KRES::Resource subclass or about an extension
> to KABC::Resource?
An extension to KABC::Resource. All kabc resources should have the
possibility to provide distribution lists. So maybe we should create a
new subclass of ResourceFile then (e.g. ResourceStdFile), which loads the
contacts from $HOME/.kde/share/kabc/std.vcf and the distribution lists from
$HOME/.kde/share/kabc/distlists.
Ciao,
Tobias
--
Separate politics from religion and economy!
The Council of the European Union is an undemocratic and illegal institution!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20070909/f4571d26/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