summaryrefslogtreecommitdiffstats
path: root/kmymoney2/dialogs/transactioneditor.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:43:57 +0900
committerMichele Calgaro <[email protected]>2023-08-16 19:15:41 +0900
commitba6005e901224a5f03b58e975a1b452ef61ae8ec (patch)
tree6e581a55f270d501f80a9a9681da703afedc41ed /kmymoney2/dialogs/transactioneditor.cpp
parenta266dff036219bfe8687956cbb05861ae26f0d1b (diff)
downloadkmymoney-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.cpp4
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