diff options
author | Tasuku Suzuki <tasuku.suzuki@nokia.com> | 2010-05-25 18:32:11 (GMT) |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@nokia.com> | 2010-05-25 18:32:11 (GMT) |
commit | 5c8017e0880cc5f71854ebb71a38b944e58260b1 (patch) | |
tree | 246e556496f19077d71aea6dad1af7883f4db385 /src/declarative/qml/qdeclarativestringconverters_p.h | |
parent | 99f6250a4ac031b70757442715b226bc339ab699 (diff) | |
download | Qt-5c8017e0880cc5f71854ebb71a38b944e58260b1.zip Qt-5c8017e0880cc5f71854ebb71a38b944e58260b1.tar.gz Qt-5c8017e0880cc5f71854ebb71a38b944e58260b1.tar.bz2 |
Fix QT_NO_TEXTDATE
Diffstat (limited to 'src/declarative/qml/qdeclarativestringconverters_p.h')
-rw-r--r-- | src/declarative/qml/qdeclarativestringconverters_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qdeclarativestringconverters_p.h b/src/declarative/qml/qdeclarativestringconverters_p.h index 97f72fc..842d1b3 100644 --- a/src/declarative/qml/qdeclarativestringconverters_p.h +++ b/src/declarative/qml/qdeclarativestringconverters_p.h @@ -73,9 +73,11 @@ namespace QDeclarativeStringConverters QVariant Q_DECLARATIVE_EXPORT variantFromString(const QString &, int preferredType, bool *ok = 0); QColor Q_DECLARATIVE_EXPORT colorFromString(const QString &, bool *ok = 0); +#ifndef QT_NO_TEXTDATE QDate Q_DECLARATIVE_EXPORT dateFromString(const QString &, bool *ok = 0); QTime Q_DECLARATIVE_EXPORT timeFromString(const QString &, bool *ok = 0); QDateTime Q_DECLARATIVE_EXPORT dateTimeFromString(const QString &, bool *ok = 0); +#endif QPointF Q_DECLARATIVE_EXPORT pointFFromString(const QString &, bool *ok = 0); QSizeF Q_DECLARATIVE_EXPORT sizeFFromString(const QString &, bool *ok = 0); QRectF Q_DECLARATIVE_EXPORT rectFFromString(const QString &, bool *ok = 0); |