aboutsummaryrefslogtreecommitdiff
path: root/lib/room.h
diff options
context:
space:
mode:
authorAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-11-11 08:27:42 +0100
committerAlexey Rusakov <Kitsune-Ral@users.sf.net>2021-11-11 08:27:42 +0100
commit766410a6c9e928915ece112f4f4f4a4317789e5f (patch)
tree95cb911222a51718fd27c788c0a83805c75aa33f /lib/room.h
parent5c0346f3a700e6af31463490b7af3382b86e09d5 (diff)
parent65bb0b5fcf029df7a9bfa0b7b7b7e3203fd7862f (diff)
downloadlibquotient-766410a6c9e928915ece112f4f4f4a4317789e5f.tar.gz
libquotient-766410a6c9e928915ece112f4f4f4a4317789e5f.zip
Merge branch 'dev' into kitsune-fix-read-receipts-and-markers
Diffstat (limited to 'lib/room.h')
-rw-r--r--lib/room.h16
1 files changed, 9 insertions, 7 deletions
diff --git a/lib/room.h b/lib/room.h
index 73f28a6e..260510e6 100644
--- a/lib/room.h
+++ b/lib/room.h
@@ -169,14 +169,16 @@ public:
TagsChange = 0x40,
MembersChange = 0x80,
/* = 0x100, */
- AccountDataChange = 0x200,
+ AccountDataChange Q_DECL_ENUMERATOR_DEPRECATED_X(
+ "AccountDataChange will be merged into OtherChange in 0.8") = 0x200,
SummaryChange = 0x400,
- ReadMarkerChange = 0x800,
+ ReadMarkerChange Q_DECL_ENUMERATOR_DEPRECATED_X(
+ "ReadMarkerChange will be merged into OtherChange in 0.8") = 0x800,
OtherChange = 0x8000,
+ OtherChanges = OtherChange,
AnyChange = 0xFFFF
};
- Q_DECLARE_FLAGS(Changes, Change)
- Q_FLAG(Changes)
+ QUO_DECLARE_FLAGS(Changes, Change)
Room(Connection* connection, QString id, JoinState initialJoinState);
~Room() override;
@@ -720,11 +722,11 @@ Q_SIGNALS:
*/
void baseStateLoaded();
void eventsHistoryJobChanged();
- void aboutToAddHistoricalMessages(RoomEventsRange events);
- void aboutToAddNewMessages(RoomEventsRange events);
+ void aboutToAddHistoricalMessages(Quotient::RoomEventsRange events);
+ void aboutToAddNewMessages(Quotient::RoomEventsRange events);
void addedMessages(int fromIndex, int toIndex);
/// The event is about to be appended to the list of pending events
- void pendingEventAboutToAdd(RoomEvent* event);
+ void pendingEventAboutToAdd(Quotient::RoomEvent* event);
/// An event has been appended to the list of pending events
void pendingEventAdded();
/// The remote echo has arrived with the sync and will be merged