[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    [PyQt] Processing events
From:       "Chris O'Halloran" <cmoman () gmail ! com>
Date:       2015-12-15 20:40:14
Message-ID: CAAXZQmMKXTzT-FA+b_2Stai1VD7SpQjJThCAVhy=4o5Yc8SQKw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hello all,

This should be a real simple question but who knows.

Are the following code lines the same?

QtGui.qApp.processEvents()

QtGui.QApplication.processEvents()

I'm guessing from the statements.
The QApplication <http://doc.qt.io/qt-4.8/porting4.html#qapplication>
object is accessible through the instance
<http://doc.qt.io/qt-4.8/qcoreapplication.html#instance>() function that
returns a pointer equivalent to the global qApp
<http://doc.qt.io/qt-4.8/qapplication.html#qApp> pointer.

Found here

http://doc.qt.io/qt-4.8/qapplication.html

that they are.

Regards,

Chris

[Attachment #5 (text/html)]

<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&#39;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>



[Attachment #6 (text/plain)]

_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic