diff options
author | Christian Kamm <mail@ckamm.de> | 2018-04-06 18:13:29 +0300 |
---|---|---|
committer | ckamm <mail@ckamm.de> | 2018-04-16 09:37:44 +0300 |
commit | 93d8810414d94cdb2b7e7adf00d2f58e5e3098a0 (patch) | |
tree | 055e65e197aeda060bd00247494e24ac591bf1d6 /src/gui/owncloudgui.h | |
parent | aaa00c1f3014f3403b8b323f3abd1a4614f0a101 (diff) |
SocketApi/Sharing: Add "copy public link" to menu #6356
* The new menu option will fetch shares and create a new link share if
no "context menu share" currently exists.
* Various cleanup of common operations in socketapi happened as well,
in particular there's now FileData::get() that calculates all the
relevant paths that are useful for most socketapi actions.
Diffstat (limited to 'src/gui/owncloudgui.h')
-rw-r--r-- | src/gui/owncloudgui.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/gui/owncloudgui.h b/src/gui/owncloudgui.h index d1b60ae0e..9bc136472 100644 --- a/src/gui/owncloudgui.h +++ b/src/gui/owncloudgui.h @@ -37,6 +37,11 @@ class Application; class LogBrowser; class AccountState; +enum class ShareDialogStartPage { + UsersAndGroups, + PublicLinks, +}; + /** * @brief The ownCloudGui class * @ingroup gui @@ -93,7 +98,7 @@ public slots: * localPath is the absolute local path to it (so not relative * to the folder). */ - void slotShowShareDialog(const QString &sharePath, const QString &localPath); + void slotShowShareDialog(const QString &sharePath, const QString &localPath, ShareDialogStartPage startPage); void slotRemoveDestroyedShareDialogs(); |