diff options
author | Roman Savochenko <[email protected]> | 2017-07-30 10:48:57 +0200 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2017-07-30 10:49:12 +0200 |
commit | a944a8634fc7472ffd40e22cd5848a9b027c7b36 (patch) | |
tree | 2c1cdc3a3446f7828af596bb8374eba9808f5356 /src/kernel/qkeysequence.cpp | |
parent | 4516caea75973d95b72006be24099c81dcb42995 (diff) | |
download | tqt3-a944a8634fc7472ffd40e22cd5848a9b027c7b36.tar.gz tqt3-a944a8634fc7472ffd40e22cd5848a9b027c7b36.zip |
Add brightness keys support
The code partially taken from Qt4
This relates to bug 2775
Signed-off-by: Roman Savochenko <[email protected]>
(cherry picked from commit 4c308190789d7f5ffc940d70dd5ea8a002fa4b30)
Diffstat (limited to 'src/kernel/qkeysequence.cpp')
-rw-r--r-- | src/kernel/qkeysequence.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/kernel/qkeysequence.cpp b/src/kernel/qkeysequence.cpp index 17a49b6c6..67cbe9fbb 100644 --- a/src/kernel/qkeysequence.cpp +++ b/src/kernel/qkeysequence.cpp @@ -160,6 +160,11 @@ static struct { { TQt::Key_LaunchD, QT_TRANSLATE_NOOP( "TQAccel", "Launch (D)" ) }, { TQt::Key_LaunchE, QT_TRANSLATE_NOOP( "TQAccel", "Launch (E)" ) }, { TQt::Key_LaunchF, QT_TRANSLATE_NOOP( "TQAccel", "Launch (F)" ) }, + { TQt::Key_MonBrightnessUp, QT_TRANSLATE_NOOP( "TQAccel", "Monitor Brightness Up" ) }, + { TQt::Key_MonBrightnessDown, QT_TRANSLATE_NOOP( "TQAccel", "Monitor Brightness Down" ) }, + { TQt::Key_KeyboardLightOnOff, QT_TRANSLATE_NOOP( "TQAccel", "Keyboard Light On Off" ) }, + { TQt::Key_KeyboardBrightnessUp,QT_TRANSLATE_NOOP( "TQAccel", "Keyboard Brightness Up" ) }, + { TQt::Key_KeyboardBrightnessDown, QT_TRANSLATE_NOOP( "TQAccel", "Keyboard Brightness Down" ) }, // -------------------------------------------------------------- // More consistent namings |