summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKent Hansen <kent.hansen@nokia.com>2012-01-16 13:35:43 +0100
committerKent Hansen <kent.hansen@nokia.com>2012-01-16 13:35:43 +0100
commit8801e205886262d2fd872d27b9d48b46844bb657 (patch)
tree2bf6545ff535af45e8e4122a43cec9492882632d
parent391b9d392ba1e230b94b0e53991e9ced2ae6098c (diff)
Exclude QFileOpenEvent::openFile function
Fix compilation error.
-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/>