diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-30 00:10:01 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-03-30 00:10:01 (GMT) |
commit | b05a072e389359dd7a7603d0b59049b87c76d4e6 (patch) | |
tree | c843965c976e00a031bf5df00c0a36bcdc0feb23 /src/declarative/qml | |
parent | ca3f5521e1d3ada541739d6013d8c6fb795244a9 (diff) | |
download | Qt-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.cpp | 6 |
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"); |