Question about way of adding timezones support to clock

Chani chanika at gmail.com
Tue Mar 18 09:42:42 CET 2008


> connect to just the source needed for the clock itself.
> inside Clock::updateToolTip() use DataEngine::query(const QString& source)
> to get the time for other timezones you want.
> the query function gets the data immediately, once, without connecting.

of course this means the tooltip won't get live updates, but it's better than 
nothing. :)

-- 
This message brought to you by evyl bananas, and the number 3.
www.chani3.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080318/c23ae2a7/attachment.pgp 


More information about the Panel-devel mailing list