qt5base-lts/tests/auto/gui/kernel/qkeysequence
David Edmundson 725bdc3fd2 Fetch StandardKey shortcuts from QPlatformTheme
This allows platforms to dynamically alter their keyboard
shortcuts, for example if they are user-configurable on that
platform. Current behavior remains the same.

QEvent previously used the hardcoded values in QKeySequencePrivate so
this was modified to use QKeySequence::keyBindings().

In order to keep the speed of QEvent's former binary search, we moved
this code to QPlatformTheme::keyBindings(), making it faster for all
keyBinding lookups.

As we now need to search by StandardKey instead of by shortcut the list
is reordered and a test is changed to reflect that.

Change-Id: Iefb402fbbe8768be2208ce036f3c2deed72dcc6c
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@digia.com>
2013-08-20 22:22:21 +02:00
..
.gitignore Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
keys_de.qm Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
keys_de.ts Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qkeysequence.pro Set the Qt API level to compatibility mode in all tests. 2012-08-01 15:37:46 +02:00
qkeysequence.qrc Moved gui autotests into new directory structure 2011-09-01 10:59:49 +02:00
qt_de.qm Update year in Nokia copyright headers. 2012-01-10 07:12:41 +01:00
tst_qkeysequence.cpp Fetch StandardKey shortcuts from QPlatformTheme 2013-08-20 22:22:21 +02:00