diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2022-03-14 15:56:28 +0100 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2022-03-23 23:21:56 +0100 |
commit | cc6bd22b61cff5b992b594b69552c8f41f65f13b (patch) | |
tree | 13aad8f781c767d793d29a1499f94383052d5578 /src/qml/qml/qqml.h | |
parent | 00b59c391e88d37dd09f187000416a3501a1e009 (diff) |
Add public API for retrieving the extension object
Change-Id: I28bc1c177cb78d85d844c7a5cd5b6710db8fd65d
Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io>
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
Diffstat (limited to 'src/qml/qml/qqml.h')
-rw-r--r-- | src/qml/qml/qqml.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqml.h b/src/qml/qml/qqml.h index b20b8dc5d3..752efd7268 100644 --- a/src/qml/qml/qqml.h +++ b/src/qml/qml/qqml.h @@ -615,6 +615,7 @@ Q_QML_EXPORT QQmlAttachedPropertiesFunc qmlAttachedPropertiesFunction(QObject *, const QMetaObject *); Q_QML_EXPORT QObject *qmlAttachedPropertiesObject(QObject *, QQmlAttachedPropertiesFunc func, bool create = true); +Q_QML_EXPORT QObject *qmlExtendedObject(QObject *); //The C++ version of protected namespaces in qmldir Q_QML_EXPORT bool qmlProtectModule(const char* uri, int majVersion); |