diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:11:21 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2013-02-01 15:11:21 -0600 |
commit | f537c21b68e08f649b1b297bce8f3904603137e0 (patch) | |
tree | fb33065387509dea898c90022ddec9c3f8ede86d /kicker/kicker/ui/k_mnu.cpp | |
parent | dc5f267664506a312203c26bfe9001a448b0bb0f (diff) | |
download | tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.tar.gz tdebase-f537c21b68e08f649b1b297bce8f3904603137e0.zip |
Rename a number of classes to enhance compatibility with KDE4
Diffstat (limited to 'kicker/kicker/ui/k_mnu.cpp')
-rw-r--r-- | kicker/kicker/ui/k_mnu.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/kicker/kicker/ui/k_mnu.cpp b/kicker/kicker/ui/k_mnu.cpp index eb87f02d0..f19d59d8b 100644 --- a/kicker/kicker/ui/k_mnu.cpp +++ b/kicker/kicker/ui/k_mnu.cpp @@ -83,7 +83,7 @@ PanelKMenu::PanelKMenu() client_id = 10000; // Don't automatically clear the main menu. disableAutoClear(); - actionCollection = new KActionCollection(this); + actionCollection = new TDEActionCollection(this); setCaption(i18n("TDE Menu")); connect(Kicker::the(), TQT_SIGNAL(configurationChanged()), this, TQT_SLOT(configChanged())); @@ -263,7 +263,7 @@ void PanelKMenu::initialize() // Insert search field if (KickerSettings::useSearchBar()) { TQHBox* hbox = new TQHBox( this ); - KToolBarButton *clearButton = new KToolBarButton( "locationbar_erase", 0, hbox ); + TDEToolBarButton *clearButton = new TDEToolBarButton( "locationbar_erase", 0, hbox ); searchEdit = new KPIM::ClickLineEdit(hbox, " "+i18n("Press '/' to search...")); hbox->setFocusPolicy(TQ_StrongFocus); hbox->setFocusProxy(searchEdit); @@ -295,10 +295,10 @@ void PanelKMenu::initialize() bool need_separator = false; // insert bookmarks - if (KickerSettings::useBookmarks() && kapp->authorizeKAction("bookmarks")) + if (KickerSettings::useBookmarks() && kapp->authorizeTDEAction("bookmarks")) { // Need to create a new popup each time, it's deleted by subMenus.clear() - KPopupMenu * bookmarkParent = new KPopupMenu( this, "bookmarks" ); + TDEPopupMenu * bookmarkParent = new TDEPopupMenu( this, "bookmarks" ); if(!bookmarkOwner) bookmarkOwner = new KBookmarkOwner; delete bookmarkMenu; // can't reuse old one, the popup has been deleted |