diff options
author | Black Hat <bhat@encom.eu.org> | 2018-07-21 20:40:16 +0800 |
---|---|---|
committer | Black Hat <bhat@encom.eu.org> | 2018-07-21 20:40:16 +0800 |
commit | b7586ded8583f75edab227cf810a32b9a440cabc (patch) | |
tree | 200f4bfdb126c5c12d40f28f6094a77500294365 /lib | |
parent | b71baf486dc276ad616e3c7b46f44b4cafb62f40 (diff) | |
download | libquotient-b7586ded8583f75edab227cf810a32b9a440cabc.tar.gz libquotient-b7586ded8583f75edab227cf810a32b9a440cabc.zip |
Mark Room::addTag() and Room::removeTag() as Q_INVOKABLE.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/room.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -300,10 +300,10 @@ namespace QMatrixClient * of tags and the new set is sent to the server to update other * clients. */ - void addTag(const QString& name, const TagRecord& record = {}); + Q_INVOKABLE void addTag(const QString& name, const TagRecord& record = {}); /** Remove a tag from the room */ - void removeTag(const QString& name); + Q_INVOKABLE void removeTag(const QString& name); /** Overwrite the room's tags * This completely replaces the existing room's tags with a set |