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-11-30 21:30:52 +0900
commitf22a9c72dda24871973033123039639af6577eaa (patch)
tree3e9e1aa31f39f5945b92282e7d14a0c88a0ebcbf /kate
parent7a00e005dd5806a1056488e3a1199bf382a42623 (diff)
downloadtdelibs-f22a9c72dda24871973033123039639af6577eaa.tar.gz
tdelibs-f22a9c72dda24871973033123039639af6577eaa.zip
Replace 'Event' #define strings
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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();