Drop TQT_TQ*_OBJECT defines

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 290876c286)
r14.1.x
Michele Calgaro 1 year ago
parent 93816e0a2c
commit a584853572
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -169,7 +169,7 @@ void KMyMoneyAccountCombo::mousePressEvent(TQMouseEvent *e)
e->ignore(); e->ignore();
return; return;
} }
bool hit = TQT_TQRECT_OBJECT(rect()).contains( e->pos() ); bool hit = rect().contains( e->pos() );
if ( hit ) { // mouse press on button if ( hit ) { // mouse press on button
m_mlbDown = TRUE; // left mouse button down m_mlbDown = TRUE; // left mouse button down
emit pressed(); emit pressed();
@ -186,7 +186,7 @@ void KMyMoneyAccountCombo::mouseReleaseEvent(TQMouseEvent *e)
return; return;
m_mlbDown = FALSE; // left mouse button up m_mlbDown = FALSE; // left mouse button up
emit released(); emit released();
if ( TQT_TQRECT_OBJECT(rect()).contains( e->pos() ) ) { // mouse release on button if ( rect().contains( e->pos() ) ) { // mouse release on button
emit clicked(); emit clicked();
} }
} }

@ -1617,7 +1617,7 @@ void KDChartBarPainter::specificPaintData( TQPainter* painter,
} else { } else {
// just store a rectangle if NOT in 3-D bar mode // just store a rectangle if NOT in 3-D bar mode
region = new KDChartDataRegion( dataset, value, chart, region = new KDChartDataRegion( dataset, value, chart,
TQT_TQRECT_OBJECT(pointArrayList->first().boundingRect()) ); pointArrayList->first().boundingRect() );
delete pointArrayList; delete pointArrayList;
} }
/*tqDebug("KDChartDataRegion stored! x: %i y: %i w: %i h: %i", /*tqDebug("KDChartDataRegion stored! x: %i y: %i w: %i h: %i",

Loading…
Cancel
Save