summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--generator/typesystem_gui-qtscript.xml4
-rw-r--r--generator/typesystem_gui.xml4
2 files changed, 7 insertions, 1 deletions
diff --git a/generator/typesystem_gui-qtscript.xml b/generator/typesystem_gui-qtscript.xml
index 275cf9e..2b3fc61 100644
--- a/generator/typesystem_gui-qtscript.xml
+++ b/generator/typesystem_gui-qtscript.xml
@@ -31,6 +31,10 @@
<rejection class="QPrinterInfo"/> <!-- ### constructor takes QPrinter&, must become QPrinter* -->
<rejection class="QTextOption"/> <!-- ### nested class QTextOption::Tab -->
+ <object-type name="QFileOpenEvent">
+ <modify-function signature="openFile(QFile&amp;,QFlags&lt;QIODevice::OpenModeFlag&gt;)const" remove="all"/>
+ </object-type>
+
<value-type name="QTextFormat">
<modify-function signature="setProperty(int,QVector&lt;QTextLength&gt;)" rename="setLengthVectorProperty"/>
<inject-code class="native" position="constructor">
diff --git a/generator/typesystem_gui.xml b/generator/typesystem_gui.xml
index da96b82..dce3bd9 100644
--- a/generator/typesystem_gui.xml
+++ b/generator/typesystem_gui.xml
@@ -2610,7 +2610,9 @@
</object-type>
- <object-type name="QFileOpenEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::FileOpen"/>
+ <object-type name="QFileOpenEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::FileOpen">
+ <modify-function signature="openFile(QFile&amp;,QFlags&lt;QIODevice::OpenModeFlag&gt;)const" remove="all"/>
+ </object-type>
<object-type name="QFocusEvent" polymorphic-id-expression="%1-&gt;type() == QEvent::FocusIn || %1-&gt;type() == QEvent::FocusOut">
<modify-function signature="reason()const">
<remove/>