diff options
author | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-10-16 14:18:36 (GMT) |
---|---|---|
committer | Bradley T. Hughes <bradley.hughes@nokia.com> | 2009-10-20 12:16:10 (GMT) |
commit | 31f1ff91028dd7f90925d5b3737e4d88b5fb07aa (patch) | |
tree | 56a4adc8b1efa252a0709750137f3f12f7014f7d /src/gui/kernel/qapplication.cpp | |
parent | c238f7b7e299e742e71fdb043a7bc81bbfd6c419 (diff) | |
download | Qt-31f1ff91028dd7f90925d5b3737e4d88b5fb07aa.zip Qt-31f1ff91028dd7f90925d5b3737e4d88b5fb07aa.tar.gz Qt-31f1ff91028dd7f90925d5b3737e4d88b5fb07aa.tar.bz2 |
Send posted events in response to WM_QT_SENDPOSTEDEVENTS
(which is just WM_USER+1)
Delay the next WM_QT_SENDPOSTEDEVENTS iff there is a WM_TIMER
or input event pending
We also need to break out of processEvents() after seeing this
message, to prevent livelocking in the prescence of fast timers.
I also took the liberty of defining WM_QT_SOCKETNOTIFIER (WM_USER)
at the same time (to give clear meaning to what WM_USER and WM_USER+1
are used for).
Reviewed-by: Prasanth Ullattil
Diffstat (limited to 'src/gui/kernel/qapplication.cpp')
0 files changed, 0 insertions, 0 deletions