aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/PySide6/QtPrintSupport/typesystem_printsupport_common.xml
diff options
context:
space:
mode:
Diffstat (limited to 'sources/pyside6/PySide6/QtPrintSupport/typesystem_printsupport_common.xml')
-rw-r--r--sources/pyside6/PySide6/QtPrintSupport/typesystem_printsupport_common.xml10
1 files changed, 8 insertions, 2 deletions
diff --git a/sources/pyside6/PySide6/QtPrintSupport/typesystem_printsupport_common.xml b/sources/pyside6/PySide6/QtPrintSupport/typesystem_printsupport_common.xml
index 586b63ce5..5b5c01276 100644
--- a/sources/pyside6/PySide6/QtPrintSupport/typesystem_printsupport_common.xml
+++ b/sources/pyside6/PySide6/QtPrintSupport/typesystem_printsupport_common.xml
@@ -43,7 +43,10 @@
<load-typesystem name="QtWidgets/typesystem_widgets.xml" generate="no"/>
<object-type name="QPageSetupDialog">
- <modify-function signature="exec()" rename="exec_" allow-thread="yes"/>
+ <modify-function signature="exec()" allow-thread="yes"/>
+ <add-function signature="exec_()" return-type="int">
+ <inject-code file="../glue/qtprintsupport.cpp" snippet="exec" />
+ </add-function>
</object-type>
<object-type name="QAbstractPrintDialog">
@@ -52,7 +55,10 @@
</object-type>
<object-type name="QPrintDialog">
- <modify-function signature="exec()" rename="exec_" allow-thread="yes"/>
+ <modify-function signature="exec()" allow-thread="yes"/>
+ <add-function signature="exec_()" return-type="int">
+ <inject-code file="../glue/qtprintsupport.cpp" snippet="exec" />
+ </add-function>
</object-type>
<object-type name="QPrintEngine">
<enum-type name="PrintEnginePropertyKey"/>