summaryrefslogtreecommitdiffstats
path: root/src/widgets/qmenubar.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/qmenubar.cpp')
-rw-r--r--src/widgets/qmenubar.cpp10
1 files changed, 5 insertions, 5 deletions
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<TQMainWindow*>(parent());
+ TQMainWindow *mw = ::tqt_cast<TQMainWindow*>(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<TQToolBar*>(object)
+ && !::tqt_cast<TQToolBar*>(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<TQMainWindow*>(parent());
+ TQMainWindow *mw = ::tqt_cast<TQMainWindow*>(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<TQMainWindow*>(parent());
+ TQMainWindow *mw = ::tqt_cast<TQMainWindow*>(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<TQToolBar*>(parent());
+ TQToolBar *tb = ::tqt_cast<TQToolBar*>(parent());
if ( tb )
return sizeHint();
#endif