Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Kamm <mail@ckamm.de>2017-06-15 16:38:22 +0300
committerckamm <mail@ckamm.de>2017-07-07 12:23:32 +0300
commite54be1c4ee878dd4c318d70430cfba4907003e84 (patch)
tree92273f3de192dc635b7fa97eead34d45b6219c19 /src/gui/sharemanager.h
parent411621bf0381f1d41876b8b4aef944a5f9f28be8 (diff)
Link shares: Add "show file listing" option #5837
Diffstat (limited to 'src/gui/sharemanager.h')
-rw-r--r--src/gui/sharemanager.h12
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);