[Panel-devel] dataengine developers: what configuration items does you engine need?
Shawn Starr
shawn.starr at rogers.com
Tue Jul 24 22:36:18 CEST 2007
Hi Michael, you can use: KGlobal::locale()->measureSystem()
This will tell you if the locale is Metric or Imperial and thus you can convert by checking if measureSystem() returns either KLocale::Metric or KLocale::Imperial (both are enums)
Thanks,
Shawn.
----- Original Message ----
From: Michael Olbrich <michael-olbrich at web.de>
To: panel-devel at kde.org
Sent: Tuesday, July 24, 2007 4:09:21 PM
Subject: Re: [Panel-devel] dataengine developers: what configuration items does you engine need?
On Tue, Jul 24, 2007 at 04:03:15AM -0600, Aaron J. Seigo wrote:
> hello dataengine fiends....
>
> what configuration keys do your engine's sources need?
thermal sensors -> how often to update
-> unit (Celsius/Fahrenheit)
Or is this something that be decided globally by the localization
settings?
michael
_______________________________________________
Panel-devel mailing list
Panel-devel at kde.org
https://mail.kde.org/mailman/listinfo/panel-devel
More information about the Panel-devel
mailing list