Hi,

I am currently interfacing two libraries that only have QVariant in common, 
most of the (value) types getting exchanged are either Qt containers or 
Q_GADGETs.

I was relatively quick to realize that I needed the QMetaType and 
QMetaObject of these objects, but it took me pretty long to find out that I 
can use QVariant::data() to get at the void* that I need to access 
properties and Q_INVOKABLEs.

Is there a particular reason that QVariant::data() is classified as 
\internal or would a documentation patch be accepted?



        Konrad

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development

Reply via email to