diff options
Diffstat (limited to 'src/QuickStreamer/object.cpp')
-rw-r--r-- | src/QuickStreamer/object.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/QuickStreamer/object.cpp b/src/QuickStreamer/object.cpp index 6fd4756..62a8c45 100644 --- a/src/QuickStreamer/object.cpp +++ b/src/QuickStreamer/object.cpp @@ -550,6 +550,8 @@ void *Object::qt_metacast(const char *className) if (strcmp(className, G_OBJECT_TYPE_NAME(m_target)) == 0) return this; + if (strcmp(className, QQmlParserStatus_iid) == 0) + return this; return QObject::qt_metacast(className); } @@ -588,6 +590,18 @@ int Object::qt_metacall(QMetaObject::Call call, int id, void **args) return id; } +void Object::classBegin() +{ + Q_ASSERT(parent() != Q_NULLPTR); + qDebug() << Q_FUNC_INFO << metaObject()->className() << parent()->children(); +} + +void Object::componentComplete() +{ + Q_ASSERT(parent() != Q_NULLPTR); + qDebug() << Q_FUNC_INFO << metaObject()->className() << parent()->children(); +} + int Object::readProperty(int id, QVariant *value) { const auto *const typeInfo = TypeInfo::find(G_OBJECT_TYPE(m_target)); |