diff options
Diffstat (limited to 'events')
-rw-r--r-- | events/receiptevent.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/events/receiptevent.h b/events/receiptevent.h index 028bf0f6..cf08fed9 100644 --- a/events/receiptevent.h +++ b/events/receiptevent.h @@ -32,6 +32,11 @@ namespace QMatrixClient QString userId; QDateTime timestamp; }; +} +Q_DECLARE_TYPEINFO(QMatrixClient::Receipt, Q_MOVABLE_TYPE); + +namespace QMatrixClient +{ using Receipts = QVector<Receipt>; class ReceiptEvent: public Event @@ -51,6 +56,5 @@ namespace QMatrixClient Private* d; }; } -Q_DECLARE_TYPEINFO(QMatrixClient::Receipt, Q_MOVABLE_TYPE); #endif // QMATRIXCLIENT_RECEIPTEVENT_H |