diff options
Diffstat (limited to 'src/widgets/qmenudata.cpp')
-rw-r--r-- | src/widgets/qmenudata.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
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<TQPopupMenu*>(TQMenuData::d->aWidget); + TQPopupMenu* p = ::tqt_cast<TQPopupMenu*>(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<TQPopupMenu*>(TQMenuData::d->aWidget); + TQPopupMenu* p = ::tqt_cast<TQPopupMenu*>(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<TQPopupMenu*>(TQMenuData::d->aWidget); + TQPopupMenu* p = ::tqt_cast<TQPopupMenu*>(TQMenuData::d->aWidget); if (p && p->isVisible() && p->mitems) { p->mitems->clear(); } |