diff options
author | Michele Calgaro <[email protected]> | 2023-11-08 11:05:40 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-11-08 18:03:11 +0900 |
commit | b3f501d4920d589d126f1fe53cd7deb54cd8ef67 (patch) | |
tree | 2ce455340d62bb00f7775524d9acd4aa1f8d2d38 /kregexpeditor/compoundwidget.cpp | |
parent | c28e0608a97f46e79194eed488c3430b4e6efb57 (diff) | |
download | tdeutils-b3f501d4920d589d126f1fe53cd7deb54cd8ef67.tar.gz tdeutils-b3f501d4920d589d126f1fe53cd7deb54cd8ef67.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 007026cdc4d51e217ce6317b87c0ff2b2d120c83)
Diffstat (limited to 'kregexpeditor/compoundwidget.cpp')
-rw-r--r-- | kregexpeditor/compoundwidget.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kregexpeditor/compoundwidget.cpp b/kregexpeditor/compoundwidget.cpp index 98f3975..c65e598 100644 --- a/kregexpeditor/compoundwidget.cpp +++ b/kregexpeditor/compoundwidget.cpp @@ -258,7 +258,7 @@ RegExp* CompoundWidget::regExp() const void CompoundWidget::mousePressEvent( TQMouseEvent* event ) { - if ( event->button() == Qt::LeftButton && + if ( event->button() == TQt::LeftButton && TQRect( _pixmapPos, _pixmapSize ).contains( event->pos() ) ) { // Skip otherwise we will never see the mouse release // since it is eaten by Editor window. @@ -269,7 +269,7 @@ void CompoundWidget::mousePressEvent( TQMouseEvent* event ) void CompoundWidget::mouseReleaseEvent( TQMouseEvent* event) { - if ( event->button() == Qt::LeftButton && + if ( event->button() == TQt::LeftButton && TQRect( _pixmapPos, _pixmapSize ).contains( event->pos() ) ) { _hidden = !_hidden; _editorWindow->updateContent( 0 ); |