From eb1d1e0dec5720ace27395e290b7093cd68b150d Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Tue, 6 Mar 2012 20:38:40 -0600 Subject: Automated update from qt3 --- src/widgets/qmenubar.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/widgets/qmenubar.cpp') diff --git a/src/widgets/qmenubar.cpp b/src/widgets/qmenubar.cpp index ed592df6a..02ee71b24 100644 --- a/src/widgets/qmenubar.cpp +++ b/src/widgets/qmenubar.cpp @@ -392,7 +392,7 @@ void TQMenuBar::performDelayedContentsChanged() if ( isVisible() ) { update(); #ifndef QT_NO_MAINWINDOW - TQMainWindow *mw = ::qt_cast(parent()); + TQMainWindow *mw = ::tqt_cast(parent()); if ( mw ) { mw->triggerLayout(); mw->update(); @@ -515,7 +515,7 @@ bool TQMenuBar::eventFilter( TQObject *object, TQEvent *event ) { if ( object == parent() && object #ifndef QT_NO_TOOLBAR - && !::qt_cast(object) + && !::tqt_cast(object) #endif && event->type() == TQEvent::Resize ) { TQResizeEvent *e = (TQResizeEvent *)event; @@ -843,7 +843,7 @@ void TQMenuBar::show() #endif #ifndef QT_NO_MAINWINDOW - TQMainWindow *mw = ::qt_cast(parent()); + TQMainWindow *mw = ::tqt_cast(parent()); if ( mw ) //### ugly workaround mw->triggerLayout(); #endif @@ -861,7 +861,7 @@ void TQMenuBar::hide() setAltMode( FALSE ); hidePopups(); #ifndef QT_NO_MAINWINDOW - TQMainWindow *mw = ::qt_cast(parent()); + TQMainWindow *mw = ::tqt_cast(parent()); if ( mw ) //### ugly workaround mw->triggerLayout(); #endif @@ -1630,7 +1630,7 @@ TQSize TQMenuBar::sizeHint() const TQSize TQMenuBar::minimumSize() const { #ifndef QT_NO_TOOLBAR - TQToolBar *tb = ::qt_cast(parent()); + TQToolBar *tb = ::tqt_cast(parent()); if ( tb ) return sizeHint(); #endif -- cgit v1.2.1