diff options
author | Christian Kamm <mail@ckamm.de> | 2017-05-10 10:37:10 +0300 |
---|---|---|
committer | Christian Kamm <mail@ckamm.de> | 2017-07-07 11:49:51 +0300 |
commit | 0238a29c7cd8bffce79ac684d3aae15bed481412 (patch) | |
tree | 4593643a79402585a99c0476c2b22e2dd1e6a7ee /src/gui/owncloudgui.h | |
parent | d01065b9a12e69ca493a232f3a8e8f3d416fed52 (diff) |
Introduce private link sharing #5023
* SocketAPI has COPL_LOCAL_LINK / EMAIL_LOCAL_LINK commands
* The nautilus and dolphing shell integrations show a submenu from which
one can share as well as access the private link.
* The SocketAPI provides a new GET_STRINGS command to access localized
strings.
* The private link can also be accessed from the user/group sharing
dialog.
* The numeric file id is extracted from the full id to create the
private link url.
Diffstat (limited to 'src/gui/owncloudgui.h')
-rw-r--r-- | src/gui/owncloudgui.h | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/gui/owncloudgui.h b/src/gui/owncloudgui.h index c0238a761..c24fa173a 100644 --- a/src/gui/owncloudgui.h +++ b/src/gui/owncloudgui.h @@ -86,7 +86,16 @@ public slots: void slotOpenPath(const QString &path); void slotAccountStateChanged(); void slotTrayMessageIfServerUnsupported(Account *account); - void slotShowShareDialog(const QString &sharePath, const QString &localPath, bool resharingAllowed); + + /** + * Open a share dialog for a file or folder. + * + * sharePath is the full remote path to the item, + * localPath is the absolute local path to it (so not relative + * to the folder). + */ + void slotShowShareDialog(const QString &sharePath, const QString &localPath); + void slotRemoveDestroyedShareDialogs(); private slots: |