Commit d1a70c0b authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

DolphinView: rename copySelectedItems to copySelectedItemsToClipboard

This makes it explicit that this is just a copy to clipboard, so that
we can use the name for an actual KIO::copy().
parent 2c7c8b83
......@@ -659,7 +659,7 @@ void DolphinMainWindow::cut()
void DolphinMainWindow::copy()
{
m_activeViewContainer->view()->copySelectedItems();
m_activeViewContainer->view()->copySelectedItemsToClipboard();
}
void DolphinMainWindow::paste()
......
......@@ -48,7 +48,7 @@ void DolphinPartBrowserExtension::cut()
void DolphinPartBrowserExtension::copy()
{
m_part->view()->copySelectedItems();
m_part->view()->copySelectedItemsToClipboard();
}
void DolphinPartBrowserExtension::paste()
......
......@@ -686,7 +686,7 @@ void DolphinView::cutSelectedItems()
QApplication::clipboard()->setMimeData(mimeData);
}
void DolphinView::copySelectedItems()
void DolphinView::copySelectedItemsToClipboard()
{
QMimeData* mimeData = selectionMimeData();
QApplication::clipboard()->setMimeData(mimeData);
......
......@@ -368,7 +368,7 @@ public slots:
void cutSelectedItems();
/** Copies all selected items to the clipboard. */
void copySelectedItems();
void copySelectedItemsToClipboard();
/** Pastes the clipboard data to this view. */
void paste();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment