Refactor window system event dispatching.
authorMorten Sorvig <morten.sorvig@nokia.com>
Thu, 23 Jun 2011 07:05:34 +0000 (09:05 +0200)
committerMorten Sorvig <morten.sorvig@nokia.com>
Thu, 23 Jun 2011 09:04:21 +0000 (11:04 +0200)
commit58d10c0bd7cff2009edf6183c660b2e149eb9a82
tree85ef2a3b398932fdc1c5db5ebbb4b5312742a201
parentc359cf0017e83b9cbfdf88c1fef16f84865ca0a8
Refactor window system event dispatching.

Add QWindowSystemInterface::sendWindowSystemEvents,
which contains the canonical "empty and send queued
window system events" implementation.

Make the Cocoa, QPA, and GLIB dispatchers use the
new implementation. Cocoa now no longer inherits
from QPA.
src/gui/kernel/qwindowsysteminterface_qpa.cpp
src/gui/kernel/qwindowsysteminterface_qpa.h
src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp
src/platformsupport/eventdispatchers/qeventdispatcher_qpa.cpp
src/plugins/platforms/cocoa/qcocoaeventdispatcher.h
src/plugins/platforms/cocoa/qcocoaeventdispatcher.mm