summaryrefslogtreecommitdiffstats
path: root/kview
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:21:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 18:02:14 +0900
commit8b76e7f3dcb1212153eed293ad3ba4ec7f37bb13 (patch)
tree2a6c731a6fc763c5ae163f366c36afa8aa9b4482 /kview
parent6deca45c2f1d5932c91db6fb45c70c94faf768f9 (diff)
downloadtdegraphics-8b76e7f3dcb1212153eed293ad3ba4ec7f37bb13.tar.gz
tdegraphics-8b76e7f3dcb1212153eed293ad3ba4ec7f37bb13.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 96eaae090ebed7c9cef41303e4b43a2aac0b3d8b)
Diffstat (limited to 'kview')
-rw-r--r--kview/kviewcanvas/kimageholder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kview/kviewcanvas/kimageholder.cpp b/kview/kviewcanvas/kimageholder.cpp
index 62eaeea2..2f578382 100644
--- a/kview/kviewcanvas/kimageholder.cpp
+++ b/kview/kviewcanvas/kimageholder.cpp
@@ -83,7 +83,7 @@ void KImageHolder::mousePressEvent( TQMouseEvent *ev )
void KImageHolder::mouseMoveEvent( TQMouseEvent *ev )
{
//FIXME: when scrolling the cursorpos shouldn't change
- if( TQT_TQRECT_OBJECT(this->rect()).contains( ev->pos(), false ) )
+ if( this->rect().contains( ev->pos(), false ) )
emit cursorPos( ev->pos() );
//kdDebug( 4620 ) << k_funcinfo << " ev->state() = " << ev->state() << endl;
if( ev->state() & Qt::LeftButton || ev->state() & Qt::MidButton )