diff options
-rw-r--r-- | room.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -63,6 +63,7 @@ namespace QMatrixClient class Room: public QObject { Q_OBJECT + Q_PROPERTY(const Connection* connection READ connection CONSTANT) Q_PROPERTY(QString id READ id CONSTANT) Q_PROPERTY(QString name READ name NOTIFY namesChanged) Q_PROPERTY(QStringList aliases READ aliases NOTIFY namesChanged) @@ -77,6 +78,7 @@ namespace QMatrixClient Room(Connection* connection, QString id); virtual ~Room(); + Connection* connection() const; QString id() const; QString name() const; QStringList aliases() const; @@ -173,7 +175,6 @@ namespace QMatrixClient void unreadMessagesChanged(Room* room); protected: - Connection* connection() const; virtual void doAddNewMessageEvents(const Events& events); virtual void doAddHistoricalMessageEvents(const Events& events); virtual void processStateEvents(const Events& events); |