summaryrefslogtreecommitdiffstats
path: root/kmymoney2/views
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:43:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-16 19:15:41 +0900
commitba6005e901224a5f03b58e975a1b452ef61ae8ec (patch)
tree6e581a55f270d501f80a9a9681da703afedc41ed /kmymoney2/views
parenta266dff036219bfe8687956cbb05861ae26f0d1b (diff)
downloadkmymoney-ba6005e901224a5f03b58e975a1b452ef61ae8ec.tar.gz
kmymoney-ba6005e901224a5f03b58e975a1b452ef61ae8ec.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kmymoney2/views')
-rw-r--r--kmymoney2/views/kgloballedgerview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/views/kgloballedgerview.cpp b/kmymoney2/views/kgloballedgerview.cpp
index 270e630..7d05df1 100644
--- a/kmymoney2/views/kgloballedgerview.cpp
+++ b/kmymoney2/views/kgloballedgerview.cpp
@@ -1274,14 +1274,14 @@ bool TDEGlobalLedgerView::eventFilter(TQObject* o, TQEvent* e)
TQKeyEvent *k = TQT_TQKEYEVENT(e);
if(m_inEditMode) {
// tqDebug(TQString("object = %1, key = %2").arg(o->className()).arg(k->key()));
- if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_register)) {
+ if(o == m_register) {
// we hide all key press events from the register
// while editing a transaction
rc = true;
}
} else {
// tqDebug(TQString("object = %1, key = %2").arg(o->className()).arg(k->key()));
- if(TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_register)) {
+ if(o == m_register) {
if((k->state() & TQt::KeyButtonMask) == 0) {
switch(k->key()) {
case TQt::Key_Return: