/** Pastes the clipboard data to this view. */
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.
*/
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,