summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativedom.cpp
diff options
context:
space:
mode:
authorYann Bodson <yann.bodson@nokia.com>2010-03-03 07:54:43 (GMT)
committerYann Bodson <yann.bodson@nokia.com>2010-03-03 07:54:43 (GMT)
commit07bd4f61caaa61866fcfa7847eeeb905d4fa2b38 (patch)
treee55835d515209ee355cb5c8b61832d4347b2223c /src/declarative/qml/qdeclarativedom.cpp
parentaebadf248a93458615a53b3480987f829aba0ee6 (diff)
downloadQt-07bd4f61caaa61866fcfa7847eeeb905d4fa2b38.zip
Qt-07bd4f61caaa61866fcfa7847eeeb905d4fa2b38.tar.gz
Qt-07bd4f61caaa61866fcfa7847eeeb905d4fa2b38.tar.bz2
'on' syntax fixes
Diffstat (limited to 'src/declarative/qml/qdeclarativedom.cpp')
-rw-r--r--src/declarative/qml/qdeclarativedom.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/declarative/qml/qdeclarativedom.cpp b/src/declarative/qml/qdeclarativedom.cpp
index 5b43109..cb56ead 100644
--- a/src/declarative/qml/qdeclarativedom.cpp
+++ b/src/declarative/qml/qdeclarativedom.cpp
@@ -374,7 +374,7 @@ QDeclarativeDomValue QDeclarativeDomProperty::value() const
QDeclarativeDomValue rv;
if (d->property) {
rv.d->property = d->property;
- if (d->property->values.count())
+ if (d->property->values.count())
rv.d->value = d->property->values.at(0);
else
rv.d->value = d->property->onValues.at(0);
@@ -508,7 +508,7 @@ int QDeclarativeDomDynamicProperty::propertyType() const
QByteArray QDeclarativeDomDynamicProperty::propertyTypeName() const
{
- if (isValid())
+ if (isValid())
return d->property.customType;
return QByteArray();
@@ -1184,7 +1184,7 @@ QDeclarativeDomObject QDeclarativeDomValueValueSource::object() const
\qml
Rectangle {
- x: Behavior { NumberAnimation { duration: 500 } }
+ Behavior on x { NumberAnimation { duration: 500 } }
}
\endqml
*/
@@ -1228,7 +1228,7 @@ QDeclarativeDomValueValueInterceptor &QDeclarativeDomValueValueInterceptor::oper
returned.
\qml
Rectangle {
- x: Behavior { NumberAnimation { duration: 500 } }
+ Behavior on x { NumberAnimation { duration: 500 } }
}
\endqml
*/