┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontextmenu.cpp
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2006-11-22 17:13:11 +0000
committerPeter Penz <[email protected]>2006-11-22 17:13:11 +0000
commit7fec7ff9a096d288b66fce2699c7b8bc71f6fbbb (patch)
tree48c9e04fccc22a57d0871273b610f2b5da8edd19 /src/dolphincontextmenu.cpp
parent9075797f9b529d958fa1b6a2a4fe45bc00c4b69d (diff)
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
Diffstat (limited to 'src/dolphincontextmenu.cpp')
-rw-r--r--src/dolphincontextmenu.cpp10
1 files changed, 5 insertions, 5 deletions
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();