Port to declarative type registration

This commit is contained in:
Tobias Fella
2023-09-23 14:05:50 +00:00
parent 4ed4f3f628
commit 3a4f71de7f
202 changed files with 604 additions and 532 deletions

View File

@@ -7,6 +7,7 @@
#include <QCache>
#include <QObject>
#include <QQmlEngine>
#include <QTextCursor>
#include <QCoroTask>
@@ -22,6 +23,8 @@ class User;
class PushNotificationState : public QObject
{
Q_OBJECT
QML_ELEMENT
QML_UNCREATABLE("")
public:
/**
@@ -63,6 +66,8 @@ struct Mention {
class NeoChatRoom : public Quotient::Room
{
Q_OBJECT
QML_ELEMENT
QML_UNCREATABLE("")
/**
* @brief A list of users currently typing in the room.