summaryrefslogtreecommitdiffstats
path: root/kate
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 /kate
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 'kate')
-rw-r--r--kate/part/katecodecompletion.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kate/part/katecodecompletion.cpp b/kate/part/katecodecompletion.cpp
index a161534e6..41d57dc29 100644
--- a/kate/part/katecodecompletion.cpp
+++ b/kate/part/katecodecompletion.cpp
@@ -533,7 +533,7 @@ void KateArgHint::show()
bool KateArgHint::eventFilter( TQObject*, TQEvent* e )
{
if( isVisible() && e->type() == TQEvent::KeyPress ){
- TQKeyEvent* ke = TQT_TQKEYEVENT( e );
+ TQKeyEvent* ke = static_cast<TQKeyEvent*>( e );
if( (ke->state() & ControlButton) && ke->key() == Key_Left ){
setCurrentFunction( currentFunction() - 1 );
ke->accept();