diff options
author | Fabian Kosmale <fabian.kosmale@qt.io> | 2023-01-16 18:09:13 +0100 |
---|---|---|
committer | Fabian Kosmale <fabian.kosmale@qt.io> | 2023-01-17 21:58:31 +0100 |
commit | 727ea164943fa41b9353d33861e777264bccb1f4 (patch) | |
tree | 3119daeb9684beb837d0e8e418a6a84890b73736 /src/qml/qml/qqmlpropertydata_p.h | |
parent | f59af767aedaa30c1b0593f2b3c36cbfce65bd3e (diff) |
Remove remaining vestiges of "Binding" properties
We no longer support properties of type QQmlBinding, so we don't need
any flags for it, either.
Amends 85d258cc0d392a445a618538930e352ad9ec699d
Change-Id: I77c52baa3c0e2d7b5831216f1413bcc21eb5e321
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlpropertydata_p.h')
-rw-r--r-- | src/qml/qml/qqmlpropertydata_p.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlpropertydata_p.h b/src/qml/qml/qqmlpropertydata_p.h index ad900f95cf..b51b0ba619 100644 --- a/src/qml/qml/qqmlpropertydata_p.h +++ b/src/qml/qml/qqmlpropertydata_p.h @@ -42,7 +42,7 @@ public: QObjectDerivedType = 2, // Property type is a QObject* derived type EnumType = 3, // Property type is an enum QListType = 4, // Property type is a QML list - QmlBindingType = 5, // Property type is a QQmlBinding* + /*QmlBindingType = 5; was: Property type is a QQmlBinding*; now unused */ QJSValueType = 6, // Property type is a QScriptValue // Gap, used to be V4HandleType VarPropertyType = 8, // Property type is a "var" property of VMEMO @@ -199,7 +199,6 @@ public: bool isQObject() const { return m_flags.type == Flags::QObjectDerivedType; } bool isEnum() const { return m_flags.type == Flags::EnumType; } bool isQList() const { return m_flags.type == Flags::QListType; } - bool isQmlBinding() const { return m_flags.type == Flags::QmlBindingType; } bool isQJSValue() const { return m_flags.type == Flags::QJSValueType; } bool isVarProperty() const { return m_flags.type == Flags::VarPropertyType; } bool isQVariant() const { return m_flags.type == Flags::QVariantType; } @@ -445,7 +444,6 @@ void QQmlPropertyData::Flags::copyPropertyTypeFlags(QQmlPropertyData::Flags from case QObjectDerivedType: case EnumType: case QListType: - case QmlBindingType: case QJSValueType: case QVariantType: type = from.type; |