diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-03-01 20:19:48 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-03-01 20:19:48 +0900 |
commit | e15645d0e7afc0f45727d0d6611445fc26ef5219 (patch) | |
tree | 03e5dbe17941a3bc4f7e1c75fc0567f55642883a /connection.h | |
parent | 646ee63846c8985b6222ae1096ccc970a1834ce5 (diff) | |
download | libquotient-e15645d0e7afc0f45727d0d6611445fc26ef5219.tar.gz libquotient-e15645d0e7afc0f45727d0d6611445fc26ef5219.zip |
Connection::tagNames()
To be able to get all available tags throughout the connection.
Diffstat (limited to 'connection.h')
-rw-r--r-- | connection.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/connection.h b/connection.h index b45a171d..1e9df5e2 100644 --- a/connection.h +++ b/connection.h @@ -83,6 +83,9 @@ namespace QMatrixClient */ QHash<QString, QVector<Room*>> tagsToRooms() const; + /** Get all room tags known on this connection */ + QStringList tagNames() const; + /** Get the list of rooms with the specified tag */ QVector<Room*> roomsWithTag(const QString& tagName) const; |