diff options
author | Christian Kamm <mail@ckamm.de> | 2017-09-15 15:24:34 +0300 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-10-05 23:01:34 +0300 |
commit | 05927b68a83fca5567e4bebad4f41a3345b3e478 (patch) | |
tree | 7ac607ec19a195bb1f1f1a14a8bf42c3a7365dd4 /src/gui/sharedialog.h | |
parent | b3f90111e2383128ce979367298cc0513c3c611f (diff) |
Private links: Retrieve link through propfind property #6020
* The sharing ui does a propfind anyway: use that to query the new
property as well!
* For the socket api, asynchronously query the server for the right url
when an action that needs it is triggered.
The old, manually generated URL will be used as fallback in case the
server doesn't support the new property or the property can't be
retrieved for some reason.
Depends on owncloud/core#29021
Diffstat (limited to 'src/gui/sharedialog.h')
-rw-r--r-- | src/gui/sharedialog.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gui/sharedialog.h b/src/gui/sharedialog.h index 50aeea2e1..8af3f3fff 100644 --- a/src/gui/sharedialog.h +++ b/src/gui/sharedialog.h @@ -49,8 +49,8 @@ public: private slots: void done(int r); - void slotMaxSharingPermissionsReceived(const QVariantMap &result); - void slotMaxSharingPermissionsError(); + void slotPropfindReceived(const QVariantMap &result); + void slotPropfindError(); void slotThumbnailFetched(const int &statusCode, const QByteArray &reply); void slotAccountStateChanged(int state); @@ -63,6 +63,7 @@ private: QString _localPath; SharePermissions _maxSharingPermissions; QByteArray _numericFileId; + QString _privateLinkUrl; ShareLinkWidget *_linkWidget; ShareUserGroupWidget *_userGroupWidget; |