Drop TQT_TQ*_OBJECT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/26/head
Michele Calgaro 1 year ago
parent b7c7780ff2
commit ec4cfb4434
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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);

Loading…
Cancel
Save