summaryrefslogtreecommitdiffstats
path: root/tdeui/ksyntaxhighlighter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-08-12 18:47:26 +0900
committerMichele Calgaro <[email protected]>2023-08-18 16:38:42 +0900
commit48b07a0ff120e8b4479bcac912d8a8f043e22ae4 (patch)
treea3d42bf916706ea512c6887baea5589448afd760 /tdeui/ksyntaxhighlighter.cpp
parent23278d259378e17087bf9aeaa5e45974dfb74bce (diff)
downloadtdelibs-48b07a0ff120e8b4479bcac912d8a8f043e22ae4.tar.gz
tdelibs-48b07a0ff120e8b4479bcac912d8a8f043e22ae4.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/ksyntaxhighlighter.cpp')
-rw-r--r--tdeui/ksyntaxhighlighter.cpp6
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() ) {