diff options
Diffstat (limited to 'src/kernel/qaccel.cpp')
-rw-r--r-- | src/kernel/qaccel.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/qaccel.cpp b/src/kernel/qaccel.cpp index 3f7619916..3acc3da57 100644 --- a/src/kernel/qaccel.cpp +++ b/src/kernel/qaccel.cpp @@ -193,15 +193,15 @@ private: }; TQAccelManager* TQAccelManager::self_ptr = 0; -bool Q_EXPORT qt_tryAccelEvent( TQWidget* w, TQKeyEvent* e){ +bool Q_EXPORT tqt_tryAccelEvent( TQWidget* w, TQKeyEvent* e){ return TQAccelManager::self()->tryAccelEvent( w, e ); } -bool Q_EXPORT qt_dispatchAccelEvent( TQWidget* w, TQKeyEvent* e){ +bool Q_EXPORT tqt_dispatchAccelEvent( TQWidget* w, TQKeyEvent* e){ return TQAccelManager::self()->dispatchAccelEvent( w, e ); } -bool Q_EXPORT qt_tryComposeUnicode( TQWidget* w, TQKeyEvent* e){ +bool Q_EXPORT tqt_tryComposeUnicode( TQWidget* w, TQKeyEvent* e){ return TQAccelManager::self()->tryComposeUnicode( w, e ); } @@ -229,7 +229,7 @@ bool TQAccelManager::correctSubWindow( TQWidget* w, TQAccelPrivate* d ) { /* if we live in a floating dock window, keep our parent's * accelerators working */ #ifndef QT_NO_MAINWINDOW - if ( tlw->isDialog() && tlw->parentWidget() && ::qt_cast<TQDockWindow*>(tlw) ) + if ( tlw->isDialog() && tlw->parentWidget() && ::tqt_cast<TQDockWindow*>(tlw) ) return tlw->parentWidget()->topLevelWidget() == wtlw; if ( wtlw != tlw ) |