diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-06 11:39:17 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-11-07 11:44:25 +0900 |
commit | b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46 (patch) | |
tree | a322378de9225faac7c5226d1aaa01c4bfcdf527 /kuickshow/src/imagewindow.cpp | |
parent | 0181791a29594df4dbf38706d0b9ed509b3141f4 (diff) | |
download | tdegraphics-b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46.tar.gz tdegraphics-b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kuickshow/src/imagewindow.cpp')
-rw-r--r-- | kuickshow/src/imagewindow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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; |