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-05-17 11:55:42 +0300
committerckamm <mail@ckamm.de>2017-05-17 13:26:27 +0300
commitc8d0f788e00bdae125a26d9159ce9efdd6325cd2 (patch)
treead77cb515fe650984e6b76dfffe09838090d77bd /src/gui/sharee.h
parentae263d60bd6d1bc0eb0c3712bab11de120b8cdd3 (diff)
Apply clang-format
Diffstat (limited to 'src/gui/sharee.h')
-rw-r--r--src/gui/sharee.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/gui/sharee.h b/src/gui/sharee.h
index 0391eae53..ec053d2a9 100644
--- a/src/gui/sharee.h
+++ b/src/gui/sharee.h
@@ -33,9 +33,9 @@ namespace OCC {
Q_DECLARE_LOGGING_CATEGORY(lcSharing)
-class Sharee {
+class Sharee
+{
public:
-
// Keep in sync with Share::ShareType
enum Type {
User = 0,
@@ -44,8 +44,8 @@ public:
};
explicit Sharee(const QString shareWith,
- const QString displayName,
- const Type type);
+ const QString displayName,
+ const Type type);
QString format() const;
QString shareWith() const;
@@ -59,7 +59,8 @@ private:
};
-class ShareeModel : public QAbstractListModel {
+class ShareeModel : public QAbstractListModel
+{
Q_OBJECT
public:
explicit ShareeModel(const AccountPtr &account, const QString &type, QObject *parent = 0);
@@ -91,9 +92,8 @@ private:
QVector<QSharedPointer<Sharee>> _sharees;
QVector<QSharedPointer<Sharee>> _shareeBlacklist;
};
-
}
Q_DECLARE_METATYPE(QSharedPointer<OCC::Sharee>)
-#endif //SHAREE_H
+#endif //SHAREE_H