summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qdeclarativeopenmetaobject_p.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-03-29 01:57:41 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-03-29 01:59:00 (GMT)
commit418bd7fa550da97ac27a34c72e75ec7ab0448d78 (patch)
tree47883d96f4ca1b786af5f18d56e943662a6acf38 /src/declarative/util/qdeclarativeopenmetaobject_p.h
parent059a91650d7fdb7491108c07e3eda0e79e2d9203 (diff)
downloadQt-418bd7fa550da97ac27a34c72e75ec7ab0448d78.zip
Qt-418bd7fa550da97ac27a34c72e75ec7ab0448d78.tar.gz
Qt-418bd7fa550da97ac27a34c72e75ec7ab0448d78.tar.bz2
Don't emit QDeclarativePropertyMap::valueChanged() before the value has
changed. Task-number: QTBUG-9386
Diffstat (limited to 'src/declarative/util/qdeclarativeopenmetaobject_p.h')
-rw-r--r--src/declarative/util/qdeclarativeopenmetaobject_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/util/qdeclarativeopenmetaobject_p.h b/src/declarative/util/qdeclarativeopenmetaobject_p.h
index ec5ac17..9bb4c34 100644
--- a/src/declarative/util/qdeclarativeopenmetaobject_p.h
+++ b/src/declarative/util/qdeclarativeopenmetaobject_p.h
@@ -90,6 +90,7 @@ public:
QVariant value(int) const;
void setValue(int, const QVariant &);
QVariant &operator[](const QByteArray &);
+ QVariant &operator[](int);
int count() const;
QByteArray name(int) const;
@@ -109,6 +110,7 @@ protected:
virtual void propertyRead(int);
virtual void propertyWrite(int);
+ virtual void propertyWritten(int);
virtual void propertyCreated(int, QMetaPropertyBuilder &);
QAbstractDynamicMetaObject *parent() const;