summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLauro Neto <lauro.neto@openbossa.org>2011-08-08 14:23:47 -0300
committerLauro Neto <lauro.neto@openbossa.org>2011-08-09 13:39:04 -0300
commit96b4196d581138b24bd8057060b928298c292ca4 (patch)
tree56918359dfff4578791b6c0fe4e72a1260f75291
parent1650d802a4f9dfcc4ccc47b3e4296ae4b58036f9 (diff)
downloadpyside-96b4196d581138b24bd8057060b928298c292ca4.tar.gz
pyside-96b4196d581138b24bd8057060b928298c292ca4.tar.xz
pyside-96b4196d581138b24bd8057060b928298c292ca4.zip
Fixes in QtWebkit
Needed to make example from [1] work. Example will be added to pyside-examples. [1] http://blog.qtlabs.org.br/2011/05/30/transformando-o-qml-no-proximo-flash/
-rw-r--r--PySide/QtWebKit/typesystem_webkit.xml9
1 files changed, 6 insertions, 3 deletions
diff --git a/PySide/QtWebKit/typesystem_webkit.xml b/PySide/QtWebKit/typesystem_webkit.xml
index a021a04..9f96255 100644
--- a/PySide/QtWebKit/typesystem_webkit.xml
+++ b/PySide/QtWebKit/typesystem_webkit.xml
@@ -25,9 +25,6 @@
<namespace-type name="WebCore"/>
- <!-- unsuported property with type QList<MimeType> -->
- <rejection class="QWebPluginFactory::Plugin" field-name="mimeTypes"/>
-
<object-type name="QWebView">
<modify-function signature="setPage(QWebPage*)">
<modify-argument index="1">
@@ -163,6 +160,12 @@
<enum-type name="Extension"/>
<value-type name="Plugin"/>
<value-type name="MimeType"/>
+ <modify-function signature="create(const QString &amp;, const QUrl &amp;, const QStringList &amp;, const QStringList &amp;) const">
+ <modify-argument index="return">
+ <define-ownership class="native" owner="c++"/>
+ <define-ownership class="target" owner="target"/>
+ </modify-argument>
+ </modify-function>
</object-type>
<value-type name="QWebDatabase"/>
<value-type name="QWebHistoryItem"/>