From cfee7c430dfa8778709343b7809f2fc4e24ef914 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 6 Nov 2023 11:39:17 +0900 Subject: Replace Qt with TQt Signed-off-by: Michele Calgaro (cherry picked from commit b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46) --- kuickshow/src/imagewindow.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kuickshow/src/imagewindow.cpp') diff --git a/kuickshow/src/imagewindow.cpp b/kuickshow/src/imagewindow.cpp index 42216dab..70b3ffd2 100644 --- a/kuickshow/src/imagewindow.cpp +++ b/kuickshow/src/imagewindow.cpp @@ -630,7 +630,7 @@ void ImageWindow::mousePressEvent( TQMouseEvent *e ) xposPress = xmove; yposPress = ymove; - if ( e->button() == Qt::LeftButton ) { + if ( e->button() == TQt::LeftButton ) { if ( e->state() & ShiftButton ) updateCursor( ZoomCursor ); else @@ -675,7 +675,7 @@ void ImageWindow::updateCursor( KuickCursor cursor ) void ImageWindow::mouseMoveEvent( TQMouseEvent *e ) { - if ( !(e->state() & Qt::LeftButton) ) { // only handle LeftButton actions + if ( !(e->state() & TQt::LeftButton) ) { // only handle LeftButton actions return; } @@ -736,7 +736,7 @@ void ImageWindow::mouseReleaseEvent( TQMouseEvent *e ) } // only proceed if shift-Key is still pressed - if ( !(e->button() == Qt::LeftButton && e->state() & ShiftButton) ) + if ( !(e->button() == TQt::LeftButton && e->state() & ShiftButton) ) return; int neww, newh, topX, topY, botX, botY; -- cgit v1.2.3