diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 11:05:40 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-08 11:05:40 +0900 |
commit | 007026cdc4d51e217ce6317b87c0ff2b2d120c83 (patch) | |
tree | e44642c9aa2755473430d44da4e3ce6d7a892fc8 /kregexpeditor/dragaccepter.cpp | |
parent | a2da8d06203ef630594a41222c0c3a16bedb86c4 (diff) | |
download | tdeutils-007026cdc4d51e217ce6317b87c0ff2b2d120c83.tar.gz tdeutils-007026cdc4d51e217ce6317b87c0ff2b2d120c83.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kregexpeditor/dragaccepter.cpp')
-rw-r--r-- | kregexpeditor/dragaccepter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kregexpeditor/dragaccepter.cpp b/kregexpeditor/dragaccepter.cpp index f336dbd..d361830 100644 --- a/kregexpeditor/dragaccepter.cpp +++ b/kregexpeditor/dragaccepter.cpp @@ -46,7 +46,7 @@ void DragAccepter::paintEvent(TQPaintEvent *e) void DragAccepter::mousePressEvent ( TQMouseEvent* event ) { - if ( event->button() == Qt::RightButton ) { + if ( event->button() == TQt::RightButton ) { _editorWindow->showRMBMenu( _editorWindow->hasSelection() ); } else { @@ -56,7 +56,7 @@ void DragAccepter::mousePressEvent ( TQMouseEvent* event ) void DragAccepter::mouseReleaseEvent( TQMouseEvent* event ) { - if ( _editorWindow->isPasteing() && event->button() == Qt::LeftButton ) { + if ( _editorWindow->isPasteing() && event->button() == TQt::LeftButton ) { RegExp* regexp = _editorWindow->pasteData(); RegExpWidget *newElm = WidgetFactory::createWidget( regexp, _editorWindow, 0 ); @@ -75,7 +75,7 @@ void DragAccepter::mouseReleaseEvent( TQMouseEvent* event ) _editorWindow->clearSelection( true ); } } - else if ( _editorWindow->isInserting() && event->button() == Qt::LeftButton ) { + else if ( _editorWindow->isInserting() && event->button() == TQt::LeftButton ) { if ( WidgetFactory::isContainer( _editorWindow->insertType() ) && _editorWindow->pointSelected( mapToGlobal( event->pos() ) ) ) { RegExpWidget::mouseReleaseEvent( event ); |