Some user name auto completion.

Make some progress on #106
This commit is contained in:
Black Hat
2018-10-22 21:08:24 +08:00
parent dac2314a7e
commit 7ceb391621
4 changed files with 88 additions and 4 deletions

View File

@@ -12,6 +12,7 @@
#include "room.h"
#include "roomlistmodel.h"
#include "spectralroom.h"
#include "spectraluser.h"
#include "userlistmodel.h"
#include "csapi/joining.h"
@@ -50,6 +51,7 @@ int main(int argc, char *argv[]) {
qRegisterMetaType<Room *>("Room*");
qRegisterMetaType<MessageEventType>("MessageEventType");
qRegisterMetaType<SpectralRoom *>("SpectralRoom*");
qRegisterMetaType<SpectralUser *>("SpectralUser*");
QQmlApplicationEngine engine;