qt5base-lts/tests/auto/widgets/kernel
David Faure 1603ba2365 Provide public API for native event filtering, moved up from QPA.
The previous API was hard to use (global function, no type safety,
manual chaining), and confusing (app vs dispatcher split only made
sense on Windows). Installing and removing out of order would have
the risk of setting back a dangling pointer (crash). Meanwhile QPA
added type safety, and this new API models the QObject::installEventFilter
API for ease of use. The virtual method is in a new interface,
QAbstractNativeEventFilter.

QPA was even calling the dispatcher event filter with QPA-private event
classes, which made no sense (refactoring leftover from when the code
was in the dispatcher). Now the QPA plugins trigger the qcoreapp event
filters with the actual native events directly.

Change-Id: Ie35e47c59c862383bcaf857b28d54f7c72547882
Reviewed-by: Marius Storm-Olsen <marius.storm-olsen@nokia.com>
2012-07-20 18:34:08 +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 Implement waitForWindowExposed and friends for widget windows. 2012-07-20 09:27:28 +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 Provide public API for native event filtering, moved up from QPA. 2012-07-20 18:34:08 +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 Store the QMetaObject with the QMetaType. 2012-07-01 15:07:10 +02:00
kernel.pro Store the QMetaObject with the QMetaType. 2012-07-01 15:07:10 +02:00