summaryrefslogtreecommitdiffstats
path: root/quanta/parts
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:48:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-18 19:12:33 +0900
commit8ac0be0f7fbc73ec137ed768ccc6a2e0f41ee2b9 (patch)
tree2a0d2f7cace40c019136ff68b73df43ad95ddf67 /quanta/parts
parent19e527845958845e1fbd5b6d350e9d15c099f939 (diff)
downloadtdewebdev-8ac0be0f7fbc73ec137ed768ccc6a2e0f41ee2b9.tar.gz
tdewebdev-8ac0be0f7fbc73ec137ed768ccc6a2e0f41ee2b9.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'quanta/parts')
-rw-r--r--quanta/parts/preview/whtmlpart.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/quanta/parts/preview/whtmlpart.cpp b/quanta/parts/preview/whtmlpart.cpp
index 86de0b2d..92f9b761 100644
--- a/quanta/parts/preview/whtmlpart.cpp
+++ b/quanta/parts/preview/whtmlpart.cpp
@@ -160,10 +160,10 @@ KParts::ReadOnlyPart *WHTMLPart::createPart( TQWidget * parentWidget, const char
bool WHTMLPart::eventFilter(TQObject *watched, TQEvent *e)
{
- if (TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(view()) && e->type() == TQEvent::FocusOut && (!m_contextMenu || !m_contextMenu->hasFocus()))
+ if (watched == view() && e->type() == TQEvent::FocusOut && (!m_contextMenu || !m_contextMenu->hasFocus()))
emit previewHasFocus(false);
else
- if (TQT_BASE_OBJECT(watched) == TQT_BASE_OBJECT(view()) && e->type() == TQEvent::FocusIn)
+ if (watched == view() && e->type() == TQEvent::FocusIn)
emit previewHasFocus(true);
return false;
}