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 QPointFToString (const QPointF &pos);
00020 extern QString QLocaleToString (const QLocale &locale);
00021 extern QString QtCursorToString (Qt::CursorShape cursorShape);
00022 extern QString QTransformToString (const QTransform &transform);
00023 extern QString QXmlStreamReaderTokenTypeToString (QXmlStreamReader::TokenType tokenType);
00024 extern QString roleAsString (int role);
00025 extern QString rolesAsString (const QVector<int> &roles);
00026
00027 #endif // QT_ENUM_TO_STRING_H