summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlmetaproperty_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlmetaproperty_p.h')
-rw-r--r--src/declarative/qml/qmlmetaproperty_p.h13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/declarative/qml/qmlmetaproperty_p.h b/src/declarative/qml/qmlmetaproperty_p.h
index 00b9c3a..7288266 100644
--- a/src/declarative/qml/qmlmetaproperty_p.h
+++ b/src/declarative/qml/qmlmetaproperty_p.h
@@ -96,15 +96,18 @@ public:
int propertyType() const;
QmlMetaProperty::PropertyCategory propertyCategory() const;
- void writeSignalProperty(const QVariant &);
-
QVariant readValueProperty();
- void writeValueProperty(const QVariant &, QmlMetaProperty::WriteSource);
- static void write(QObject *, const QmlPropertyCache::Data &, const QVariant &, QmlContext *);
- static QmlAbstractBinding *setBinding(QObject *, const QmlPropertyCache::Data &, QmlAbstractBinding *);
+ void writeValueProperty(const QVariant &, QmlMetaProperty::WriteFlags);
+ static bool writeEnumProperty(const QMetaProperty &prop, int idx, QObject *object, const QVariant &value, int flags);
+ static void write(QObject *, const QmlPropertyCache::Data &, const QVariant &, QmlContext *,
+ QmlMetaProperty::WriteFlags flags = 0);
+ static QmlAbstractBinding *setBinding(QObject *, const QmlPropertyCache::Data &, QmlAbstractBinding *,
+ QmlMetaProperty::WriteFlags flags = QmlMetaProperty::DontRemoveBinding);
static quint32 saveValueType(int, int);
static quint32 saveProperty(int);
+
+ static bool equal(const QMetaObject *, const QMetaObject *);
};
QT_END_NAMESPACE