diff options
author | Michele Calgaro <[email protected]> | 2023-08-08 12:20:43 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-08 20:03:22 +0900 |
commit | 7bc43c68b3c095631628e1fb691242315687d15b (patch) | |
tree | d228605d6a3c1887f79ea4b05eedc876ccdee3d8 /twin/clients | |
parent | 2937383dce586b0de5944b8038541b8210fc7569 (diff) | |
download | tdebase-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.cpp | 2 | ||||
-rw-r--r-- | twin/clients/quartz/quartz.cpp | 2 | ||||
-rw-r--r-- | twin/clients/web/Web.cpp | 2 |
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); |