summaryrefslogtreecommitdiffstats
path: root/kolourpaint
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 /kolourpaint
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 'kolourpaint')
-rw-r--r--kolourpaint/kpview.cpp4
-rw-r--r--kolourpaint/widgets/kpcolortoolbar.cpp2
2 files changed, 3 insertions, 3 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);
diff --git a/kolourpaint/widgets/kpcolortoolbar.cpp b/kolourpaint/widgets/kpcolortoolbar.cpp
index d3bb51e1..6160c166 100644
--- a/kolourpaint/widgets/kpcolortoolbar.cpp
+++ b/kolourpaint/widgets/kpcolortoolbar.cpp
@@ -783,7 +783,7 @@ void kpTransparentColorCell::mousePressEvent (TQMouseEvent * /*e*/)
// protected virtual [base TQWidget]
void kpTransparentColorCell::mouseReleaseEvent (TQMouseEvent *e)
{
- if (TQT_TQRECT_OBJECT(rect ()).contains (e->pos ()))
+ if (rect ().contains (e->pos ()))
{
if (e->button () == Qt::LeftButton)
{