diff options
author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-12-08 14:12:43 +0100 |
---|---|---|
committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2020-12-08 15:39:04 +0000 |
commit | 86bb108e06be9a4e67101f5fa1980563c8ef9e14 (patch) | |
tree | d1455ce7a6a9d5f5aaf47e821629eb21fca72c4a | |
parent | f0ea89978b12d5e1b6731d901b49a2af40be441c (diff) |
shiboken6: Enable debug streaming of the CodeModel enumerations
Add the Q_GADGET/Q_ENUM declarations.
Change-Id: I9f519a655b5c35906b40c79867147a1df39cf0ed
Reviewed-by: Christian Tismer <tismer@stackless.com>
-rw-r--r-- | sources/shiboken6/ApiExtractor/parser/codemodel.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sources/shiboken6/ApiExtractor/parser/codemodel.h b/sources/shiboken6/ApiExtractor/parser/codemodel.h index 2f8dbaef1..d1703cb33 100644 --- a/sources/shiboken6/ApiExtractor/parser/codemodel.h +++ b/sources/shiboken6/ApiExtractor/parser/codemodel.h @@ -52,6 +52,7 @@ class SourceLocation; class CodeModel { + Q_GADGET public: Q_DISABLE_COPY(CodeModel) @@ -60,6 +61,7 @@ public: Protected, Private }; + Q_ENUM(AccessPolicy) enum FunctionType { Normal, @@ -70,12 +72,14 @@ public: Signal, Slot }; + Q_ENUM(FunctionType) enum ClassType { Class, Struct, Union }; + Q_ENUM(ClassType) public: CodeModel(); |