diff options
author | Renato Filho <renato.filho@openbossa.org> | 2011-04-18 14:49:33 -0300 |
---|---|---|
committer | Hugo Parente Lima <hugo.pl@gmail.com> | 2012-03-08 16:54:12 -0300 |
commit | dab522fe31c1fdae817f93d8d3621086e4e959e1 (patch) | |
tree | 588e6e2514053b792bc5306443d9ec8565c1c810 /PySide/typesystem_templates.xml | |
parent | bba3918943835e941a8eb3beaa89d1d452518c66 (diff) |
Implemented function ObjectDescription.fromIndex.
Fixes bug #787.
Reviewer: Luciano Wolf <luciano.wolf@openbossa.org>
Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide/typesystem_templates.xml')
-rw-r--r-- | PySide/typesystem_templates.xml | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/PySide/typesystem_templates.xml b/PySide/typesystem_templates.xml index 0f0e934bd..613a2b9ae 100644 --- a/PySide/typesystem_templates.xml +++ b/PySide/typesystem_templates.xml @@ -343,5 +343,9 @@ %PYARG_0 = %CONVERTTOPYTHON[%CPPSELF_TYPE]((*%CPPSELF)++); </template> + <template name="ObjectDescription.fromIndex"> + %PYARG_0 = %CONVERTTOPYTHON[%RETURN_TYPE](%RETURN_TYPE::fromIndex(%1)); + </template> + </typesystem> |