diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-12 18:47:26 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-08-18 17:09:32 +0900 |
commit | 09e466f879ed6e5b17980110eec2cc8db1b4f914 (patch) | |
tree | cbe99eab52f3be3b60af8104d9809da63f9ab6f2 /tdeui/ksyntaxhighlighter.cpp | |
parent | 34a191d96f3f9223b8c71da76ad6d8f3c2c9863d (diff) | |
download | tdelibs-09e466f8.tar.gz tdelibs-09e466f8.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 48b07a0ff120e8b4479bcac912d8a8f043e22ae4)
Diffstat (limited to 'tdeui/ksyntaxhighlighter.cpp')
-rw-r--r-- | tdeui/ksyntaxhighlighter.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/ksyntaxhighlighter.cpp b/tdeui/ksyntaxhighlighter.cpp index 9e63fc929..25c22222c 100644 --- a/tdeui/ksyntaxhighlighter.cpp +++ b/tdeui/ksyntaxhighlighter.cpp @@ -609,7 +609,7 @@ void KDictSpellingHighlighter::slotKSpellNotResponding() bool KDictSpellingHighlighter::eventFilter( TQObject *o, TQEvent *e) { - if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(textEdit()) && (e->type() == TQEvent::FocusIn)) { + if (o == textEdit() && (e->type() == TQEvent::FocusIn)) { if ( d->globalConfig ) { TQString skey = spellKey(); if ( d->spell && d->spellKey != skey ) { @@ -619,7 +619,7 @@ bool KDictSpellingHighlighter::eventFilter( TQObject *o, TQEvent *e) } } - if (TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(textEdit()) && (e->type() == TQEvent::KeyPress)) { + if (o == textEdit() && (e->type() == TQEvent::KeyPress)) { TQKeyEvent *k = TQT_TQKEYEVENT(e); d->autoReady = true; if (d->rehighlightRequest->isActive()) // try to stay out of the users way @@ -661,7 +661,7 @@ bool KDictSpellingHighlighter::eventFilter( TQObject *o, TQEvent *e) } } - else if ( TQT_BASE_OBJECT(o) == TQT_BASE_OBJECT(textEdit()->viewport()) && + else if ( o == textEdit()->viewport() && ( e->type() == TQEvent::MouseButtonPress )) { d->autoReady = true; if ( intraWordEditing() ) { |