QMetaObject::invokeMethod

Robert Helling helling at lmu.de
Sat Jul 7 08:37:40 PDT 2018


Hi,

I am trying to understand some code that contains invocations of

QMetaObject::invokeMethod

I admit I not a C++ person in any sense so could somebody please explain why one would use such a thing? Berthold, I guess you introduced these. In particular since the Qt documentation says about QMetaObject

This class is not normally required for application programming, but it is useful if you write meta-applications, such as scripting engines or GUI builders.

Shouldn’t this rather be a signal that invokes a slot?

Thanks a lot
Robert
--
.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO
Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics
                      Scientific Coordinator
                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik
print "Just another   Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339
    stupid .sig\n";   http://www.atdotde.de

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20180707/382abf4f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 236 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.subsurface-divelog.org/pipermail/subsurface/attachments/20180707/382abf4f/attachment.sig>


More information about the subsurface mailing list