qt5base-lts/tests/auto/gui
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
..
image Merge "Merge remote-tracking branch 'origin/stable' into dev" into refs/staging/dev 2013-07-24 15:09:38 +02:00
itemmodels
kernel Fetch StandardKey shortcuts from QPlatformTheme 2013-08-20 22:22:21 +02:00
math3d
painting Fix fillRect on RGBA8888 images 2013-07-29 16:10:53 +02:00
qopengl
text Merge remote-tracking branch 'origin/stable' into dev 2013-08-14 09:06:31 +02:00
util Bugfix QDesktopServices on Windows 2013-07-11 10:56:49 +02:00
gui.pro