diff options
| author | Antonio Prcela <[email protected]> | 2020-05-14 16:17:31 -0600 |
|---|---|---|
| committer | Nate Graham <[email protected]> | 2020-05-14 16:20:14 -0600 |
| commit | a291c5999035bb17fe764c1910c3e78ba041f8ac (patch) | |
| tree | e3942ce0cd99492b3d1e100e4dc1552e90854384 /src/views/dolphinview.h | |
| parent | 8cb3521cb7b2debfeff5d983bc3eb6ada1b66537 (diff) | |
Allow to copy or move selection to the other split view
Summary:
FEATURE: 276167
Default keyboard shortcuts set to `SHIFT+F5` for `copy`, `SHIFT+F6` for `move`
Reviewers: #dolphin, elvisangelaccio, ngraham, meven, dfaure
Reviewed By: #dolphin, elvisangelaccio, ngraham, meven, dfaure
Subscribers: yurchor, kde-doc-english, dfaure, meven, kfm-devel
Tags: #dolphin, #documentation
Differential Revision: https://phabricator.kde.org/D29006
Diffstat (limited to 'src/views/dolphinview.h')
| -rw-r--r-- | src/views/dolphinview.h | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h index 766540d99..0b2c0bce4 100644 --- a/src/views/dolphinview.h +++ b/src/views/dolphinview.h @@ -370,6 +370,18 @@ public slots: /** Copies all selected items to the clipboard. */ void copySelectedItemsToClipboard(); + /** + * Copies all selected items to the inactive split view. + * Only used in Split View. + */ + void copySelectedItemsToInactiveSplitView(const KFileItemList &selection, const QUrl &destinationUrl); + + /** + * Moves all selected items to the inactive split view. + * Only used in Split View. + */ + void moveSelectedItemsToInactiveSplitView(const KFileItemList &selection, const QUrl &destinationUrl); + /** Pastes the clipboard data to this view. */ void paste(); @@ -608,6 +620,7 @@ private slots: void slotMouseButtonPressed(int itemIndex, Qt::MouseButtons buttons); void slotRenameDialogRenamingFinished(const QList<QUrl>& urls); void slotSelectedItemTextPressed(int index); + void slotCopyingDone(KIO::Job *, const QUrl &, const QUrl &to); /* * Is called when new items get pasted or dropped. @@ -616,7 +629,7 @@ private slots: /* * Is called after all pasted or dropped items have been copied to destination. */ - void slotPasteJobResult(KJob *job); + void slotJobResult(KJob *job); /** * Emits the signal \a selectionChanged() with a small delay. This is |
