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/sharedialog.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/sharedialog.h')
-rw-r--r-- | src/gui/sharedialog.h | 3 |
1 files changed, 2 insertions, 1 deletions
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> _accountState; QString _sharePath; QString _localPath; - SharePermissions _maxSharingPermissions; + QByteArray _numericFileId; ShareLinkWidget *_linkWidget; ShareUserGroupWidget *_userGroupWidget; |