KDED time zone module

Thiago Macieira thiago at kde.org
Wed Mar 28 06:07:25 BST 2007


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.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070328/a5c38428/attachment.sig>


More information about the kde-core-devel mailing list