summaryrefslogtreecommitdiffstats
path: root/klipper/popupproxy.cpp
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2013-02-01 15:11:21 -0600
commitf537c21b68e08f649b1b297bce8f3904603137e0 (patch)
treefb33065387509dea898c90022ddec9c3f8ede86d /klipper/popupproxy.cpp
parentdc5f267664506a312203c26bfe9001a448b0bb0f (diff)
downloadtdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz
tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'klipper/popupproxy.cpp')
-rw-r--r--klipper/popupproxy.cpp10
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;