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/qmenudata.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/widgets/qmenudata.cpp') diff --git a/src/widgets/qmenudata.cpp b/src/widgets/qmenudata.cpp index 437234dc7..ef385ab16 100644 --- a/src/widgets/qmenudata.cpp +++ b/src/widgets/qmenudata.cpp @@ -293,7 +293,7 @@ int TQMenuData::insertAny( const TQString *text, const TQPixmap *pixmap, } mitems->insert( index, mi ); - TQPopupMenu* p = ::qt_cast(TQMenuData::d->aWidget); + TQPopupMenu* p = ::tqt_cast(TQMenuData::d->aWidget); if (p && p->isVisible() && p->mitems) { p->mitems->clear(); for ( TQMenuItemListIt it( *mitems ); it.current(); ++it ) { @@ -821,7 +821,7 @@ void TQMenuData::removeItemAt( int index ) if ( mi->popup_menu ) menuDelPopup( mi->popup_menu ); mitems->remove(); - TQPopupMenu* p = ::qt_cast(TQMenuData::d->aWidget); + TQPopupMenu* p = ::tqt_cast(TQMenuData::d->aWidget); if (p && p->isVisible() && p->mitems) { p->mitems->clear(); for ( TQMenuItemListIt it( *mitems ); it.current(); ++it ) { @@ -849,7 +849,7 @@ void TQMenuData::clear() mitems->remove(); mi = mitems->current(); } - TQPopupMenu* p = ::qt_cast(TQMenuData::d->aWidget); + TQPopupMenu* p = ::tqt_cast(TQMenuData::d->aWidget); if (p && p->isVisible() && p->mitems) { p->mitems->clear(); } -- cgit v1.2.1