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

github.com/nextcloud/desktop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Goffart <ogoffart@woboq.com>2015-11-19 12:50:21 +0300
committerOlivier Goffart <ogoffart@woboq.com>2015-11-19 12:50:21 +0300
commit952a134745d8f2022888fd99a3ae3ebe1e63b75a (patch)
tree868b59a1a3cab590f38cecd3a74ab6996f84ae6b /src/gui/sharee.h
parent887aa952fef94438d249e9a6c48b5eb4b5e4f9d5 (diff)
Sharing: document that the two Type enum are linked
Diffstat (limited to 'src/gui/sharee.h')
-rw-r--r--src/gui/sharee.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/sharee.h b/src/gui/sharee.h
index bb6753772..9a99da88d 100644
--- a/src/gui/sharee.h
+++ b/src/gui/sharee.h
@@ -29,17 +29,17 @@ namespace OCC {
class Sharee {
public:
+ // Keep in sync with Share::ShareType
enum Type {
User = 0,
Group = 1,
Federated = 6
};
- Q_DECLARE_FLAGS(Types, Type)
explicit Sharee(const QString shareWith,
const QString displayName,
const Type type);
-
+
QString format() const;
QString shareWith() const;
QString displayName() const;