[Qt-interest] QEventDispatcherWin32::registerEventNotifier
James McKaskill
jmckaskill at gmail.com
Mon Feb 9 03:31:37 CET 2009
I'm trying to integrate qt into an existing win32 codebase. Now most
of our main event loops are essentially a call to
MsgWaitForMultipleObjects, where the handles are pulled from a number
of places including our own messaging system and 3rd party code. Now
the best way I can see of doing this is to replace our own event loop
with the qt one, but register the event handles to the qt event
dispatcher. Looking through the code, there is functions on
QEventDispatcherWin32 to register and unregister event notifiers.
These however are not available through the main interface
QAbstractEventDispatcher and are not officially part of the api. Is
there any reason these can't be pushed up to QAbstractEventDispatcher
within an ifdef, or is there a better way of approaching this?
James McKaskill
More information about the Qt-interest-old
mailing list