aboutsummaryrefslogtreecommitdiffstats
path: root/src/quicktemplates2
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2021-06-01 15:36:36 +0200
committerUlf Hermann <ulf.hermann@qt.io>2021-06-01 21:38:26 +0200
commit5a06c1bf185274723a70393afbdfef5ddbd377e7 (patch)
tree8253fa9b6dfa5cbf420930a5eca7ccd78f9e84bc /src/quicktemplates2
parent31a447e7d46ecce77f75d81636454a9aa36bd143 (diff)
Add a foreign registration for QQuickColorGroup
It has aqcuired revisioned properties. Task-number: QTBUG-33179 Change-Id: I31ce4b07649ccc20789ed15bfb50e1643f6e4bff Reviewed-by: Fabian Kosmale <fabian.kosmale@qt.io> Reviewed-by: Mitch Curtis <mitch.curtis@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/quicktemplates2')
-rw-r--r--src/quicktemplates2/qquickcontrol_p.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/quicktemplates2/qquickcontrol_p.h b/src/quicktemplates2/qquickcontrol_p.h
index 5895513e..79fb3915 100644
--- a/src/quicktemplates2/qquickcontrol_p.h
+++ b/src/quicktemplates2/qquickcontrol_p.h
@@ -297,6 +297,14 @@ struct QQuickItemForeign
QML_ADDED_IN_VERSION(2, 3)
};
+struct QQuickColorGroupForeign
+{
+ Q_GADGET
+ QML_ANONYMOUS
+ QML_FOREIGN(QQuickColorGroup)
+ QML_ADDED_IN_VERSION(6, 0)
+};
+
struct QQuickPaletteForeign
{
Q_GADGET