diff options
author | Kent Hansen <kent.hansen@nokia.com> | 2012-01-16 13:35:43 +0100 |
---|---|---|
committer | Kent Hansen <kent.hansen@nokia.com> | 2012-01-16 13:35:43 +0100 |
commit | 8801e205886262d2fd872d27b9d48b46844bb657 (patch) | |
tree | 2bf6545ff535af45e8e4122a43cec9492882632d | |
parent | 391b9d392ba1e230b94b0e53991e9ced2ae6098c (diff) |
Exclude QFileOpenEvent::openFile function
Fix compilation error.
-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/> |