QML the read receipts list

There are probably a few things wrong with this, but I'm going to call it good enough for an initial commit
This commit is contained in:
Loren Burkholder 2021-07-23 18:11:33 -04:00
parent d955444dc1
commit 4dd994ae00
15 changed files with 360 additions and 271 deletions

View file

@ -26,6 +26,7 @@
#include "MainWindow.h"
#include "MatrixClient.h"
#include "MxcImageProvider.h"
#include "ReadReceiptsModel.h"
#include "RoomsModel.h"
#include "SingleImagePackModel.h"
#include "UserSettingsPage.h"
@ -205,6 +206,12 @@ TimelineViewManager::TimelineViewManager(CallManager *callManager, ChatPage *par
0,
"InviteesModel",
"InviteesModel needs to be instantiated on the C++ side");
qmlRegisterUncreatableType<ReadReceiptsModel>(
"im.nheko",
1,
0,
"ReadReceiptsModel",
"ReadReceiptsModel needs to be instantiated on the C++ side");
static auto self = this;
qmlRegisterSingletonType<MainWindow>(