[Qt-interest] Use myClass* with QMetaProperty

Thiago Macieira thiago.macieira at trolltech.com
Fri Dec 19 11:25:54 CET 2008


On Friday 19 December 2008 11:05:23 Ender EREL wrote:
> qRegisterMetaType documentation tells that Q_DECLARE_METATYPE is
> sufficient to use Type T in QVariant, therefore i assumed that it would
> also be sufficient to use the type in property() & setProperty().

I'll update the documentation. I should note, however, that you're using it in 
QMetaProperty and QObject so, strictly speaking, the documentation is already 
correct...

But it doesn't hurt to be clear :-)

-- 
Thiago Macieira - thiago.macieira (AT) nokia.com
  Senior Software Engineer - Nokia, Qt Software
  Qt Software is hiring - ask me
      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/20081219/082bab98/attachment.bin 


More information about the Qt-interest-old mailing list