summaryrefslogtreecommitdiffstats
path: root/kolourpaint/kpview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-08 12:21:19 +0900
committerMichele Calgaro <[email protected]>2023-08-08 18:02:14 +0900
commit8b76e7f3dcb1212153eed293ad3ba4ec7f37bb13 (patch)
tree2a6c731a6fc763c5ae163f366c36afa8aa9b4482 /kolourpaint/kpview.cpp
parent6deca45c2f1d5932c91db6fb45c70c94faf768f9 (diff)
downloadtdegraphics-8b76e7f3dcb1212153eed293ad3ba4ec7f37bb13.tar.gz
tdegraphics-8b76e7f3dcb1212153eed293ad3ba4ec7f37bb13.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 96eaae090ebed7c9cef41303e4b43a2aac0b3d8b)
Diffstat (limited to 'kolourpaint/kpview.cpp')
-rw-r--r--kolourpaint/kpview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kolourpaint/kpview.cpp b/kolourpaint/kpview.cpp
index c130c0d9..ced8f825 100644
--- a/kolourpaint/kpview.cpp
+++ b/kolourpaint/kpview.cpp
@@ -969,7 +969,7 @@ void kpView::mouseMoveEvent (TQMouseEvent *e)
// TODO: This is wrong if you leaveEvent the mainView by mouseMoving on the
// mainView, landing on top of the thumbnailView cleverly put on top
// of the mainView.
- setHasMouse (TQT_TQRECT_OBJECT(rect ()).contains (e->pos ()));
+ setHasMouse (rect ().contains (e->pos ()));
if (tool ())
tool ()->mouseMoveEvent (e);
@@ -1003,7 +1003,7 @@ void kpView::mouseReleaseEvent (TQMouseEvent *e)
<< endl;
#endif
- setHasMouse (TQT_TQRECT_OBJECT(rect ()).contains (e->pos ()));
+ setHasMouse (rect ().contains (e->pos ()));
if (tool ())
tool ()->mouseReleaseEvent (e);