summaryrefslogtreecommitdiffstats
path: root/PySide/QtWebKit
diff options
context:
space:
mode:
authorLuciano Wolf <luciano.wolf@openbossa.org>2010-06-14 16:56:36 -0300
committerLuciano Wolf <luciano.wolf@openbossa.org>2010-06-15 20:41:41 -0300
commite0c46d67613fe8c38c3bee6b99ae58260cb33260 (patch)
tree6036525d0bd39b7a4aa46507092d4d98eda9e80f /PySide/QtWebKit
parent0eb8d670c240b5ea621dba6271139f30cc97790a (diff)
Implementing API2 modifications.
Reviewer: Hugo Parente Lima <hugo.lima@openbossa.org>, Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide/QtWebKit')
-rw-r--r--PySide/QtWebKit/typesystem_webkit.xml12
1 files changed, 11 insertions, 1 deletions
diff --git a/PySide/QtWebKit/typesystem_webkit.xml b/PySide/QtWebKit/typesystem_webkit.xml
index dd3b5ba7..a08b1837 100644
--- a/PySide/QtWebKit/typesystem_webkit.xml
+++ b/PySide/QtWebKit/typesystem_webkit.xml
@@ -46,7 +46,17 @@
</object-type>
<object-type name="QWebSettings"/>
- <object-type name="QWebPage"/>
+ <object-type name="QWebPage">
+ <modify-function signature="javaScriptPrompt(QWebFrame*,const QString &amp;,const QString &amp;,QString*)">
+ <modify-argument index="return">
+ <replace-type modified-type="PyObject"/>
+ </modify-argument>
+ <inject-code class="target" position="end">
+ %RETURN_TYPE retval_ = %CPPSELF.%FUNCTION_NAME(%1, %2, %3, %4);
+ %PYARG_0 = Shiboken::makeTuple(retval_, %4);
+ </inject-code>
+ </modify-function>
+ </object-type>
<object-type name="QWebHistory"/>
<object-type name="QWebHistoryInterface"/>
<object-type name="QWebPluginFactory"/>