aboutsummaryrefslogtreecommitdiffstats
path: root/PySide
diff options
context:
space:
mode:
authorRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2010-11-21 19:01:11 -0300
committerRenato Araujo Oliveira Filho <renato.filho@openbossa.org>2010-11-22 10:43:34 -0300
commitf7cb52d3822cb8d1897498cf04ca58813c530af6 (patch)
tree224e3050160705668edc445676715dc145012c69 /PySide
parente12197e2822a8cca0022d0843057548246930c16 (diff)
Added reference to object which was exported to QML context.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org> Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide')
-rw-r--r--PySide/QtDeclarative/typesystem_declarative.xml9
1 files changed, 8 insertions, 1 deletions
diff --git a/PySide/QtDeclarative/typesystem_declarative.xml b/PySide/QtDeclarative/typesystem_declarative.xml
index c672a8c78..75c63e093 100644
--- a/PySide/QtDeclarative/typesystem_declarative.xml
+++ b/PySide/QtDeclarative/typesystem_declarative.xml
@@ -37,7 +37,14 @@
<object-type name="QDeclarativeComponent">
<enum-type name="Status"/>
</object-type>
- <object-type name="QDeclarativeContext" />
+ <object-type name="QDeclarativeContext">
+ <modify-function signature="setContextProperty(const QString &amp;, QObject*)">
+ <modify-argument index="2">
+ <reference-count action="add"/>
+ </modify-argument>
+ </modify-function>
+ </object-type>
+
<object-type name="QDeclarativeEngine">
<enum-type name="ObjectOwnership" />
<modify-function signature="setNetworkAccessManagerFactory(QDeclarativeNetworkAccessManagerFactory*)">