summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-08 12:20:31 +0900
committerMichele Calgaro <[email protected]>2023-08-08 12:20:31 +0900
commitec4cfb44347fe2148d2896ea7d85b811bac82577 (patch)
tree9117aa70fd3e717626b3fa9244021cc7b24a6ff4
parentb7c7780ff2224f44b0983ae098c44cd35dd28139 (diff)
downloadtdeartwork-ec4cfb44347fe2148d2896ea7d85b811bac82577.tar.gz
tdeartwork-ec4cfb44347fe2148d2896ea7d85b811bac82577.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--styles/phase/phasestyle.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/styles/phase/phasestyle.cpp b/styles/phase/phasestyle.cpp
index 4379e6ac..0e713362 100644
--- a/styles/phase/phasestyle.cpp
+++ b/styles/phase/phasestyle.cpp
@@ -2291,7 +2291,7 @@ bool PhaseStyle::objectEventHandler( const TQStyleControlElementData &ceData, Co
parent = ::tqqt_cast<TQWidget*>(parent->parent());
}
if (!parent) return false;
- TQT_TQRECT_OBJECT(ceData.rect).rect(&x, &y, &w, &h);
+ ceData.rect.rect(&x, &y, &w, &h);
TQRect prect = parent->rect();
toolbar = ::tqqt_cast<TQToolBar*>(parent);
@@ -2322,7 +2322,7 @@ bool PhaseStyle::objectEventHandler( const TQStyleControlElementData &ceData, Co
if (0 == (widget = ::tqqt_cast<TQWidget*>(object))) return false;
horiz = (toolbar->orientation() == Qt::Horizontal);
TQPainter painter(widget);
- TQT_TQRECT_OBJECT(ceData.rect).rect(&x, &y, &w, &h);
+ ceData.rect.rect(&x, &y, &w, &h);
// draw the extension
drawPhaseGradient(&painter, ceData.rect,
toolbar->colorGroup().background(),
@@ -2356,7 +2356,7 @@ bool PhaseStyle::objectEventHandler( const TQStyleControlElementData &ceData, Co
case TQFrame::VLine: {
// NOTE: assuming lines have no content
TQPainter painter(frame);
- TQT_TQRECT_OBJECT(frame->rect()).rect(&x, &y, &w, &h);
+ frame->rect().rect(&x, &y, &w, &h);
painter.setPen(frame->colorGroup().dark());
if (shape == TQFrame::HLine) {
painter.drawLine(0, h/2, w, h/2);