summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@nokia.com>2009-05-04 12:28:58 (GMT)
committerKai Koehne <kai.koehne@nokia.com>2009-05-04 12:28:58 (GMT)
commitbf5b41134f180eea75add8673287e04d3ea5287d (patch)
treed1e1a4367478624f107870592cfa876156138359
parent225942d32c358386de7c869ad3363bfdc990fef2 (diff)
downloadQt-bf5b41134f180eea75add8673287e04d3ea5287d.zip
Qt-bf5b41134f180eea75add8673287e04d3ea5287d.tar.gz
Qt-bf5b41134f180eea75add8673287e04d3ea5287d.tar.bz2
Fix example in documentation
src has been replaced by source in QFxImage
-rw-r--r--src/declarative/qml/qmldom.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/declarative/qml/qmldom.cpp b/src/declarative/qml/qmldom.cpp
index f8cf194..d673428 100644
--- a/src/declarative/qml/qmldom.cpp
+++ b/src/declarative/qml/qmldom.cpp
@@ -612,11 +612,11 @@ QList<QmlDomProperty> QmlDomObject::properties() const
Returns the object's \a name property if a value has been assigned to
it, or an invalid QmlDomProperty otherwise.
- In the example below, \c {object.property("src")} would return a valid
+ In the example below, \c {object.property("source")} would return a valid
QmlDomProperty, and \c {object.property("tile")} an invalid QmlDomProperty.
\qml
-Image { src: "sample.jpg" }
+Image { source: "sample.jpg" }
\endqml
*/
QmlDomProperty QmlDomObject::property(const QByteArray &name) const