summaryrefslogtreecommitdiffstats
path: root/kmymoney2/widgets/kmymoneyaccountcombo.cpp
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 12:18:50 +0900
commit290876c28679f397be9eabed8110c28b42b3d27a (patch)
treec2cace7c0f366e25972eddd7f9acde3b6aa53796 /kmymoney2/widgets/kmymoneyaccountcombo.cpp
parent4a70f1720eb66ddeb89d4340e44c601e3613b837 (diff)
downloadkmymoney-290876c28679f397be9eabed8110c28b42b3d27a.tar.gz
kmymoney-290876c28679f397be9eabed8110c28b42b3d27a.zip
Drop TQT_TQ*_OBJECT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmymoney2/widgets/kmymoneyaccountcombo.cpp')
-rw-r--r--kmymoney2/widgets/kmymoneyaccountcombo.cpp4
1 files changed, 2 insertions, 2 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();
}
}