From c33b01efb2aed904af9ffaef27fb3b0b4bdda37b Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 29 Mar 2008 14:54:56 +0000 Subject: Move the pasteIntoFolder() method from the contextmenu into DolphinView. This allows to show the information inside the statusbar, that the paste operation has been completed (also some code duplication can be prevented by the way). svn path=/trunk/KDE/kdebase/apps/; revision=791436 --- src/dolphinmainwindow.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/dolphinmainwindow.cpp') diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 2db562ad1..126591b6c 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -87,7 +87,9 @@ DolphinMainWindow::DolphinMainWindow(int id) : m_showMenuBar(0), m_splitter(0), m_activeViewContainer(0), - m_id(id) + m_id(id), + m_viewContainer(), + m_actionHandler(0) { setObjectName("Dolphin#"); m_viewContainer[PrimaryView] = 0; @@ -162,6 +164,11 @@ void DolphinMainWindow::dropUrls(const KUrl::List& urls, dropController.dropUrls(urls, destination); } +void DolphinMainWindow::pasteIntoFolder() +{ + m_activeViewContainer->view()->pasteIntoFolder(); +} + void DolphinMainWindow::changeUrl(const KUrl& url) { DolphinViewContainer* view = activeViewContainer(); -- cgit v1.3