[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: KConfigGroup::readEntry() and floats
From:       Thiago Macieira <thiago () kde ! org>
Date:       2008-04-10 6:23:52
Message-ID: 200804100823.53051.thiago () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


Thiago Macieira wrote:
>Two things to remember: with QVariant, you cannot convert from float to
>anything else, nor from anything else to float; no other QMetaType type
>that is not part of QVariant is handled either (char, uchar, short,
>ushort, long, ulong).

Inspecting the qvariant.cpp code indicates that it does convert to/from 
floats. That's not how I remember in Qt 4.2...

That makes things a lot simpler.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

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

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic