┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 4f2964761..c058338a8 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -359,6 +359,13 @@ public slots:
void paste();
/**
+ * Pastes the clipboard data into the currently selected
+ * folder. If the current selection is not exactly one folder, no
+ * paste operation is done.
+ */
+ void pasteIntoFolder();
+
+ /**
* Turns on the file preview for the all files of the current directory,
* if \a show is true.
* If the view properties should be remembered for each directory
@@ -612,6 +619,12 @@ private:
bool isCutItem(const KFileItem& item) const;
/**
+ * Helper method for DolphinView::paste() and DolphinView::pasteIntoFolder().
+ * Pastes the clipboard data into the URL \a url.
+ */
+ void pasteToUrl(const KUrl& url);
+
+ /**
* Returns true, if the ColumnView is activated. As the column view
* requires some special handling for iterating through directories,
* this method has been introduced for convenience.