[solved]QEvent , is it Possible to handle it in console application with no QObject?
is it Possible to handle QEvent in console application with no QObject? ex: a console application get the key press or mouse keys event or the event must handle in QObject class3 replies
No. QEvents are delivered by QApplication to QObjects. See Events and Filters [doc.trolltech.com].
thanks ,
these all functions the QObject is main parameter in it
but I ask to be sure
bool QCoreApplication::notify ( QObject * receiver, QEvent * event )
void QCoreApplication::postEvent ( QObject * receiver, QEvent * event )
void QCoreApplication::postEvent ( QObject * receiver, QEvent * event, int priority )
thanks again
You must log in to post a reply. Not a member yet? Register here!
