Diffstat (limited to 'noncore/apps/opie-console/TEWidget.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/apps/opie-console/TEWidget.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/noncore/apps/opie-console/TEWidget.cpp b/noncore/apps/opie-console/TEWidget.cpp index d168a5e..98c1793 100644 --- a/noncore/apps/opie-console/TEWidget.cpp +++ b/noncore/apps/opie-console/TEWidget.cpp | |||
@@ -1029,7 +1029,6 @@ bool TEWidget::eventFilter( QObject *obj, QEvent *e ) | |||
1029 | #ifdef FAKE_CTRL_AND_ALT | 1029 | #ifdef FAKE_CTRL_AND_ALT |
1030 | static bool control = FALSE; | 1030 | static bool control = FALSE; |
1031 | static bool alt = FALSE; | 1031 | static bool alt = FALSE; |
1032 | // odebug << " Has a keyboard with no CTRL and ALT keys, but we fake it:" << oendl; | ||
1033 | bool dele=FALSE; | 1032 | bool dele=FALSE; |
1034 | if ( e->type() == QEvent::KeyPress || e->type() == QEvent::KeyRelease ) { | 1033 | if ( e->type() == QEvent::KeyPress || e->type() == QEvent::KeyRelease ) { |
1035 | QKeyEvent* ke = (QKeyEvent*)e; | 1034 | QKeyEvent* ke = (QKeyEvent*)e; |
@@ -1068,11 +1067,8 @@ bool TEWidget::eventFilter( QObject *obj, QEvent *e ) | |||
1068 | actSel=0; // Key stroke implies a screen update, so TEWidget won't | 1067 | actSel=0; // Key stroke implies a screen update, so TEWidget won't |
1069 | // know where the current selection is. | 1068 | // know where the current selection is. |
1070 | 1069 | ||
1071 | // odebug << "key pressed is 0x" << ke->key() << "" << oendl; | ||
1072 | 1070 | ||
1073 | if( ke->state() == ShiftButton && ke->key() == Key_Tab) { //lets hardcode this sucker | 1071 | if( ke->state() == ShiftButton && ke->key() == Key_Tab) { //lets hardcode this sucker |
1074 | |||
1075 | // odebug << "key pressed 2 is 0x" << ke->key() << "" << oendl; | ||
1076 | emitText("\\"); // expose | 1072 | emitText("\\"); // expose |
1077 | } else | 1073 | } else |
1078 | emit keyPressedSignal(ke); // expose | 1074 | emit keyPressedSignal(ke); // expose |