diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:47:26 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-18 16:38:42 +0900 |
commit | 48b07a0ff120e8b4479bcac912d8a8f043e22ae4 (patch) | |
tree | a3d42bf916706ea512c6887baea5589448afd760 /tdehtml | |
parent | 23278d259378e17087bf9aeaa5e45974dfb74bce (diff) | |
download | tdelibs-48b07a0ff120e8b4479bcac912d8a8f043e22ae4.tar.gz tdelibs-48b07a0ff120e8b4479bcac912d8a8f043e22ae4.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdehtml')
-rw-r--r-- | tdehtml/ecma/kjs_debugwin.cpp | 2 | ||||
-rw-r--r-- | tdehtml/rendering/render_form.cpp | 2 | ||||
-rw-r--r-- | tdehtml/tdehtmlview.cpp | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tdehtml/ecma/kjs_debugwin.cpp b/tdehtml/ecma/kjs_debugwin.cpp index 2e08f5ea8..fdcfe98ca 100644 --- a/tdehtml/ecma/kjs_debugwin.cpp +++ b/tdehtml/ecma/kjs_debugwin.cpp @@ -678,7 +678,7 @@ bool KJSDebugWin::eventFilter(TQObject *o, TQEvent *e) case TQEvent::Quit: while (o->parent()) o = TQT_TQOBJECT(o->parent()); - if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(this)) + if (o == this) return TQWidget::eventFilter(o,e); else return true; diff --git a/tdehtml/rendering/render_form.cpp b/tdehtml/rendering/render_form.cpp index 9d302bfc8..f251b7f3b 100644 --- a/tdehtml/rendering/render_form.cpp +++ b/tdehtml/rendering/render_form.cpp @@ -907,7 +907,7 @@ bool ComboBoxWidget::event(TQEvent *e) bool ComboBoxWidget::eventFilter(TQObject *dest, TQEvent *e) { - if (TQT_BASE_OBJECT(dest)==TQT_BASE_OBJECT(listBox()) && e->type()==TQEvent::KeyPress) + if (dest==listBox() && e->type()==TQEvent::KeyPress) { TQKeyEvent *ke = TQT_TQKEYEVENT(e); bool forward = false; diff --git a/tdehtml/tdehtmlview.cpp b/tdehtml/tdehtmlview.cpp index 06485d976..088e52174 100644 --- a/tdehtml/tdehtmlview.cpp +++ b/tdehtml/tdehtmlview.cpp @@ -1895,7 +1895,7 @@ bool TDEHTMLView::eventFilter(TQObject *o, TQEvent *e) TQWidget *view = viewport(); - if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(view)) { + if (o == view) { // we need to install an event filter on all children of the viewport to // be able to get correct stacking of children within the document. if(e->type() == TQEvent::ChildInserted) { |