summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);