summaryrefslogtreecommitdiffstats
path: root/konq-plugins/domtreeviewer/domtreeview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:46:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-17 17:49:18 +0900
commitc0f59ca3de54666e024e9d54f4742f9230319aee (patch)
tree8fbdcecf3e44b46c7fe9e21e893fc0828b57db4d /konq-plugins/domtreeviewer/domtreeview.cpp
parent87dc5f62f604d41da2fe3f2297d0d5a59ccb414e (diff)
downloadtdeaddons-c0f59ca3de54666e024e9d54f4742f9230319aee.tar.gz
tdeaddons-c0f59ca3de54666e024e9d54f4742f9230319aee.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 9f59252f1b1d8a5f0ab9df3850552385f61aee55)
Diffstat (limited to 'konq-plugins/domtreeviewer/domtreeview.cpp')
-rw-r--r--konq-plugins/domtreeviewer/domtreeview.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/konq-plugins/domtreeviewer/domtreeview.cpp b/konq-plugins/domtreeviewer/domtreeview.cpp
index 6735ca2..55a95d0 100644
--- a/konq-plugins/domtreeviewer/domtreeview.cpp
+++ b/konq-plugins/domtreeviewer/domtreeview.cpp
@@ -140,12 +140,12 @@ bool DOMTreeView::eventFilter(TQObject *o, TQEvent *e)
TQKeyEvent *ke = TQT_TQKEYEVENT(e);
kdDebug(90180) << " acceloverride " << ke->key() << " o " << o->name() << endl;
- if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(m_listView)) { // DOM tree
+ if (o == m_listView) { // DOM tree
KKey ks = mainWindow()->deleteNodeAction()->shortcut().seq(0).key(0);
if (ke->key() == ks.keyCodeQt())
return true;
- } else if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(nodeAttributes)) {
+ } else if (o == nodeAttributes) {
KKey ks = mainWindow()->deleteAttributeAction()->shortcut().seq(0).key(0);
if (ke->key() == ks.keyCodeQt())
return true;
@@ -155,14 +155,14 @@ bool DOMTreeView::eventFilter(TQObject *o, TQEvent *e)
} else if (e->type() == TQEvent::FocusIn) {
kdDebug(90180) << " focusin o " << o->name() << endl;
- if (TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(this)) {
+ if (o != this) {
focused_child = o;
}
} else if (e->type() == TQEvent::FocusOut) {
kdDebug(90180) << " focusout o " << o->name() << endl;
- if (TQT_BASE_OBJECT(o) != TQT_BASE_OBJECT(this)) {
+ if (o != this) {
focused_child = 0;
}