Engauge Digitizer  2
 All Classes Files Functions Variables Enumerations Enumerator Friends Pages
QtToString.h
1 /******************************************************************************************************
2  * (C) 2014 markummitchell@github.com. This file is part of Engauge Digitizer, which is released *
3  * under GNU General Public License version 2 (GPLv2) or (at your option) any later version. See file *
4  * LICENSE or go to gnu.org/licenses for details. Distribution requires prior written permission. *
5  ******************************************************************************************************/
6 
7 #ifndef QT_ENUM_TO_STRING_H
8 #define QT_ENUM_TO_STRING_H
9 
10 #include <QCursor>
11 #include <QString>
12 #include <QVector>
13 #include <QXmlStreamReader>
14 
15 class QPointF;
16 class QTransform;
17 
18 extern QString QPointFToString (const QPointF &pos);
19 extern QString QtCursorToString (Qt::CursorShape cursorShape);
20 extern QString QTransformToString (const QTransform &transform);
21 extern QString QXmlStreamReaderTokenTypeToString (QXmlStreamReader::TokenType tokenType);
22 extern QString roleAsString (int role);
23 extern QString rolesAsString (const QVector<int> &roles);
24 
25 #endif // QT_ENUM_TO_STRING_H