Hi,

I use QVariant a lot in Qt4 to store native but also custom types.
One thing I find a bit annoying is that there is no way to "extend" the 
toString() QVariant functionnality.

How about adding some sort of operator (à la QDataStream) that custom types 
could provide to help QVariant convert to/from string ?

This would be really convienent in order to easily print QVariant without 
actually knowing if it's custom or native content.

Jérôme
_______________________________________________
Qt5-feedback mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt5-feedback

Reply via email to