[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] user fields in Addressbook conduit
From:       Reinhold Kainhofer <reinhold () kainhofer ! com>
Date:       2002-11-25 7:28:27
[Download RAW message or body]

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello Duncan,

Duncan Mac-Vicar Prett wrote:

> El Thursday 31 October 2002 06:24, Reinhold F. Kainhofer escribió:
>
> > Duncan Mac-Vicar Prett wrote:
> > >Hi guys, I have noted that KOrganizer can import birthdays from
> > >addressbook, but the addressbook conduit for Kpilot doesn't support
> > >syncing user fields, what do I mean?,
>
> > Well, the conduit supports syncing custom fields, only it doesn't let
> > the use decide where the custom fields are stored. Currently, all custom
> > fields are stored to vCard entries X-KPilot-Custom[1234]. So, if you
> > erase the palm addressbook, all your custom fields will be restored, but
> > there is no desktop app that can make use of it right now, that's true.
>
>
> Well, if you give me enough help I can try to add that feature :-)
>
Are you still interested in implementing custom fields synchronization?
I thought this through a bit, and it seems quite simple (just treat it
similar to the "Other" phone field: replace all calls to custom(..) to a
general function getCustomField, which returns the string representing
the custom field for the handheld, and setCustom(...) with a function
setCustomField, which takes the value of thehandheld custom field and
sets the appropriate member of the addressee, like the birthdate). Of
course, one has to make sure that two custom fields don't set the same
thing (e.g. custom1 and custom2 should not both handle the birthdate,
otherwise one will mess up the other).
Possible meaning of the custom fields which have a correspondence in
KABC::Addressee / KAddressbook:
- -) birthdate (need to configure the format, e.g. mm/dd/yyy, dd.mm.yy, ...
- -) URL (Homepage)
- -) IM Address (ICQ, AIM, MSN,...)
- -) no meaning
- -) Custom[1234]  (the current way)

One then also has to add a tab to the config dialog to select the
meaning of each of the four handheld custom fields.

Reinhold

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE94dDyTqjEwhXvPN0RAkZYAJ4ylXGPuR/jETenqWP3hsuS0fIKHgCfdH6q
KvVw50FXc0+UVL6GgxvYW6g=
=XxiL
-----END PGP SIGNATURE-----


_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
http://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic