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

List:       kde-pim
Subject:    Re: [Kde-pim] Korganizer Anniversary import?
From:       Eugene Nine <enine () ninefamily ! com>
Date:       2004-02-10 21:23:11
Message-ID: 200402102123.11999.enine () ninefamily ! com
[Download RAW message or body]

On Wednesday 11 February 2004 01:59 am, Tobias Koenig wrote:
> On Tue, Feb 10, 2004 at 07:00:37PM +0000, Eugene Nine wrote:
> Hi Eugene,
>
> > I opened Kontact for the first time in a while and noticed that on the
> > summary page lists birthdays and anniversaries but the import for
> > korganizer only does birthdays.
>
> The attached patch does also import anniversaries.
> Cornelius, can I commit? Maybe we should rename the resource then?
>
I spent 8 hours but got close to what you have :)  I was having problems on 
the toString and fromString.

> > For example the addresseditor has a simple
> > mBirthdayPicker->setDate( mAddressee.birthday().date() ); for birthdays
> > and mAnniversaryPicker->setDate( QDate::fromString( mAddressee.custom(
> > "KADDRESSBOOK", "X-Anniversary" ), Qt::ISODate) ); for anniversaries. 
> > Why wasn't the anniversary simply stored as mAddresss.anniversary()?
>
> Because KABC::Addressee mainly reflects the fields of a vCard and a
> vCard has no field for anniversary, just for birthday. But that isn't a
> problem, because vCards supports custom fields and we use them to store
> the anniversary.
> Like you can see in the patch it's not really hard to use.

I started looking at my vcf and see how the data is stored custom, just wasn't 
sure why it wasn't just converted once instead of each time.

>
> Ciao,
> Tobias
_______________________________________________
kde-pim mailing list
kde-pim@mail.kde.org
https://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