diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-09-10 19:33:49 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-09-10 19:41:25 -0300 |
commit | cbf12bc3a010508081d59bdac832d3e2bb9e0c2a (patch) | |
tree | 5b65bf20c22af25a8a25f1ec01cbb7faaa532bfa /PySide/QtWebKit/typesystem_webkit.xml | |
parent | 067b49c738bc147d6a706b6f5ac6336913cb14d5 (diff) |
Fix bug#254 - "QWebView.setPage() does not seem to work"
Reviewer: Lauro Moura <lauro.neto@openbossa.org>
Renato Araújo <renato.filho@openbossa.org>
Diffstat (limited to 'PySide/QtWebKit/typesystem_webkit.xml')
-rw-r--r-- | PySide/QtWebKit/typesystem_webkit.xml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/PySide/QtWebKit/typesystem_webkit.xml b/PySide/QtWebKit/typesystem_webkit.xml index a3033883b..2ba3d8cd2 100644 --- a/PySide/QtWebKit/typesystem_webkit.xml +++ b/PySide/QtWebKit/typesystem_webkit.xml @@ -49,7 +49,12 @@ <object-type name="QWebView"> <modify-function signature="setPage(QWebPage*)"> <modify-argument index="1"> - <define-ownership class="target" owner="c++"/> + <reference-count action="add"/> + </modify-argument> + </modify-function> + <modify-function signature="page() const"> + <modify-argument index="return"> + <define-ownership class="target" owner="default"/> </modify-argument> </modify-function> <modify-function signature="print(QPrinter*)const" rename="print_" /> |