diff options
Diffstat (limited to 'tdeui/klineedit.cpp')
-rw-r--r-- | tdeui/klineedit.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/klineedit.cpp b/tdeui/klineedit.cpp index e700a9d26..c01f645b7 100644 --- a/tdeui/klineedit.cpp +++ b/tdeui/klineedit.cpp @@ -1011,7 +1011,7 @@ bool KLineEdit::eventFilter( TQObject* o, TQEvent* ev ) KCursor::autoHideEventFilter( TQT_TQOBJECT(this), ev ); if ( ev->type() == TQEvent::AccelOverride ) { - TQKeyEvent *e = TQT_TQKEYEVENT( ev ); + TQKeyEvent *e = static_cast<TQKeyEvent*>( ev ); if (overrideAccel (e)) { e->accept(); @@ -1020,7 +1020,7 @@ bool KLineEdit::eventFilter( TQObject* o, TQEvent* ev ) } else if( ev->type() == TQEvent::KeyPress ) { - TQKeyEvent *e = TQT_TQKEYEVENT( ev ); + TQKeyEvent *e = static_cast<TQKeyEvent*>( ev ); if( e->key() == TQt::Key_Return || e->key() == TQt::Key_Enter ) { |