diff options
Diffstat (limited to 'src/ui/RoomSummary.h')
-rw-r--r-- | src/ui/RoomSummary.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/RoomSummary.h b/src/ui/RoomSummary.h index c02ea5d5..8225f0ae 100644 --- a/src/ui/RoomSummary.h +++ b/src/ui/RoomSummary.h @@ -7,6 +7,7 @@ #include <optional> #include <QObject> +#include <QQmlEngine> #include <mtx/responses/public_rooms.hpp> @@ -25,6 +26,9 @@ class RoomSummary final : public QObject { Q_OBJECT + QML_ELEMENT + QML_UNCREATABLE("Please use joinRoom to create a room summary.") + Q_PROPERTY(QString reason READ reason WRITE setReason NOTIFY reasonChanged) Q_PROPERTY(QString roomid READ roomid NOTIFY loaded) |