[Qt-interest] QMetaObject and its method() function

Thiago Macieira thiago at kde.org
Sat Jan 16 14:49:51 CET 2010


Em Sábado 16. Janeiro 2010, às 14.09.04, Louis Du Verdier escreveu:
> I had tried to use Q_INVOKABLE on the constructor but this one is not
> inclued in the list which is shown in the table. But the method() function
> in the public section of the class works, so it is not a Q_INVOKABLE
> problem. The rest works to. Maybe I have missed something ?

Yes.

Your code only iterates over method / methodCount. The constructors are in 
constructor / constructorCount.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100116/af4e27e4/attachment.bin 


More information about the Qt-interest-old mailing list