summaryrefslogtreecommitdiffstats
path: root/tdeui/ksyntaxhighlighter.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-11-30 21:30:52 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-02 22:49:42 +0900
commitd8d8319b3dddc86303699f242be2f1a36206da8e (patch)
tree4d8df38004b23ec50344a7126746bbb3453994a5 /tdeui/ksyntaxhighlighter.cpp
parent3a837ecf257dc334d65818d456d5a6bd6a8b98ef (diff)
downloadtdelibs-d8d8319b3dddc86303699f242be2f1a36206da8e.tar.gz
tdelibs-d8d8319b3dddc86303699f242be2f1a36206da8e.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f22a9c72dda24871973033123039639af6577eaa)
Diffstat (limited to 'tdeui/ksyntaxhighlighter.cpp')
-rw-r--r--tdeui/ksyntaxhighlighter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdeui/ksyntaxhighlighter.cpp b/tdeui/ksyntaxhighlighter.cpp
index 25c22222c..80529ed34 100644
--- a/tdeui/ksyntaxhighlighter.cpp
+++ b/tdeui/ksyntaxhighlighter.cpp
@@ -620,7 +620,7 @@ bool KDictSpellingHighlighter::eventFilter( TQObject *o, TQEvent *e)
}
if (o == textEdit() && (e->type() == TQEvent::KeyPress)) {
- TQKeyEvent *k = TQT_TQKEYEVENT(e);
+ TQKeyEvent *k = static_cast<TQKeyEvent*>(e);
d->autoReady = true;
if (d->rehighlightRequest->isActive()) // try to stay out of the users way
d->rehighlightRequest->changeInterval( 500 );