[Qt-interest] QVariant is great, make it better

Thiago Macieira thiago.macieira at trolltech.com
Wed Jul 8 13:06:23 CEST 2009


Mildred Ki'Lya wrote:
>QVariant IPv4::qvariantToType(QVariant::Type t); // convert this to a
>QVariant of type t
>QVariant IPv4::qvariantFromValue(QVariant origin); // convert origin to
>an IPv4 QVariant
>
>Well, that could be done outside the QVariant class, but it would be
>really great I think if there was some functionnality like this.

Hi Mildred

This is something I've tried to do, but I haven't been able to get the 
template-magic to work.

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Product Manager - Nokia, Qt Software
      Sandakerveien 116, NO-0402 Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090708/96171933/attachment.bin 


More information about the Qt-interest-old mailing list