summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorRoman Savochenko <rom_as@oscada.org>2017-07-30 10:48:57 +0200
committerSlávek Banko <slavek.banko@axis.cz>2017-07-30 10:48:57 +0200
commit4c308190789d7f5ffc940d70dd5ea8a002fa4b30 (patch)
tree9839415aadb8417d65d5516cb04f25d4d2aae4c9 /tools
parent71d8f1c4f19aaf55e312fc8414c29a5e34522160 (diff)
downloadtqt3-4c308190789d7f5ffc940d70dd5ea8a002fa4b30.tar.gz
tqt3-4c308190789d7f5ffc940d70dd5ea8a002fa4b30.zip
Add brightness keys support
The code partially taken from Qt4 This relates to bug 2775 Signed-off-by: Roman Savochenko <rom_as@oscada.org>
Diffstat (limited to 'tools')
-rw-r--r--tools/designer/designer/resource.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/designer/designer/resource.cpp b/tools/designer/designer/resource.cpp
index 01d5f3410..2866e4037 100644
--- a/tools/designer/designer/resource.cpp
+++ b/tools/designer/designer/resource.cpp
@@ -180,6 +180,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