diff options
Diffstat (limited to 'tdeui/tdecompletionbox.cpp')
-rw-r--r-- | tdeui/tdecompletionbox.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeui/tdecompletionbox.cpp b/tdeui/tdecompletionbox.cpp index ca3017b44..5392e2c41 100644 --- a/tdeui/tdecompletionbox.cpp +++ b/tdeui/tdecompletionbox.cpp @@ -112,7 +112,7 @@ bool TDECompletionBox::eventFilter( TQObject *o, TQEvent *e ) if ( o == d->m_parent ) { if ( isVisible() ) { if ( type == TQEvent::KeyPress ) { - TQKeyEvent *ev = TQT_TQKEYEVENT( e ); + TQKeyEvent *ev = static_cast<TQKeyEvent*>( e ); switch ( ev->key() ) { case Key_BackTab: if ( d->tabHandling && (ev->state() == TQt::NoButton || @@ -185,7 +185,7 @@ bool TDECompletionBox::eventFilter( TQObject *o, TQEvent *e ) else if ( type == TQEvent::AccelOverride ) { // Override any acceleartors that match // the key sequences we use here... - TQKeyEvent *ev = TQT_TQKEYEVENT( e ); + TQKeyEvent *ev = static_cast<TQKeyEvent*>( e ); switch ( ev->key() ) { case Key_Down: case Key_Up: @@ -230,7 +230,7 @@ bool TDECompletionBox::eventFilter( TQObject *o, TQEvent *e ) // any mouse-click on something else than "this" makes us hide else if ( type == TQEvent::MouseButtonPress ) { - TQMouseEvent *ev = TQT_TQMOUSEEVENT( e ); + TQMouseEvent *ev = static_cast<TQMouseEvent*>( e ); if ( !rect().contains( ev->pos() )) // this widget hide(); |