-BufferSyncer::BufferSyncer(const QHash<BufferId, MsgId> &lastSeenMsg, const QHash<BufferId, MsgId> &markerLines, QObject *parent)
- : SyncableObject(parent),
- _lastSeenMsg(lastSeenMsg),
- _markerLines(markerLines)
+BufferSyncer::BufferSyncer(
+ QHash<BufferId, MsgId> lastSeenMsg,
+ QHash<BufferId, MsgId> markerLines,
+ QHash<BufferId, Message::Types> activities,
+ QHash<BufferId, int> highlightCounts,
+ QObject *parent
+) : SyncableObject(parent),
+ _lastSeenMsg(std::move(lastSeenMsg)),
+ _markerLines(std::move(markerLines)),
+ _bufferActivities(std::move(activities)),
+ _highlightCounts(std::move(highlightCounts))