00001
00002
00003
00004
00005
00006
00007 #ifndef QT_ENUM_TO_STRING_H
00008 #define QT_ENUM_TO_STRING_H
00009
00010 #include <QCursor>
00011 #include <QString>
00012 #include <QVector>
00013 #include <QXmlStreamReader>
00014
00015 class QLocale;
00016 class QPointF;
00017 class QTransform;
00018
00019 extern QString QLocaleToString (const QLocale &locale);
00020 extern QString QPointFToString (const QPointF &pos);
00021 extern QString QRectFToString (const QRectF &rectF);
00022 extern QString QtCursorToString (Qt::CursorShape cursorShape);
00023 extern QString QTransformToString (const QTransform &transform);
00024 extern QString QXmlStreamReaderTokenTypeToString (QXmlStreamReader::TokenType tokenType);
00025 extern QString roleAsString (int role);
00026 extern QString rolesAsString (const QVector<int> &roles);
00027
00028 #endif // QT_ENUM_TO_STRING_H