mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
DolphinView: rename cutSelectedItems to cutSelectedItemsToClipboard
For consistency with d1a70c0b62
.
This commit is contained in:
parent
2b58f0457e
commit
42148dd356
|
@ -654,7 +654,7 @@ void DolphinMainWindow::undo()
|
|||
|
||||
void DolphinMainWindow::cut()
|
||||
{
|
||||
m_activeViewContainer->view()->cutSelectedItems();
|
||||
m_activeViewContainer->view()->cutSelectedItemsToClipboard();
|
||||
}
|
||||
|
||||
void DolphinMainWindow::copy()
|
||||
|
|
|
@ -43,7 +43,7 @@ void DolphinPartBrowserExtension::saveState(QDataStream &stream)
|
|||
|
||||
void DolphinPartBrowserExtension::cut()
|
||||
{
|
||||
m_part->view()->cutSelectedItems();
|
||||
m_part->view()->cutSelectedItemsToClipboard();
|
||||
}
|
||||
|
||||
void DolphinPartBrowserExtension::copy()
|
||||
|
|
|
@ -679,7 +679,7 @@ void DolphinView::deleteSelectedItems()
|
|||
}
|
||||
}
|
||||
|
||||
void DolphinView::cutSelectedItems()
|
||||
void DolphinView::cutSelectedItemsToClipboard()
|
||||
{
|
||||
QMimeData* mimeData = selectionMimeData();
|
||||
KIO::setClipboardDataCut(mimeData, true);
|
||||
|
|
|
@ -365,7 +365,7 @@ public slots:
|
|||
* Copies all selected items to the clipboard and marks
|
||||
* the items as cut.
|
||||
*/
|
||||
void cutSelectedItems();
|
||||
void cutSelectedItemsToClipboard();
|
||||
|
||||
/** Copies all selected items to the clipboard. */
|
||||
void copySelectedItemsToClipboard();
|
||||
|
|
Loading…
Reference in a new issue