diff options
Diffstat (limited to 'kexi/widget/utils')
-rw-r--r-- | kexi/widget/utils/kexirecordnavigator.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kexi/widget/utils/kexirecordnavigator.cpp b/kexi/widget/utils/kexirecordnavigator.cpp index d61c7dc8..334c605a 100644 --- a/kexi/widget/utils/kexirecordnavigator.cpp +++ b/kexi/widget/utils/kexirecordnavigator.cpp @@ -196,7 +196,7 @@ bool KexiRecordNavigator::eventFilter( TQObject *o, TQEvent *e ) bool recordEntered = false; bool ret; if (e->type()==TQEvent::KeyPress) { - TQKeyEvent *ke = TQT_TQKEYEVENT(e); + TQKeyEvent *ke = static_cast<TQKeyEvent*>(e); switch (ke->key()) { case TQt::Key_Escape: { ke->accept(); @@ -218,9 +218,9 @@ bool KexiRecordNavigator::eventFilter( TQObject *o, TQEvent *e ) } } else if (e->type()==TQEvent::FocusOut) { - if (TQT_TQFOCUSEVENT(e)->reason()!=TQFocusEvent::Tab - && TQT_TQFOCUSEVENT(e)->reason()!=TQFocusEvent::Backtab - && TQT_TQFOCUSEVENT(e)->reason()!=TQFocusEvent::Other) + if (static_cast<TQFocusEvent*>(e)->reason()!=TQFocusEvent::Tab + && static_cast<TQFocusEvent*>(e)->reason()!=TQFocusEvent::Backtab + && static_cast<TQFocusEvent*>(e)->reason()!=TQFocusEvent::Other) recordEntered=true; ret = false; } |