diff options
author | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2018-07-31 18:21:00 +0200 |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@qt.io> | 2018-07-31 19:16:00 +0000 |
commit | f294fda40c19c0ecc3c99efb3aabe1b14933cc84 (patch) | |
tree | 1d79ca471d9a0cadd475df370759b8489b25b26c /src/qml/qml/qqmlcomponent.h | |
parent | 4caedd14c7926e65378836262808bda6e928936c (diff) |
Add QQmlEngine getter to QQmlComponent
Change-Id: I1c9979fbd5ca81700ec7ad60e6d991e70c6d5fb5
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlcomponent.h')
-rw-r--r-- | src/qml/qml/qqmlcomponent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlcomponent.h b/src/qml/qml/qqmlcomponent.h index 444b3ec46c..20199d0b21 100644 --- a/src/qml/qml/qqmlcomponent.h +++ b/src/qml/qml/qqmlcomponent.h @@ -109,6 +109,7 @@ public: QQmlContext *forContext = nullptr); QQmlContext *creationContext() const; + QQmlEngine *engine() const; static QQmlComponentAttached *qmlAttachedProperties(QObject *); |