summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 12:18:50 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-08 17:46:41 +0900
commita584853572d78bf78949cf78ba876e8e8d0a270c (patch)
treec2cace7c0f366e25972eddd7f9acde3b6aa53796
parent93816e0a2c4477711497263902fe5222483da892 (diff)
downloadkmymoney-a584853572d78bf78949cf78ba876e8e8d0a270c.tar.gz
kmymoney-a584853572d78bf78949cf78ba876e8e8d0a270c.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 290876c28679f397be9eabed8110c28b42b3d27a)
-rw-r--r--kmymoney2/widgets/kmymoneyaccountcombo.cpp4
-rw-r--r--libkdchart/KDChartBarPainter.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/kmymoney2/widgets/kmymoneyaccountcombo.cpp b/kmymoney2/widgets/kmymoneyaccountcombo.cpp
index dc7c283..907ce75 100644
--- a/kmymoney2/widgets/kmymoneyaccountcombo.cpp
+++ b/kmymoney2/widgets/kmymoneyaccountcombo.cpp
@@ -169,7 +169,7 @@ void KMyMoneyAccountCombo::mousePressEvent(TQMouseEvent *e)
e->ignore();
return;
}
- bool hit = TQT_TQRECT_OBJECT(rect()).contains( e->pos() );
+ bool hit = rect().contains( e->pos() );
if ( hit ) { // mouse press on button
m_mlbDown = TRUE; // left mouse button down
emit pressed();
@@ -186,7 +186,7 @@ void KMyMoneyAccountCombo::mouseReleaseEvent(TQMouseEvent *e)
return;
m_mlbDown = FALSE; // left mouse button up
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();
}
}
diff --git a/libkdchart/KDChartBarPainter.cpp b/libkdchart/KDChartBarPainter.cpp
index e3ac853..5aaf534 100644
--- a/libkdchart/KDChartBarPainter.cpp
+++ b/libkdchart/KDChartBarPainter.cpp
@@ -1617,7 +1617,7 @@ void KDChartBarPainter::specificPaintData( TQPainter* painter,
} else {
// just store a rectangle if NOT in 3-D bar mode
region = new KDChartDataRegion( dataset, value, chart,
- TQT_TQRECT_OBJECT(pointArrayList->first().boundingRect()) );
+ pointArrayList->first().boundingRect() );
delete pointArrayList;
}
/*tqDebug("KDChartDataRegion stored! x: %i y: %i w: %i h: %i",