author | llornkcor <llornkcor> | 2003-03-16 20:50:47 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2003-03-16 20:50:47 (UTC) |
commit | 75ebe1838923e121cb093310f7f7c1b021abdcc1 (patch) (side-by-side diff) | |
tree | a7b6e735b7faa08ba1689a7ed6155ceaca5ea1e4 /core | |
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) hScrollbar->setOrientation(QScrollBar::Horizontal); hScrollbar->setMaximumHeight(16); - + connect( hScrollbar, SIGNAL(valueChanged(int)), this, SLOT( hScrollChanged(int))); @@ -335,5 +335,5 @@ TEWidget::TEWidget(QWidget *parent, const char *name) : QFrame(parent,name) vcolumns = 0; useBeep = true; - + setMouseMarks(TRUE); setVTFont( QFont("fixed") ); @@ -878,5 +878,5 @@ void TEWidget::mouseDoubleClickEvent(QMouseEvent* ev) void TEWidget::focusInEvent( QFocusEvent * ) { - + // do nothing, to prevent repainting } @@ -1069,7 +1069,7 @@ bool TEWidget::eventFilter( QObject *obj, QEvent *e ) pasteClipboard(); } - else if( ke->state() == ControlButton && ke->key() == Key_C) { +// else if( ke->state() == ControlButton && ke->key() == Key_C) { // pasteClipboard(); - } +// } else emit keyPressedSignal(ke); // expose @@ -1113,7 +1113,7 @@ void TEWidget::Bell() //#ifdef QT_QWS_SHARP //# ifndef QT_NO_COP - if(useBeep) + if(useBeep) QCopEnvelope( "QPE/TaskBar", "soundAlarm()" ); - + //# endif //#else @@ -1121,5 +1121,5 @@ void TEWidget::Bell() // QSound::play(Resource::findSound("alarm")); //# endif -//#endif +//#endif // QApplication::beep(); @@ -1210,5 +1210,5 @@ void TEWidget::calcGeometry() else hScrollbar->move(QPoint(p.x(), p.y() - hwidth)); - + hScrollbar->show(); } |