diff options
author | Glenn Watson <glenn.watson@nokia.com> | 2012-07-03 11:04:02 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-03 06:42:36 +0200 |
commit | 01173fd0c09e51ca949df51fac2fa7e439e466d1 (patch) | |
tree | 3902ec75babf56175d8096596de77fa07e19d96c /tests/auto/quick/qquickitem2/data | |
parent | bd0bfcd4e85f7877a9fdab94506c2ff8bc61441c (diff) |
Add nativeScanCode to KeyEvent.
Allow the Qt nativeScanCode value to be passed through to the
QML event handler.
Task-number: QTBUG-18590
Change-Id: If598e0d65adc0e9bc29cca773a0bda2c8037b661
Reviewed-by: Martin Jones <martin.jones@nokia.com>
Diffstat (limited to 'tests/auto/quick/qquickitem2/data')
-rw-r--r-- | tests/auto/quick/qquickitem2/data/keystest.qml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/auto/quick/qquickitem2/data/keystest.qml b/tests/auto/quick/qquickitem2/data/keystest.qml index c70e0061f5..c968172f4f 100644 --- a/tests/auto/quick/qquickitem2/data/keystest.qml +++ b/tests/auto/quick/qquickitem2/data/keystest.qml @@ -14,6 +14,7 @@ Item { Keys.onBacktabPressed: keysTestObject.keyPress(event.key, "Backtab", event.modifiers) Keys.forwardTo: [ item2 ] Keys.enabled: enableKeyHanding + Keys.onVolumeUpPressed: keysTestObject.specialKey(event.key, event.text, event.nativeScanCode) Item { id: item2 |