aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken2/ApiExtractor/typesystem.h
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-07-12 09:54:35 +0200
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-07-16 11:25:29 +0000
commit82e805477cb811170b190e3254f89cda2c5a9568 (patch)
treea9415b9db6b64ee25bed90d11b5352aa247cc7ad /sources/shiboken2/ApiExtractor/typesystem.h
parent269f835a8d21d6ad79e20de675ebb2132255367d (diff)
shiboken: Improve debug output of TypeEntry classes
Task-number: PYSIDE-743 Change-Id: Ie4794c6387ef5ffaf8a5813b744fa725427b5f09 Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources/shiboken2/ApiExtractor/typesystem.h')
-rw-r--r--sources/shiboken2/ApiExtractor/typesystem.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/sources/shiboken2/ApiExtractor/typesystem.h b/sources/shiboken2/ApiExtractor/typesystem.h
index dd4f39e7a..86eb694e6 100644
--- a/sources/shiboken2/ApiExtractor/typesystem.h
+++ b/sources/shiboken2/ApiExtractor/typesystem.h
@@ -892,6 +892,10 @@ public:
bool hasCustomConversion() const;
void setCustomConversion(CustomConversion* customConversion);
CustomConversion* customConversion() const;
+
+#ifndef QT_NO_DEBUG_STREAM
+ virtual void formatDebug(QDebug &d) const;
+#endif
private:
QString m_name;
QString m_targetLangPackage;
@@ -1133,6 +1137,9 @@ public:
m_forceInteger = force;
}
+#ifndef QT_NO_DEBUG_STREAM
+ void formatDebug(QDebug &d) const override;
+#endif
private:
QString m_packageName;
QString m_qualifier;
@@ -1395,6 +1402,9 @@ public:
void setDefaultConstructor(const QString& defaultConstructor);
bool hasDefaultConstructor() const;
+#ifndef QT_NO_DEBUG_STREAM
+ void formatDebug(QDebug &d) const override;
+#endif
private:
AddedFunctionList m_addedFunctions;
FunctionModificationList m_functionMods;