[Qt-interest] Access QMetaObject by type name string
Thiago Macieira
thiago.macieira at trolltech.com
Sat Aug 1 12:46:46 CEST 2009
Anton Khodakivskiy wrote:
>Hi
>Is it possible to access the QMetaObject for a QObject via the tpe name
>string,
>
>so instead of
>meta = MyType::staticMetaObject
>I would write
>meta = functionThatReturnsMetaObject("MyType");
>
>Is there such a functionality?
Hi Anton
There's no API like that.
--
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/20090801/61a5982f/attachment.bin
More information about the Qt-interest-old
mailing list