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 18:28:28 +0900 |
commit | cfee7c430dfa8778709343b7809f2fc4e24ef914 (patch) | |
tree | 1ca1ffe7829434c39f16dd8749399da58e395e15 /kuickshow/src/imagewindow.cpp | |
parent | dd79abfcab681a26a70756c8847f870e73bcdf2c (diff) | |
download | tdegraphics-cfee7c430dfa8778709343b7809f2fc4e24ef914.tar.gz tdegraphics-cfee7c430dfa8778709343b7809f2fc4e24ef914.zip |
Replace Qt with TQt
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit b93a9330d8b06f081d4ea3d2d48cdba2b6b2ce46)
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; |