aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/typeparser.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken2/ApiExtractor/typeparser.h')
-rw-r--r--sources/shiboken2/ApiExtractor/typeparser.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/sources/shiboken2/ApiExtractor/typeparser.h b/sources/shiboken2/ApiExtractor/typeparser.h
index 9ccd0992c..568223656 100644
--- a/sources/shiboken2/ApiExtractor/typeparser.h
+++ b/sources/shiboken2/ApiExtractor/typeparser.h
@@ -34,6 +34,9 @@
#include <QtCore/QList>
#include <QtCore/QString>
#include <QtCore/QStringList>
+#include <QtCore/QVector>
+
+QT_FORWARD_DECLARE_CLASS(QDebug)
class TypeParser
{
@@ -43,7 +46,7 @@ public:
Info() : referenceType(NoReference), is_constant(false), is_busted(false), indirections(0) { }
QStringList qualified_name;
QStringList arrays;
- QList<Info> template_instantiations;
+ QVector<Info> template_instantiations;
ReferenceType referenceType;
uint is_constant : 1;
uint is_busted : 1;
@@ -56,4 +59,8 @@ public:
static Info parse(const QString &str, QString *errorMessage = Q_NULLPTR);
};
+#ifndef QT_NO_DEBUG_STREAM
+QDebug operator<<(QDebug d, const TypeParser::Info &);
+#endif
+
#endif // TYPEPARSER_H