diff options
Diffstat (limited to 'klipper/popupproxy.cpp')
-rw-r--r-- | klipper/popupproxy.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/klipper/popupproxy.cpp b/klipper/popupproxy.cpp index bf4863607..d5c572690 100644 --- a/klipper/popupproxy.cpp +++ b/klipper/popupproxy.cpp @@ -49,13 +49,13 @@ void PopupProxy::slotHistoryChanged() { } void PopupProxy::deleteMoreMenus() { - const KPopupMenu* myParent = parent(); + const TDEPopupMenu* myParent = parent(); if ( myParent != proxy_for_menu ) { - const KPopupMenu* delme = proxy_for_menu;; - proxy_for_menu = static_cast<KPopupMenu*>( proxy_for_menu->parent() ); + const TDEPopupMenu* delme = proxy_for_menu;; + proxy_for_menu = static_cast<TDEPopupMenu*>( proxy_for_menu->parent() ); while ( proxy_for_menu != myParent ) { delme = proxy_for_menu; - proxy_for_menu = static_cast<KPopupMenu*>( proxy_for_menu->parent() ); + proxy_for_menu = static_cast<TDEPopupMenu*>( proxy_for_menu->parent() ); } delete delme; } @@ -150,7 +150,7 @@ int PopupProxy::insertFromSpill( int index ) { // If there is more items in the history, insert a new "More..." menu and // make *this a proxy for that menu ('s content). if ( spillPointer.current() ) { - KPopupMenu* moreMenu = new KPopupMenu( proxy_for_menu, "a more menu" ); + TDEPopupMenu* moreMenu = new TDEPopupMenu( proxy_for_menu, "a more menu" ); proxy_for_menu->insertItem( i18n( "&More" ), moreMenu, -1, index ); connect( moreMenu, TQT_SIGNAL( aboutToShow() ), TQT_SLOT( slotAboutToShow() ) ); proxy_for_menu = moreMenu; |