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

List:       kde-pim
Subject:    Re: [Kde-pim] Custom fields (was: pilotID in IncidenceBase)
From:       Cornelius Schumacher <schumacher () kde ! org>
Date:       2002-11-28 18:59:41
[Download RAW message or body]

On Thursday 28 November 2002 11:16, Best, Jan-Pascal van wrote:
> > Also, as there is currently no way to use custom fields in
> > the events, can
> > we add something like the
> > KABC::Addressee::{insertCustom,custom} functions
> > to IncidenceBase? I would need this, because events going
> > over midnight
> > need to be split up on the handheld, and I want to save the
> > list of all
> > record ids as a custom field, so I know which entries on the
> > Palm belong together.
>
> I need something similar for the Exchange-based calendar: I'd like
> to keep track of the webdav URL of every event, and maybe also a
> subscription ID, by which the server tells us of things happening to
> the event. Would custom fields be appropriate for that too?

I don't think so. Why don't you store this information in a separate 
entity and keep references to the Events they belong to?

> If not, I'd have to subclass Event, which means that new Events can't
> be just created by the app, but have to be created by the Calendar
> (where ExchangeCalendar would create ExchangeEvent instances).

I considered that once in a while, but in general, I think it is more 
flexible, if Events just can be created. without using the Calendar as 
factory.

-- 
Cornelius Schumacher <schumacher@kde.org>
_______________________________________________
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