diff options
author | Christian Kamm <mail@ckamm.de> | 2017-06-15 16:38:22 +0300 |
---|---|---|
committer | ckamm <mail@ckamm.de> | 2017-07-07 12:23:32 +0300 |
commit | e54be1c4ee878dd4c318d70430cfba4907003e84 (patch) | |
tree | 92273f3de192dc635b7fa97eead34d45b6219c19 /src/gui/sharemanager.h | |
parent | 411621bf0381f1d41876b8b4aef944a5f9f28be8 (diff) |
Link shares: Add "show file listing" option #5837
Diffstat (limited to 'src/gui/sharemanager.h')
-rw-r--r-- | src/gui/sharemanager.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/gui/sharemanager.h b/src/gui/sharemanager.h index 62ff6ee4c..8c361b732 100644 --- a/src/gui/sharemanager.h +++ b/src/gui/sharemanager.h @@ -153,16 +153,12 @@ public: /* * Get the publicUpload status of this share */ - bool getPublicUpload(); + bool getPublicUpload() const; /* - * Set a share to be public upload - * This function can only be called on link shares - * - * On success the publicUploadSet signal is emitted - * In case of a server error the serverError signal is emitted. + * Whether directory listings are available (READ permission) */ - void setPublicUpload(bool publicUpload); + bool getShowFileListing() const; /* * Returns the name of the link share. Can be empty. @@ -209,14 +205,12 @@ public: signals: void expireDateSet(); - void publicUploadSet(); void passwordSet(); void passwordSetError(int statusCode, const QString &message); void nameSet(); private slots: void slotPasswordSet(const QJsonDocument &, const QVariant &value); - void slotPublicUploadSet(const QJsonDocument &, const QVariant &value); void slotExpireDateSet(const QJsonDocument &reply, const QVariant &value); void slotSetPasswordError(int statusCode, const QString &message); void slotNameSet(const QJsonDocument &, const QVariant &value); |