From 0238a29c7cd8bffce79ac684d3aae15bed481412 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Wed, 10 May 2017 09:37:10 +0200 Subject: 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. --- src/gui/sharedialog.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/sharedialog.h') diff --git a/src/gui/sharedialog.h b/src/gui/sharedialog.h index dac7b9841..50aeea2e1 100644 --- a/src/gui/sharedialog.h +++ b/src/gui/sharedialog.h @@ -43,6 +43,7 @@ public: const QString &sharePath, const QString &localPath, SharePermissions maxSharingPermissions, + const QByteArray &numericFileId, QWidget *parent = 0); ~ShareDialog(); @@ -60,8 +61,8 @@ private: QPointer _accountState; QString _sharePath; QString _localPath; - SharePermissions _maxSharingPermissions; + QByteArray _numericFileId; ShareLinkWidget *_linkWidget; ShareUserGroupWidget *_userGroupWidget; -- cgit v1.2.3