From d8d8319b3dddc86303699f242be2f1a36206da8e Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 30 Nov 2023 21:30:52 +0900 Subject: Replace 'Event' #define strings Signed-off-by: Michele Calgaro (cherry picked from commit f22a9c72dda24871973033123039639af6577eaa) --- kate/part/katecodecompletion.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kate/part/katecodecompletion.cpp') 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( e ); if( (ke->state() & ControlButton) && ke->key() == Key_Left ){ setCurrentFunction( currentFunction() - 1 ); ke->accept(); -- cgit v1.2.1