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 12:21:19 +0900
commit96eaae090ebed7c9cef41303e4b43a2aac0b3d8b (patch)
tree680cbf5f72802e0731e0df51ae043fe15f7753ac /kview
parentfce92533f86b9952f0c9cac6ca97f89c0fe6c39c (diff)
downloadtdegraphics-96eaae090ebed7c9cef41303e4b43a2aac0b3d8b.tar.gz
tdegraphics-96eaae090ebed7c9cef41303e4b43a2aac0b3d8b.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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 )