summaryrefslogtreecommitdiffstats
path: root/twin/clients
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-08 12:20:43 +0900
committerMichele Calgaro <[email protected]>2023-08-08 20:03:22 +0900
commit7bc43c68b3c095631628e1fb691242315687d15b (patch)
treed228605d6a3c1887f79ea4b05eedc876ccdee3d8 /twin/clients
parent2937383dce586b0de5944b8038541b8210fc7569 (diff)
downloadtdebase-7bc43c68b3c095631628e1fb691242315687d15b.tar.gz
tdebase-7bc43c68b3c095631628e1fb691242315687d15b.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'twin/clients')
-rw-r--r--twin/clients/b2/b2client.cpp2
-rw-r--r--twin/clients/quartz/quartz.cpp2
-rw-r--r--twin/clients/web/Web.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/twin/clients/b2/b2client.cpp b/twin/clients/b2/b2client.cpp
index 3e0cdf7ad..934e250c1 100644
--- a/twin/clients/b2/b2client.cpp
+++ b/twin/clients/b2/b2client.cpp
@@ -1412,7 +1412,7 @@ void B2Titlebar::mouseDoubleClickEvent(TQMouseEvent *e)
void B2Titlebar::wheelEvent(TQWheelEvent *e)
{
- if (client->isSetShade() || TQT_TQRECT_OBJECT(rect()).contains(e->pos()))
+ if (client->isSetShade() || rect().contains(e->pos()))
client->titlebarMouseWheelOperation( e->delta());
}
diff --git a/twin/clients/quartz/quartz.cpp b/twin/clients/quartz/quartz.cpp
index b9762551c..10f0a0a96 100644
--- a/twin/clients/quartz/quartz.cpp
+++ b/twin/clients/quartz/quartz.cpp
@@ -723,7 +723,7 @@ void QuartzClient::paintEvent( TQPaintEvent* )
// Draw the title bar.
// ===================
int r_x, r_y, r_x2, r_y2;
- TQT_TQRECT_OBJECT(widget()->rect()).coords(&r_x, &r_y, &r_x2, &r_y2);
+ widget()->rect().coords(&r_x, &r_y, &r_x2, &r_y2);
const int titleEdgeLeft = layoutMetric(LM_TitleEdgeLeft);
const int titleEdgeTop = layoutMetric(LM_TitleEdgeTop);
const int titleEdgeRight = layoutMetric(LM_TitleEdgeRight);
diff --git a/twin/clients/web/Web.cpp b/twin/clients/web/Web.cpp
index 2c0ffc8f9..b40432939 100644
--- a/twin/clients/web/Web.cpp
+++ b/twin/clients/web/Web.cpp
@@ -216,7 +216,7 @@ WebClient::reset( unsigned long changed )
WebClient::paintEvent(TQPaintEvent * pe)
{
int r_x, r_y, r_x2, r_y2;
- TQT_TQRECT_OBJECT(widget()->rect()).coords(&r_x, &r_y, &r_x2, &r_y2);
+ widget()->rect().coords(&r_x, &r_y, &r_x2, &r_y2);
const int titleEdgeLeft = layoutMetric(LM_TitleEdgeLeft);
const int titleEdgeTop = layoutMetric(LM_TitleEdgeTop);
const int titleEdgeRight = layoutMetric(LM_TitleEdgeRight);