From 7fec7ff9a096d288b66fce2699c7b8bc71f6fbbb Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Wed, 22 Nov 2006 17:13:11 +0000 Subject: As KURL has been renamed to KUrl all classes and methods, which use the term 'URL', have been converted to use 'Url' instead (e. g. the class URLNavigator is called UrlNavigator now). svn path=/trunk/playground/utils/dolphin/; revision=606991 --- src/dolphincontextmenu.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/dolphincontextmenu.cpp') diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp index 962e6b442..d53aa3f17 100644 --- a/src/dolphincontextmenu.cpp +++ b/src/dolphincontextmenu.cpp @@ -177,7 +177,7 @@ void DolphinContextMenu::openItemContextMenu() KMenu* popup = new KMenu(m_dolphinView); Dolphin& dolphin = Dolphin::mainWin(); - const KUrl::List urls = m_dolphinView->selectedURLs(); + const KUrl::List urls = m_dolphinView->selectedUrls(); // insert 'Cut', 'Copy' and 'Paste' const KStdAction::StdAction actionNames[] = { KStdAction::Cut, KStdAction::Copy, KStdAction::Paste }; @@ -194,7 +194,7 @@ void DolphinContextMenu::openItemContextMenu() KAction* renameAction = dolphin.actionCollection()->action("rename"); renameAction->plug(popup); - // insert 'Move to Trash' for local URLs, otherwise insert 'Delete' + // insert 'Move to Trash' for local Urls, otherwise insert 'Delete' const KUrl& url = dolphin.activeView()->url(); if (url.isLocalFile()) { KAction* moveToTrashAction = dolphin.actionCollection()->action("move_to_trash"); @@ -231,10 +231,10 @@ void DolphinContextMenu::openItemContextMenu() QAction *activatedAction = popup->exec(m_pos); if (bookmarkAction!=0 && activatedAction == bookmarkAction) { - const KUrl selectedURL(m_fileInfo->url()); + const KUrl selectedUrl(m_fileInfo->url()); KBookmark bookmark = EditBookmarkDialog::getBookmark(i18n("Add folder as bookmark"), - selectedURL.fileName(), - selectedURL, + selectedUrl.fileName(), + selectedUrl, "bookmark"); if (!bookmark.isNull()) { KBookmarkManager* manager = DolphinSettings::instance().bookmarkManager(); -- cgit v1.3