author | llornkcor <llornkcor> | 2003-03-16 20:50:47 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-03-16 20:50:47 (UTC) |
commit | 75ebe1838923e121cb093310f7f7c1b021abdcc1 (patch) (unidiff) | |
tree | a7b6e735b7faa08ba1689a7ed6155ceaca5ea1e4 | |
parent | 0aff3e917df1fb56eb1f2a6b2ed98355b25ad653 (diff) | |
download | opie-75ebe1838923e121cb093310f7f7c1b021abdcc1.zip opie-75ebe1838923e121cb093310f7f7c1b021abdcc1.tar.gz opie-75ebe1838923e121cb093310f7f7c1b021abdcc1.tar.bz2 |
fix Ctrl-C
-rw-r--r-- | core/apps/embeddedkonsole/TEWidget.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/core/apps/embeddedkonsole/TEWidget.cpp b/core/apps/embeddedkonsole/TEWidget.cpp index a989e10..8214e7d 100644 --- a/core/apps/embeddedkonsole/TEWidget.cpp +++ b/core/apps/embeddedkonsole/TEWidget.cpp | |||
@@ -299,5 +299,5 @@ TEWidget::TEWidget(QWidget *parent, const char *name) : QFrame(parent,name) | |||
299 | hScrollbar->setOrientation(QScrollBar::Horizontal); | 299 | hScrollbar->setOrientation(QScrollBar::Horizontal); |
300 | hScrollbar->setMaximumHeight(16); | 300 | hScrollbar->setMaximumHeight(16); |
301 | 301 | ||
302 | connect( hScrollbar, SIGNAL(valueChanged(int)), this, SLOT( hScrollChanged(int))); | 302 | connect( hScrollbar, SIGNAL(valueChanged(int)), this, SLOT( hScrollChanged(int))); |
303 | 303 | ||
@@ -335,5 +335,5 @@ TEWidget::TEWidget(QWidget *parent, const char *name) : QFrame(parent,name) | |||
335 | vcolumns = 0; | 335 | vcolumns = 0; |
336 | useBeep = true; | 336 | useBeep = true; |
337 | 337 | ||
338 | setMouseMarks(TRUE); | 338 | setMouseMarks(TRUE); |
339 | setVTFont( QFont("fixed") ); | 339 | setVTFont( QFont("fixed") ); |
@@ -878,5 +878,5 @@ void TEWidget::mouseDoubleClickEvent(QMouseEvent* ev) | |||
878 | void TEWidget::focusInEvent( QFocusEvent * ) | 878 | void TEWidget::focusInEvent( QFocusEvent * ) |
879 | { | 879 | { |
880 | 880 | ||
881 | // do nothing, to prevent repainting | 881 | // do nothing, to prevent repainting |
882 | } | 882 | } |
@@ -1069,7 +1069,7 @@ bool TEWidget::eventFilter( QObject *obj, QEvent *e ) | |||
1069 | pasteClipboard(); | 1069 | pasteClipboard(); |
1070 | } | 1070 | } |
1071 | else if( ke->state() == ControlButton && ke->key() == Key_C) { | 1071 | // else if( ke->state() == ControlButton && ke->key() == Key_C) { |
1072 | // pasteClipboard(); | 1072 | // pasteClipboard(); |
1073 | } | 1073 | // } |
1074 | else | 1074 | else |
1075 | emit keyPressedSignal(ke); // expose | 1075 | emit keyPressedSignal(ke); // expose |
@@ -1113,7 +1113,7 @@ void TEWidget::Bell() | |||
1113 | //#ifdef QT_QWS_SHARP | 1113 | //#ifdef QT_QWS_SHARP |
1114 | //# ifndef QT_NO_COP | 1114 | //# ifndef QT_NO_COP |
1115 | if(useBeep) | 1115 | if(useBeep) |
1116 | QCopEnvelope( "QPE/TaskBar", "soundAlarm()" ); | 1116 | QCopEnvelope( "QPE/TaskBar", "soundAlarm()" ); |
1117 | 1117 | ||
1118 | //# endif | 1118 | //# endif |
1119 | //#else | 1119 | //#else |
@@ -1121,5 +1121,5 @@ void TEWidget::Bell() | |||
1121 | // QSound::play(Resource::findSound("alarm")); | 1121 | // QSound::play(Resource::findSound("alarm")); |
1122 | //# endif | 1122 | //# endif |
1123 | //#endif | 1123 | //#endif |
1124 | 1124 | ||
1125 | // QApplication::beep(); | 1125 | // QApplication::beep(); |
@@ -1210,5 +1210,5 @@ void TEWidget::calcGeometry() | |||
1210 | else | 1210 | else |
1211 | hScrollbar->move(QPoint(p.x(), p.y() - hwidth)); | 1211 | hScrollbar->move(QPoint(p.x(), p.y() - hwidth)); |
1212 | 1212 | ||
1213 | hScrollbar->show(); | 1213 | hScrollbar->show(); |
1214 | } | 1214 | } |