KDED time zone module

David Jarvie lists at astrojar.org.uk
Wed Mar 28 11:05:08 BST 2007


On Wednesday 28 March 2007 6:07, Thiago Macieira wrote:
> David Jarvie wrote:
>>I want to implement a kded module to read system time zone information,
>> as was previously suggested on this list. The aim is to read the data
>> only once per session, rather than have each application cause it to be
>> read the first time it calls a KDateTime or KTimeZone method requiring
>> it. I'm not familiar with kded modules, so can those who are please
>> answer a couple of questions:
>>
>>- Where/how should the kded module store the data it reads? It needs to
>> be accessible via KSystemTimeZone. The data is basically fixed - any
>> changes would be very infrequent - should it be stored in ksycoca?
>
> Unfortunately, the module has to be able to detect changes in the timezone
> files and that's not that infrequent. Remember that the timezone data
> files change several times per year.

Wouldn't several times per year be classified as infrequent? How would you
recommend storing the data?

-- 
David Jarvie.
KAlarm author & maintainer.
http://www.astrojar.org.uk/kalarm





More information about the kde-core-devel mailing list