diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:43:57 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-16 19:15:41 +0900 |
commit | ba6005e901224a5f03b58e975a1b452ef61ae8ec (patch) | |
tree | 6e581a55f270d501f80a9a9681da703afedc41ed /kmymoney2/dialogs/transactioneditor.cpp | |
parent | a266dff036219bfe8687956cbb05861ae26f0d1b (diff) | |
download | kmymoney-ba6005e901224a5f03b58e975a1b452ef61ae8ec.tar.gz kmymoney-ba6005e901224a5f03b58e975a1b452ef61ae8ec.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'kmymoney2/dialogs/transactioneditor.cpp')
-rw-r--r-- | kmymoney2/dialogs/transactioneditor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/dialogs/transactioneditor.cpp b/kmymoney2/dialogs/transactioneditor.cpp index b63e8c1..3cd3183 100644 --- a/kmymoney2/dialogs/transactioneditor.cpp +++ b/kmymoney2/dialogs/transactioneditor.cpp @@ -153,7 +153,7 @@ void TransactionEditor::slotReloadEditWidgets(void) bool TransactionEditor::eventFilter(TQObject* o, TQEvent* e) { bool rc = false; - if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(haveWidget("number"))) { + if(o == haveWidget("number")) { if(e->type() == TQEvent::MouseButtonDblClick) { emit assignNumber(); rc = true; @@ -180,7 +180,7 @@ bool TransactionEditor::eventFilter(TQObject* o, TQEvent* e) // we treat the return/enter key as such. if(KMyMoneyGlobalSettings::enterMovesBetweenFields()) { for(it_w = m_finalEditWidgets.begin(); !isFinal && it_w != m_finalEditWidgets.end(); ++it_w) { - if(TQT_BASE_OBJECT_CONST(*it_w) == TQT_BASE_OBJECT(o)) { + if(*it_w == o) { if(dynamic_cast<const kMyMoneyEdit*>(*it_w)) { isFinal = !(dynamic_cast<const kMyMoneyEdit*>(*it_w)->value().isZero()); } else |