[Qt-interest] Question regarding QMetaObject

Thiago Macieira thiago.macieira at trolltech.com
Sun Jun 21 15:44:22 CEST 2009


Patric wrote:
>Hello,
>I was wondering is it possible to call invokeMethod on QString object ?
>Is there a way to do that ?
>Because invokeMethod works only with QObjects, and QString is not
> QObject.

You've answered your own question: you can only use invokeMethod with 
QObjects (and then only with meta methods, like signals, slots and 
invokables), but QString is not a QObject.

-- 
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/20090621/a55494d8/attachment.bin 


More information about the Qt-interest-old mailing list