Re-order spaces by dragging and dropping
Title
This commit is contained in:
@@ -560,7 +560,7 @@ public:
|
||||
* Will fail if the user doesn't have the required privileges or this room is
|
||||
* not a space.
|
||||
*/
|
||||
Q_INVOKABLE void addChild(const QString &childId, bool setChildParent = false, bool canonical = false, bool suggested = false);
|
||||
Q_INVOKABLE void addChild(const QString &childId, bool setChildParent = false, bool canonical = false, bool suggested = false, const QString &order = {});
|
||||
|
||||
/**
|
||||
* @brief Remove the given room as a child.
|
||||
@@ -583,6 +583,8 @@ public:
|
||||
*/
|
||||
Q_INVOKABLE void toggleChildSuggested(const QString &childId);
|
||||
|
||||
void setChildOrder(const QString &childId, const QString &order = {});
|
||||
|
||||
bool isInvite() const;
|
||||
|
||||
bool readOnly() const;
|
||||
|
||||
Reference in New Issue
Block a user