aboutsummaryrefslogtreecommitdiffstats
path: root/sources
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-03-16 13:34:56 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-03-16 22:41:01 +0100
commit2cb0a17422eef9ea128117532d7880f5f62e4ea4 (patch)
treee6f40c9408d0e8a667ead88379e3b7c7bce1863d /sources
parent66d5ee5de59299c9218dca56a411a53726af497d (diff)
PySide6: Clean up rejections
Remove non-existent functions and move stuff to QtWidgets. Task-number: PYSIDE-2252 Change-Id: Id2c73698a138b0e6a28dfd531ac7d7de9a1df3de Reviewed-by: Christian Tismer <tismer@stackless.com>
Diffstat (limited to 'sources')
-rw-r--r--sources/pyside6/PySide6/QtCore/typesystem_core_common.xml18
-rw-r--r--sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml10
-rw-r--r--sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml15
3 files changed, 9 insertions, 34 deletions
diff --git a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml
index 3b6365b5d..452a89b78 100644
--- a/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml
+++ b/sources/pyside6/PySide6/QtCore/typesystem_core_common.xml
@@ -504,31 +504,15 @@
<rejection class="QUuid" field-name="data2"/>
<rejection class="QUuid" field-name="data3"/>
<rejection class="QUuid" field-name="data4"/>
- <rejection class="" enum-name="QtValidLicenseForTestModule"/>
- <rejection class="" enum-name="QtValidLicenseForDBusModule"/>
- <rejection class="" enum-name="QtValidLicenseForSqlModule"/>
- <rejection class="" enum-name="QtValidLicenseForOpenGLModule"/>
- <rejection class="" enum-name="QtValidLicenseForScriptToolsModule"/>
<rejection class="" enum-name="__codecvt_result"/>
<rejection class="" enum-name="enum_1"/>
<rejection class="" enum-name="enum_2"/>
- <rejection class="" enum-name="QtValidLicenseForXmlModule"/>
- <rejection class="" enum-name="QtValidLicenseForActiveQtModule"/>
- <rejection class="" enum-name="QtValidLicenseForCoreModule"/>
- <rejection class="" enum-name="QtValidLicenseForNetworkModule"/>
- <rejection class="" enum-name="QtValidLicenseForSvgModule"/>
- <rejection class="" enum-name="QtValidLicenseForGuiModule"/>
- <rejection class="" enum-name="QtValidLicenseForHelpModule"/>
<!-- Internal -->
- <rejection class="QAbstractFileEngine"/> <!--
- <rejection class="QAbstractFileEngine" function-name="endEntryList"/>
- <rejection class="QAbstractFileEngine" function-name="extension"/> XXX -->
+ <rejection class="QAbstractFileEngine"/>
<rejection class="QCoreApplication" function-name="compressEvent"/>
<rejection class="QCoreApplication" function-name="eventFilter"/>
<rejection class="QCoreApplication" function-name="filterEvent"/>
<rejection class="QCoreApplication" function-name="setEventFilter"/>
- <rejection class="QFile" function-name="setDecodingFunction"/>
- <rejection class="QFile" function-name="setEncodingFunction"/>
<rejection class="QRegion" function-name="cleanUp"/>
<rejection class="QSettings" function-name="registerFormat"/>
diff --git a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml
index fc53fc7ae..f32ef57ab 100644
--- a/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml
+++ b/sources/pyside6/PySide6/QtGui/typesystem_gui_common.xml
@@ -45,21 +45,13 @@
<rejection class="*" function-name="qobject_interface_iid&lt;QStyleFactoryInterface*&gt;"/>
<rejection class="*" function-name="qobject_interface_iid&lt;QAccessibleFactoryInterface*&gt;"/>
<rejection class="*" function-name="qobject_interface_iid&lt;QInputContextFactoryInterface*&gt;"/>
- <rejection class="*" function-name="qobject_interface_iid&lt;QGraphicsItem*&gt;"/>
- <rejection class="*" function-name="qobject_interface_iid&lt;QGraphicsLayout*&gt;"/>
<rejection class="*" function-name="qobject_interface_iid&lt;QAccessibleBridgeFactoryInterface*&gt;"/>
<rejection class="*" function-name="qobject_interface_iid&lt;QImageIOHandlerFactoryInterface*&gt;"/>
<rejection class="*" function-name="qobject_interface_iid&lt;QAccessibleInterface*&gt;"/>
<rejection class="*" function-name="qobject_interface_iid&lt;QTextObjectInterface*&gt;"/>
- <rejection class="*" function-name="qobject_interface_iid&lt;QGraphicsLayoutItem*&gt;"/>
<rejection class="*" function-name="qobject_interface_iid&lt;QIconEngineFactoryInterface*&gt;"/>
<rejection class="*" function-name="qobject_interface_iid&lt;QPictureFormatInterface*&gt;"/>
- <rejection class="*" function-name="qobject_cast&lt;QGraphicsLayout*&gt;"/>
- <rejection class="*" function-name="qobject_cast&lt;QGraphicsItem*&gt;"/>
- <rejection class="*" function-name="qobject_cast&lt;QGraphicsLayoutItem*&gt;"/>
- <rejection class="*" function-name="qobject_cast&lt;QGraphicsLayoutItem*&gt;"/>
-
<rejection class="*" function-name="qGenericMatrixFromMatrix4x4"/>
<rejection class="*" function-name="qDrawBorderPixmap"/>
<rejection class="*" function-name="qDrawPixmaps"/>
@@ -100,14 +92,12 @@
<rejection class="QAbstractTextDocumentLayout::PaintContext" field-name="selections"/>
<rejection class="QBrush" function-name="cleanUp"/>
<rejection class="QFont" enum-name="ResolveProperties"/>
- <rejection class="QMotifStyle" field-name="focus"/>
<rejection class="QPictureIO" function-name="defineIOHandler"/>
<rejection class="QPolygon" function-name="putPoints"/>
<rejection class="QPolygon" function-name="setPoints"/>
<rejection class="QPolygon" function-name="setPoint"/>
<rejection class="QPolygon" function-name="points"/>
<rejection class="QPolygon" function-name="point"/>
- <rejection class="QActionGroup" function-name="selected"/>
<rejection class="QPaintEngine" function-name="fix_neg_rect"/>
<inject-code class="native" position="beginning" file="../glue/qtgui.cpp"
diff --git a/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml b/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml
index e922020e9..89073c6ce 100644
--- a/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml
+++ b/sources/pyside6/PySide6/QtWidgets/typesystem_widgets_common.xml
@@ -31,13 +31,14 @@
-->
<rejection class="*" enum-name="enum_1"/>
- <rejection class="QMdi"/>
-
- <!--
- Event classes have a lot of non-documented protected fields, those fields
- are removed from PySide because they are Qt implementation details,
- besides the fact they are accessible by ordinary event methods.
- -->
+ <rejection class="*" function-name="qobject_interface_iid&lt;QGraphicsItem*&gt;"/>
+ <rejection class="*" function-name="qobject_interface_iid&lt;QGraphicsLayout*&gt;"/>
+ <rejection class="*" function-name="qobject_interface_iid&lt;QGraphicsLayoutItem*&gt;"/>
+
+ <rejection class="*" function-name="qobject_cast&lt;QGraphicsLayout*&gt;"/>
+ <rejection class="*" function-name="qobject_cast&lt;QGraphicsItem*&gt;"/>
+ <rejection class="*" function-name="qobject_cast&lt;QGraphicsLayoutItem*&gt;"/>
+ <rejection class="*" function-name="qobject_cast&lt;QGraphicsLayoutItem*&gt;"/>
<function signature="qDrawShadeLine(QPainter*,int,int,int,int,const QPalette&amp;,bool,int,int)"/>
<function signature="qDrawShadeLine(QPainter*,const QPoint,const QPoint,const QPalette&amp;,bool,int,int)"/>