From b7586ded8583f75edab227cf810a32b9a440cabc Mon Sep 17 00:00:00 2001 From: Black Hat Date: Sat, 21 Jul 2018 20:40:16 +0800 Subject: Mark Room::addTag() and Room::removeTag() as Q_INVOKABLE. --- lib/room.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/room.h b/lib/room.h index 7aa39eb5..622410f5 100644 --- a/lib/room.h +++ b/lib/room.h @@ -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 -- cgit v1.2.3