From fc1503986032918ad84d420209c948b45c8bb375 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Sat, 29 Mar 2008 07:44:03 +0000 Subject: The paste operation should ignore the current selection to behave similar as Konqueror and other file managers. Only if a context menu for a folder is opened, a pasting should be done into this folder. Some internal cleanups are still required (see TODO comments), so that after finishing the operation an indication can be given to the user in the statusbar (must go for breakfast now, otherwise I'll eat my keyboard...). BUG: 159862 svn path=/trunk/KDE/kdebase/apps/; revision=791354 --- src/dolphincontextmenu.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/dolphincontextmenu.h') diff --git a/src/dolphincontextmenu.h b/src/dolphincontextmenu.h index a7cd9c01d..0b4d2bf53 100644 --- a/src/dolphincontextmenu.h +++ b/src/dolphincontextmenu.h @@ -69,6 +69,9 @@ public: /** Opens the context menu model. */ void open(); +private slots: + void pasteIntoFolder(); + private: void openTrashContextMenu(); void openTrashItemContextMenu(); @@ -108,6 +111,8 @@ private: */ QString placesName(const KUrl& url) const; + QAction* createPasteAction(); + private: struct Entry { -- cgit v1.3