diff options
author | Carlos Goncalves <mail@cgoncalves.info> | 2010-02-28 02:21:13 +0000 |
---|---|---|
committer | Marcelo Lira <marcelo.lira@openbossa.org> | 2010-03-02 21:02:17 -0300 |
commit | 8bc7aa50c6e875461787ce9c6b5e2edb01de78bc (patch) | |
tree | a83614d46d878b849798a6c780bd0535e370a511 /PySide/QtSvg/typesystem_svg.xml | |
parent | 0d9b1dca7fcdae9ceb1d31c2f21926c2b06e7802 (diff) |
Initial QtSvg bindings
Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'PySide/QtSvg/typesystem_svg.xml')
-rw-r--r-- | PySide/QtSvg/typesystem_svg.xml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/PySide/QtSvg/typesystem_svg.xml b/PySide/QtSvg/typesystem_svg.xml new file mode 100644 index 000000000..f7932ba6d --- /dev/null +++ b/PySide/QtSvg/typesystem_svg.xml @@ -0,0 +1,34 @@ +<?xml version="1.0"?> +<typesystem package="PySide.QtSvg"> + <load-typesystem name="typesystem_gui.xml.in" generate="no"/> + + <object-type name="QSvgRenderer" /> + <object-type name="QSvgWidget" /> + + <object-type name="QSvgGenerator"> + <modify-function signature="setOutputDevice(QIODevice*)"> + <modify-argument index="1"> + <reference-count action="add"/> + </modify-argument> + </modify-function> + + <modify-function signature="outputDevice() const"> + <modify-argument index="return"> + <define-ownership class="target" owner="default"/> + </modify-argument> + </modify-function> + </object-type> + + <object-type name="QGraphicsSvgItem"> + <modify-function signature="QGraphicsSvgItem(QGraphicsItem*)"> + <modify-argument index="this"> + <parent index="1" action="add"/> + </modify-argument> + </modify-function> + <modify-function signature="QGraphicsSvgItem(const QString&, QGraphicsItem*)"> + <modify-argument index="this"> + <parent index="2" action="add"/> + </modify-argument> + </modify-function> + </object-type> +</typesystem> |