--===============1334053016== Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="r5Pyd7+fXNt84Ff3" Content-Disposition: inline --r5Pyd7+fXNt84Ff3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 --r5Pyd7+fXNt84Ff3 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGposU3fK8vSqP5HsRAq6SAJsHY/YxPBFKD+gtp0bjJgmxpowlDgCfZkBF gRDAVnZdqEayog6l8db2jw0= =6JOh -----END PGP SIGNATURE----- --r5Pyd7+fXNt84Ff3-- --===============1334053016== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Panel-devel mailing list Panel-devel@kde.org https://mail.kde.org/mailman/listinfo/panel-devel --===============1334053016==--