summaryrefslogtreecommitdiffstats
path: root/src/declarative/util/qmlpropertymap.cpp
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-01-22 02:33:28 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-01-22 02:33:28 (GMT)
commitc0b64da3ab27f0bc3a23aa3af9ba63d52145ee97 (patch)
tree723813e16b2145201652cb854902e93878dfb884 /src/declarative/util/qmlpropertymap.cpp
parent8b04d07aac538c2d8752ff6a80df0b719c947184 (diff)
downloadQt-c0b64da3ab27f0bc3a23aa3af9ba63d52145ee97.zip
Qt-c0b64da3ab27f0bc3a23aa3af9ba63d52145ee97.tar.gz
Qt-c0b64da3ab27f0bc3a23aa3af9ba63d52145ee97.tar.bz2
Clarify QmlPropertyMap::valueChanged docs.
Diffstat (limited to 'src/declarative/util/qmlpropertymap.cpp')
-rw-r--r--src/declarative/util/qmlpropertymap.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/declarative/util/qmlpropertymap.cpp b/src/declarative/util/qmlpropertymap.cpp
index d0a0428..226f82e 100644
--- a/src/declarative/util/qmlpropertymap.cpp
+++ b/src/declarative/util/qmlpropertymap.cpp
@@ -118,7 +118,7 @@ void QmlPropertyMapMetaObject::propertyWrite(int index)
key will be updated as well.
To detect value changes made in the UI layer you can connect to the valueChanged() signal.
- However, note that valueChanged() is \b NOT emitted when changes are made by calling insert()
+ However, note that valueChanged() is \bold NOT emitted when changes are made by calling insert()
or clear() - it is only emitted when a value is updated from QML.
\note It is not possible to remove keys from the map; once a key has been added, you can only
@@ -270,6 +270,9 @@ const QVariant QmlPropertyMap::operator[](const QString &key) const
\fn void QmlPropertyMap::valueChanged(const QString &key)
This signal is emitted whenever one of the values in the map is changed. \a key
is the key corresponding to the value that was changed.
+
+ \note valueChanged() is \bold NOT emitted when changes are made by calling insert()
+ or clear() - it is only emitted when a value is updated from QML.
*/
QT_END_NAMESPACE