[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-panel-devel
Subject: Re: [Panel-devel] dataengine developers: what configuration items
From: Shawn Starr <shawn.starr () rogers ! com>
Date: 2007-07-24 20:36:18
Message-ID: 402242.77435.qm () web88014 ! mail ! re2 ! yahoo ! com
[Download RAW message or body]
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@web.de>
To: panel-devel@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@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel
_______________________________________________
Panel-devel mailing list
Panel-devel@kde.org
https://mail.kde.org/mailman/listinfo/panel-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic