[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:       Michael Olbrich <michael-olbrich () web ! de>
Date:       2007-07-24 23:28:20
Message-ID: 20070724232820.GA368 () creature ! apm ! etc ! tu-bs ! de
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Tue, Jul 24, 2007 at 01:36:18PM -0700, Shawn Starr wrote:
> Hi Michael, you can use: KGlobal::locale()->measureSystem()
>=20
> 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


["signature.asc" (application/pgp-signature)]

_______________________________________________
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