Mercurial > projects > qtd
comparison generator/typesystem_svg-java.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 <typesystem package="qt.svg" default-superclass="qt.QtJambiObject"> | |
2 <inject-code> | |
3 qt.Utilities.loadQtLibrary("QtXml"); | |
4 qt.Utilities.loadQtLibrary("QtGui"); | |
5 qt.Utilities.loadQtLibrary("QtSvg"); | |
6 </inject-code> | |
7 | |
8 | |
9 <object-type name="QGraphicsSvgItem" delete-in-main-thread="yes"> | |
10 <modify-function signature="setGroup(QGraphicsItemGroup*)"> | |
11 <modify-argument index="1"> | |
12 <!-- Handled by injected code in QGraphicsItem --> | |
13 <reference-count action="ignore" /> | |
14 </modify-argument> | |
15 </modify-function> | |
16 <modify-function signature="setParentItem(QGraphicsItem*)"> | |
17 <modify-argument index="1"> | |
18 <!-- Handled by injected code in QGraphicsItem --> | |
19 <reference-count action="ignore" /> | |
20 </modify-argument> | |
21 </modify-function> | |
22 <modify-function signature="setSharedRenderer(QSvgRenderer*)"> | |
23 <modify-argument index="1"> | |
24 <define-ownership class="java" owner="c++" /> | |
25 </modify-argument> | |
26 <inject-code position="beginning"> | |
27 QSvgRenderer oldRenderer = renderer(); | |
28 </inject-code> | |
29 <inject-code position="end"> | |
30 if (oldRenderer != null) | |
31 oldRenderer.reenableGarbageCollection(); | |
32 </inject-code> | |
33 </modify-function> | |
34 <modify-function signature="QGraphicsSvgItem(QGraphicsItem*)"> | |
35 <inject-code position="end"> | |
36 <argument-map index="1" meta-name="%1" /> | |
37 if (%1 != null) disableGarbageCollection(); | |
38 </inject-code> | |
39 </modify-function> | |
40 <modify-function signature="QGraphicsSvgItem(const QString &,QGraphicsItem*)"> | |
41 <inject-code position="end"> | |
42 <argument-map index="2" meta-name="%2" /> | |
43 if (%2 != null) disableGarbageCollection(); | |
44 </inject-code> | |
45 </modify-function> | |
46 | |
47 </object-type> | |
48 | |
49 <suppress-warning text="WARNING(CppImplGenerator) :: protected function '*' in final class '*'" /> | |
50 <suppress-warning text="WARNING(MetaJavaBuilder) :: visibility of function '*' modified in class '*'" /> | |
51 <suppress-warning text="WARNING(MetaJavaBuilder) :: hiding of function '*' in class '*'" /> | |
52 </typesystem> |