qt5base-lts/tests/auto
Jon Severinsson cf2a75e41b Fix QGuiApplication::keyboardModifiers() and QGuiApplication::mouseButtons()
Previous commit b2363a935c fixed keyboardModifiers() after QPA event
processing, but broke QTestLib, which expects spontaneous input events
sent to qApp->notify() to update keyboardModifiers() and mouseButtons().
The commit also did not fix mouseButtons() after QPA event processing,
and missed keyboardModifiers() after QPA Tablet event processing.

This commit fixes all these shortcommings in b2363a935c.

Includes test case by David Faure <faure@kde.org>

Task-Number: QTBUG-26887
Change-Id: I8518b06c4ce86ea7b35120e3353a45ea2a81d356
Reviewed-by: David Faure (KDE) <faure@kde.org>
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
2013-01-04 13:20:06 +01:00
..
cmake Generate instances of types in the CMake tests. 2012-10-31 07:16:03 +01:00
compilerwarnings/data Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
concurrent Fix for leak in QFuture 2012-11-01 16:09:29 +01:00
corelib Remove metatype registration of built-in types. 2013-01-03 16:15:37 +01:00
dbus tst_QDBusXmlParser: more reliable solution for setting the seed 2012-12-20 21:16:53 +01:00
gui Fix possible crash in QTextDocument 2013-01-03 16:15:37 +01:00
guiapplauncher
network Network: Remove declaration of built-in and automatic metatypes. 2013-01-03 18:19:28 +01:00
opengl add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00
other Cleanup verifyHierarchy. Remove dead code and add indexOfChild test 2013-01-03 20:18:06 +01:00
printsupport Only use the user set page margins for custom paper 2012-10-30 12:53:46 +01:00
shared Auto tests: add PlatformClipboard::isAvailable() 2012-09-27 06:07:13 +02:00
sql Remove metatype registration of built-in types. 2013-01-03 16:15:37 +01:00
testlib Remove metatype registration of built-in types. 2013-01-03 16:15:37 +01:00
tools add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00
widgets Fix QGuiApplication::keyboardModifiers() and QGuiApplication::mouseButtons() 2013-01-04 13:20:06 +01:00
xml remove obsolete DEPENDPATH assignments 2012-12-17 14:08:17 +01:00
auto.pro add and use qtHaveModule() function 2012-12-21 19:05:02 +01:00
network-settings.h Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00
qtest-config.h Auto tests: revise cursor dependant tests 2012-10-13 05:51:19 +02:00
test.pl Change copyrights from Nokia to Digia 2012-09-22 19:20:11 +02:00