Remove handleSynchronous* functions.
authorMorten Johan Sorvig <morten.sorvig@nokia.com>
Thu, 27 Sep 2012 08:37:30 +0000 (10:37 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 10 Oct 2012 17:49:22 +0000 (19:49 +0200)
commitd4d81fe68aa7d2b2a89ae5e049dd630e0da77651
tree0f11fef07dacbca29a893c09a480f73670c25dfd
parentd242c951be957cc7ab6657e2cf0b728dbe960e3d
Remove handleSynchronous* functions.

There are now two different ways to implement synchronous
event processing. The platform plugins can choose which
one to use.

1) flushWindowSystemEvents()
   Use to flush the event queue at one point, making
   preceding calls synchronous.

2) setSynchronousWindowsSystemEvents(bool enable)
   Makes all handle* functions synchronous, bypassing
   the event queue completely.

Change-Id: I020b80c731fd13f855a377d7c91d06a4e39b6a0b
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Samuel Rødal <samuel.rodal@digia.com>
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
src/gui/kernel/qplatformwindow.cpp
src/gui/kernel/qwindowsysteminterface.cpp
src/gui/kernel/qwindowsysteminterface.h
src/gui/kernel/qwindowsysteminterface_p.h
src/plugins/platforms/cocoa/qcocoawindow.mm
src/plugins/platforms/cocoa/qnsview.mm
src/plugins/platforms/eglfs/qeglfscursor.cpp
src/plugins/platforms/qnx/qqnxwindow.cpp
src/plugins/platforms/windows/qwindowswindow.cpp
tests/auto/gui/kernel/qguiapplication/tst_qguiapplication.cpp