Diffstat (limited to 'core/apps/embeddedkonsole/TEWidget.cpp') (more/less context) (ignore whitespace changes)
-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 @@ -297,9 +297,9 @@ TEWidget::TEWidget(QWidget *parent, const char *name) : QFrame(parent,name) hScrollbar = new QScrollBar(this); hScrollbar->setCursor( arrowCursor ); hScrollbar->setOrientation(QScrollBar::Horizontal); hScrollbar->setMaximumHeight(16); - + connect( hScrollbar, SIGNAL(valueChanged(int)), this, SLOT( hScrollChanged(int))); Config cfg("Konsole"); cfg.setGroup("ScrollBar"); @@ -333,9 +333,9 @@ TEWidget::TEWidget(QWidget *parent, const char *name) : QFrame(parent,name) word_selection_mode = FALSE; hposition = 0; vcolumns = 0; useBeep = true; - + setMouseMarks(TRUE); setVTFont( QFont("fixed") ); setColorTable(base_color_table); // init color table @@ -876,9 +876,9 @@ void TEWidget::mouseDoubleClickEvent(QMouseEvent* ev) } void TEWidget::focusInEvent( QFocusEvent * ) { - + // do nothing, to prevent repainting } @@ -1067,11 +1067,11 @@ bool TEWidget::eventFilter( QObject *obj, QEvent *e ) } else if( ke->state() == ControlButton && ke->key() == Key_V) { 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 ke->accept(); #ifdef FAKE_CTRL_AND_ALT @@ -1111,17 +1111,17 @@ void TEWidget::frameChanged() void TEWidget::Bell() { //#ifdef QT_QWS_SHARP //# ifndef QT_NO_COP - if(useBeep) + if(useBeep) QCopEnvelope( "QPE/TaskBar", "soundAlarm()" ); - + //# endif //#else //# ifndef QT_NO_SOUND // QSound::play(Resource::findSound("alarm")); //# endif -//#endif +//#endif // QApplication::beep(); } @@ -1208,9 +1208,9 @@ void TEWidget::calcGeometry() if(scrollLoc == SCRLEFT) hScrollbar->move(QPoint(p.x()+hwidth, p.y() - hwidth)); else hScrollbar->move(QPoint(p.x(), p.y() - hwidth)); - + hScrollbar->show(); } else hScrollbar->hide(); |