diff options
-rw-r--r-- | generator/typesystem_gui-qtscript.xml | 4 | ||||
-rw-r--r-- | generator/typesystem_gui.xml | 4 |
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&,QFlags<QIODevice::OpenModeFlag>)const" remove="all"/> + </object-type> + <value-type name="QTextFormat"> <modify-function signature="setProperty(int,QVector<QTextLength>)" 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->type() == QEvent::FileOpen"/> + <object-type name="QFileOpenEvent" polymorphic-id-expression="%1->type() == QEvent::FileOpen"> + <modify-function signature="openFile(QFile&,QFlags<QIODevice::OpenModeFlag>)const" remove="all"/> + </object-type> <object-type name="QFocusEvent" polymorphic-id-expression="%1->type() == QEvent::FocusIn || %1->type() == QEvent::FocusOut"> <modify-function signature="reason()const"> <remove/> |