equal
deleted
inserted
replaced
1 /**************************************************************************** |
1 /**************************************************************************** |
2 ** |
2 ** |
3 ** Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies). |
3 ** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies). |
4 ** All rights reserved. |
4 ** All rights reserved. |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
5 ** Contact: Nokia Corporation (qt-info@nokia.com) |
6 ** |
6 ** |
7 ** This file is part of the QtXmlPatterns module of the Qt Toolkit. |
7 ** This file is part of the QtXmlPatterns module of the Qt Toolkit. |
8 ** |
8 ** |
224 return BuiltinTypes::xsDate; |
224 return BuiltinTypes::xsDate; |
225 case QVariant::DateTime: |
225 case QVariant::DateTime: |
226 /* Fallthrough. */ |
226 /* Fallthrough. */ |
227 case QVariant::Time: |
227 case QVariant::Time: |
228 return BuiltinTypes::xsDateTime; |
228 return BuiltinTypes::xsDateTime; |
|
229 case QMetaType::Float: |
|
230 return BuiltinTypes::xsFloat; |
229 case QVariant::Double: |
231 case QVariant::Double: |
230 return BuiltinTypes::xsDouble; |
232 return BuiltinTypes::xsDouble; |
231 default: |
233 default: |
232 return ItemType::Ptr(); |
234 return ItemType::Ptr(); |
233 } |
235 } |