Mercurial > projects > qtd
comparison generator/typesystem_svg.xml @ 1:e78566595089
initial import
author | mandel |
---|---|
date | Mon, 11 May 2009 16:01:50 +0000 |
parents | |
children | 8022ef40f110 |
comparison
equal
deleted
inserted
replaced
0:36fb74dc547d | 1:e78566595089 |
---|---|
1 <?xml version="1.0" encoding="UTF-8"?> | |
2 <typesystem package="qt.svg" default-superclass="qt.QtJambiObject"> | |
3 <inject-code> | |
4 qt.Utilities.loadQtLibrary("QtXml"); | |
5 qt.Utilities.loadQtLibrary("QtGui"); | |
6 qt.Utilities.loadQtLibrary("QtSvg"); | |
7 </inject-code> | |
8 <suppress-warning text="WARNING(CppImplGenerator) :: protected function '*' in final class '*'"/> | |
9 <suppress-warning text="WARNING(MetaJavaBuilder) :: visibility of function '*' modified in class '*'"/> | |
10 <suppress-warning text="WARNING(MetaJavaBuilder) :: hiding of function '*' in class '*'"/> | |
11 <namespace-type name="QSvg"/> | |
12 | |
13 <enum-type name="QGraphicsSvgItem::enum_1"/> | |
14 | |
15 <object-type name="QSvgRenderer"> | |
16 <extra-includes> | |
17 <include file-name="QRectF" location="global"/> | |
18 <include file-name="QMatrix" location="global"/> | |
19 <include file-name="QSize" location="global"/> | |
20 <include file-name="QByteArray" location="global"/> | |
21 </extra-includes> | |
22 </object-type> | |
23 | |
24 <object-type name="QSvgWidget"> | |
25 <extra-includes> | |
26 <include file-name="QByteArray" location="global"/> | |
27 <include file-name="QSvgRenderer" location="global"/> | |
28 <include file-name="QSize" location="global"/> | |
29 </extra-includes> | |
30 </object-type> | |
31 | |
32 <object-type name="QSvgGenerator"> | |
33 <modify-function signature="setOutputDevice(QIODevice*)"> | |
34 <modify-argument index="1"> | |
35 <reference-count action="set" variable-name="__rcOutputDevice"/> | |
36 </modify-argument> | |
37 </modify-function> | |
38 </object-type> | |
39 | |
40 <object-type name="QGraphicsSvgItem" delete-in-main-thread="yes"> | |
41 <extra-includes> | |
42 <include file-name="QGraphicsItem" location="global"/> | |
43 <include file-name="QSvgRenderer" location="global"/> | |
44 <include file-name="QSize" location="global"/> | |
45 </extra-includes> | |
46 | |
47 <modify-function signature="matrix()const" remove="all"/> | |
48 <modify-function signature="resetMatrix()" remove="all"/> | |
49 <modify-function signature="sceneMatrix()const" remove="all"/> | |
50 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> | |
51 | |
52 <modify-function signature="setGroup(QGraphicsItemGroup*)"> | |
53 <modify-argument index="1"> | |
54 <!-- Handled by injected code in QGraphicsItem --> | |
55 <reference-count action="ignore"/> | |
56 </modify-argument> | |
57 </modify-function> | |
58 <modify-function signature="setParentItem(QGraphicsItem*)"> | |
59 <modify-argument index="1"> | |
60 <!-- Handled by injected code in QGraphicsItem --> | |
61 <reference-count action="ignore"/> | |
62 </modify-argument> | |
63 </modify-function> | |
64 <modify-function signature="setSharedRenderer(QSvgRenderer*)"> | |
65 <modify-argument index="1"> | |
66 <define-ownership class="java" owner="c++"/> | |
67 </modify-argument> | |
68 <inject-code position="beginning"> | |
69 QSvgRenderer oldRenderer = renderer(); | |
70 </inject-code> | |
71 <inject-code position="end"> | |
72 if (oldRenderer != null) | |
73 oldRenderer.reenableGarbageCollection(); | |
74 </inject-code> | |
75 </modify-function> | |
76 <modify-function signature="QGraphicsSvgItem(QGraphicsItem*)"> | |
77 <inject-code position="end"> | |
78 <argument-map index="1" meta-name="%1"/> | |
79 if (%1 != null) disableGarbageCollection(); | |
80 </inject-code> | |
81 </modify-function> | |
82 <modify-function signature="QGraphicsSvgItem(const QString &,QGraphicsItem*)"> | |
83 <inject-code position="end"> | |
84 <argument-map index="2" meta-name="%2"/> | |
85 if (%2 != null) disableGarbageCollection(); | |
86 </inject-code> | |
87 </modify-function> | |
88 | |
89 </object-type> | |
90 | |
91 </typesystem> |