From b3f501d4920d589d126f1fe53cd7deb54cd8ef67 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 8 Nov 2023 11:05:40 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit 007026cdc4d51e217ce6317b87c0ff2b2d120c83) --- kregexpeditor/regexpwidget.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kregexpeditor/regexpwidget.cpp') diff --git a/kregexpeditor/regexpwidget.cpp b/kregexpeditor/regexpwidget.cpp index c139180..d52fc17 100644 --- a/kregexpeditor/regexpwidget.cpp +++ b/kregexpeditor/regexpwidget.cpp @@ -119,7 +119,7 @@ void RegExpWidget::mousePressEvent ( TQMouseEvent* event ) if ( _editorWindow->isPasteing() || _editorWindow->isInserting() ) return; - if ( event->button() == Qt::LeftButton ) { + if ( event->button() == TQt::LeftButton ) { if ( ! _editorWindow->pointSelected( TQCursor::pos() ) ) { _editorWindow->clearSelection( true ); if ( dynamic_cast(this) == 0 && dynamic_cast(this) == 0 ) { @@ -131,7 +131,7 @@ void RegExpWidget::mousePressEvent ( TQMouseEvent* event ) event->button(), event->state()); TQApplication::sendEvent( _editorWindow, &ev ); } - else if ( event->button() == Qt::RightButton ) { + else if ( event->button() == TQt::RightButton ) { _editorWindow->showRMBMenu( true ); } -- cgit v1.2.1