summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:20:31 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 17:51:57 +0900
commit2b61be696c96185200305fd17527484babef2cde (patch)
treed711611f3391e2f683090c4ee494a92fbb2b214d
parent44ae9eea664d37e50c2b63f5924fde9a1d64cfce (diff)
downloadtdeartwork-2b61be69.tar.gz
tdeartwork-2b61be69.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ec4cfb44347fe2148d2896ea7d85b811bac82577)
-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);