diff options
Diffstat (limited to 'src/qml/qml/qqmlobjectcreator_p.h')
-rw-r--r-- | src/qml/qml/qqmlobjectcreator_p.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/qml/qml/qqmlobjectcreator_p.h b/src/qml/qml/qqmlobjectcreator_p.h index 50489fd55b..4e788e88d4 100644 --- a/src/qml/qml/qqmlobjectcreator_p.h +++ b/src/qml/qml/qqmlobjectcreator_p.h @@ -89,6 +89,12 @@ struct RequiredPropertyInfo class RequiredProperties : public QHash<QQmlPropertyData*, RequiredPropertyInfo> {}; +struct DeferredQPropertyBinding { + QObject *target = nullptr; + int properyIndex = -1; + QUntypedPropertyBinding binding; +}; + struct QQmlObjectCreatorSharedState : QQmlRefCount { QQmlRefPointer<QQmlContextData> rootContext; @@ -102,7 +108,7 @@ struct QQmlObjectCreatorSharedState : QQmlRefCount QQmlVmeProfiler profiler; QRecursionNode recursionNode; RequiredProperties requiredProperties; - QList<std::tuple<QObject *, int, QUntypedPropertyBinding>> allQPropertyBindings; + QList<DeferredQPropertyBinding> allQPropertyBindings; bool hadRequiredProperties; }; |