diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-09 11:35:42 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-11-10 09:17:46 +0000 |
commit | 3464f53cb98cbd70a4e46a5c2f4c59a0c8cb16a0 (patch) | |
tree | 5b7f03db1a5a614b5894d163eeb42cff48cb8cc4 /sources/shiboken6/tests/dumpcodemodel | |
parent | 2f9ad6283b888495a8536cccf6fdad7d85dd78b0 (diff) |
shiboken6: Introduce a private class hierarchy for TypeEntry
Move the data members of the TypeEntry classes to private classes,
using convenience macros modeled after Qt's Q_D macro.
The main motivation here is header hygiene and decoupling;
typesystem.h was including a lot of classes.
This requires moving some code around:
- Move the debug formatting helpers of the TypeEntry
classes from typedatabase.cpp to typesystem.cpp.
- Move struct TypeRejection to typedatabase.h
- Reorder typesystem.cpp in order of declaration.
Change-Id: I24fe501d98940afd44caf75057cd6131cfbd6b6e
Reviewed-by: Cristian Maureira-Fredes <cristian.maureira-fredes@qt.io>
Diffstat (limited to 'sources/shiboken6/tests/dumpcodemodel')
-rw-r--r-- | sources/shiboken6/tests/dumpcodemodel/main.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sources/shiboken6/tests/dumpcodemodel/main.cpp b/sources/shiboken6/tests/dumpcodemodel/main.cpp index 37c964fc0..872692651 100644 --- a/sources/shiboken6/tests/dumpcodemodel/main.cpp +++ b/sources/shiboken6/tests/dumpcodemodel/main.cpp @@ -37,6 +37,7 @@ #include <QtCore/QDebug> #include <QtCore/QDir> #include <QtCore/QFile> +#include <QtCore/QVersionNumber> #include <QtCore/QXmlStreamWriter> #include <iostream> |