summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2010-03-30 00:10:01 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2010-03-30 00:10:01 (GMT)
commitb05a072e389359dd7a7603d0b59049b87c76d4e6 (patch)
treec843965c976e00a031bf5df00c0a36bcdc0feb23 /src/declarative/qml
parentca3f5521e1d3ada541739d6013d8c6fb795244a9 (diff)
downloadQt-b05a072e389359dd7a7603d0b59049b87c76d4e6.zip
Qt-b05a072e389359dd7a7603d0b59049b87c76d4e6.tar.gz
Qt-b05a072e389359dd7a7603d0b59049b87c76d4e6.tar.bz2
Fix qdeclarativedom::loadDynamicProperty test
Diffstat (limited to 'src/declarative/qml')
-rw-r--r--src/declarative/qml/qdeclarativedom.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativedom.cpp b/src/declarative/qml/qdeclarativedom.cpp
index 366750e..dec30a1 100644
--- a/src/declarative/qml/qdeclarativedom.cpp
+++ b/src/declarative/qml/qdeclarativedom.cpp
@@ -480,9 +480,15 @@ int QDeclarativeDomDynamicProperty::propertyType() const
case QDeclarativeParser::Object::DynamicProperty::Color:
return QMetaType::type("QColor");
+ case QDeclarativeParser::Object::DynamicProperty::Time:
+ return QMetaType::type("QTime");
+
case QDeclarativeParser::Object::DynamicProperty::Date:
return QMetaType::type("QDate");
+ case QDeclarativeParser::Object::DynamicProperty::DateTime:
+ return QMetaType::type("QDateTime");
+
case QDeclarativeParser::Object::DynamicProperty::Int:
return QMetaType::type("int");