summaryrefslogtreecommitdiffstats
path: root/konsole/konsole/TEmulation.h
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-05-16 18:32:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2014-05-16 18:32:17 +0900
commitefdf0bbcd37d5aaa05649437b286aeecfd38c617 (patch)
treef056c88a705748c6b871fe4ba6f4e103bb37d822 /konsole/konsole/TEmulation.h
parent83708272fbd48b9a65342cc66af5c0a3837d7a13 (diff)
downloadtdebase-efdf0bbcd37d5aaa05649437b286aeecfd38c617.tar.gz
tdebase-efdf0bbcd37d5aaa05649437b286aeecfd38c617.zip
Improved code for workaround for Qt/Tde/X? bug for handling Meta key as Alt key
in terminal emulation after restored sessions. This relates to bug 1026.
Diffstat (limited to 'konsole/konsole/TEmulation.h')
-rw-r--r--konsole/konsole/TEmulation.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/konsole/konsole/TEmulation.h b/konsole/konsole/TEmulation.h
index b50afc608..9ddc2a4c7 100644
--- a/konsole/konsole/TEmulation.h
+++ b/konsole/konsole/TEmulation.h
@@ -56,11 +56,14 @@ public slots: // signals incoming from TEWidget
virtual void onImageSizeChange(int lines, int columns);
virtual void onHistoryCursorChange(int cursor);
- // HACK
- void onKeyPress(TQKeyEvent*); // This should not be overwritten by derived classes
- virtual void doKeyPress(TQKeyEvent*); // Instead this function should be overwritten if necessary
- void onKeyReleased(TQKeyEvent*); // This should not be overwritten by derived classes
- virtual void doKeyReleased(TQKeyEvent*); // Instead this function should be overwritten if necessary
+ // HACK - start
+ void onKeyPress(TQKeyEvent*); // This should not be overwritten by derived classes
+ virtual void doKeyPress(TQKeyEvent*); // Instead this function should be overwritten if necessary
+ void onKeyReleased(TQKeyEvent*); // This should not be overwritten by derived classes
+ virtual void doKeyReleased(TQKeyEvent*); // Instead this function should be overwritten if necessary
+ void onFocusIn(TQFocusEvent*); // This should not be overwritten by derived classes
+ virtual void doFocusIn(TQFocusEvent*); // Instead this function should be overwritten if necessary
+ // HACK - end
virtual void clearSelection();
virtual void copySelection();