diff options
author | Kai Koehne <kai.koehne@nokia.com> | 2009-05-04 12:28:58 (GMT) |
---|---|---|
committer | Kai Koehne <kai.koehne@nokia.com> | 2009-05-04 12:28:58 (GMT) |
commit | bf5b41134f180eea75add8673287e04d3ea5287d (patch) | |
tree | d1e1a4367478624f107870592cfa876156138359 | |
parent | 225942d32c358386de7c869ad3363bfdc990fef2 (diff) | |
download | Qt-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.cpp | 4 |
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 |