[Panel-devel] dataengine developers: what configuration items does you engine need?

Michael Olbrich michael-olbrich at web.de
Wed Jul 25 01:28:20 CEST 2007


On Tue, Jul 24, 2007 at 01:36:18PM -0700, Shawn Starr wrote:
> 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)

I did see that, but I didn't know it includes temperatures as well.
Any reasons _not_ to use this for thermal sensors? Opinions?

michael

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20070725/483c0fdd/attachment-0001.pgp 


More information about the Panel-devel mailing list