aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml')
-rw-r--r--sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml b/sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml
index 1e777edd2..c959e7fd3 100644
--- a/sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml
+++ b/sources/pyside2/tests/pysidetest/typesystem_pysidetest.xml
@@ -60,6 +60,12 @@
</modify-argument>
</modify-function>
</object-type>
+
+ <namespace-type name="FlagsNamespace" visible="no">
+ <enum-type name="Option" flags="Options"/>
+ <object-type name="ClassForEnum" />
+ </namespace-type>
+
<suppress-warning text="type 'QPyTextObject' is specified in typesystem, but not defined. This could potentially lead to compilation errors." />
<!-- Qt5: I never really understood this warning. Probably it is because there
is no way to instantiate the class. Anyway, why must this class emit this warning?