From kde-pim Thu Nov 28 18:59:41 2002 From: Cornelius Schumacher Date: Thu, 28 Nov 2002 18:59:41 +0000 To: kde-pim Subject: Re: [Kde-pim] Custom fields (was: pilotID in IncidenceBase) X-MARC-Message: https://marc.info/?l=kde-pim&m=103851001011092 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 _______________________________________________ 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/