From 45b64cd7199c6bc4d57d5fec1a22107cf1edc84c Mon Sep 17 00:00:00 2001 From: Fabian Kosmale Date: Wed, 31 Mar 2021 14:42:43 +0200 Subject: Un-special case QQmlPropertyValueType Change-Id: I5123f72fea4198505c27678dbaaea26313b2327c Reviewed-by: Ulf Hermann --- src/qml/qml/qqmlproperty.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/qml/qml/qqmlproperty.h') diff --git a/src/qml/qml/qqmlproperty.h b/src/qml/qml/qqmlproperty.h index aa455101dc..696c0f7136 100644 --- a/src/qml/qml/qqmlproperty.h +++ b/src/qml/qml/qqmlproperty.h @@ -42,6 +42,7 @@ #include #include +#include QT_BEGIN_NAMESPACE @@ -54,6 +55,12 @@ class QQmlEngine; class QQmlPropertyPrivate; class Q_QML_EXPORT QQmlProperty { + Q_GADGET + QML_ANONYMOUS + QML_ADDED_IN_VERSION(2, 15) + + Q_PROPERTY(QObject *object READ object CONSTANT FINAL) + Q_PROPERTY(QString name READ name CONSTANT FINAL) public: enum PropertyTypeCategory { InvalidCategory, -- cgit v1.2.3