diff options
author | Matthew Vogt <matthew.vogt@nokia.com> | 2012-07-17 11:14:43 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-07-18 05:48:43 +0200 |
commit | 884bc89e9fe765a7be245b3009339f999936a761 (patch) | |
tree | a8ecc8df740a3e93a8ab30de96f7a4e4a2e091e9 /src/qml/qml/qqmlopenmetaobject_p.h | |
parent | 1ce3a17ef51e10c03627842b9cdd0bb543ee8c83 (diff) |
Allow QQmlPropertyMap property updates to be controlled
Allow clients to control updates made from QML to types derived from
QQmlPropertyMap, by overriding the updateValue() function.
Task-number: QTBUG-23183
Change-Id: I0169093779ebfe50dc9349f5aaac08ed85c80a8f
Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Reviewed-by: abcd <amos.choy@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlopenmetaobject_p.h')
-rw-r--r-- | src/qml/qml/qqmlopenmetaobject_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlopenmetaobject_p.h b/src/qml/qml/qqmlopenmetaobject_p.h index 188192edc1..a45d7d8259 100644 --- a/src/qml/qml/qqmlopenmetaobject_p.h +++ b/src/qml/qml/qqmlopenmetaobject_p.h @@ -113,6 +113,7 @@ protected: virtual void propertyRead(int); virtual void propertyWrite(int); + virtual QVariant propertyWriteValue(int, const QVariant &); virtual void propertyWritten(int); virtual void propertyCreated(int, QMetaPropertyBuilder &); |