diff options
author | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-12-28 12:21:50 -0200 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2010-12-29 10:14:28 -0200 |
commit | 4b6cc4d478726762d71578a8e2cd0049740d84a6 (patch) | |
tree | 585ec6bec17000a1cbff1cdf882c79ca3b0cfc22 | |
parent | db4d3244978510da9fe058596e2a52b651370986 (diff) | |
download | pyside-4b6cc4d478726762d71578a8e2cd0049740d84a6.tar.gz pyside-4b6cc4d478726762d71578a8e2cd0049740d84a6.tar.xz pyside-4b6cc4d478726762d71578a8e2cd0049740d84a6.zip |
Changes the arg name from p to parent to make parent heuristic work.
-rw-r--r-- | PySide/QtDeclarative/typesystem_declarative.xml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/PySide/QtDeclarative/typesystem_declarative.xml b/PySide/QtDeclarative/typesystem_declarative.xml index d4edee8..05d72e8 100644 --- a/PySide/QtDeclarative/typesystem_declarative.xml +++ b/PySide/QtDeclarative/typesystem_declarative.xml @@ -79,6 +79,11 @@ <object-type name="QDeclarativeEngine"> <enum-type name="ObjectOwnership" /> + <modify-function signature="QDeclarativeEngine(QObject*)"> + <modify-argument index="1"> + <rename to="parent" /> <!-- Qt names this just p --> + </modify-argument> + </modify-function> <modify-function signature="setNetworkAccessManagerFactory(QDeclarativeNetworkAccessManagerFactory*)"> <modify-argument index="1"> <parent index="this" action="add" /> |