qt5base-lts/tests/auto/widgets/kernel
Friedemann Kleint 5b49793d80 Implement synchronous WS events by flushing.
Previously synchronous window system events were
implemented by bypassing the queue and processing
the event immediately. This is not ideal since the
event order is not preserved - there might be "happened
before" events waiting in the queue.

Add QWindowSystemInterface::flushWindowSystemEvents
and change all handleSynchronous* to 1) queue the
event 2) call flushWindowSystemEvents.

flushWindowSystemEvents is almost identical to the
already existing sendWindowSystemEvents with the
exception that it does not call QApp::sendPostedEvents.
Move the common implementation to a new private function.

Task-number: QTBUG-20778

Change-Id: Ie98a83875bc0a14e335e36bed0dd9e0ed4a1dea0
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
2012-07-31 20:25:36 +02:00
..
qaction Expose QPA API under qpa/* 2012-05-07 20:25:24 +02:00
qactiongroup Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qapplication Propagate synthesized mouse events in parallel (lock-step) with touch 2012-07-24 10:46:24 +02:00
qboxlayout Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qdesktopwidget Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qformlayout Implement waitForWindowExposed and friends for widget windows. 2012-07-20 09:27:28 +02:00
qgridlayout Implement waitForWindowExposed and friends for widget windows. 2012-07-20 09:27:28 +02:00
qlayout QLayoutItem - make controlTypes a virtual function. 2012-04-13 10:17:44 +02:00
qshortcut Implement waitForWindowExposed and friends for widget windows. 2012-07-20 09:27:28 +02:00
qsizepolicy Fix Qt 5 todo issues for QSizePolicy. 2012-05-30 01:54:45 +02:00
qstackedlayout Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qtooltip Cocoa: Improve basic window handling. 2012-03-14 23:02:12 +01:00
qwidget Implement synchronous WS events by flushing. 2012-07-31 20:25:36 +02:00
qwidget_window Remove #ifdef Q_WS_ / include / #endif conditionals. 2012-07-16 16:30:55 +02:00
qwidgetaction Add CONFIG+=parallel_test to suspected parallel-safe tests. 2012-05-28 07:33:01 +02:00
qwidgetmetatype QMetaTypeId2::IsBuiltIn: (new) template meta-function to check for built-in types 2012-07-26 15:01:04 +02:00
qwidgetsvariant Implement implicit constructors for built-in classes. 2012-07-27 03:27:23 +02:00
kernel.pro Store the QMetaObject with the QMetaType. 2012-07-01 15:07:10 +02:00