<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">I am trying to understand some code that contains invocations of </div><div class=""><br class=""></div><div class="">
<pre style="margin-top: 0px; margin-bottom: 0px;" class=""><!--StartFragment--><span style=" color:#800080;" class="">QMetaObject</span>::<span style=" color:#00677c;" class="">invokeMethod</span><!--EndFragment--></pre><div class=""><br class=""></div><div class="">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</div><div class=""><br class=""></div><div class=""><span style="caret-color: rgb(64, 66, 68); color: rgb(64, 66, 68); font-family: "Titillium Web", Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class="">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.</span></div><div class=""><span style="caret-color: rgb(64, 66, 68); color: rgb(64, 66, 68); font-family: "Titillium Web", Arial, Helvetica, sans-serif; font-size: 16px; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><font color="#404244" face="Titillium Web, Arial, Helvetica, sans-serif" size="3" class=""><span style="background-color: rgb(255, 255, 255);" class="">Shouldn’t this rather be a signal that invokes a slot?</span></font></div><div class=""><font color="#404244" face="Titillium Web, Arial, Helvetica, sans-serif" size="3" class=""><span style="background-color: rgb(255, 255, 255);" class=""><br class=""></span></font></div><div class=""><font color="#404244" face="Titillium Web, Arial, Helvetica, sans-serif" size="3" class=""><span style="background-color: rgb(255, 255, 255);" class="">Thanks a lot</span></font></div><div class=""><font color="#404244" face="Titillium Web, Arial, Helvetica, sans-serif" size="3" class=""><span style="background-color: rgb(255, 255, 255);" class="">Robert</span></font></div><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-family: "Courier New"; font-variant-ligatures: normal; font-variant-east-asian: normal; font-variant-position: normal; line-height: normal; border-spacing: 0px; -webkit-text-decorations-in-effect: none;">--                                                                              <br class="">.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oOo.oO <br class="">Robert C. Helling     Elite Master Course Theoretical and Mathematical Physics  <br class="">                      Scientific Coordinator                                   <br class="">                      Ludwig Maximilians Universitaet Muenchen, Dept. Physik    <br class="">print "Just another   Phone: +49 89 2180-4523  Theresienstr. 39, rm. B339       <br class="">    stupid .sig\n";   <a href="http://www.atdotde.de" class="">http://www.atdotde.de</a> </span>
</div>
<br class=""></div></body></html>