summaryrefslogtreecommitdiffstats
path: root/konq-plugins/domtreeviewer
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 11:45:57 +0900
commit9f59252f1b1d8a5f0ab9df3850552385f61aee55 (patch)
tree1b490680add33fa66b290837afc5a159f352163c /konq-plugins/domtreeviewer
parent73305d322ed0e698d3bfde33772a36af3bc31907 (diff)
downloadtdeaddons-9f59252f1b1d8a5f0ab9df3850552385f61aee55.tar.gz
tdeaddons-9f59252f1b1d8a5f0ab9df3850552385f61aee55.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'konq-plugins/domtreeviewer')
-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;
}