diff options
author | Martin Smith <msmith@trolltech.com> | 2009-05-04 13:09:32 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-05-04 13:09:32 (GMT) |
commit | 895e6a4254adf8a2e01e76bc0770d983372d8500 (patch) | |
tree | daeb261d7837415b0416afd93d991459182ecd5e /src | |
parent | ba8d03242f720c11ed89092f3f1a0d8a41f35a04 (diff) | |
parent | 08fc3e99ec03714af1b4ac22dd8525b2b31292f4 (diff) | |
download | Qt-895e6a4254adf8a2e01e76bc0770d983372d8500.zip Qt-895e6a4254adf8a2e01e76bc0770d983372d8500.tar.gz Qt-895e6a4254adf8a2e01e76bc0770d983372d8500.tar.bz2 |
Merge branch 'kinetic-declarativeui' of git@scm.dev.nokia.troll.no:qt/kinetic into kinetic-declarativeui
Diffstat (limited to 'src')
-rw-r--r-- | src/declarative/qml/qmldom.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/declarative/qml/qmldom.cpp b/src/declarative/qml/qmldom.cpp index f8cf194..e1c4c28 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 @@ -819,7 +819,8 @@ Rect { x: Other.x } /*! Construct an empty QmlDomValueBinding. */ -QmlDomValueBinding::QmlDomValueBinding() +QmlDomValueBinding::QmlDomValueBinding(): + d(new QmlDomBasicValuePrivate) { } @@ -896,7 +897,8 @@ Rect { /*! Construct an empty QmlDomValueValueSource. */ -QmlDomValueValueSource::QmlDomValueValueSource() +QmlDomValueValueSource::QmlDomValueValueSource(): + d(new QmlDomBasicValuePrivate) { } |