<div dir="ltr"><div><div><div><div>Hello all,<br><br></div>This should be a real simple question but who knows.<br><br></div>Are the following code lines the same?<br><br>QtGui.qApp.processEvents()<br><br>QtGui.QApplication.processEvents()<br><br></div>I'm guessing from the statements.<br>The <a href="http://doc.qt.io/qt-4.8/porting4.html#qapplication">QApplication</a> object is accessible through the <a href="http://doc.qt.io/qt-4.8/qcoreapplication.html#instance">instance</a>() function that returns a pointer equivalent to the global <a href="http://doc.qt.io/qt-4.8/qapplication.html#qApp">qApp</a> pointer.<br><br></div>Found here<br><div><br><a href="http://doc.qt.io/qt-4.8/qapplication.html">http://doc.qt.io/qt-4.8/qapplication.html</a><br><br></div><div>that they are.<br><br></div><div>Regards,<br><br></div><div>Chris<br></div><div><br><br><div><br><br></div></div></div>