Mercurial > projects > qtd
annotate generator/typesystem_gui.xml @ 55:63c31e221118
CMake: Add forgotten files to install.
author | SokoL_SD |
---|---|
date | Mon, 18 May 2009 19:03:06 +0000 |
parents | 3cb15c92ac28 |
children | 753b1973273b |
rev | line source |
---|---|
1 | 1 <?xml version="1.0" encoding="UTF-8"?> |
2 <typesystem package="qt.gui" default-superclass="QtDObject"> | |
44 | 3 <depend package="qt.core" /> |
1 | 4 <inject-code> |
5 qt.Utilities.loadQtLibrary("QtGui"); | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
6 </inject-code> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
7 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
8 <template name="gui.class_from_variant_java"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
9 public this(QVariant arg__1) { |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
10 void* __qt_return_value = qtd_%CLASS_NAME_%CLASS_NAME_QVariant(cast(void*) this, arg__1 is null ? null : arg__1.nativeId); |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
11 super(__qt_return_value); |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
12 } |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
13 </template> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
14 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
15 <template name="gui.class_from_variant_java_free"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
16 private extern (C) void* qtd_%CLASS_NAME_%CLASS_NAME_QVariant(void *d_ptr, |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
17 void* arg__1); |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
18 </template> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
19 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
20 <template name="gui.class_from_variant_native"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
21 // %CLASS_NAME from QVariant |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
22 extern "C" DLL_PUBLIC void* qtd_%CLASS_NAME_%CLASS_NAME_QVariant |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
23 (void *d_ptr, |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
24 void* arg__1) |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
25 { |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
26 const QVariant& __qt_arg__1 = (const QVariant& ) *(QVariant *)arg__1; |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
27 %CLASS_NAME __qt_casted = qvariant_cast<%CLASS_NAME>(__qt_arg__1); |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
28 %CLASS_NAME *__qt_this = new %CLASS_NAME((const %CLASS_NAME& )__qt_casted); |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
29 return (void *) __qt_this; |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
30 } |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
31 </template> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
32 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
33 <template name="gui.class_from_variant_native_shell"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
34 // %CLASS_NAME from QVariant |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
35 extern "C" DLL_PUBLIC void* qtd_%CLASS_NAME_%CLASS_NAME_QVariant |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
36 (void *d_ptr, |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
37 void* arg__1) |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
38 { |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
39 const QVariant& __qt_arg__1 = (const QVariant& ) *(QVariant *)arg__1; |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
40 %CLASS_NAME __qt_casted = qvariant_cast<%CLASS_NAME>(__qt_arg__1); |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
41 %CLASS_NAME_QtDShell *__qt_this = new %CLASS_NAME_QtDShell(d_ptr, (const %CLASS_NAME& )__qt_casted); |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
42 return (void *) __qt_this; |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
43 } |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
44 </template> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
45 <!-- without shell |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
46 <inject-code class="java"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
47 <insert-template name="gui.class_from_variant_java"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
48 <replace from="%CLASS_NAME" to=""/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
49 </insert-template> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
50 </inject-code> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
51 <inject-code class="java-free"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
52 <insert-template name="gui.class_from_variant_java_free"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
53 <replace from="%CLASS_NAME" to=""/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
54 </insert-template> |
1 | 55 </inject-code> |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
56 <inject-code class="native"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
57 <insert-template name="gui.class_from_variant_native"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
58 <replace from="%CLASS_NAME" to=""/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
59 </insert-template> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
60 </inject-code> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
61 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
62 with shell |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
63 <inject-code class="java"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
64 <insert-template name="gui.class_from_variant_java"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
65 <replace from="%CLASS_NAME" to=""/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
66 </insert-template> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
67 </inject-code> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
68 <inject-code class="java-free"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
69 <insert-template name="gui.class_from_variant_java_free"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
70 <replace from="%CLASS_NAME" to=""/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
71 </insert-template> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
72 </inject-code> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
73 <inject-code class="native"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
74 <insert-template name="gui.class_from_variant_native_shell"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
75 <replace from="%CLASS_NAME" to=""/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
76 </insert-template> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
77 </inject-code> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
78 --> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
79 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
80 |
1 | 81 <template name="gui.getter_returning_nativepointer"> |
82 public final %RETURN_TYPE %FUNCTION_NAME() { | |
83 QNativePointer np = %FUNCTION_NAME_private(); | |
84 %RETURN_TYPE tmp = np == null ? null : %RETURN_TYPE.fromNativePointer(np); | |
85 return tmp == null ? null : new %RETURN_TYPE(tmp); | |
86 } | |
87 | |
88 </template> | |
89 <template name="gui.init_style_option"> | |
90 protected final void initStyleOption(%TYPE option) { | |
91 initStyleOption(option.nativePointer()); | |
92 } | |
93 </template> | |
94 <template name="gui.convert_validationdata_to_java"> | |
95 StaticCache *sc = StaticCache::instance(); | |
96 sc->resolveValidationData(); | |
97 jstring __qt_converted_input = qtjambi_from_qstring(__jni_env, %STRING); | |
98 jobject %out = __jni_env->NewObject(sc->ValidationData.class_ref, sc->ValidationData.constructor, __qt_converted_input, %POS); | |
99 jobject __java_validation_data = %out; | |
100 </template> | |
101 <template name="gui.cleanup_validationdata_from_java"> | |
102 __jni_env->SetIntField(%1, sc->ValidationData.position, *__position_ptr); | |
103 __jni_env->SetObjectField(%1, sc->ValidationData.string, qtjambi_from_qstring(__jni_env, *__string_ptr)); | |
104 </template> | |
105 <template name="gui.convert_validationdata_to_string"> | |
106 StaticCache *sc = StaticCache::instance(); | |
107 sc->resolveValidationData(); | |
108 jstring __java_string = (jstring) __jni_env->GetObjectField(%in, sc->ValidationData.string); | |
109 QString %out = __java_string == 0 ? QString() : qtjambi_to_qstring(__jni_env, __java_string); | |
110 QString *__string_ptr = &%out; | |
111 </template> | |
112 <template name="gui.convert_validationdata_to_pos"> | |
113 int %out = __jni_env->GetIntField(%1, sc->ValidationData.position); | |
114 int *__position_ptr = &%out; | |
115 </template> | |
116 <template name="gui.cleanup_validationdata_to_java"> | |
117 jstring __java_string = (jstring) __jni_env->GetObjectField(__java_validation_data, sc->ValidationData.string); | |
118 %STRING = __java_string == 0 ? QString() : qtjambi_to_qstring(__jni_env, __java_string); | |
119 %POS = __jni_env->GetIntField(__java_validation_data, sc->ValidationData.position); | |
120 </template> | |
121 <template name="gui.convert_object_array_to_java"> | |
122 jobjectArray %out = 0; | |
123 | |
124 { | |
125 jclass __resolved_class = resolveClass(__jni_env, "%CLASSNAME_ARRAY", "%PACKAGE_ARRAY"); | |
126 QTJAMBI_EXCEPTION_CHECK(__jni_env); | |
127 Q_ASSERT(__resolved_class != 0); | |
128 | |
129 %out = %in == 0 ? 0 : __jni_env->NewObjectArray(%LENGTH, __resolved_class, 0); | |
130 QTJAMBI_EXCEPTION_CHECK(__jni_env); | |
131 if (%out != 0) { | |
132 for (int i=0; i<%LENGTH; ++i) { | |
133 __jni_env->SetObjectArrayElement(%out, i, qtjambi_from_object(__jni_env, %REFERENCE %in[i], "%CLASSNAME", "%PACKAGE", %LOOKUP true)); | |
134 } | |
135 } | |
136 } | |
137 </template> | |
138 <template name="gui.convert_graphicsitem_array_to_java"> | |
139 <insert-template name="gui.convert_object_array_to_java"> | |
140 <replace from="%CLASSNAME_ARRAY" to="QGraphicsItemInterface"/> | |
141 <replace from="%PACKAGE_ARRAY" to="com/trolltech/qt/gui/"/> | |
142 <replace from="%CLASSNAME" to="QGraphicsItem$ConcreteWrapper"/> | |
143 <replace from="%PACKAGE" to="com/trolltech/qt/gui/"/> | |
144 <replace from="%LOOKUP" to=""/> | |
145 <replace from="%REFERENCE" to=""/> | |
146 </insert-template> | |
147 </template> | |
148 <template name="gui.convert_styleoptiongraphicsitem_array_to_java"> | |
149 <insert-template name="gui.convert_object_array_to_java"> | |
150 <replace from="%CLASSNAME_ARRAY" to="QStyleOptionGraphicsItem"/> | |
151 <replace from="%PACKAGE_ARRAY" to="com/trolltech/qt/gui/"/> | |
152 <replace from="%CLASSNAME" to="QStyleOptionGraphicsItem"/> | |
153 <replace from="%PACKAGE" to="com/trolltech/qt/gui/"/> | |
154 <replace from="%LOOKUP" to=""Lcom_trolltech_qt_gui_QStyleOption_2","/> | |
155 <replace from="%REFERENCE" to="&"/> | |
156 </insert-template> | |
157 </template> | |
158 <template name="gui.convert_interface_array_from_java"> | |
159 %CLASSNAME *%out = 0; | |
160 QVarLengthArray<%CLASSNAME, 256> __interfaceArray(__length); | |
161 if (%in != 0) { | |
162 for (int i=0; i<__length; ++i) { | |
163 __interfaceArray[i] = (%CLASSNAME) %CONVERSION_FUNCTION(__jni_env, __jni_env->GetObjectArrayElement((jobjectArray) %in, i) %EXTRA); | |
164 } | |
165 } | |
166 %out = %in == 0 ? 0 : __interfaceArray.data(); | |
167 </template> | |
168 <template name="gui.convert_object_array_from_java"> | |
169 %CLASSNAME *%out = 0; | |
170 QVarLengthArray<%CLASSNAME, 256> __array(__length); | |
171 if (%in != 0) { | |
172 for (int i=0; i<__length; ++i) { | |
173 __array[i] = *(%CLASSNAME *) %CONVERSION_FUNCTION(__jni_env, __jni_env->GetObjectArrayElement((jobjectArray) %in, i) %EXTRA); | |
174 } | |
175 } | |
176 %out = %in == 0 ? 0 : __array.data(); | |
177 </template> | |
178 <template name="gui.convert_graphicsitem_array_from_java"> | |
179 <insert-template name="gui.convert_interface_array_from_java"> | |
180 <replace from="%CLASSNAME" to="QGraphicsItem *"/> | |
181 <replace from="%EXTRA" to=", "QGraphicsItemInterface", "com/trolltech/qt/gui/", "__qt_cast_to_QGraphicsItem""/> | |
182 <replace from="%CONVERSION_FUNCTION" to="qtjambi_to_interface"/> | |
183 </insert-template> | |
184 </template> | |
185 <template name="gui.convert_styleoptiongraphicsitem_array_from_java"> | |
186 <insert-template name="gui.convert_object_array_from_java"> | |
187 <replace from="%CLASSNAME" to="QStyleOptionGraphicsItem"/> | |
188 <replace from="%EXTRA" to=""/> | |
189 <replace from="%CONVERSION_FUNCTION" to="qtjambi_to_object"/> | |
190 </insert-template> | |
191 </template> | |
192 <template name="gui::qstyleoption_from_object"> | |
193 jobject %out = qtjambi_from_object(__jni_env, %in, "QStyleOption", "com/trolltech/qt/gui/", "Lcom_trolltech_qt_gui_QStyleOption_2", true); | |
194 </template> | |
195 <template name="gui::qstyleoptioncomplex_from_object"> | |
196 jobject %out = qtjambi_from_object(__jni_env, %in, "QStyleOptionComplex", "com/trolltech/qt/gui/", "Lcom_trolltech_qt_gui_QStyleOption_2", true); | |
197 </template> | |
198 <template name="gui::qstyleoption_to_object"> | |
199 QStyleOption *%out = (QStyleOption *) qtjambi_to_object(__jni_env, %in); | |
200 </template> | |
201 <template name="gui.inputDialog_get_input"> | |
202 public static %RETURN_TYPE %FUNCTION_NAME(qt.gui.QWidget parent, java.lang.String title, java.lang.String label, %EXTRA, qt.core.Qt.WindowFlags f) { | |
203 qt.QNativePointer ok = new qt.QNativePointer(qt.QNativePointer.Type.Boolean); | |
204 %RETURN_TYPE result = %FUNCTION_NAME_internal(parent, title, label, %CALL, ok, f); | |
205 return ok.booleanValue() ? result : null; | |
206 } | |
207 | |
208 public static %RETURN_TYPE %FUNCTION_NAME(qt.gui.QWidget parent, java.lang.String title, java.lang.String label, %EXTRA, qt.core.Qt.WindowType ... f) { | |
209 qt.QNativePointer ok = new qt.QNativePointer(qt.QNativePointer.Type.Boolean); | |
210 %RETURN_TYPE result = %FUNCTION_NAME_internal(parent, title, label, %CALL, ok, f); | |
211 return ok.booleanValue() ? result : null; | |
212 } | |
213 | |
214 public static %RETURN_TYPE %FUNCTION_NAME(qt.gui.QWidget parent, java.lang.String title, java.lang.String label, %EXTRA) { | |
215 return %FUNCTION_NAME(parent, title, label, %CALL, qt.core.Qt.WindowType.Widget); | |
216 } | |
217 | |
218 </template> | |
219 <suppress-warning text="WARNING(JavaGenerator) :: either add or remove specified for reference count variable '__rcItems' in 'qt.gui.QGraphicsGridLayout' but not both"/> | |
220 | |
221 <rejection class="*" function-name="d_func"/> | |
222 | |
223 <rejection class="*" field-name="d_ptr"/> | |
224 <rejection class="*" field-name="d"/> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
225 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
226 <rejection class="QAccessibleTableInterface"/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
227 |
1 | 228 <rejection class="QWindowsCEStyle"/> |
229 <rejection class="QWindowsMobileStyle"/> | |
230 <rejection class="QAbstractUndoItem"/> | |
231 <rejection class="QAccessibleApplication"/> | |
232 <rejection class="QBrushData"/> | |
233 <rejection class="QImageTextKeyLang"/> | |
234 <rejection class="QItemEditorCreator"/> | |
235 <rejection class="QLibrary"/> | |
236 <rejection class="QLinkedList"/> | |
237 <rejection class="QLinkedListData"/> | |
238 <rejection class="QLinkedListIterator"/> | |
239 <rejection class="QLinkedListNode"/> | |
240 <rejection class="QMimeSource"/> | |
241 <rejection class="QPainterPathPrivate"/> | |
242 <rejection class="QRegionData"/> | |
243 <rejection class="QStandardItemEditorCreator"/> | |
244 <rejection class="QStyleOptionQ3DockWindow"/> | |
245 <rejection class="QStyleOptionQ3ListView"/> | |
246 <rejection class="QStyleOptionQ3ListViewItem"/> | |
247 <rejection class="QTextFrameLayoutData"/> | |
248 <rejection class="QUpdateLaterEvent"/> | |
249 <rejection class="QVFbHeader"/> | |
250 <rejection class="QWidgetData"/> | |
251 <rejection class="QWindowSurface"/> | |
252 <rejection class="QWindowsXPStyle"/> | |
253 <rejection class="QWindowsVistaStyle"/> | |
254 <rejection class="QWSEmbedWidget"/> | |
255 <rejection class="QRegion::QRegionData"/> | |
256 <rejection class="JObject_key"/> | |
257 <rejection class="QAccessibleEditableTextInterface"/> | |
258 <rejection class="QAccessibleSimpleEditableTextInterface"/> | |
259 <rejection class="QAccessibleTextInterface"/> | |
260 <rejection class="QAccessibleValueInterface"/> | |
261 <rejection class="QIconEngineFactoryInterface"/> | |
262 <rejection class="QIconEnginePlugin"/> | |
263 <rejection class="QWidgetItemV2"/> | |
264 <rejection class="QAbstractItemDelegate" function-name="operator="/> | |
265 <rejection class="QAccessible" function-name="installFactory"/> | |
266 <rejection class="QAccessible" function-name="installRootObjectHandler"/> | |
267 <rejection class="QAccessible" function-name="installUpdateHandler"/> | |
268 <rejection class="QAccessible" function-name="removeFactory"/> | |
269 <rejection class="QApplication" function-name="compressEvent"/> | |
270 <rejection class="QBrush" function-name="cleanUp"/> | |
271 <rejection class="QPictureIO" function-name="defineIOHandler"/> | |
272 <rejection class="QPolygon" function-name="putPoints"/> | |
273 <rejection class="QPolygon" function-name="setPoints"/> | |
274 <rejection class="QPolygon" function-name="setPoint"/> | |
275 <rejection class="QPolygon" function-name="points"/> | |
276 <rejection class="QPolygon" function-name="point"/> | |
277 <rejection class="QPrinter" function-name="printerSelectionOption"/> | |
278 <rejection class="QPrinter" function-name="setPrinterSelectionOption"/> | |
279 <rejection class="QWidget" function-name="create"/> | |
280 <rejection class="QWidget" function-name="find"/> | |
281 <rejection class="QWidget" function-name="handle"/> | |
282 <rejection class="QWidget" function-name="styleChange"/> | |
283 <rejection class="QWidget" function-name="internalWinId"/> | |
284 <rejection class="QActionGroup" function-name="selected"/> | |
285 <rejection class="QPaintEngine" function-name="fix_neg_rect"/> | |
286 <rejection class="QTreeModel" function-name="node"/> | |
287 <rejection class="QTreeModel" function-name="initializeNode"/> | |
288 <rejection class="QTreeModel" function-name="queryChildren"/> | |
289 <rejection class="QAccessible" function-name="cast_helper"/> | |
290 <rejection class="QAccessible2"/> | |
291 <rejection class="QAccessibleInterface" function-name="backgroundColor"/> | |
292 <rejection class="QAccessibleInterface" function-name="foregroundColor"/> | |
293 <rejection class="QAccessibleInterface" function-name="textInterface"/> | |
294 <rejection class="QAccessibleInterface" function-name="valueInterface"/> | |
295 <rejection class="QAccessibleInterface" function-name="tableInterface"/> | |
296 <rejection class="QAccessibleInterface" function-name="editableTextInterface"/> | |
297 <rejection class="QAccessibleInterface" function-name="cast_helper"/> | |
298 <rejection class="QAccessibleInterfaceEx" function-name="interface_cast"/> | |
299 <rejection class="QAccessibleBridgePlugin"/> | |
300 <rejection class="QAccessibleBridgeFactoryInterface"/> | |
301 <rejection class="QTabletEvent" field-name="mExtra"/> | |
302 <rejection class="QWidgetItem" field-name="wid"/> | |
303 <rejection class="QFont" enum-name="ResolveProperties"/> | |
304 | |
305 <enum-type name="QAbstractItemDelegate::EndEditHint"/> | |
306 <enum-type name="QAbstractItemView::CursorAction"/> | |
307 <enum-type name="QAbstractItemView::DragDropMode"/> | |
308 <enum-type name="QAbstractItemView::DropIndicatorPosition"/> | |
309 <enum-type name="QAbstractItemView::EditTrigger" flags="QAbstractItemView::EditTriggers"/> | |
310 <enum-type name="QAbstractItemView::ScrollHint"/> | |
311 <enum-type name="QAbstractItemView::ScrollMode"/> | |
312 <enum-type name="QAbstractItemView::SelectionBehavior"/> | |
313 <enum-type name="QAbstractItemView::SelectionMode"/> | |
314 <enum-type name="QAbstractItemView::State"/> | |
315 <enum-type name="QAbstractPrintDialog::PrintDialogOption" flags="QAbstractPrintDialog::PrintDialogOptions"/> | |
316 <enum-type name="QAbstractPrintDialog::PrintRange"/> | |
317 <enum-type name="QAbstractSlider::SliderAction"/> | |
318 <enum-type name="QAbstractSlider::SliderChange"/> | |
319 <enum-type name="QAbstractSpinBox::ButtonSymbols"/> | |
320 <enum-type name="QAbstractSpinBox::CorrectionMode"/> | |
321 <enum-type name="QAbstractSpinBox::StepEnabledFlag" flags="QAbstractSpinBox::StepEnabled"/> | |
322 <enum-type name="QAccessible::Event"/> | |
323 <enum-type name="QAccessible::Method"/> | |
324 <enum-type name="QAccessible::RelationFlag" flags="QAccessible::Relation"/> | |
325 <enum-type name="QAccessible::Role"/> | |
326 <enum-type name="QAccessible::StateFlag" flags="QAccessible::State"/> | |
327 <enum-type name="QAccessible::Text"/> | |
328 <enum-type name="QDesktopServices::StandardLocation"/> | |
329 <enum-type name="QDirModel::Roles"/> | |
330 <enum-type name="QFont::Capitalization"/> | |
331 <enum-type name="QFont::SpacingType"/> | |
332 <enum-type name="QGraphicsItem::CacheMode"/> | |
333 <enum-type name="QMdiArea::AreaOption" flags="QMdiArea::AreaOptions"/> | |
334 <enum-type name="QMdiArea::WindowOrder"/> | |
335 <enum-type name="QMdiArea::ViewMode"/> | |
336 <enum-type name="QFileSystemModel::Roles"/> | |
337 <enum-type name="QFormLayout::FieldGrowthPolicy"/> | |
338 <enum-type name="QFormLayout::FormStyle"/> | |
339 <enum-type name="QFormLayout::ItemRole"/> | |
340 <enum-type name="QFormLayout::RowWrapPolicy"/> | |
341 <enum-type name="QGraphicsProxyWidget::enum_1"/> | |
342 <enum-type name="QGraphicsWidget::enum_1"/> | |
343 <enum-type name="QPlainTextEdit::LineWrapMode"/> | |
344 <enum-type name="QPrintPreviewWidget::ViewMode"/> | |
345 <enum-type name="QPrintPreviewWidget::ZoomMode"/> | |
346 <enum-type name="QStyleOptionViewItemV4::StyleOptionVersion"/> | |
347 <enum-type name="QStyleOptionViewItemV4::ViewItemPosition"/> | |
348 | |
349 <enum-type name="QMdiSubWindow::SubWindowOption" flags="QMdiSubWindow::SubWindowOptions"/> | |
350 | |
351 <enum-type name="QAction::ActionEvent"/> | |
352 <enum-type name="QAction::MenuRole"/> | |
353 <enum-type name="QApplication::ColorSpec"/> | |
354 <enum-type name="QApplication::Type"/> | |
355 <enum-type name="QCalendarWidget::HorizontalHeaderFormat"/> | |
356 <enum-type name="QCalendarWidget::SelectionMode"/> | |
357 <enum-type name="QCalendarWidget::VerticalHeaderFormat"/> | |
358 <enum-type name="QColor::Spec"/> | |
359 <enum-type name="QColormap::Mode"/> | |
360 <enum-type name="QComboBox::InsertPolicy"/> | |
361 <enum-type name="QComboBox::SizeAdjustPolicy"/> | |
362 <enum-type name="QCompleter::CompletionMode"/> | |
363 <enum-type name="QCompleter::ModelSorting"/> | |
364 <enum-type name="QContextMenuEvent::Reason"/> | |
365 <enum-type name="QDataWidgetMapper::SubmitPolicy"/> | |
366 <enum-type name="QDateTimeEdit::Section" flags="QDateTimeEdit::Sections"/> | |
367 <enum-type name="QDialog::DialogCode"/> | |
368 <enum-type name="QDialogButtonBox::ButtonLayout"/> | |
369 <enum-type name="QDialogButtonBox::ButtonRole"/> | |
370 <enum-type name="QFileDialog::AcceptMode"/> | |
371 <enum-type name="QFileDialog::DialogLabel"/> | |
372 <enum-type name="QFileDialog::FileMode"/> | |
373 <enum-type name="QFileDialog::Option" flags="QFileDialog::Options"/> | |
374 <enum-type name="QFileDialog::ViewMode"/> | |
375 <enum-type name="QFileIconProvider::IconType"/> | |
376 <enum-type name="QFont::Stretch"/> | |
377 <enum-type name="QFont::Style"/> | |
378 <enum-type name="QFont::StyleStrategy"/> | |
379 <enum-type name="QFont::Weight"/> | |
380 <enum-type name="QFontComboBox::FontFilter" flags="QFontComboBox::FontFilters"/> | |
381 <enum-type name="QFrame::Shadow" extensible="yes"/> | |
382 <enum-type name="QFrame::Shape"/> | |
383 <enum-type name="QFrame::StyleMask"/> | |
384 <enum-type name="QGradient::CoordinateMode"/> | |
385 <enum-type name="QGradient::Spread" lower-bound="QGradient.PadSpread" upper-bound="QGradient.RepeatSpread"/> | |
386 <enum-type name="QGradient::Type"/> | |
387 <enum-type name="QGraphicsEllipseItem::enum_1"/> | |
388 <enum-type name="QGraphicsItem::Extension"/> | |
389 <enum-type name="QGraphicsItem::GraphicsItemChange"/> | |
390 <enum-type name="QGraphicsItem::GraphicsItemFlag" flags="QGraphicsItem::GraphicsItemFlags"/> | |
391 <enum-type name="QGraphicsItem::enum_1"/> | |
392 <enum-type name="QGraphicsItemGroup::enum_1"/> | |
393 <enum-type name="QGraphicsLineItem::enum_1"/> | |
394 <enum-type name="QGraphicsPathItem::enum_1"/> | |
395 <enum-type name="QGraphicsPixmapItem::ShapeMode"/> | |
396 <enum-type name="QGraphicsPixmapItem::enum_1"/> | |
397 <enum-type name="QGraphicsPolygonItem::enum_1"/> | |
398 <enum-type name="QGraphicsRectItem::enum_1"/> | |
399 <enum-type name="QGraphicsScene::ItemIndexMethod"/> | |
400 <enum-type name="QGraphicsSceneContextMenuEvent::Reason"/> | |
401 <enum-type name="QGraphicsSimpleTextItem::enum_1"/> | |
402 <enum-type name="QGraphicsTextItem::enum_1"/> | |
403 <enum-type name="QGraphicsView::CacheModeFlag" flags="QGraphicsView::CacheMode"/> | |
404 <enum-type name="QGraphicsView::DragMode"/> | |
405 <enum-type name="QGraphicsView::OptimizationFlag" flags="QGraphicsView::OptimizationFlags"/> | |
406 <enum-type name="QGraphicsView::ViewportAnchor"/> | |
407 <enum-type name="QGraphicsView::ViewportUpdateMode"/> | |
408 <enum-type name="QIcon::Mode"/> | |
409 <enum-type name="QIcon::State"/> | |
410 <enum-type name="QImage::Format"/> | |
411 <enum-type name="QImage::InvertMode"/> | |
412 <enum-type name="QImageIOHandler::ImageOption"/> | |
413 <enum-type name="QImageReader::ImageReaderError"/> | |
414 <enum-type name="QImageWriter::ImageWriterError"/> | |
415 <enum-type name="QInputContext::StandardFormat"/> | |
416 <enum-type name="QInputMethodEvent::AttributeType"/> | |
417 <enum-type name="QItemSelectionModel::SelectionFlag" flags="QItemSelectionModel::SelectionFlags"/> | |
418 <enum-type name="QKeySequence::SequenceFormat"/> | |
419 <enum-type name="QKeySequence::SequenceMatch"/> | |
420 <enum-type name="QKeySequence::StandardKey"/> | |
421 <enum-type name="QLCDNumber::Mode"/> | |
422 <enum-type name="QLCDNumber::SegmentStyle"/> | |
423 <enum-type name="QLayout::SizeConstraint"/> | |
424 <enum-type name="QLineEdit::EchoMode"/> | |
425 <enum-type name="QLineF::IntersectType"/> | |
426 <enum-type name="QListView::Flow"/> | |
427 <enum-type name="QListView::LayoutMode"/> | |
428 <enum-type name="QListView::Movement"/> | |
429 <enum-type name="QListView::ResizeMode"/> | |
430 <enum-type name="QListView::ViewMode"/> | |
431 <enum-type name="QListWidgetItem::ItemType"/> | |
432 <enum-type name="QMainWindow::DockOption" flags="QMainWindow::DockOptions"/> | |
433 <enum-type name="QMessageBox::ButtonRole"/> | |
434 <enum-type name="QMessageBox::Icon"/> | |
435 <enum-type name="QMovie::CacheMode"/> | |
436 <enum-type name="QMovie::MovieState"/> | |
437 <enum-type name="QPaintDevice::PaintDeviceMetric"/> | |
438 <enum-type name="QPaintEngine::DirtyFlag" flags="QPaintEngine::DirtyFlags"/> | |
439 <enum-type name="QPaintEngine::PaintEngineFeature" flags="QPaintEngine::PaintEngineFeatures"/> | |
440 <enum-type name="QPaintEngine::PolygonDrawMode"/> | |
441 <enum-type name="QPaintEngine::Type"/> | |
442 <enum-type name="QPageSetupDialog::PageSetupDialogOption" flags="QPageSetupDialog::PageSetupDialogOptions"/> | |
443 <enum-type name="QPainter::CompositionMode"/> | |
444 <enum-type name="QPainter::RenderHint" flags="QPainter::RenderHints"/> | |
445 <enum-type name="QPainterPath::ElementType"/> | |
446 <enum-type name="QPrintEngine::PrintEnginePropertyKey"> | |
447 <reject-enum-value name="PPK_PaperSize"/> | |
448 </enum-type> | |
449 <enum-type name="QPrinter::ColorMode"/> | |
450 <enum-type name="QPrinter::Orientation"/> | |
451 <enum-type name="QPrinter::OutputFormat"/> | |
452 <enum-type name="QPrinter::PageOrder"/> | |
453 <enum-type name="QPrinter::PaperSource"/> | |
454 <enum-type name="QPrinter::PrintRange"/> | |
455 <enum-type name="QPrinter::PrinterMode"/> | |
456 <enum-type name="QPrinter::PrinterState"/> | |
457 <enum-type name="QPrinter::Unit"/> | |
458 <enum-type name="QPrinter::DuplexMode"/> | |
459 <enum-type name="QProgressBar::Direction"/> | |
460 <enum-type name="QRegion::RegionType"/> | |
461 <enum-type name="QRubberBand::Shape"/> | |
462 <enum-type name="QSessionManager::RestartHint"/> | |
463 <enum-type name="QSizePolicy::Policy"/> | |
464 <enum-type name="QSizePolicy::PolicyFlag"/> | |
465 <enum-type name="QSizePolicy::ControlType" flags="QSizePolicy::ControlTypes"/> | |
466 <enum-type name="QStandardItem::ItemType"/> | |
467 <enum-type name="QStyle::SubControl" flags="QStyle::SubControls" extensible="yes" force-integer="yes"/> | |
468 <enum-type name="QStyle::ComplexControl" extensible="yes"/> | |
469 <enum-type name="QStyle::ContentsType" extensible="yes"/> | |
470 <enum-type name="QStyle::ControlElement" extensible="yes"/> | |
471 <enum-type name="QStyle::PixelMetric" extensible="yes"> | |
472 <reject-enum-value name="PM_MDIFrameWidth"/> | |
473 <reject-enum-value name="PM_MDIMinimizedWidth"/> | |
474 </enum-type> | |
475 <enum-type name="QStyle::PrimitiveElement" extensible="yes"> | |
476 <reject-enum-value name="PE_IndicatorItemViewItemCheck"/> | |
477 <reject-enum-value name="PE_FrameStatusBarItem"/> | |
478 </enum-type> | |
479 <enum-type name="QStyle::StandardPixmap" extensible="yes"/> | |
480 <enum-type name="QStyle::StateFlag" flags="QStyle::State"/> | |
481 <enum-type name="QStyle::SubElement" extensible="yes"> | |
482 <reject-enum-value name="SE_ItemViewItemCheckIndicator"/> | |
483 </enum-type> | |
484 <enum-type name="QStyleHintReturn::HintReturnType"/> | |
485 <enum-type name="QStyleHintReturn::StyleOptionType"/> | |
486 <enum-type name="QStyleHintReturn::StyleOptionVersion"/> | |
487 <enum-type name="QStyleHintReturnVariant::StyleOptionType"/> | |
488 <enum-type name="QStyleHintReturnVariant::StyleOptionVersion"/> | |
489 | |
490 <enum-type name="QStyleHintReturnMask::StyleOptionType"/> | |
491 <enum-type name="QStyleHintReturnMask::StyleOptionVersion"/> | |
492 <enum-type name="QStyleOption::StyleOptionType"/> | |
493 <enum-type name="QStyleOption::OptionType" extensible="yes"/> | |
494 <enum-type name="QStyleOption::StyleOptionVersion"/> | |
495 <enum-type name="QStyleOptionButton::ButtonFeature" flags="QStyleOptionButton::ButtonFeatures"/> | |
496 <enum-type name="QStyleOptionButton::StyleOptionType"/> | |
497 <enum-type name="QStyleOptionButton::StyleOptionVersion"/> | |
498 <enum-type name="QStyleOptionComboBox::StyleOptionType"/> | |
499 <enum-type name="QStyleOptionComboBox::StyleOptionVersion"/> | |
500 <enum-type name="QStyleOptionComplex::StyleOptionType"/> | |
501 <enum-type name="QStyleOptionComplex::StyleOptionVersion"/> | |
502 <enum-type name="QStyleOptionDockWidget::StyleOptionType"/> | |
503 <enum-type name="QStyleOptionDockWidget::StyleOptionVersion"/> | |
504 <enum-type name="QStyleOptionDockWidgetV2::StyleOptionVersion"/> | |
505 <enum-type name="QStyleOptionFocusRect::StyleOptionType"/> | |
506 <enum-type name="QStyleOptionFocusRect::StyleOptionVersion"/> | |
507 <enum-type name="QStyleOptionFrame::StyleOptionType"/> | |
508 <enum-type name="QStyleOptionFrame::StyleOptionVersion"/> | |
509 <enum-type name="QStyleOptionFrameV2::FrameFeature" flags="QStyleOptionFrameV2::FrameFeatures"/> | |
510 <enum-type name="QStyleOptionFrameV2::StyleOptionVersion"/> | |
511 <enum-type name="QStyleOptionGraphicsItem::StyleOptionType"/> | |
512 <enum-type name="QStyleOptionGraphicsItem::StyleOptionVersion"/> | |
513 <enum-type name="QStyleOptionGroupBox::StyleOptionType"/> | |
514 <enum-type name="QStyleOptionGroupBox::StyleOptionVersion"/> | |
515 <enum-type name="QStyleOptionHeader::SectionPosition"/> | |
516 <enum-type name="QStyleOptionHeader::SelectedPosition"/> | |
517 <enum-type name="QStyleOptionHeader::SortIndicator"/> | |
518 <enum-type name="QStyleOptionHeader::StyleOptionType"/> | |
519 <enum-type name="QStyleOptionHeader::StyleOptionVersion"/> | |
520 <enum-type name="QStyleOptionMenuItem::CheckType"/> | |
521 <enum-type name="QStyleOptionMenuItem::MenuItemType"/> | |
522 <enum-type name="QStyleOptionMenuItem::StyleOptionType"/> | |
523 <enum-type name="QStyleOptionMenuItem::StyleOptionVersion"/> | |
524 <enum-type name="QStyleOptionProgressBar::StyleOptionType"/> | |
525 <enum-type name="QStyleOptionProgressBar::StyleOptionVersion"/> | |
526 <enum-type name="QStyleOptionProgressBarV2::StyleOptionType"/> | |
527 <enum-type name="QStyleOptionProgressBarV2::StyleOptionVersion"/> | |
528 <enum-type name="QStyleOptionRubberBand::StyleOptionType"/> | |
529 <enum-type name="QStyleOptionRubberBand::StyleOptionVersion"/> | |
530 <enum-type name="QStyleOptionSizeGrip::StyleOptionType"/> | |
531 <enum-type name="QStyleOptionSizeGrip::StyleOptionVersion"/> | |
532 <enum-type name="QStyleOptionSlider::StyleOptionType"/> | |
533 <enum-type name="QStyleOptionSlider::StyleOptionVersion"/> | |
534 <enum-type name="QStyleOptionSpinBox::StyleOptionType"/> | |
535 <enum-type name="QStyleOptionSpinBox::StyleOptionVersion"/> | |
536 <enum-type name="QStyleOptionTab::CornerWidget" flags="QStyleOptionTab::CornerWidgets"/> | |
537 <enum-type name="QStyleOptionTab::SelectedPosition"/> | |
538 <enum-type name="QStyleOptionTab::StyleOptionType"/> | |
539 <enum-type name="QStyleOptionTab::StyleOptionVersion"/> | |
540 <enum-type name="QStyleOptionTab::TabPosition"/> | |
541 <enum-type name="QStyleOptionTabBarBase::StyleOptionType"/> | |
542 <enum-type name="QStyleOptionTabBarBase::StyleOptionVersion"/> | |
543 <enum-type name="QStyleOptionTabV2::StyleOptionVersion"/> | |
544 <enum-type name="QStyleOptionTabWidgetFrame::StyleOptionType"/> | |
545 <enum-type name="QStyleOptionTabWidgetFrame::StyleOptionVersion"/> | |
546 <enum-type name="QStyleOptionTitleBar::StyleOptionType"/> | |
547 <enum-type name="QStyleOptionTitleBar::StyleOptionVersion"/> | |
548 <enum-type name="QStyleOptionToolBar::StyleOptionType"/> | |
549 <enum-type name="QStyleOptionToolBar::StyleOptionVersion"/> | |
550 <enum-type name="QStyleOptionToolBar::ToolBarFeature" flags="QStyleOptionToolBar::ToolBarFeatures"/> | |
551 <enum-type name="QStyleOptionToolBar::ToolBarPosition"/> | |
552 <enum-type name="QStyleOptionToolBox::StyleOptionType"/> | |
553 <enum-type name="QStyleOptionToolBox::StyleOptionVersion"/> | |
554 <enum-type name="QStyleOptionToolButton::StyleOptionType"/> | |
555 <enum-type name="QStyleOptionToolButton::StyleOptionVersion"/> | |
556 <enum-type name="QStyleOptionToolButton::ToolButtonFeature" flags="QStyleOptionToolButton::ToolButtonFeatures"> | |
557 <reject-enum-value name="MenuButtonPopup"/> | |
558 </enum-type> | |
559 <enum-type name="QStyleOptionViewItem::Position"/> | |
560 <enum-type name="QStyleOptionViewItem::StyleOptionType"/> | |
561 <enum-type name="QStyleOptionViewItem::StyleOptionVersion"/> | |
562 <enum-type name="QStyleOptionViewItemV2::StyleOptionVersion"/> | |
563 <enum-type name="QStyleOptionViewItemV2::ViewItemFeature" flags="QStyleOptionViewItemV2::ViewItemFeatures"/> | |
564 <enum-type name="QSystemTrayIcon::ActivationReason"/> | |
565 <enum-type name="QSystemTrayIcon::MessageIcon"/> | |
566 <enum-type name="QTabBar::Shape"/> | |
567 <enum-type name="QTabWidget::TabPosition"/> | |
568 <enum-type name="QTabWidget::TabShape"/> | |
569 <enum-type name="QTableWidgetItem::ItemType"/> | |
570 <enum-type name="QTabletEvent::PointerType"/> | |
571 <enum-type name="QTabletEvent::TabletDevice"/> | |
572 <enum-type name="QTextCharFormat::UnderlineStyle"/> | |
573 <enum-type name="QTextCharFormat::VerticalAlignment"/> | |
574 <enum-type name="QTextCursor::MoveMode"/> | |
575 <enum-type name="QTextCursor::MoveOperation"/> | |
576 <enum-type name="QTextCursor::SelectionType"/> | |
577 <enum-type name="QTextDocument::FindFlag" flags="QTextDocument::FindFlags"/> | |
578 <enum-type name="QTextDocument::MetaInformation"/> | |
579 <enum-type name="QTextDocument::ResourceType"/> | |
580 <enum-type name="QTextEdit::AutoFormattingFlag" flags="QTextEdit::AutoFormatting"/> | |
581 <enum-type name="QTextEdit::LineWrapMode"/> | |
582 <enum-type name="QTextFormat::ObjectTypes"/> | |
583 <enum-type name="QTextFormat::PageBreakFlag" flags="QTextFormat::PageBreakFlags"/> | |
584 <enum-type name="QTextFrameFormat::Position"/> | |
585 <enum-type name="QTextFrameFormat::BorderStyle"/> | |
586 <enum-type name="QTextItem::RenderFlag" flags="QTextItem::RenderFlags"/> | |
587 <enum-type name="QTextLayout::CursorMode"/> | |
588 <enum-type name="QTextLength::Type"/> | |
589 <enum-type name="QTextLine::CursorPosition"/> | |
590 <enum-type name="QTextLine::Edge"/> | |
591 <enum-type name="QTextListFormat::Style"/> | |
592 <enum-type name="QTextOption::Flag" flags="QTextOption::Flags"/> | |
593 <enum-type name="QTextOption::WrapMode"/> | |
594 <enum-type name="QTextOption::TabType"/> | |
595 <enum-type name="QToolButton::ToolButtonPopupMode"/> | |
596 <enum-type name="QTreeWidgetItem::ItemType"/> | |
597 <enum-type name="QTreeWidgetItemIterator::IteratorFlag" flags="QTreeWidgetItemIterator::IteratorFlags"/> | |
598 <enum-type name="QValidator::State"/> | |
599 <enum-type name="QWidget::RenderFlag" flags="QWidget::RenderFlags"/> | |
600 <enum-type name="QWorkspace::WindowOrder"/> | |
601 <enum-type name="QDoubleValidator::Notation"/> | |
602 <enum-type name="QGraphicsScene::SceneLayer" flags="QGraphicsScene::SceneLayers"/> | |
603 <enum-type name="QStyleOptionToolBoxV2::SelectedPosition"/> | |
604 <enum-type name="QStyleOptionToolBoxV2::StyleOptionVersion"/> | |
605 <enum-type name="QStyleOptionToolBoxV2::TabPosition"/> | |
606 <enum-type name="QStyleOptionViewItemV3::StyleOptionVersion"/> | |
607 <enum-type name="QTransform::TransformationType"/> | |
608 <enum-type name="QTreeWidgetItem::ChildIndicatorPolicy"/> | |
609 <enum-type name="QWizard::WizardOption" flags="QWizard::WizardOptions"/> | |
610 <enum-type name="QWizard::WizardPixmap"/> | |
611 <enum-type name="QWizard::WizardStyle"/> | |
612 <enum-type name="QImageIOPlugin::Capability" flags="QImageIOPlugin::Capabilities"/> | |
613 <enum-type name="QStackedLayout::StackingMode"/> | |
614 | |
615 <enum-type name="QWizard::WizardButton"> | |
616 <reject-enum-value name="NStandardButtons"/> | |
617 <reject-enum-value name="NButtons"/> | |
618 </enum-type> | |
619 | |
620 <enum-type name="QAccessible::Action"> | |
621 <reject-enum-value name="FirstStandardAction"/> | |
622 <reject-enum-value name="LastStandardAction"/> | |
623 </enum-type> | |
624 | |
625 <enum-type name="QBoxLayout::Direction"> | |
626 <reject-enum-value name="Down"/> | |
627 <reject-enum-value name="Up"/> | |
628 </enum-type> | |
629 | |
630 | |
631 <enum-type name="QClipboard::Mode"> | |
632 <reject-enum-value name="LastMode"/> | |
633 </enum-type> | |
634 | |
635 <enum-type name="QDialogButtonBox::StandardButton" flags="QDialogButtonBox::StandardButtons"> | |
636 <reject-enum-value name="FirstButton"/> | |
637 <reject-enum-value name="LastButton"/> | |
638 <reject-enum-value name="YesAll"/> | |
639 <reject-enum-value name="NoAll"/> | |
640 <reject-enum-value name="Default"/> | |
641 <reject-enum-value name="Escape"/> | |
642 <reject-enum-value name="FlagMask"/> | |
643 <reject-enum-value name="ButtonMask"/> | |
644 </enum-type> | |
645 | |
646 <enum-type name="QDockWidget::DockWidgetFeature" flags="QDockWidget::DockWidgetFeatures"/> | |
647 | |
648 <enum-type name="QFont::StyleHint"> | |
649 <reject-enum-value name="SansSerif"/> | |
650 <reject-enum-value name="Serif"/> | |
651 <reject-enum-value name="TypeWriter"/> | |
652 <reject-enum-value name="Decorative"/> | |
653 </enum-type> | |
654 | |
655 <enum-type name="QFontDatabase::WritingSystem"> | |
656 <reject-enum-value name="Other"/> | |
657 </enum-type> | |
658 | |
659 <enum-type name="QHeaderView::ResizeMode"> | |
660 <reject-enum-value name="Custom"/> | |
661 </enum-type> | |
662 | |
663 | |
664 <enum-type name="QMessageBox::StandardButton" flags="QMessageBox::StandardButtons"> | |
665 <reject-enum-value name="FirstButton"/> | |
666 <reject-enum-value name="LastButton"/> | |
667 <reject-enum-value name="YesAll"/> | |
668 <reject-enum-value name="NoAll"/> | |
669 </enum-type> | |
670 | |
671 <enum-type name="QPalette::ColorGroup"> | |
672 <reject-enum-value name="Normal"/> | |
673 </enum-type> | |
674 | |
675 <enum-type name="QPalette::ColorRole"> | |
676 <reject-enum-value name="NColorRoles"/> | |
677 <reject-enum-value name="Foreground"/> | |
678 <reject-enum-value name="Background"/> | |
679 </enum-type> | |
680 | |
681 <enum-type name="QPrinter::PageSize"> | |
682 <reject-enum-value name="NPageSize"/> | |
683 <reject-enum-value name="NPaperSize"/> | |
684 </enum-type> | |
685 | |
686 <enum-type name="QSlider::TickPosition"> | |
687 <!-- <reject-enum-value name="TicksLeft"/> | |
688 <reject-enum-value name="TicksRight"/>--> | |
689 </enum-type> | |
690 | |
691 <enum-type name="QStyle::StyleHint" extensible="yes"> | |
692 <reject-enum-value name="SH_ScrollBar_StopMouseOverSlider"/> | |
693 </enum-type> | |
694 | |
695 | |
696 <enum-type name="QTextFormat::FormatType"/> | |
697 | |
698 <enum-type name="QTextFormat::Property"> | |
699 <reject-enum-value name="FontSizeIncrement"/> | |
700 <reject-enum-value name="FirstFontProperty"/> | |
701 <reject-enum-value name="LastFontProperty"/> | |
702 </enum-type> | |
703 | |
704 <value-type name="QTransform"> | |
705 <modify-function signature="operator=(QTransform)" remove="all"/> | |
706 <modify-function signature="map(int,int,int*,int*)const" remove="all"/> | |
707 <modify-function signature="map(double,double,double*,double*)const" remove="all"/> | |
708 | |
709 <modify-function signature="operator*=(double)" access="private"/> | |
710 <modify-function signature="operator+=(double)" access="private"/> | |
711 <modify-function signature="operator-=(double)" access="private"/> | |
712 <modify-function signature="operator/=(double)" access="private"/> | |
713 <modify-function signature="operator*(QTransform)const" rename="multiplied"/> | |
714 <modify-function signature="operator*=(QTransform)" access="private"/> | |
715 | |
716 <inject-code> | |
717 <import-file name="typesystem_gui-java.java" quote-after-line="class QTransform___" quote-before-line="}// class"/> | |
718 </inject-code> | |
719 | |
720 <modify-function signature="inverted(bool*)const"> | |
721 <access modifier="private"/> | |
722 <modify-argument index="1"> | |
723 <remove-default-expression/> | |
724 </modify-argument> | |
725 </modify-function> | |
726 | |
727 <modify-function signature="rotate(double,Qt::Axis)"> | |
728 <modify-argument index="1"> | |
729 <remove-default-expression/> | |
730 </modify-argument> | |
731 <access modifier="private"/> | |
732 <rename to="rotate_private"/> | |
733 </modify-function> | |
734 <inject-code> | |
735 /** | |
736 * Rotates the transformation around the given axis. | |
737 * | |
738 * @return The rotated transformation. | |
739 */ | |
740 <insert-template name="core.private_function_return_self"> | |
741 <replace from="%RETURN_TYPE" to="QTransform"/> | |
742 <replace from="%FUNCTION_NAME" to="rotate"/> | |
743 <replace from="%ARGUMENTS" to="double angle, Qt.Axis axis"/> | |
744 <replace from="%ARGUMENT_NAMES" to="angle, axis"/> | |
745 </insert-template> | |
746 | |
747 /** | |
748 * Rotates the transformation around the z-axis. | |
749 * | |
750 * @return The rotated transformation. | |
751 */ | |
752 <insert-template name="core.private_function_return_self"> | |
753 <replace from="%RETURN_TYPE" to="QTransform"/> | |
754 <replace from="%FUNCTION_NAME" to="rotate"/> | |
755 <replace from="%ARGUMENTS" to="double angle"/> | |
756 <replace from="%ARGUMENT_NAMES" to="angle"/> | |
757 </insert-template> | |
758 </inject-code> | |
759 | |
760 <modify-function signature="rotateRadians(double,Qt::Axis)"> | |
761 <modify-argument index="1"> | |
762 <remove-default-expression/> | |
763 </modify-argument> | |
764 <access modifier="private"/> | |
765 <rename to="rotateRadians_private"/> | |
766 </modify-function> | |
767 <inject-code> | |
768 /** | |
769 * Rotates the transformation around the given axis. | |
770 * | |
771 * @return The rotated transformation. | |
772 */ | |
773 <insert-template name="core.private_function_return_self"> | |
774 <replace from="%RETURN_TYPE" to="QTransform"/> | |
775 <replace from="%FUNCTION_NAME" to="rotateRadians"/> | |
776 <replace from="%ARGUMENTS" to="double angle, Qt.Axis axis"/> | |
777 <replace from="%ARGUMENT_NAMES" to="angle, axis"/> | |
778 </insert-template> | |
779 | |
780 /** | |
781 * Rotates the transformation around the z-axis. | |
782 * | |
783 * @return The rotated transformation. | |
784 */ | |
785 <insert-template name="core.private_function_return_self"> | |
786 <replace from="%RETURN_TYPE" to="QTransform"/> | |
787 <replace from="%FUNCTION_NAME" to="rotateRadians"/> | |
788 <replace from="%ARGUMENTS" to="double angle"/> | |
789 <replace from="%ARGUMENT_NAMES" to="angle"/> | |
790 </insert-template> | |
791 </inject-code> | |
792 | |
793 <modify-function signature="scale(double,double)"> | |
794 <access modifier="private"/> | |
795 <rename to="scale_private"/> | |
796 </modify-function> | |
797 <inject-code> | |
798 /** | |
799 * Scales the transformation using x and y. | |
800 * | |
801 * @return The scaled transformation. | |
802 */ | |
803 <insert-template name="core.private_function_return_self"> | |
804 <replace from="%RETURN_TYPE" to="QTransform"/> | |
805 <replace from="%FUNCTION_NAME" to="scale"/> | |
806 <replace from="%ARGUMENTS" to="double x, double y"/> | |
807 <replace from="%ARGUMENT_NAMES" to="x, y"/> | |
808 </insert-template> | |
809 </inject-code> | |
810 | |
811 <modify-function signature="shear(double,double)"> | |
812 <access modifier="private"/> | |
813 <rename to="shear_private"/> | |
814 </modify-function> | |
815 <inject-code> | |
816 /** | |
817 * Shears the transformation using x and y. | |
818 * | |
819 * @return The sheared transformation. | |
820 */ | |
821 <insert-template name="core.private_function_return_self"> | |
822 <replace from="%RETURN_TYPE" to="QTransform"/> | |
823 <replace from="%FUNCTION_NAME" to="shear"/> | |
824 <replace from="%ARGUMENTS" to="double x, double y"/> | |
825 <replace from="%ARGUMENT_NAMES" to="x, y"/> | |
826 </insert-template> | |
827 </inject-code> | |
828 | |
829 <modify-function signature="translate(double,double)"> | |
830 <access modifier="private"/> | |
831 <rename to="translate_private"/> | |
832 </modify-function> | |
833 <inject-code> | |
834 /** | |
835 * Translates the transformation using x and y. | |
836 * | |
837 * @return The translated transformation. | |
838 */ | |
839 <insert-template name="core.private_function_return_self"> | |
840 <replace from="%RETURN_TYPE" to="QTransform"/> | |
841 <replace from="%FUNCTION_NAME" to="translate"/> | |
842 <replace from="%ARGUMENTS" to="double x, double y"/> | |
843 <replace from="%ARGUMENT_NAMES" to="x, y"/> | |
844 </insert-template> | |
845 </inject-code> | |
846 | |
847 <modify-function signature="quadToQuad(QPolygonF,QPolygonF,QTransform&)"> | |
848 <access modifier="private"/> | |
849 <rename to="quadToQuadPrivate"/> | |
850 </modify-function> | |
851 | |
852 <modify-function signature="quadToSquare(QPolygonF,QTransform&)"> | |
853 <access modifier="private"/> | |
854 <rename to="quadToSquarePrivate"/> | |
855 </modify-function> | |
856 | |
857 <modify-function signature="squareToQuad(QPolygonF,QTransform&)"> | |
858 <access modifier="private"/> | |
859 <rename to="squareToQuadPrivate"/> | |
860 </modify-function> | |
861 | |
862 </value-type> | |
863 | |
864 <value-type name="QStyleOption" delete-in-main-thread="yes" polymorphic-base="yes" polymorphic-id-expression="%1->type == QStyleOption::SO_Default"> | |
865 <modify-function signature="operator=(QStyleOption)" remove="all"/> | |
866 <modify-function signature="init(const QWidget*)" remove="all"/> <!--### Obsolete in 4.3--> | |
867 <modify-field name="version"> | |
868 <rename to="version_"/> | |
869 </modify-field> | |
870 </value-type> | |
871 <value-type name="QStyleOptionGraphicsItem" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionGraphicsItem::Type && %1->version == QStyleOptionGraphicsItem::Version"/> | |
872 <value-type name="QStyleOptionSizeGrip" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionSizeGrip::Type && %1->version == QStyleOptionSizeGrip::Version"/> | |
873 <value-type name="QStyleOptionButton" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionButton::Type && %1->version == QStyleOptionButton::Version"/> | |
874 <value-type name="QStyleOptionComboBox" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionComboBox::Type && %1->version == QStyleOptionComboBox::Version"/> | |
875 <value-type name="QStyleOptionComplex" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionComplex::Type && %1->version == QStyleOptionComplex::Version"/> | |
876 <value-type name="QStyleOptionDockWidget" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionDockWidget::Type && %1->version == QStyleOptionDockWidget::Version"/> | |
877 <value-type name="QStyleOptionDockWidgetV2" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionDockWidgetV2::Type && %1->version == QStyleOptionDockWidgetV2::Version"> | |
878 <modify-function signature="operator=(QStyleOptionDockWidget)" remove="all"/> | |
879 </value-type> | |
880 <value-type name="QStyleOptionFocusRect" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionFocusRect::Type && %1->version == QStyleOptionFocusRect::Version"/> | |
881 <value-type name="QStyleOptionFrame" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionFrame::Type && %1->version == QStyleOptionFrame::Version"/> | |
882 | |
883 <value-type name="QStyleOptionFrameV2" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionFrameV2::Type && %1->version == QStyleOptionFrameV2::Version"> | |
884 <modify-function signature="operator=(QStyleOptionFrame)" remove="all"/> | |
885 </value-type> | |
886 | |
887 <value-type name="QStyleOptionGroupBox" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionGroupBox::Type && %1->version == QStyleOptionGroupBox::Version"/> | |
888 <value-type name="QStyleOptionHeader" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionHeader::Type && %1->version == QStyleOptionHeader::Version"/> | |
889 <value-type name="QStyleOptionMenuItem" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionMenuItem::Type && %1->version == QStyleOptionMenuItem::Version"/> | |
890 <value-type name="QStyleOptionProgressBar" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionProgressBar::Type && %1->version == QStyleOptionProgressBar::Version"/> | |
891 | |
892 <value-type name="QStyleOptionProgressBarV2" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionProgressBarV2::Type && %1->version == QStyleOptionProgressBarV2::Version"> | |
893 <modify-function signature="operator=(QStyleOptionProgressBar)" remove="all"/> | |
894 </value-type> | |
895 | |
896 <value-type name="QStyleOptionRubberBand" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionRubberBand::Type && %1->version == QStyleOptionRubberBand::Version"/> | |
897 <value-type name="QStyleOptionSlider" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionSlider::Type && %1->version == QStyleOptionSlider::Version"/> | |
898 <value-type name="QStyleOptionSpinBox" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionSpinBox::Type && %1->version == QStyleOptionSpinBox::Version"/> | |
899 <value-type name="QStyleOptionTab" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionTab::Type && %1->version == QStyleOptionTab::Version"/> | |
900 <value-type name="QStyleOptionTabV2" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionTabV2::Type && %1->version == QStyleOptionTabV2::Version"> | |
901 <modify-function signature="operator=(const QStyleOptionTab &)" remove="all"/> | |
902 </value-type> | |
903 <value-type name="QStyleOptionTabBarBase" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionTabBarBase::Type && %1->version == QStyleOptionTabBarBase::Version"/> | |
904 <value-type name="QStyleOptionTabWidgetFrame" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionTabWidgetFrame::Type && %1->version == QStyleOptionTabWidgetFrame::Version"/> | |
905 <value-type name="QStyleOptionTitleBar" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionTitleBar::Type && %1->version == QStyleOptionTitleBar::Version"/> | |
906 <value-type name="QStyleOptionToolBar" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionToolBar::Type && %1->version == QStyleOptionToolBar::Version"/> | |
907 <value-type name="QStyleOptionToolBox" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionToolBox::Type && %1->version == QStyleOptionToolBox::Version"/> | |
908 <value-type name="QStyleOptionToolBoxV2" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionToolBoxV2::Type && %1->version == QStyleOptionToolBoxV2::Version"> | |
909 <modify-function signature="operator=(QStyleOptionToolBox)" remove="all"/> | |
910 </value-type> | |
911 <value-type name="QStyleOptionToolButton" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionToolButton::Type && %1->version == QStyleOptionToolButton::Version"/> | |
912 <value-type name="QStyleOptionViewItem" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionViewItem::Type && %1->version == QStyleOptionViewItem::Version"/> | |
913 <value-type name="QStyleOptionViewItemV2" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionViewItemV2::Type && %1->version == QStyleOptionViewItemV2::Version"> | |
914 <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/> | |
915 </value-type> | |
916 <value-type name="QStyleOptionViewItemV3" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionViewItemV3::Type && %1->version == QStyleOptionViewItemV3::Version"> | |
917 <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/> | |
918 </value-type> | |
919 <value-type name="QStyleOptionViewItemV4" delete-in-main-thread="yes" polymorphic-id-expression="%1->type == QStyleOptionViewItemV4::Type && %1->version == QStyleOptionViewItemV4::Version"> | |
920 <modify-function signature="operator=(QStyleOptionViewItem)" remove="all"/> | |
921 </value-type> | |
922 <value-type name="QTextFragment" delete-in-main-thread="yes"> | |
923 <modify-function signature="operator=(QTextFragment)" remove="all"/> | |
924 </value-type> | |
925 <value-type name="QBitmap" delete-in-main-thread="yes"> | |
926 <modify-function signature="operator=(const QPixmap &)" remove="all"/> | |
927 <modify-function signature="QBitmap(QString,const char*)" access="private"> | |
928 <modify-argument index="2"> <remove-default-expression/> </modify-argument> | |
929 </modify-function> | |
930 | |
931 <modify-function signature="fromData(QSize,const unsigned char*,QImage::Format)"> | |
932 <access modifier="private"/> | |
933 <modify-argument index="3"> | |
934 <remove-default-expression/> | |
935 </modify-argument> | |
936 </modify-function> | |
937 | |
938 <inject-code> | |
939 <import-file name="typesystem_gui-java.java" quote-after-line="class QBitmap___" quote-before-line="}// class"/> | |
940 </inject-code> | |
941 </value-type> | |
942 <value-type name="QTextInlineObject" delete-in-main-thread="yes"/> | |
943 <value-type name="QSizePolicy"/> | |
944 <value-type name="QTableWidgetSelectionRange"/> | |
945 <value-type name="QTextDocumentFragment" delete-in-main-thread="yes"> | |
946 <modify-function signature="operator=(QTextDocumentFragment)" remove="all"/> | |
947 </value-type> | |
948 <value-type name="QTextOption" delete-in-main-thread="yes"> | |
949 <modify-function signature="operator=(const QTextOption &)" remove="all"/> | |
950 </value-type> | |
951 <value-type name="QTextLine" delete-in-main-thread="yes"> | |
952 <modify-function signature="cursorToX(int*,QTextLine::Edge)const"> | |
953 <remove/> | |
954 </modify-function> | |
955 | |
956 <inject-code> | |
957 <import-file name="typesystem_gui-java.java" quote-after-line="class QTextLine___" quote-before-line="}// class"/> | |
958 </inject-code> | |
959 </value-type> | |
960 <value-type name="QTextTableFormat" delete-in-main-thread="yes"/> | |
961 <value-type name="QTextImageFormat" delete-in-main-thread="yes"/> | |
962 <value-type name="QTextFrameFormat" delete-in-main-thread="yes"> | |
963 <modify-function signature="isValid()const" access="non-final"/> | |
964 </value-type> | |
965 <value-type name="QTextLength" delete-in-main-thread="yes"/> | |
966 <value-type name="QItemSelectionRange"> | |
967 <modify-function signature="intersect(QItemSelectionRange)const" remove="all"/> <!--### Obsolete in 4.3--> | |
968 </value-type> | |
969 | |
970 <value-type name="QPainterPath"> | |
971 <modify-function signature="operator=(QPainterPath)" remove="all"/> | |
972 </value-type> | |
973 <value-type name="QPalette"> | |
974 <modify-function signature="operator=(const QPalette&)" remove="all"/> | |
975 | |
976 <modify-function signature="QPalette(QColor, QColor, QColor, QColor, QColor, QColor, QColor)" remove="all"/> <!--### Obsolete in 4.3--> | |
977 <modify-function signature="background()const" remove="all"/> <!--### Obsolete in 4.3--> | |
978 <modify-function signature="foreground()const" remove="all"/> <!--### Obsolete in 4.3--> | |
979 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3--> | |
980 </value-type> | |
981 <value-type name="QKeySequence"> | |
982 <modify-function signature="operator=(QKeySequence)" remove="all"/> | |
983 <modify-function signature="operator int()const" access="private"/> | |
984 <modify-function signature="operator[](uint)const" access="private"/> | |
985 | |
986 <inject-code> | |
987 <import-file name="typesystem_gui-java.java" quote-after-line="class QKeySequence___" quote-before-line="}// class"/> | |
988 </inject-code> | |
989 | |
990 </value-type> | |
991 | |
992 <value-type name="QPicture" delete-in-main-thread="yes"> | |
993 <modify-function signature="operator=(QPicture)" remove="all"/> | |
994 <modify-function signature="pictureFormat(QString)"> | |
995 <remove/> | |
996 </modify-function> | |
997 | |
998 <modify-function signature="inputFormatList()" remove="all"/> <!--### Obsolete in 4.3--> | |
999 <modify-function signature="inputFormats()" remove="all"/> <!--### Obsolete in 4.3--> | |
1000 <modify-function signature="outputFormatList()" remove="all"/> <!--### Obsolete in 4.3--> | |
1001 <modify-function signature="outputFormats()" remove="all"/> <!--### Obsolete in 4.3--> | |
1002 | |
1003 <inject-code> | |
1004 <import-file name="typesystem_gui-java.java" quote-after-line="class QPicture___" quote-before-line="}// class"/> | |
1005 </inject-code> | |
1006 <extra-includes> | |
1007 <include file-name="qt.core.QIODevice" location="java"/> | |
1008 </extra-includes> | |
1009 <modify-function signature="load(QIODevice*,const char*)"> | |
1010 <access modifier="private"/> | |
1011 <modify-argument index="2"> | |
1012 <remove-default-expression/> | |
1013 </modify-argument> | |
1014 </modify-function> | |
1015 | |
1016 | |
1017 <modify-function signature="load(QString,const char*)"> | |
1018 <access modifier="private"/> | |
1019 <modify-argument index="2"> | |
1020 <remove-default-expression/> | |
1021 </modify-argument> | |
1022 </modify-function> | |
1023 | |
1024 | |
1025 <modify-function signature="save(QIODevice*,const char*)"> | |
1026 <access modifier="private"/> | |
1027 <modify-argument index="2"> | |
1028 <remove-default-expression/> | |
1029 </modify-argument> | |
1030 </modify-function> | |
1031 | |
1032 | |
1033 <modify-function signature="save(QString,const char*)"> | |
1034 <access modifier="private"/> | |
1035 <modify-argument index="2"> | |
1036 <remove-default-expression/> | |
1037 </modify-argument> | |
1038 </modify-function> | |
1039 | |
1040 <!-- | |
1041 <modify-function signature="setData(const char*,uint)"> | |
1042 <modify-argument index="1"> | |
1043 <replace-type modified-type="byte[]"/> | |
1044 <conversion-rule class="shell"> | |
1045 jbyteArray %out = __jni_env->NewByteArray(%2); | |
1046 __jni_env->SetByteArrayRegion(%out, 0, %2, (jbyte *) %in); | |
1047 </conversion-rule> | |
1048 <conversion-rule class="native"> | |
1049 char *%out = (char *) __jni_env->GetByteArrayElements((jbyteArray) %in, 0); | |
1050 char *__ptr = %out; | |
1051 Q_UNUSED(__ptr) | |
1052 </conversion-rule> | |
1053 </modify-argument> | |
1054 | |
1055 <modify-argument index="2"> | |
1056 <remove-argument/> | |
1057 <conversion-rule class="shell"> | |
1058 // nothing | |
1059 </conversion-rule> | |
1060 <conversion-rule class="native"> | |
1061 int %out = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
1062 </conversion-rule> | |
1063 </modify-argument> | |
1064 </modify-function> | |
1065 --> | |
1066 <modify-function signature="pictureFormat(QString)"> | |
1067 <remove/> | |
1068 </modify-function> | |
1069 | |
1070 <modify-function signature="data()const"> | |
1071 <access modifier="private"/> | |
1072 <rename to="data_private"/> | |
1073 </modify-function> | |
1074 | |
1075 </value-type> | |
1076 | |
1077 <value-type name="QRegion"> <!-- expense-limit="4096"> --> | |
1078 <modify-function signature="operator=(QRegion)" remove="all"/> | |
1079 <modify-function signature="operator&=(QRegion)" remove="all"/> | |
1080 <modify-function signature="operator+=(QRegion)" remove="all"/> | |
1081 <modify-function signature="operator-=(QRegion)" remove="all"/> | |
1082 <modify-function signature="operator^=(QRegion)" remove="all"/> | |
1083 <modify-function signature="operator|=(QRegion)" remove="all"/> | |
1084 <modify-function signature="operator&(QRegion)const" remove="all"/> | |
1085 <modify-function signature="operator+(QRegion)const" remove="all"/> | |
1086 <modify-function signature="operator-(QRegion)const" remove="all"/> | |
1087 <modify-function signature="operator^(QRegion)const" remove="all"/> | |
1088 <modify-function signature="operator|(QRegion)const" remove="all"/> | |
1089 <modify-function signature="eor(QRegion)const" remove="all"/> <!--### Obsolete in 4.3--> | |
1090 <modify-function signature="intersect(QRegion)const" remove="all"/> <!--### Obsolete in 4.3--> | |
1091 <modify-function signature="subtract(QRegion)const" remove="all"/> <!--### Obsolete in 4.3--> | |
1092 <modify-function signature="unite(QRegion)const" remove="all"/> <!--### Obsolete in 4.3--> | |
1093 <modify-function signature="operator&=(QRect)" remove="all"/> | |
1094 <modify-function signature="operator+=(QRect)" remove="all"/> | |
1095 | |
1096 | |
1097 <inject-code> | |
1098 <import-file name="typesystem_gui-java.java" quote-after-line="class QRegion___" quote-before-line="}// class"/> | |
1099 </inject-code> | |
1100 <modify-function signature="setRects(const QRect*,int)"> | |
1101 <access modifier="private"/> | |
1102 </modify-function> | |
1103 | |
1104 </value-type> | |
1105 | |
1106 <value-type name="QTextBlock" delete-in-main-thread="yes"> | |
1107 <modify-function signature="operator=(QTextBlock)" remove="all"/> | |
1108 <modify-function signature="setUserData(QTextBlockUserData *)"> | |
1109 <modify-argument index="1"> | |
1110 <define-ownership class="java" owner="c++"/> | |
1111 </modify-argument> | |
1112 </modify-function> | |
1113 </value-type> | |
1114 <value-type name="QTextBlockFormat" delete-in-main-thread="yes"/> | |
1115 <value-type name="QTextTableCellFormat" delete-in-main-thread="yes"/> | |
1116 <value-type name="QTextCharFormat" delete-in-main-thread="yes"> | |
1117 <modify-function signature="isValid()const" access="non-final"/> | |
1118 | |
1119 <modify-function signature="anchorName()const" remove="all"/> <!--### Obsolete in 4.3--> | |
1120 <modify-function signature="setAnchorName(QString)" remove="all"/> <!--### Obsolete in 4.3--> | |
1121 </value-type> | |
1122 <value-type name="QTextFormat" delete-in-main-thread="yes"> | |
1123 <modify-function signature="operator=(QTextFormat)" remove="all"/> | |
1124 <modify-function signature="isValid()const" access="non-final"/> | |
1125 | |
1126 </value-type> | |
1127 | |
1128 <value-type name="QTextListFormat" delete-in-main-thread="yes"/> | |
1129 <value-type name="QPolygon"> | |
14 | 1130 <extra-includes> |
1131 <include file-name="qt.core.QPoint" location="java"/> | |
1132 </extra-includes> | |
1133 | |
1 | 1134 <modify-function signature="QPolygon(int, const int *)" remove="all"/> |
1135 <modify-function signature="operator+(QVector<QPoint>)const" remove="all"/> | |
1136 <modify-function signature="operator<<(QPoint)" remove="all"/> | |
1137 <modify-function signature="operator<<(QVector<QPoint>)" remove="all"/> | |
14 | 1138 |
1139 <inject-code class="java"> | |
1140 public final void insert(int i, QPoint t) { | |
1141 qtd_QPolygon_insert_int_QPoint(nativeId, i, t); | |
1142 } | |
1143 | |
1144 public final void insert(int i, int n, QPoint t) { | |
1145 qtd_QPolygon_insert_int_int_QPoint(nativeId, i, n, t); | |
1146 } | |
1147 </inject-code> | |
1148 <inject-code class="java-free"> | |
1149 private extern(C) void qtd_QPolygon_insert_int_QPoint(void* __this_nativeId, | |
1150 int i0, | |
1151 QPoint t1); | |
1152 private extern(C) void qtd_QPolygon_insert_int_int_QPoint(void* __this_nativeId, | |
1153 int i0, | |
1154 int n1, | |
1155 QPoint t2); | |
1156 </inject-code> | |
1157 <inject-code class="native"> | |
1158 // QPolygon::insert(int i, const QPoint & t) | |
1159 extern "C" DLL_PUBLIC void qtd_QPolygon_insert_int_QPoint | |
1160 (void* __this_nativeId, | |
1161 int i0, | |
1162 QPoint t1) | |
1163 { | |
1164 QPolygon *__qt_this = (QPolygon *) __this_nativeId; | |
1165 __qt_this->insert((int )i0, (const QPoint& )t1); | |
1166 | |
1167 } | |
1168 | |
1169 // QPolygon::insert(int i, int n, const QPoint & t) | |
1170 extern "C" DLL_PUBLIC void qtd_QPolygon_insert_int_int_QPoint | |
1171 (void* __this_nativeId, | |
1172 int i0, | |
1173 int n1, | |
1174 QPoint t2) | |
1175 { | |
1176 QPolygon *__qt_this = (QPolygon *) __this_nativeId; | |
1177 __qt_this->insert((int )i0, (int )n1, (const QPoint& )t2); | |
1178 | |
1179 } | |
1180 </inject-code> | |
1181 | |
1182 <inject-code> | |
1183 <import-file name="typesystem_gui-java.java" quote-after-line="class QPolygon___" quote-before-line="}// class"/> | |
1184 </inject-code> | |
1 | 1185 <!-- qtd2 |
1186 <inject-code class="native"> | |
1187 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_gui_QPolygon_add_1private) | |
1188 (JNIEnv *__jni_env, jobject, jlong nativeId, jint x, jint y) | |
1189 { | |
1190 Q_UNUSED(__jni_env); | |
1191 QPolygon *polygon = (QPolygon *) qtjambi_from_jlong(nativeId); | |
1192 if (!polygon) | |
1193 return; | |
1194 *polygon << QPoint(x, y); | |
1195 } | |
1196 </inject-code> --> | |
1197 </value-type> | |
1198 | |
1199 <value-type name="QPolygonF"> | |
1200 <modify-function signature="operator+(QVector<QPointF>)const" remove="all"/> | |
1201 <modify-function signature="operator<<(QPointF)" remove="all"/> | |
1202 <modify-function signature="operator<<(QVector<QPointF>)" remove="all"/> | |
1203 | |
1204 <extra-includes> | |
1205 <include file-name="qt.core.QPoint" location="java"/> | |
1206 </extra-includes> | |
1207 | |
1208 <inject-code> | |
1209 <import-file name="typesystem_gui-java.java" quote-after-line="class QPolygonF___" quote-before-line="}// class"/> | |
1210 </inject-code> | |
1211 <!-- | |
1212 <inject-code class="native"> | |
1213 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_gui_QPolygonF_add_1private) | |
1214 (JNIEnv *__jni_env, jobject, jlong nativeId, jdouble x, jdouble y) | |
1215 { | |
1216 Q_UNUSED(__jni_env); | |
1217 QPolygonF *polygon = (QPolygonF *) qtjambi_from_jlong(nativeId); | |
1218 if (!polygon) | |
1219 return; | |
1220 *polygon << QPointF(x, y); | |
1221 } | |
1222 </inject-code> | |
1223 --> | |
14 | 1224 <inject-code class="java"> |
1225 public final void insert(int i, QPointF t) { | |
1226 qtd_QPolygonF_insert_int_QPointF(nativeId, i, t); | |
1227 } | |
1228 | |
1229 public final void insert(int i, int n, QPointF t) { | |
1230 qtd_QPolygonF_insert_int_int_QPointF(nativeId, i, n, t); | |
1231 } | |
1232 </inject-code> | |
1233 <inject-code class="java-free"> | |
1234 private extern(C) void qtd_QPolygonF_insert_int_QPointF(void* __this_nativeId, | |
1235 int i0, | |
1236 QPointF t1); | |
1237 private extern(C) void qtd_QPolygonF_insert_int_int_QPointF(void* __this_nativeId, | |
1238 int i0, | |
1239 int n1, | |
1240 QPointF t2); | |
1241 </inject-code> | |
1242 <inject-code class="native"> | |
1243 // QPolygonF::insert(int i, const QPointF & t) | |
1244 extern "C" DLL_PUBLIC void qtd_QPolygonF_insert_int_QPointF | |
1245 (void* __this_nativeId, | |
1246 int i0, | |
1247 QPointF t1) | |
1248 { | |
1249 QPolygonF *__qt_this = (QPolygonF *) __this_nativeId; | |
1250 __qt_this->insert((int )i0, (const QPointF& )t1); | |
1251 | |
1252 } | |
1253 | |
1254 // QPolygonF::insert(int i, int n, const QPointF & t) | |
1255 extern "C" DLL_PUBLIC void qtd_QPolygonF_insert_int_int_QPointF | |
1256 (void* __this_nativeId, | |
1257 int i0, | |
1258 int n1, | |
1259 QPointF t2) | |
1260 { | |
1261 QPolygonF *__qt_this = (QPolygonF *) __this_nativeId; | |
1262 __qt_this->insert((int )i0, (int )n1, (const QPointF& )t2); | |
1263 | |
1264 } | |
1265 </inject-code> | |
1 | 1266 </value-type> |
1267 | |
1268 <value-type name="QIcon" delete-in-main-thread="yes"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1269 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1270 <inject-code class="java"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1271 <insert-template name="gui.class_from_variant_java"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1272 <replace from="%CLASS_NAME" to="QIcon"/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1273 </insert-template> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1274 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1275 </inject-code> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1276 <inject-code class="java-free"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1277 <insert-template name="gui.class_from_variant_java_free"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1278 <replace from="%CLASS_NAME" to="QIcon"/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1279 </insert-template> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1280 </inject-code> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1281 <inject-code class="native"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1282 <insert-template name="gui.class_from_variant_native"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1283 <replace from="%CLASS_NAME" to="QIcon"/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1284 </insert-template> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1285 </inject-code> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1286 |
1 | 1287 <modify-function signature="operator=(QIcon)" remove="all"/> |
1288 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3--> | |
1289 <modify-function signature="QIcon(QIconEngineV2 *)"> | |
1290 <modify-argument index="1"> | |
1291 <define-ownership class="java" owner="c++"/> | |
1292 </modify-argument> | |
1293 </modify-function> | |
1294 <modify-function signature="QIcon(QIconEngine *)"> | |
1295 <modify-argument index="1"> | |
1296 <define-ownership class="java" owner="c++"/> | |
1297 </modify-argument> | |
1298 </modify-function> | |
1299 <modify-function signature="operator QVariant()const" access="private"/> | |
1300 <inject-code class="java"> | |
1301 public final QVariant toVariant() { | |
1302 return operator_cast_QVariant(); | |
1303 } | |
1304 </inject-code> | |
1305 | |
1306 </value-type> | |
1307 | |
1308 <value-type name="QTextFrame::iterator" delete-in-main-thread="yes"> | |
1309 <include file-name="QTextFrame" location="global"/> | |
1310 <modify-function signature="operator++(int)" remove="all"/> | |
1311 <modify-function signature="operator--(int)" remove="all"/> | |
1312 <modify-function signature="operator=(QTextFrame::iterator)" remove="all"/> | |
1313 <modify-function signature="operator++()" access="private"/> | |
1314 <modify-function signature="operator--()" access="private"/> | |
1315 | |
1316 <inject-code> | |
1317 <import-file name="typesystem_gui-java.java" quote-after-line="class QTextFrame_iterator___" quote-before-line="}// class"/> | |
1318 </inject-code> | |
1319 | |
1320 </value-type> | |
1321 | |
1322 <value-type name="QTreeWidgetItemIterator" delete-in-main-thread="yes"> | |
1323 <custom-constructor> | |
1324 return new QTreeWidgetItemIterator(*copy); | |
1325 </custom-constructor> | |
1326 <custom-destructor> | |
1327 delete copy; | |
1328 </custom-destructor> | |
1329 <modify-function signature="operator=(QTreeWidgetItemIterator)" remove="all"/> | |
1330 <modify-function signature="operator++(int)" remove="all"/> | |
1331 <modify-function signature="operator--(int)" remove="all"/> | |
1332 <modify-function signature="operator+=(int)" access="private"/> | |
1333 <modify-function signature="operator-=(int)" access="private"/> | |
1334 <modify-function signature="operator++()" access="private"/> | |
1335 <modify-function signature="operator--()" access="private"/> | |
1336 <modify-function signature="operator*()const" access="private"/> | |
1337 | |
1338 <inject-code> | |
1339 <import-file name="typesystem_gui-java.java" quote-after-line="class QTreeWidgetItemIterator___" quote-before-line="}// class"/> | |
1340 </inject-code> | |
1341 | |
1342 </value-type> | |
1343 | |
1344 <value-type name="QTextBlock::iterator" delete-in-main-thread="yes"> | |
1345 <include file-name="QTextBlock" location="global"/> | |
1346 | |
1347 <modify-function signature="operator++()" access="private"/> | |
1348 <modify-function signature="operator--()" access="private"/> | |
1349 <modify-function signature="operator++(int)" remove="all"/> | |
1350 <modify-function signature="operator--(int)" remove="all"/> | |
1351 | |
1352 <inject-code> | |
1353 <import-file name="typesystem_gui-java.java" quote-after-line="class QTextBlock_iterator___" quote-before-line="}// class"/> | |
1354 </inject-code> | |
1355 | |
1356 </value-type> | |
1357 | |
1358 <value-type name="QAbstractTextDocumentLayout::PaintContext" delete-in-main-thread="yes"> | |
1359 <include file-name="QAbstractTextDocumentLayout" location="global"/> | |
1360 </value-type> | |
1361 <value-type name="QAbstractTextDocumentLayout::Selection" delete-in-main-thread="yes"/> | |
1362 | |
1363 <value-type name="QPixmap" delete-in-main-thread="yes"> | |
1364 <modify-function signature="operator=(QPixmap)" remove="all"/> | |
1365 <modify-function signature="operator!()const" remove="all"/> | |
1366 <modify-function signature="operator QVariant()const" access="private"/> | |
1367 <modify-function signature="QPixmap(const char **)" access="private"/> | |
1368 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3--> | |
1369 | |
1370 <inject-code> | |
1371 <import-file name="typesystem_gui-java.java" quote-after-line="class QPixmap___" quote-before-line="}// class"/> | |
1372 </inject-code> | |
1373 <modify-function signature="fill(const QColor &)"> | |
1374 <modify-argument index="1"> | |
1375 <replace-default-expression with="QColor.White"/> | |
1376 </modify-argument> | |
1377 </modify-function> | |
1378 | |
1379 | |
1380 <extra-includes> | |
1381 <include file-name="QBitmap" location="global"/> | |
1382 <include file-name="QMatrix" location="global"/> | |
1383 </extra-includes> | |
22 | 1384 |
1385 <inject-code class="java"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1386 <insert-template name="gui.class_from_variant_java"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1387 <replace from="%CLASS_NAME" to="QPixmap"/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1388 </insert-template> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1389 </inject-code> |
22 | 1390 <inject-code class="java-free"> |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1391 <insert-template name="gui.class_from_variant_java_free"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1392 <replace from="%CLASS_NAME" to="QPixmap"/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1393 </insert-template> |
22 | 1394 </inject-code> |
1395 <inject-code class="native"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1396 <insert-template name="gui.class_from_variant_native_shell"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1397 <replace from="%CLASS_NAME" to="QPixmap"/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1398 </insert-template> |
22 | 1399 </inject-code> |
1400 | |
1 | 1401 <modify-function signature="save(QIODevice *, const char *, int) const"> |
1402 <access modifier="private"/> | |
1403 <rename to="private_save"/> | |
1404 <modify-argument index="2"> | |
1405 <remove-default-expression/> | |
1406 </modify-argument> | |
1407 <modify-argument index="3"> | |
1408 <remove-default-expression/> | |
1409 </modify-argument> | |
1410 </modify-function> | |
1411 <inject-code> | |
1412 <insert-template name="gui.pixmap_save"> | |
1413 <replace from="%INPUT_TYPE" to="qt.core.QIODevice"/> | |
1414 <replace from="%INPUT_NAME" to="dev"/> | |
1415 </insert-template> | |
1416 </inject-code> | |
1417 | |
1418 <modify-function signature="save(const QString &, const char *, int) const"> | |
1419 <access modifier="private"/> | |
1420 <rename to="private_save"/> | |
1421 <modify-argument index="2"> | |
1422 <remove-default-expression/> | |
1423 </modify-argument> | |
1424 <modify-argument index="3"> | |
1425 <remove-default-expression/> | |
1426 </modify-argument> | |
1427 </modify-function> | |
1428 <inject-code> | |
1429 <insert-template name="gui.pixmap_save"> | |
1430 <replace from="%INPUT_TYPE" to="String"/> | |
1431 <replace from="%INPUT_NAME" to="fileName"/> | |
1432 </insert-template> | |
1433 </inject-code> | |
1434 | |
1435 <modify-function signature="QPixmap(QString,const char*,QFlags<Qt::ImageConversionFlag>)"> | |
1436 <access modifier="private"/> | |
1437 <modify-argument index="2"> | |
1438 <remove-default-expression/> | |
1439 </modify-argument> | |
1440 <modify-argument index="3"> | |
1441 <remove-default-expression/> | |
1442 </modify-argument> | |
1443 </modify-function> | |
1444 <inject-code> | |
1445 <insert-template name="gui.pixmap_constructor"/> | |
1446 </inject-code> | |
1447 | |
1448 <modify-function signature="load(QString,const char*,QFlags<Qt::ImageConversionFlag>)"> | |
1449 <access modifier="private"/> | |
1450 <modify-argument index="2"> | |
1451 <remove-default-expression/> | |
1452 </modify-argument> | |
1453 <modify-argument index="3"> | |
1454 <remove-default-expression/> | |
1455 </modify-argument> | |
1456 </modify-function> | |
1457 <inject-code> | |
1458 <insert-template name="gui.pixmap_load"> | |
1459 <replace from="%FUNCTION_NAME" to="load"/> | |
1460 <replace from="%INPUT_TYPE" to="String"/> | |
1461 <replace from="%INPUT_NAME" to="fileName"/> | |
1462 <replace from="%OUTPUT_NAME" to="fileName"/> | |
1463 </insert-template> | |
1464 </inject-code> | |
1465 | |
1466 <modify-function signature="loadFromData(const unsigned char*,uint,const char*,QFlags<Qt::ImageConversionFlag>)"> | |
1467 <access modifier="private"/> | |
1468 <modify-argument index="3"> | |
1469 <remove-default-expression/> | |
1470 </modify-argument> | |
1471 <modify-argument index="4"> | |
1472 <remove-default-expression/> | |
1473 </modify-argument> | |
1474 </modify-function> | |
1475 <inject-code> | |
1476 <insert-template name="gui.pixmap_load"> | |
1477 <replace from="%FUNCTION_NAME" to="loadFromData"/> | |
1478 <replace from="%INPUT_TYPE" to="byte[]"/> | |
1479 <replace from="%INPUT_NAME" to="data"/> | |
1480 <replace from="%OUTPUT_NAME" to="qt.internal.QtJambiInternal.byteArrayToNativePointer(data), data.length"/> | |
1481 </insert-template> | |
1482 </inject-code> | |
1483 | |
1484 <modify-function signature="loadFromData(QByteArray,const char*,QFlags<Qt::ImageConversionFlag>)"> | |
1485 <access modifier="private"/> | |
1486 <modify-argument index="2"> | |
1487 <remove-default-expression/> | |
1488 </modify-argument> | |
1489 <modify-argument index="3"> | |
1490 <remove-default-expression/> | |
1491 </modify-argument> | |
1492 </modify-function> | |
1493 <inject-code> | |
1494 <insert-template name="gui.pixmap_load"> | |
1495 <replace from="%FUNCTION_NAME" to="loadFromData"/> | |
1496 <replace from="%INPUT_TYPE" to="qt.core.QByteArray"/> | |
1497 <replace from="%INPUT_NAME" to="data"/> | |
1498 <replace from="%OUTPUT_NAME" to="data"/> | |
1499 </insert-template> | |
1500 </inject-code> | |
1501 </value-type> | |
1502 | |
1503 <value-type name="QTextCursor" delete-in-main-thread="yes"> | |
1504 <extra-includes> | |
1505 <include file-name="QTextBlock" location="global"/> | |
1506 <include file-name="QTextDocumentFragment" location="global"/> | |
1507 </extra-includes> | |
1508 <modify-function signature="operator=(QTextCursor)" remove="all"/> | |
1509 <modify-function signature="selectedTableCells(int*,int*,int*,int*)const"> | |
1510 <access modifier="private"/> | |
1511 </modify-function> | |
1512 | |
1513 <inject-code> | |
1514 <import-file name="typesystem_gui-java.java" quote-after-line="class QTextCursor___" quote-before-line="}// class"/> | |
1515 </inject-code> | |
1516 </value-type> | |
1517 | |
1518 <value-type name="QTextLayout::FormatRange"> | |
1519 <include file-name="QTextLayout" location="global"/> | |
1520 </value-type> | |
1521 | |
1522 <value-type name="QInputMethodEvent::Attribute"> | |
1523 <include file-name="QInputMethodEvent" location="global"/> | |
1524 <custom-constructor> | |
1525 return new QInputMethodEvent::Attribute(copy->type, copy->start, copy->length, copy->value); | |
1526 </custom-constructor> | |
1527 <custom-destructor> | |
1528 delete copy; | |
1529 </custom-destructor> | |
1530 </value-type> | |
1531 | |
1532 <value-type name="QItemSelection" delete-in-main-thread="yes"> | |
1533 | |
1534 <modify-function signature="operator+(const QList<QItemSelectionRange>&)const" remove="all"/> | |
1535 <modify-function signature="operator+=(const QList<QItemSelectionRange>&)" remove="all"/> | |
1536 <modify-function signature="operator+=(const QItemSelectionRange&)" remove="all"/> | |
1537 <modify-function signature="operator<<(const QList<QItemSelectionRange>&)" remove="all"/> | |
1538 <modify-function signature="operator<<(QItemSelectionRange)" remove="all"/> | |
1539 <!-- | |
1540 <inject-code> | |
1541 <import-file name="typesystem_gui-java.java" quote-after-line="class QItemSelection___" quote-before-line="}// class"/> | |
1542 </inject-code> | |
1543 <modify-function signature="split(QItemSelectionRange,QItemSelectionRange,QItemSelection*)"> | |
1544 <access modifier="private"/> | |
1545 </modify-function> | |
1546 --> | |
1547 | |
1548 </value-type> | |
1549 | |
1550 <value-type name="QMatrix"> | |
1551 <extra-includes> | |
1552 <include file-name="QPainterPath" location="global"/> | |
1553 </extra-includes> | |
1554 | |
1555 <modify-function signature="map(int,int,int*,int*)const" remove="all"/> | |
1556 <modify-function signature="map(double,double,double*,double*)const" remove="all"/> | |
1557 <modify-function signature="operator=(QMatrix)" remove="all"/> | |
1558 | |
1559 <modify-function signature="operator*(QMatrix)const" access="private"/> | |
1560 <modify-function signature="operator*=(QMatrix)" access="private"/> | |
1561 <modify-function signature="rotate(double)" access="private" rename="rotate_private"/> | |
1562 <modify-function signature="scale(double,double)" access="private" rename="scale_private"/> | |
1563 <modify-function signature="shear(double,double)" access="private" rename="shear_private"/> | |
1564 <modify-function signature="translate(double,double)" access="private" rename="translate_private"/> | |
1565 | |
1566 <modify-function signature="inverted(bool*)const"> | |
1567 <access modifier="private"/> | |
1568 <modify-argument index="1"> | |
1569 <remove-default-expression/> | |
1570 </modify-argument> | |
1571 </modify-function> | |
1572 | |
1573 <inject-code> | |
1574 <insert-template name="core.unary_other_type"> | |
1575 <replace from="%FUNCTION_NAME" to="rotate"/> | |
1576 <replace from="%OUT_TYPE" to="QMatrix"/> | |
1577 <replace from="%IN_TYPE" to="double"/> | |
1578 </insert-template> | |
1579 | |
1580 <insert-template name="core.private_function_return_self"> | |
1581 <replace from="%RETURN_TYPE" to="QMatrix"/> | |
1582 <replace from="%FUNCTION_NAME" to="scale"/> | |
1583 <replace from="%ARGUMENTS" to="double sx, double sy"/> | |
1584 <replace from="%ARGUMENT_NAMES" to="sx, sy"/> | |
1585 </insert-template> | |
1586 | |
1587 <insert-template name="core.private_function_return_self"> | |
1588 <replace from="%RETURN_TYPE" to="QMatrix"/> | |
1589 <replace from="%FUNCTION_NAME" to="shear"/> | |
1590 <replace from="%ARGUMENTS" to="double sh, double sv"/> | |
1591 <replace from="%ARGUMENT_NAMES" to="sh, sv"/> | |
1592 </insert-template> | |
1593 | |
1594 <insert-template name="core.private_function_return_self"> | |
1595 <replace from="%RETURN_TYPE" to="QMatrix"/> | |
1596 <replace from="%FUNCTION_NAME" to="translate"/> | |
1597 <replace from="%ARGUMENTS" to="double dx, double dy"/> | |
1598 <replace from="%ARGUMENT_NAMES" to="dx, dy"/> | |
1599 </insert-template> | |
1600 </inject-code> | |
1601 | |
1602 <inject-code> | |
1603 <import-file name="typesystem_gui-java.java" quote-after-line="class QMatrix___" quote-before-line="}// class"/> | |
1604 </inject-code> | |
1605 | |
1606 </value-type> | |
1607 | |
1608 <value-type name="QConicalGradient" polymorphic-id-expression="%1->type() == QGradient::ConicalGradient"> | |
1609 <custom-constructor> | |
1610 return new QConicalGradient(copy->center(), copy->angle()); | |
1611 </custom-constructor> | |
1612 <custom-destructor> | |
1613 delete copy; | |
1614 </custom-destructor> | |
1615 </value-type> | |
1616 | |
1617 <value-type name="QFontInfo"> <!-- delete-in-main-thread="yes" expense-cost="1" expense-limit="1000"> --> | |
1618 <custom-constructor> | |
1619 return new QFontInfo(*copy); | |
1620 </custom-constructor> | |
1621 <custom-destructor> | |
1622 delete copy; | |
1623 </custom-destructor> | |
1624 <modify-function signature="operator=(QFontInfo)" remove="all"/> | |
1625 | |
1626 </value-type> | |
1627 | |
1628 <value-type name="QRadialGradient" polymorphic-id-expression="%1->type() == QGradient::RadialGradient"> | |
1629 <custom-constructor> | |
1630 return new QRadialGradient(copy->center(), copy->radius(), copy->focalPoint()); | |
1631 </custom-constructor> | |
1632 <custom-destructor> | |
1633 delete copy; | |
1634 </custom-destructor> | |
1635 </value-type> | |
1636 | |
1637 <value-type name="QPainterPath::Element"> | |
1638 <modify-field name="x" write="false"/> | |
1639 <modify-field name="y" write="false"/> | |
1640 <modify-field name="type" write="false"/> | |
1641 <include file-name="QPainterPath" location="global"/> | |
1642 <modify-function signature="operator QPointF()const" access="private"/> | |
1643 | |
1644 <inject-code> | |
1645 <import-file name="typesystem_gui-java.java" quote-after-line="class QPainterPath_Element___" quote-before-line="}// class"/> | |
1646 </inject-code> | |
1647 | |
1648 </value-type> | |
1649 | |
1650 <value-type name="QTextEdit::ExtraSelection" delete-in-main-thread="yes"> | |
1651 <include file-name="QTextEdit" location="global"/> | |
1652 </value-type> | |
1653 | |
1654 <value-type name="QFont" delete-in-main-thread="yes"> <!-- <expense-cost="1" expense-limit="1000"> --> | |
1655 | |
1656 <extra-includes> | |
1657 <include file-name="QStringList" location="global"/> | |
1658 </extra-includes> | |
1659 <modify-function signature="operator=(QFont)" remove="all"/> | |
1660 </value-type> | |
1661 | |
1662 <value-type name="QTextTableCell" delete-in-main-thread="yes"> | |
1663 <extra-includes> | |
1664 <include file-name="QTextCursor" location="global"/> | |
1665 </extra-includes> | |
1666 <modify-function signature="operator=(QTextTableCell)" remove="all"/> | |
1667 </value-type> | |
1668 | |
1669 <value-type name="QImage"> <!-- expense-limit="67108864" expense-cost="height()*bytesPerLine()"> --> | |
1670 <modify-function signature="QImage(const char *, const char *)"> | |
1671 <remove/> | |
1672 </modify-function> | |
1673 <modify-function signature="QImage(const char **)"> | |
1674 <access modifier="private"/> | |
1675 </modify-function> | |
1676 <modify-function signature="QImage(const unsigned char*,int,int,int,QImage::Format)"> | |
1677 <remove/> | |
1678 </modify-function> | |
1679 <modify-function signature="bits()const"> | |
1680 <remove/> | |
1681 </modify-function> | |
1682 <modify-function signature="scanLine(int)const"> | |
1683 <remove/> | |
1684 </modify-function> | |
1685 <modify-function signature="QImage(const unsigned char *, int, int, QImage::Format)"> | |
1686 <remove/> | |
1687 </modify-function> | |
1688 | |
1689 <extra-includes> | |
1690 <include file-name="QStringList" location="global"/> | |
1691 <include file-name="QMatrix" location="global"/> | |
1692 </extra-includes> | |
1693 <modify-function signature="save(const QString &, const char *, int) const"> | |
1694 <access modifier="private"/> | |
1695 <rename to="private_save"/> | |
1696 <modify-argument index="2"> | |
1697 <remove-default-expression/> | |
1698 </modify-argument> | |
1699 <modify-argument index="3"> | |
1700 <remove-default-expression/> | |
1701 </modify-argument> | |
1702 </modify-function> | |
1703 | |
1704 <modify-function signature="QImage(unsigned char*,int,int,QImage::Format)"> | |
1705 <access modifier="private"/> | |
1706 </modify-function> | |
1707 | |
1708 <modify-function signature="QImage(QString,const char*)"> | |
1709 <access modifier="private"/> | |
1710 <modify-argument index="2"> | |
1711 <remove-default-expression/> | |
1712 </modify-argument> | |
1713 </modify-function> | |
1714 | |
1715 <modify-function signature="load(QString,const char*)"> | |
1716 <access modifier="private"/> | |
1717 <modify-argument index="2"> | |
1718 <remove-default-expression/> | |
1719 </modify-argument> | |
1720 </modify-function> | |
1721 | |
1722 <modify-function signature="load(QIODevice*,const char*)"> | |
1723 <access modifier="private"/> | |
1724 </modify-function> | |
1725 | |
1726 <modify-function signature="loadFromData(const unsigned char*,int,const char*)"> | |
1727 <access modifier="private"/> | |
1728 <modify-argument index="2"> | |
1729 <remove-default-expression/> | |
1730 </modify-argument> | |
1731 <modify-argument index="3"> | |
1732 <remove-default-expression/> | |
1733 </modify-argument> | |
1734 </modify-function> | |
1735 | |
1736 <modify-function signature="loadFromData(QByteArray,const char*)"> | |
1737 <access modifier="private"/> | |
1738 <modify-argument index="2"> | |
1739 <remove-default-expression/> | |
1740 </modify-argument> | |
1741 </modify-function> | |
1742 | |
1743 <modify-function signature="operator=(QImage)" remove="all"/> | |
1744 | |
1745 <modify-function signature="setText(const char*,const char*,QString)"> | |
1746 <remove/> | |
1747 </modify-function> | |
1748 | |
1749 <modify-function signature="text(const char*,const char*)const"> | |
1750 <remove/> | |
1751 </modify-function> | |
1752 | |
1753 <modify-function signature="fromData(QByteArray,const char*)"> | |
1754 <access modifier="private"/> | |
1755 <modify-argument index="2"> | |
1756 <remove-default-expression/> | |
1757 </modify-argument> | |
1758 </modify-function> | |
1759 | |
1760 <modify-function signature="fromData(const unsigned char*,int,const char*)"> | |
1761 <remove/> | |
1762 </modify-function> | |
1763 | |
1764 <modify-function signature="serialNumber()const" remove="all"/> <!--### Obsolete in 4.3--> | |
1765 <modify-function signature="textLanguages()const" remove="all"/> <!--### Obsolete in 4.3--> | |
1766 | |
1767 <inject-code> | |
1768 <import-file name="typesystem_gui-java.java" quote-after-line="class QImage___" quote-before-line="}// class"/> | |
1769 </inject-code> | |
1770 <inject-code> | |
1771 <insert-template name="gui.pixmap_save"> | |
1772 <replace from="%INPUT_TYPE" to="String"/> | |
1773 <replace from="%INPUT_NAME" to="fileName"/> | |
1774 </insert-template> | |
1775 </inject-code> | |
1776 | |
1777 <modify-function signature="save(QIODevice *, const char *, int) const"> | |
1778 <access modifier="private"/> | |
1779 <rename to="private_save"/> | |
1780 <modify-argument index="2"> | |
1781 <remove-default-expression/> | |
1782 </modify-argument> | |
1783 <modify-argument index="3"> | |
1784 <remove-default-expression/> | |
1785 </modify-argument> | |
1786 </modify-function> | |
1787 <inject-code> | |
1788 <insert-template name="gui.pixmap_save"> | |
1789 <replace from="%INPUT_TYPE" to="qt.core.QIODevice"/> | |
1790 <replace from="%INPUT_NAME" to="dev"/> | |
1791 </insert-template> | |
1792 </inject-code> | |
1793 | |
1794 <template name="gui.image_load"> | |
1795 public final boolean %FUNCTION_NAME(%ARGUMENT_TYPE %ARGUMENT_NAME, String format) { | |
1796 return %FUNCTION_NAME(%OUT_ARGUMENT_NAME, format != null ? QNativePointer.createCharPointer(format) : null); | |
1797 } | |
1798 | |
1799 public final boolean %FUNCTION_NAME(%ARGUMENT_TYPE %ARGUMENT_NAME) { | |
1800 return %FUNCTION_NAME(%ARGUMENT_NAME, (String) null); | |
1801 } | |
1802 </template> | |
1803 <!-- | |
1804 <inject-code> | |
1805 <insert-template name="gui.image_load"> | |
1806 <replace from="%FUNCTION_NAME" to="load"/> | |
1807 <replace from="%ARGUMENT_TYPE" to="String"/> | |
1808 <replace from="%ARGUMENT_NAME" to="fileName"/> | |
1809 <replace from="%OUT_ARGUMENT_NAME" to="fileName"/> | |
1810 </insert-template> | |
1811 </inject-code> | |
1812 | |
1813 <inject-code> | |
1814 <insert-template name="gui.image_load"> | |
1815 <replace from="%FUNCTION_NAME" to="load"/> | |
1816 <replace from="%ARGUMENT_TYPE" to="qt.core.QIODevice"/> | |
1817 <replace from="%ARGUMENT_NAME" to="device"/> | |
1818 <replace from="%OUT_ARGUMENT_NAME" to="device"/> | |
1819 </insert-template> | |
1820 </inject-code> | |
1821 | |
1822 <inject-code> | |
1823 <insert-template name="gui.image_load"> | |
1824 <replace from="%FUNCTION_NAME" to="loadFromData"/> | |
1825 <replace from="%ARGUMENT_TYPE" to="byte[]"/> | |
1826 <replace from="%ARGUMENT_NAME" to="data"/> | |
1827 <replace from="%OUT_ARGUMENT_NAME" to="qt.internal.QtJambiInternal.byteArrayToNativePointer(data), data.length"/> | |
1828 </insert-template> | |
1829 </inject-code> | |
1830 | |
1831 <inject-code> | |
1832 <insert-template name="gui.image_load"> | |
1833 <replace from="%FUNCTION_NAME" to="loadFromData"/> | |
1834 <replace from="%ARGUMENT_TYPE" to="qt.core.QByteArray"/> | |
1835 <replace from="%ARGUMENT_NAME" to="data"/> | |
1836 <replace from="%OUT_ARGUMENT_NAME" to="data"/> | |
1837 </insert-template> | |
1838 </inject-code> | |
1839 | |
1840 <inject-code> | |
1841 <insert-template name="gui.image_load"> | |
1842 <replace from="%FUNCTION_NAME" to="fromData"/> | |
1843 <replace from="%ARGUMENT_TYPE" to="qt.core.QByteArray"/> | |
1844 <replace from="%ARGUMENT_NAME" to="data"/> | |
1845 <replace from="%OUT_ARGUMENT_NAME" to="data"/> | |
1846 <replace from="boolean" to="QImage"/> | |
1847 <replace from="final" to="static"/> | |
1848 </insert-template> | |
1849 </inject-code> | |
1850 --> | |
1851 </value-type> | |
1852 | |
1853 <value-type name="QColormap" delete-in-main-thread="yes"> | |
1854 <modify-function signature="operator=(QColormap)" remove="all"/> | |
1855 <extra-includes> | |
1856 <include file-name="QColor" location="global"/> | |
1857 </extra-includes> | |
1858 <custom-constructor> | |
1859 return new QColormap(*copy); | |
1860 </custom-constructor> | |
1861 <custom-destructor> | |
1862 delete copy; | |
1863 </custom-destructor> | |
1864 </value-type> | |
1865 | |
1866 <value-type name="QCursor" delete-in-main-thread="yes"> | |
1867 <extra-includes> | |
1868 <include file-name="QPixmap" location="global"/> | |
1869 </extra-includes> | |
1870 <modify-function signature="operator=(QCursor)" remove="all"/> | |
1871 <!-- | |
1872 <template name="gui.cursor_bitmap_getter"> | |
1873 <insert-template name="gui.getter_returning_nativepointer"> | |
1874 <replace from="%RETURN_TYPE" to="QBitmap"/> | |
1875 </insert-template> | |
1876 </template> | |
1877 | |
1878 <modify-function signature="bitmap()const"> | |
1879 <access modifier="private"/> | |
1880 <rename to="bitmap_private"/> | |
1881 </modify-function> | |
1882 <inject-code> | |
1883 <insert-template name="gui.cursor_bitmap_getter"> | |
1884 <replace from="%FUNCTION_NAME" to="bitmap"/> | |
1885 </insert-template> | |
1886 </inject-code> | |
1887 | |
1888 <modify-function signature="mask()const"> | |
1889 <access modifier="private"/> | |
1890 <rename to="mask_private"/> | |
1891 </modify-function> | |
1892 <inject-code> | |
1893 <insert-template name="gui.cursor_bitmap_getter"> | |
1894 <replace from="%FUNCTION_NAME" to="mask"/> | |
1895 </insert-template> | |
1896 </inject-code> | |
1897 --> | |
1898 </value-type> | |
1899 | |
1900 <value-type name="QFontDatabase" delete-in-main-thread="yes"> | |
1901 <extra-includes> | |
1902 <include file-name="QStringList" location="global"/> | |
1903 </extra-includes> | |
1904 </value-type> | |
1905 | |
1906 <value-type name="QPen"> | |
1907 <extra-includes> | |
1908 <include file-name="QBrush" location="global"/> | |
1909 </extra-includes> | |
1910 | |
1911 <modify-function signature="operator=(QPen)" remove="all"/> | |
1912 | |
1913 <inject-code> | |
1914 <import-file name="typesystem_gui-java.java" quote-after-line="class QPen___" quote-before-line="}// class"/> | |
1915 </inject-code> | |
1916 </value-type> | |
1917 | |
1918 <value-type name="QBrush"> | |
1919 <modify-function signature="QBrush(Qt::GlobalColor, Qt::BrushStyle)" remove="all"/> | |
1920 <modify-function signature="operator=(const QBrush &)" remove="all"/> | |
1921 <!-- restore later - abstract class not handled--> | |
1922 <modify-function signature="gradient() const" remove="all"/> | |
1923 | |
1924 <extra-includes> | |
1925 <include file-name="QPixmap" location="global"/> | |
1926 </extra-includes> | |
1927 | |
1928 <inject-code> | |
1929 <import-file name="typesystem_gui-java.java" quote-after-line="class QBrush___" quote-before-line="}// class"/> | |
1930 </inject-code> | |
1931 | |
1932 | |
1933 <modify-function signature="gradient()const"> | |
1934 <!-- Use custom constructors already defined for gradient --> | |
1935 <modify-argument index="0"> | |
1936 <replace-type modified-type="qt.gui.QGradient"/> | |
1937 <conversion-rule class="native"> | |
1938 jobject %out = qtjambi_from_object(__jni_env, %in, "QGradient", "com/trolltech/qt/gui/", "Lcom_trolltech_qt_gui_QGradient_2", true); | |
1939 </conversion-rule> | |
1940 </modify-argument> | |
1941 </modify-function> | |
1942 </value-type> | |
1943 | |
1944 <value-type name="QColor"> | |
1945 <modify-function signature="QColor(QColor::Spec)" remove="all"/> | |
1946 <modify-function signature="operator=(QColor)" remove="all"/> | |
1947 <modify-function signature="operator=(Qt::GlobalColor)" remove="all"/> | |
1948 | |
1949 <modify-function signature="QColor(const char*)"> | |
1950 <remove/> | |
1951 </modify-function> | |
1952 | |
1953 <modify-function signature="getCmyk(int*,int*,int*,int*,int*)"> | |
1954 <remove/> | |
1955 </modify-function> | |
1956 | |
1957 <modify-function signature="getCmykF(double*,double*,double*,double*,double*)"> | |
1958 <remove/> | |
1959 </modify-function> | |
1960 | |
1961 <modify-function signature="getHsv(int*,int*,int*,int*)const"> | |
1962 <remove/> | |
1963 </modify-function> | |
1964 | |
1965 <modify-function signature="getHsvF(double*,double*,double*,double*)const"> | |
1966 <remove/> | |
1967 </modify-function> | |
1968 | |
1969 <modify-function signature="getRgb(int*,int*,int*,int*)const"> | |
1970 <remove/> | |
1971 </modify-function> | |
1972 | |
1973 <modify-function signature="getRgbF(double*,double*,double*,double*)const"> | |
1974 <remove/> | |
1975 </modify-function> | |
1976 | |
1977 <modify-function signature="dark(int)const" remove="all"/> <!--### Obsolete in 4.3--> | |
1978 <modify-function signature="light(int)const" remove="all"/> <!--### Obsolete in 4.3--> | |
1979 | |
1980 <inject-code> | |
1981 <import-file name="typesystem_gui-java.java" quote-after-line="class QColor___" quote-before-line="}// class"/> | |
1982 </inject-code> | |
1983 </value-type> | |
1984 | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1985 <value-type name="QFontMetricsF" delete-in-main-thread="yes"> <!-- expense-cost="1" expense-limit="1000"> --> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1986 <!-- <custom-constructor> |
1 | 1987 return new QFontMetricsF(*copy); |
1988 </custom-constructor> | |
1989 <custom-destructor> | |
1990 delete copy; | |
1991 </custom-destructor> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
1992 --> |
1 | 1993 <modify-function signature="operator!=(const QFontMetricsF &)"> |
1994 <remove/> | |
1995 </modify-function> | |
1996 <modify-function signature="operator==(const QFontMetricsF &)"> | |
1997 <remove/> | |
1998 </modify-function> | |
1999 | |
2000 <modify-function signature="boundingRect(QRectF,int,QString,int,int*)const"> | |
2001 <access modifier="private"/> | |
2002 <modify-argument index="4"> | |
2003 <remove-default-expression/> | |
2004 </modify-argument> | |
2005 <modify-argument index="5"> | |
2006 <remove-default-expression/> | |
2007 </modify-argument> | |
2008 </modify-function> | |
2009 | |
2010 <modify-function signature="operator=(QFontMetrics)" remove="all"/> | |
2011 <modify-function signature="operator=(QFontMetricsF)" remove="all"/> | |
2012 | |
2013 <modify-function signature="size(int,QString,int,int*)const"> | |
2014 <access modifier="private"/> | |
2015 <modify-argument index="3"> | |
2016 <remove-default-expression/> | |
2017 </modify-argument> | |
2018 <modify-argument index="4"> | |
2019 <remove-default-expression/> | |
2020 </modify-argument> | |
2021 </modify-function> | |
2022 | |
2023 <template name="gui.fontmetricsf_boundingrect"> | |
2024 <insert-template name="gui.fontmetrics_tabarray_function"> | |
2025 <replace from="%RETURN_TYPE" to="qt.core.QRectF"/> | |
2026 <replace from="%FUNCTION_NAME" to="boundingRect"/> | |
2027 <replace from="%RECT_ARGUMENTS" to="%RECT_ARGUMENTS, "/> | |
2028 <replace from="%RECT_CALL_ARGUMENTS" to="%RECT_CALL_ARGUMENTS, "/> | |
2029 </insert-template> | |
2030 </template> | |
2031 | |
2032 <inject-code> | |
2033 <insert-template name="gui.fontmetricsf_boundingrect"> | |
2034 <replace from="%RECT_ARGUMENTS" to="qt.core.QRectF rect"/> | |
2035 <replace from="%RECT_CALL_ARGUMENTS" to="rect"/> | |
2036 </insert-template> | |
2037 </inject-code> | |
2038 | |
2039 <inject-code> | |
2040 <insert-template name="gui.fontmetrics_tabarray_function"> | |
2041 <replace from="%RETURN_TYPE" to="qt.core.QSizeF"/> | |
2042 <replace from="%FUNCTION_NAME" to="size"/> | |
2043 <replace from="%RECT_ARGUMENTS" to=""/> | |
2044 <replace from="%RECT_CALL_ARGUMENTS" to=""/> | |
2045 </insert-template> | |
2046 </inject-code> | |
2047 </value-type> | |
2048 <value-type name="QTextOption::Tab"/> | |
2049 | |
2050 <value-type name="QFontMetrics" delete-in-main-thread="yes"> <!-- <expense-cost="1" expense-limit="1000"> | |
2051 <custom-constructor> | |
2052 return new QFontMetrics(*copy); | |
2053 </custom-constructor> | |
2054 <custom-destructor> | |
2055 delete copy; | |
2056 </custom-destructor>--> | |
2057 <modify-function signature="operator!=(const QFontMetrics &)"> | |
2058 <remove/> | |
2059 </modify-function> | |
2060 <modify-function signature="operator==(const QFontMetrics &)"> | |
2061 <remove/> | |
2062 </modify-function> | |
2063 | |
2064 <modify-function signature="boundingRect(int,int,int,int,int,QString,int,int*)const"> | |
2065 <access modifier="private"/> | |
2066 <modify-argument index="7"> | |
2067 <remove-default-expression/> | |
2068 </modify-argument> | |
2069 <modify-argument index="8"> | |
2070 <remove-default-expression/> | |
2071 </modify-argument> | |
2072 </modify-function> | |
2073 | |
2074 <modify-function signature="boundingRect(QRect,int,QString,int,int*)const"> | |
2075 <access modifier="private"/> | |
2076 <modify-argument index="4"> | |
2077 <remove-default-expression/> | |
2078 </modify-argument> | |
2079 <modify-argument index="5"> | |
2080 <remove-default-expression/> | |
2081 </modify-argument> | |
2082 </modify-function> | |
2083 | |
2084 <modify-function signature="operator=(QFontMetrics)" remove="all"/> | |
2085 | |
2086 <modify-function signature="size(int,QString,int,int*)const"> | |
2087 <access modifier="private"/> | |
2088 <modify-argument index="3"> | |
2089 <remove-default-expression/> | |
2090 </modify-argument> | |
2091 <modify-argument index="4"> | |
2092 <remove-default-expression/> | |
2093 </modify-argument> | |
2094 </modify-function> | |
2095 | |
2096 <!-- | |
2097 <template name="gui.fontmetrics_tabarray_function"> | |
2098 public final %RETURN_TYPE %FUNCTION_NAME(%RECT_ARGUMENTSint flags, String text, int tabStops, int tabArray[]) { | |
2099 QNativePointer np = tabArray == null ? null : new QNativePointer(QNativePointer.Type.Int, tabArray.length + 1); | |
2100 if (np != null) { | |
2101 for (int i=0; i<tabArray.length; ++i) np.setIntAt(i, tabArray[i]); | |
2102 np.setIntAt(tabArray.length, 0); | |
2103 } | |
2104 return %FUNCTION_NAME(%RECT_CALL_ARGUMENTSflags, text, tabStops, np); | |
2105 } | |
2106 | |
2107 public final %RETURN_TYPE %FUNCTION_NAME(%RECT_ARGUMENTSint flags, String text, int tabStops) { | |
2108 return %FUNCTION_NAME(%RECT_CALL_ARGUMENTSflags, text, tabStops, (int []) null); | |
2109 } | |
2110 | |
2111 public final %RETURN_TYPE %FUNCTION_NAME(%RECT_ARGUMENTSint flags, String text) { | |
2112 return %FUNCTION_NAME(%RECT_CALL_ARGUMENTSflags, text, 0); | |
2113 } | |
2114 </template> | |
2115 | |
2116 <template name="gui.fontmetrics_boundingrect"> | |
2117 <insert-template name="gui.fontmetrics_tabarray_function"> | |
2118 <replace from="%RETURN_TYPE" to="qt.core.QRect"/> | |
2119 <replace from="%FUNCTION_NAME" to="boundingRect"/> | |
2120 <replace from="%RECT_ARGUMENTS" to="%RECT_ARGUMENTS, "/> | |
2121 <replace from="%RECT_CALL_ARGUMENTS" to="%RECT_CALL_ARGUMENTS, "/> | |
2122 </insert-template> | |
2123 </template> | |
2124 | |
2125 <inject-code> | |
2126 <insert-template name="gui.fontmetrics_boundingrect"> | |
2127 <replace from="%RECT_ARGUMENTS" to="int x, int y, int width, int height"/> | |
2128 <replace from="%RECT_CALL_ARGUMENTS" to="x, y, width, height"/> | |
2129 </insert-template> | |
2130 </inject-code> | |
2131 | |
2132 <inject-code> | |
2133 <insert-template name="gui.fontmetrics_boundingrect"> | |
2134 <replace from="%RECT_ARGUMENTS" to="qt.core.QRect rect"/> | |
2135 <replace from="%RECT_CALL_ARGUMENTS" to="rect"/> | |
2136 </insert-template> | |
2137 </inject-code> | |
2138 | |
2139 <inject-code> | |
2140 <insert-template name="gui.fontmetrics_tabarray_function"> | |
2141 <replace from="%RETURN_TYPE" to="qt.core.QSize"/> | |
2142 <replace from="%FUNCTION_NAME" to="size"/> | |
2143 <replace from="%RECT_ARGUMENTS" to=""/> | |
2144 <replace from="%RECT_CALL_ARGUMENTS" to=""/> | |
2145 </insert-template> | |
2146 </inject-code>--> | |
2147 </value-type> | |
2148 | |
2149 <value-type name="QGradient" force-abstract="yes" polymorphic-base="yes" polymorphic-id-expression="%1->type() == QGradient::NoGradient"> | |
2150 <custom-constructor> | |
2151 Q_UNUSED(copy) | |
2152 qWarning("Copying empty QGradient object"); | |
2153 return new QGradient(); | |
2154 </custom-constructor> | |
2155 <custom-destructor> | |
2156 delete copy; | |
2157 </custom-destructor> | |
2158 <modify-function signature="operator==(const QGradient &)"> | |
2159 <remove/> | |
2160 </modify-function> | |
2161 </value-type> | |
2162 | |
2163 <value-type name="QLinearGradient" polymorphic-id-expression="%1->type() == QGradient::LinearGradient"> | |
2164 <custom-constructor> | |
2165 QLinearGradient *lg = new QLinearGradient(copy->start(), copy->finalStop()); | |
2166 lg->setSpread(copy->spread()); | |
2167 lg->setStops(copy->stops()); | |
2168 return (void *) lg; | |
2169 </custom-constructor> | |
2170 <custom-destructor> | |
2171 delete copy; | |
2172 </custom-destructor> | |
2173 </value-type> | |
2174 | |
2175 <value-type name="QPrinterInfo"> | |
2176 <modify-function signature="operator=(const QPrinterInfo &)" remove="all"/> | |
2177 </value-type> | |
2178 | |
2179 <interface-type name="QLayoutItem"> | |
2180 <modify-field name="align"> | |
2181 <rename to="align_"/> | |
2182 </modify-field> | |
2183 </interface-type> | |
2184 <interface-type name="QPaintDevice"> | |
2185 | |
2186 <modify-function signature="paintEngine () const"> | |
2187 <store-result/> | |
2188 </modify-function> | |
2189 | |
2190 </interface-type> | |
2191 | |
2192 <interface-type name="QGraphicsItem" delete-in-main-thread="yes"> | |
2193 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/> | |
2194 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/> | |
2195 | |
2196 <modify-function signature="matrix()const" remove="all"/> | |
2197 <modify-function signature="resetMatrix()" remove="all"/> | |
2198 <modify-function signature="sceneMatrix()const" remove="all"/> | |
2199 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> | |
2200 | |
2201 <modify-function signature="children()const" remove="all"/> | |
2202 <!-- | |
2203 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> | |
2204 | |
2205 <modify-function signature="paint(QPainter*,const QStyleOptionGraphicsItem*,QWidget*)"> | |
2206 <modify-argument index="1" invalidate-after-use="yes"/> | |
2207 </modify-function> | |
2208 <modify-function signature="collidesWithItem(const QGraphicsItem*,Qt::ItemSelectionMode)const"> | |
2209 <modify-argument index="1" invalidate-after-use="yes"/> | |
2210 </modify-function> | |
2211 | |
2212 <modify-function signature="contextMenuEvent(QGraphicsSceneContextMenuEvent*)"> | |
2213 <modify-argument index="1" invalidate-after-use="yes"/> | |
2214 </modify-function> | |
2215 <modify-function signature="dragEnterEvent(QGraphicsSceneDragDropEvent*)"> | |
2216 <modify-argument index="1" invalidate-after-use="yes"/> | |
2217 </modify-function> | |
2218 <modify-function signature="dragLeaveEvent(QGraphicsSceneDragDropEvent*)"> | |
2219 <modify-argument index="1" invalidate-after-use="yes"/> | |
2220 </modify-function> | |
2221 <modify-function signature="dragMoveEvent(QGraphicsSceneDragDropEvent*)"> | |
2222 <modify-argument index="1" invalidate-after-use="yes"/> | |
2223 </modify-function> | |
2224 <modify-function signature="dropEvent(QGraphicsSceneDragDropEvent*)"> | |
2225 <modify-argument index="1" invalidate-after-use="yes"/> | |
2226 </modify-function> | |
2227 <modify-function signature="focusInEvent(QFocusEvent*)"> | |
2228 <modify-argument index="1" invalidate-after-use="yes"/> | |
2229 </modify-function> | |
2230 <modify-function signature="focusOutEvent(QFocusEvent*)"> | |
2231 <modify-argument index="1" invalidate-after-use="yes"/> | |
2232 </modify-function> | |
2233 <modify-function signature="hoverEnterEvent(QGraphicsSceneHoverEvent*)"> | |
2234 <modify-argument index="1" invalidate-after-use="yes"/> | |
2235 </modify-function> | |
2236 <modify-function signature="hoverLeaveEvent(QGraphicsSceneHoverEvent*)"> | |
2237 <modify-argument index="1" invalidate-after-use="yes"/> | |
2238 </modify-function> | |
2239 <modify-function signature="hoverMoveEvent(QGraphicsSceneHoverEvent*)"> | |
2240 <modify-argument index="1" invalidate-after-use="yes"/> | |
2241 </modify-function> | |
2242 <modify-function signature="inputMethodEvent(QInputMethodEvent*)"> | |
2243 <modify-argument index="1" invalidate-after-use="yes"/> | |
2244 </modify-function> | |
2245 <modify-function signature="isObscuredBy(const QGraphicsItem*)const"> | |
2246 <modify-argument index="1" invalidate-after-use="yes"/> | |
2247 </modify-function> | |
2248 <modify-function signature="keyPressEvent(QKeyEvent*)"> | |
2249 <modify-argument index="1" invalidate-after-use="yes"/> | |
2250 </modify-function> | |
2251 <modify-function signature="keyReleaseEvent(QKeyEvent*)"> | |
2252 <modify-argument index="1" invalidate-after-use="yes"/> | |
2253 </modify-function> | |
2254 <modify-function signature="mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)"> | |
2255 <modify-argument index="1" invalidate-after-use="yes"/> | |
2256 </modify-function> | |
2257 <modify-function signature="mouseMoveEvent(QGraphicsSceneMouseEvent*)"> | |
2258 <modify-argument index="1" invalidate-after-use="yes"/> | |
2259 </modify-function> | |
2260 <modify-function signature="mousePressEvent(QGraphicsSceneMouseEvent*)"> | |
2261 <modify-argument index="1" invalidate-after-use="yes"/> | |
2262 </modify-function> | |
2263 <modify-function signature="mouseReleaseEvent(QGraphicsSceneMouseEvent*)"> | |
2264 <modify-argument index="1" invalidate-after-use="yes"/> | |
2265 </modify-function> | |
2266 <modify-function signature="sceneEvent(QEvent*)"> | |
2267 <modify-argument index="1" invalidate-after-use="yes"/> | |
2268 </modify-function> | |
2269 <modify-function signature="sceneEventFilter(QGraphicsItem*,QEvent*)"> | |
2270 <modify-argument index="1" invalidate-after-use="yes"/> | |
2271 <modify-argument index="2" invalidate-after-use="yes"/> | |
2272 </modify-function> | |
2273 <modify-function signature="wheelEvent(QGraphicsSceneWheelEvent*)"> | |
2274 <modify-argument index="1" invalidate-after-use="yes"/> | |
2275 </modify-function> | |
2276 | |
2277 <modify-function signature="children()const" remove="all"/> | |
2278 <modify-function signature="installSceneEventFilter(QGraphicsItem *)"> | |
2279 <modify-argument index="1"> | |
2280 <reference-count action="ignore"/> | |
2281 </modify-argument> | |
2282 </modify-function> | |
2283 <modify-function signature="removeSceneEventFilter(QGraphicsItem *)"> | |
2284 <modify-argument index="1"> | |
2285 <reference-count action="ignore"/> | |
2286 </modify-argument> | |
2287 </modify-function> | |
2288 | |
2289 | |
2290 <modify-function signature="QGraphicsItem(QGraphicsItem*,QGraphicsScene*)"> | |
2291 <inject-code position="end"> | |
2292 <argument-map index="1" meta-name="%1"/> | |
2293 if (%1 != null) | |
2294 disableGarbageCollection(); | |
2295 </inject-code> | |
2296 </modify-function> | |
2297 | |
2298 <modify-function signature="paint(QPainter *, const QStyleOptionGraphicsItem *, QWidget *)"> | |
2299 <modify-argument index="2"> | |
2300 <conversion-rule class="shell"> | |
2301 jobject %out = qtjambi_from_object(__jni_env, %in, "QStyleOptionGraphicsItem", "com/trolltech/qt/gui/", "Lcom_trolltech_qt_gui_QStyleOption_2", true); | |
2302 </conversion-rule> | |
2303 <conversion-rule class="native"> | |
2304 const QStyleOptionGraphicsItem *%out = (QStyleOptionGraphicsItem *) qtjambi_to_object(__jni_env, %in); | |
2305 </conversion-rule> | |
2306 <replace-type modified-type="qt.gui.QStyleOptionGraphicsItem"/> | |
2307 </modify-argument> | |
2308 </modify-function> | |
2309 | |
2310 <modify-function signature="setGroup(QGraphicsItemGroup*)"> | |
2311 <modify-argument index="1"> | |
2312 <reference-count action="ignore"/> | |
2313 </modify-argument> | |
2314 <inject-code position="beginning"> | |
2315 qt.gui.QGraphicsItemGroup oldGroup = group(); | |
2316 </inject-code> | |
2317 <inject-code position="end"> | |
2318 <argument-map index="1" meta-name="%1"/> | |
2319 if (%1 == null && oldGroup != null && oldGroup.parentItem() == null) | |
2320 reenableGarbageCollection(); | |
2321 else | |
2322 disableGarbageCollection(); | |
2323 </inject-code> | |
2324 </modify-function> | |
2325 | |
2326 <modify-function signature="setParentItem(QGraphicsItem*)"> | |
2327 <modify-argument index="1"> | |
2328 <reference-count action="ignore"/> | |
2329 </modify-argument> | |
2330 <inject-code position="end"> | |
2331 <argument-map index="1" meta-name="%1"/> | |
2332 if (%1 == null) | |
2333 reenableGarbageCollection(); | |
2334 else | |
2335 disableGarbageCollection(); | |
2336 </inject-code> | |
2337 </modify-function> --> | |
2338 </interface-type> | |
2339 | |
2340 <object-type name="QAbstractGraphicsShapeItem" delete-in-main-thread="yes"> | |
2341 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/> | |
2342 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/> | |
2343 <!-- | |
2344 <modify-function signature="QAbstractGraphicsShapeItem(QGraphicsItem*,QGraphicsScene*)"> | |
2345 <inject-code position="end"> | |
2346 <argument-map index="1" meta-name="%1"/> | |
2347 if (%1 != null) disableGarbageCollection(); | |
2348 </inject-code> | |
2349 </modify-function> | |
2350 --> | |
2351 <modify-function signature="matrix()const" remove="all"/> | |
2352 <modify-function signature="resetMatrix()" remove="all"/> | |
2353 <modify-function signature="sceneMatrix()const" remove="all"/> | |
2354 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> | |
2355 <!-- | |
2356 <modify-function signature="QAbstractGraphicsShapeItem(QGraphicsItem*,QGraphicsScene*)"> | |
2357 <inject-code position="end"> | |
2358 <argument-map index="1" meta-name="%1"/> | |
2359 if (%1 != null) disableGarbageCollection(); | |
2360 </inject-code> | |
2361 </modify-function> | |
2362 --> | |
2363 </object-type> | |
2364 | |
2365 <object-type name="QAbstractItemView"> | |
2366 <!-- <extra-includes> | |
2367 <include file-name="tango.util.container.HashMap" location="java"/> | |
2368 </extra-includes>--> | |
2369 <modify-function signature="update()" remove="all"/> | |
2370 <modify-function signature="horizontalStepsPerItem()const" remove="all"/> <!--### Obsolete in 4.3--> | |
2371 <modify-function signature="setHorizontalStepsPerItem(int)" remove="all"/> <!--### Obsolete in 4.3--> | |
2372 <modify-function signature="setVerticalStepsPerItem(int)" remove="all"/> <!--### Obsolete in 4.3--> | |
2373 <modify-function signature="verticalStepsPerItem()const" remove="all"/> <!--### Obsolete in 4.3--> | |
2374 | |
2375 <modify-function signature="edit(QModelIndex,QAbstractItemView::EditTrigger,QEvent*)"> | |
2376 <modify-argument index="3" invalidate-after-use="yes"/> | |
2377 </modify-function> | |
2378 <modify-function signature="selectionCommand(QModelIndex,const QEvent*)const"> | |
2379 <modify-argument index="2" invalidate-after-use="yes"/> | |
2380 </modify-function> | |
2381 | |
2382 <!-- <modify-function signature="QAbstractItemView(QWidget*)"> | |
2383 <inject-code class="java" position="end"> | |
2384 __rcDelegatesForColumns = new HashMap!(int, QAbstractItemDelegate); | |
2385 __rcDelegatesForRows = new HashMap!(int, QAbstractItemDelegate); | |
2386 </inject-code> | |
2387 </modify-function> | |
2388 --> | |
2389 <inject-code> | |
2390 <import-file name="typesystem_gui-java.java" quote-after-line="class QAbstractItemView___" quote-before-line="}// class"/> | |
2391 </inject-code> | |
2392 | |
2393 | |
2394 <modify-function signature="setIndexWidget(const QModelIndex &,QWidget *)"> | |
2395 <modify-argument index="2"> | |
2396 <!-- Safe to ignore because view reparents widget --> | |
2397 <reference-count action="ignore"/> | |
2398 </modify-argument> | |
2399 </modify-function> | |
2400 <modify-function signature="setItemDelegate(QAbstractItemDelegate *)"> | |
2401 <modify-argument index="1"> | |
2402 <reference-count action="set" variable-name="__rcItemDelegate"/> | |
2403 </modify-argument> | |
2404 </modify-function> | |
2405 <modify-function signature="setModel(QAbstractItemModel *)"> | |
2406 <modify-argument index="1"> | |
2407 <reference-count action="set" variable-name="__rcItemModel"/> | |
2408 </modify-argument> | |
2409 <inject-code class="java" position="end"> | |
2410 // setModel() creates a new selection model for the object | |
2411 __rcItemSelectionModel = null; | |
2412 </inject-code> | |
2413 </modify-function> | |
2414 <modify-function signature="setSelectionModel(QItemSelectionModel *)"> | |
2415 <modify-argument index="1"> | |
2416 <no-null-pointer/> | |
2417 <reference-count action="set" variable-name="__rcItemSelectionModel"/> | |
2418 </modify-argument> | |
2419 </modify-function> | |
2420 <modify-function signature="setItemDelegateForColumn(int,QAbstractItemDelegate*)"> | |
2421 <modify-argument index="2"> | |
2422 <reference-count action="ignore"/> | |
2423 </modify-argument> | |
2424 <inject-code position="end"> | |
2425 <argument-map index="1" meta-name="%1"/> | |
2426 <argument-map index="2" meta-name="%2"/> | |
2427 if (%2 is null) | |
2428 __rcDelegatesForColumns.remove(%1); | |
2429 else | |
2430 __rcDelegatesForColumns[%1] = %2; | |
2431 </inject-code> | |
2432 </modify-function> | |
2433 <modify-function signature="setItemDelegateForRow(int,QAbstractItemDelegate*)"> | |
2434 <modify-argument index="2"> | |
2435 <reference-count action="ignore"/> | |
2436 </modify-argument> | |
2437 <inject-code position="end"> | |
2438 <argument-map index="1" meta-name="%1"/> | |
2439 <argument-map index="2" meta-name="%2"/> | |
2440 if (%2 is null) | |
2441 __rcDelegatesForRows.remove(%1); | |
2442 else | |
2443 __rcDelegatesForRows[%1] = %2; | |
2444 </inject-code> | |
2445 </modify-function> | |
2446 </object-type> | |
2447 | |
2448 <object-type name="QAbstractPageSetupDialog"/> | |
2449 <object-type name="QAbstractPrintDialog"/> | |
2450 <object-type name="QAbstractSlider"/> | |
2451 <object-type name="QAbstractTextDocumentLayout"> | |
2452 <modify-function signature="setPaintDevice(QPaintDevice*)"> | |
2453 <modify-argument index="1"> | |
2454 <reference-count action="set" variable-name="__rcPaintDevice"/> | |
2455 </modify-argument> | |
2456 </modify-function> | |
2457 | |
2458 <modify-function signature="draw(QPainter*,QAbstractTextDocumentLayout::PaintContext)"> | |
2459 <modify-argument index="1" invalidate-after-use="yes"/> | |
2460 </modify-function> | |
2461 <modify-function signature="drawInlineObject(QPainter*,QRectF,QTextInlineObject,int,QTextFormat)"> | |
2462 <modify-argument index="1" invalidate-after-use="yes"/> | |
2463 </modify-function> | |
2464 | |
2465 </object-type> | |
2466 <object-type name="QAccessible"> | |
2467 <modify-function signature="initialize()" remove="all"/> | |
2468 <modify-function signature="cleanup()" remove="all"/> | |
2469 <modify-function signature="setRootObject(QObject *)"> | |
2470 <modify-argument index="1"> | |
2471 <reference-count action="ignore"/> | |
2472 </modify-argument> | |
2473 </modify-function> | |
2474 <modify-function signature="queryAccessibleInterface(QObject *)"> | |
2475 <modify-argument index="return"> | |
2476 <define-ownership class="java" owner="java"/> | |
2477 </modify-argument> | |
2478 </modify-function> | |
2479 </object-type> | |
2480 <object-type name="QAccessibleBridge"> | |
2481 <modify-function signature="setRootObject(QAccessibleInterface *)"> | |
2482 <modify-argument index="1"> | |
2483 <define-ownership class="shell" owner="java"/> | |
2484 </modify-argument> | |
2485 </modify-function> | |
2486 <modify-function signature="notifyAccessibilityUpdate(int,QAccessibleInterface*,int)"> | |
2487 <modify-argument invalidate-after-use="yes" index="2"/> | |
2488 </modify-function> | |
2489 </object-type> | |
2490 <object-type name="QAccessible2Interface"/> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2491 <!-- <object-type name="QAccessibleTableInterface"> |
1 | 2492 <modify-function signature="qAccessibleTableCastHelper()" remove="all"/> |
2493 | |
2494 <inject-code> | |
2495 <import-file name="typesystem_gui-java.java" quote-after-line="class QAccessibleTableInterface___" quote-before-line="}// class"/> | |
2496 </inject-code> | |
2497 | |
2498 | |
2499 <modify-function signature="cellAtIndex(int,int*,int*,int*,int*,bool*)"> | |
2500 <modify-argument index="2"> | |
2501 <remove-argument/> | |
2502 <conversion-rule class="native"> | |
2503 int rowHolder; | |
2504 int *%out = &rowHolder; | |
2505 </conversion-rule> | |
2506 <conversion-rule class="shell"> | |
2507 // nothing | |
2508 </conversion-rule> | |
2509 </modify-argument> | |
2510 <modify-argument index="3"> | |
2511 <remove-argument/> | |
2512 <conversion-rule class="native"> | |
2513 int columnHolder; | |
2514 int *%out = &columnHolder; | |
2515 </conversion-rule> | |
2516 <conversion-rule class="shell"> | |
2517 // nothing | |
2518 </conversion-rule> | |
2519 </modify-argument> | |
2520 <modify-argument index="4"> | |
2521 <remove-argument/> | |
2522 <conversion-rule class="native"> | |
2523 int rowSpanHolder; | |
2524 int *%out = &rowSpanHolder; | |
2525 </conversion-rule> | |
2526 <conversion-rule class="shell"> | |
2527 // nothing | |
2528 </conversion-rule> | |
2529 </modify-argument> | |
2530 <modify-argument index="5"> | |
2531 <remove-argument/> | |
2532 <conversion-rule class="native"> | |
2533 int columnSpanHolder; | |
2534 int *%out = &columnSpanHolder; | |
2535 </conversion-rule> | |
2536 <conversion-rule class="shell"> | |
2537 // nothing | |
2538 </conversion-rule> | |
2539 </modify-argument> | |
2540 <modify-argument index="6"> | |
2541 <remove-argument/> | |
2542 <conversion-rule class="native"> | |
2543 bool isSelectedHolder = false; | |
2544 bool *%out = &isSelectedHolder; | |
2545 </conversion-rule> | |
2546 <conversion-rule class="shell"> | |
2547 // no conversion | |
2548 </conversion-rule> | |
2549 </modify-argument> | |
2550 <modify-argument index="return"> | |
2551 <replace-type modified-type="qt.gui.QAccessibleTableInterface$CellAtIndex"/> | |
2552 <conversion-rule class="native"> | |
2553 jobject %out = qtjambi_to_cellatindex(__jni_env, rowHolder, columnHolder, rowSpanHolder, columnSpanHolder, isSelectedHolder); | |
2554 </conversion-rule> | |
2555 <conversion-rule class="shell"> | |
2556 qtjambi_from_cellatindex(__jni_env, %in, %2, %3, %4, %5, %6); | |
2557 </conversion-rule> | |
2558 </modify-argument> | |
2559 </modify-function> | |
2560 | |
2561 <modify-function signature="selectedColumns(int,QList<int>*)"> | |
2562 <modify-argument index="2"> | |
2563 <replace-type modified-type="java.util.List<Integer>"/> | |
2564 <conversion-rule class="shell"> | |
2565 StaticCache *sc = StaticCache::instance(); | |
2566 sc->resolveArrayList(); | |
2567 sc->resolveCollection(); | |
2568 sc->resolveInteger(); | |
2569 | |
2570 jobject columnsHolder = 0; | |
2571 if (%in != 0) { | |
2572 columnsHolder = __jni_env->NewObject(sc->ArrayList.class_ref, sc->ArrayList.constructor, %in->size()); | |
2573 qtjambi_exception_check(__jni_env); | |
2574 if (columnsHolder != 0) for (int i=0; i<%in->size(); i++) { | |
2575 __jni_env->CallVoidMethod(columnsHolder, sc->Collection.add, qtjambi_from_int(__jni_env, %in->at(i))); | |
2576 } | |
2577 qtjambi_exception_check(__jni_env); | |
2578 } | |
2579 jobject %out = columnsHolder; | |
2580 </conversion-rule> | |
2581 <conversion-rule class="native"> | |
2582 StaticCache *sc = StaticCache::instance(); | |
2583 sc->resolveCollection(); | |
2584 | |
2585 QList<int> columnHolder; | |
2586 if (%in != 0) { | |
2587 jobjectArray columnsAsArray = (jobjectArray) __jni_env->CallObjectMethod(%in, sc->Collection.toArray); | |
2588 if (columnsAsArray != 0) { | |
2589 int len = __jni_env->GetArrayLength(columnsAsArray); | |
2590 for (int i=0; i<len; ++i) { | |
2591 columnHolder.append(qtjambi_to_int(__jni_env, __jni_env->GetObjectArrayElement(columnsAsArray, i))); | |
2592 } | |
2593 } | |
2594 qtjambi_exception_check(__jni_env); | |
2595 } | |
2596 QList<int> *%out = &columnHolder; | |
2597 </conversion-rule> | |
2598 </modify-argument> | |
2599 <modify-argument index="return"> | |
2600 <conversion-rule class="shell"> | |
2601 // Copy back | |
2602 if (columnsHolder != 0) { | |
2603 jobjectArray columnsAsArray = (jobjectArray) __jni_env->CallObjectMethod(columnsHolder, sc->Collection.toArray); | |
2604 if (columnsAsArray != 0) { | |
2605 int len = __jni_env->GetArrayLength(columnsAsArray); | |
2606 %2->clear(); | |
2607 for (int i=0; i<len; ++i) { | |
2608 %2->append(qtjambi_to_int(__jni_env, __jni_env->GetObjectArrayElement(columnsAsArray, i))); | |
2609 } | |
2610 } | |
2611 } | |
2612 | |
2613 int %out = %in; | |
2614 </conversion-rule> | |
2615 <conversion-rule class="native"> | |
2616 // Copy back | |
2617 if (%2 != 0) { | |
2618 __jni_env->CallVoidMethod(%2, sc->Collection.clear); | |
2619 for (int i=0; i<columnHolder.size(); ++i) { | |
2620 __jni_env->CallVoidMethod(%2, sc->Collection.add, qtjambi_from_int(__jni_env, columnHolder.at(i))); | |
2621 } | |
2622 qtjambi_exception_check(__jni_env); | |
2623 } | |
2624 | |
2625 jint %out = %in; | |
2626 </conversion-rule> | |
2627 </modify-argument> | |
2628 </modify-function> | |
2629 <modify-function signature="selectedRows(int,QList<int>*)"> | |
2630 <modify-argument index="2"> | |
2631 <replace-type modified-type="java.util.List<Integer>"/> | |
2632 <conversion-rule class="shell"> | |
2633 StaticCache *sc = StaticCache::instance(); | |
2634 sc->resolveArrayList(); | |
2635 sc->resolveCollection(); | |
2636 sc->resolveInteger(); | |
2637 | |
2638 jobject rowsHolder = 0; | |
2639 if (%in != 0) { | |
2640 rowsHolder = __jni_env->NewObject(sc->ArrayList.class_ref, sc->ArrayList.constructor, %in->size()); | |
2641 qtjambi_exception_check(__jni_env); | |
2642 if (rowsHolder != 0) for (int i=0; i<%in->size(); i++) { | |
2643 __jni_env->CallVoidMethod(rowsHolder, sc->Collection.add, qtjambi_from_int(__jni_env, %in->at(i))); | |
2644 } | |
2645 qtjambi_exception_check(__jni_env); | |
2646 } | |
2647 jobject %out = rowsHolder; | |
2648 </conversion-rule> | |
2649 <conversion-rule class="native"> | |
2650 StaticCache *sc = StaticCache::instance(); | |
2651 sc->resolveCollection(); | |
2652 | |
2653 QList<int> rowsHolder; | |
2654 if (%in != 0) { | |
2655 jobjectArray rowsAsArray = (jobjectArray) __jni_env->CallObjectMethod(%in, sc->Collection.toArray); | |
2656 if (rowsAsArray != 0) { | |
2657 int len = __jni_env->GetArrayLength(rowsAsArray); | |
2658 for (int i=0; i<len; ++i) { | |
2659 rowsHolder.append(qtjambi_to_int(__jni_env, __jni_env->GetObjectArrayElement(rowsAsArray, i))); | |
2660 } | |
2661 } | |
2662 qtjambi_exception_check(__jni_env); | |
2663 } | |
2664 QList<int> *%out = &rowsHolder; | |
2665 </conversion-rule> | |
2666 </modify-argument> | |
2667 <modify-argument index="return"> | |
2668 <conversion-rule class="shell"> | |
2669 // Copy back | |
2670 if (rowsHolder != 0) { | |
2671 jobjectArray rowsAsArray = (jobjectArray) __jni_env->CallObjectMethod(rowsHolder, sc->Collection.toArray); | |
2672 if (rowsAsArray != 0) { | |
2673 int len = __jni_env->GetArrayLength(rowsAsArray); | |
2674 %2->clear(); | |
2675 for (int i=0; i<len; ++i) { | |
2676 %2->append(qtjambi_to_int(__jni_env, __jni_env->GetObjectArrayElement(rowsAsArray, i))); | |
2677 } | |
2678 } | |
2679 } | |
2680 | |
2681 int %out = %in; | |
2682 </conversion-rule> | |
2683 <conversion-rule class="native"> | |
2684 // Copy back | |
2685 if (%2 != 0) { | |
2686 __jni_env->CallVoidMethod(%2, sc->Collection.clear); | |
2687 for (int i=0; i<rowsHolder.size(); ++i) { | |
2688 __jni_env->CallVoidMethod(%2, sc->Collection.add, qtjambi_from_int(__jni_env, rowsHolder.at(i))); | |
2689 } | |
2690 qtjambi_exception_check(__jni_env); | |
2691 } | |
2692 | |
2693 jint %out = %in; | |
2694 </conversion-rule> | |
2695 </modify-argument> | |
2696 </modify-function> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2697 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2698 </object-type> --> |
1 | 2699 |
2700 <object-type name="QAccessibleInterface"> | |
2701 <modify-function signature="indexOfChild(const QAccessibleInterface*)const"> | |
2702 <modify-argument invalidate-after-use="yes" index="1"/> | |
2703 </modify-function> | |
2704 <modify-function signature="relationTo(int,const QAccessibleInterface*,int)const"> | |
2705 <modify-argument invalidate-after-use="yes" index="2"/> | |
2706 </modify-function> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2707 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2708 <!-- <modify-function signature="navigate(QAccessible::RelationFlag,int,QAccessibleInterface**)const" remove="all"/> --><!-- TODO --> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2709 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2710 <!-- |
1 | 2711 <inject-code> |
2712 <import-file name="typesystem_gui-java.java" quote-after-line="class QAccessibleInterface___" quote-before-line="}// class"/> | |
2713 </inject-code> | |
2714 | |
2715 | |
2716 <template name="gui.accessible_interface_to_target"> | |
2717 jclass __target_class = resolveClass(__jni_env, "QAccessibleInterface$Target", "com/trolltech/qt/gui/"); | |
2718 QTJAMBI_EXCEPTION_CHECK(__jni_env); | |
2719 Q_ASSERT(__target_class); | |
2720 | |
2721 jmethodID __target_constructor = resolveMethod(__jni_env, "<init>", "(ILcom/trolltech/qt/gui/QAccessibleInterface;)V", "QAccessibleInterface$Target", "com/trolltech/qt/gui/"); | |
2722 QTJAMBI_EXCEPTION_CHECK(__jni_env); | |
2723 Q_ASSERT(__target_constructor); | |
2724 | |
2725 jobject __java_interface = %TARGET != 0 ? qtjambi_from_object(__jni_env, %TARGET, "QAccessibleInterface$ConcreteWrapper", "com/trolltech/qt/gui/", true) : 0; | |
2726 | |
2727 jobject %OUTPUT = __jni_env->NewObject(__target_class, __target_constructor, %CHILD_INDEX, __java_interface); | |
2728 </template> | |
2729 | |
2730 <modify-function signature="navigate(QAccessible::RelationFlag,int,QAccessibleInterface**)const"> | |
2731 <modify-argument index="3"> | |
2732 <remove-argument/> | |
2733 <conversion-rule class="shell"> | |
2734 // nothing | |
2735 </conversion-rule> | |
2736 <conversion-rule class="native"> | |
2737 QAccessibleInterface *__qt_interface = 0; | |
2738 QAccessibleInterface **%out = &__qt_interface; | |
2739 </conversion-rule> | |
2740 </modify-argument> | |
2741 | |
2742 <modify-argument index="0"> | |
2743 <replace-type modified-type="qt.gui.QAccessibleInterface$Target"/> | |
2744 <conversion-rule class="native"> | |
2745 <insert-template name="gui.accessible_interface_to_target"> | |
2746 <replace from="%TARGET" to="__qt_interface"/> | |
2747 <replace from="%CHILD_INDEX" to="%in"/> | |
2748 <replace from="%OUTPUT" to="%out"/> | |
2749 </insert-template> | |
2750 </conversion-rule> | |
2751 <conversion-rule class="shell"> | |
2752 jfieldID __childIndex_id = resolveField(__jni_env, "childIndex", "I", "QAccessibleInterface$Target", "com/trolltech/qt/gui/"); | |
2753 Q_ASSERT(__childIndex_id); | |
2754 | |
2755 jfieldID __target_id = resolveField(__jni_env, "target", "Lcom/trolltech/qt/gui/QAccessibleInterface;", "QAccessibleInterface$Target", "com/trolltech/qt/gui/"); | |
2756 Q_ASSERT(__target_id); | |
2757 | |
2758 jint %out = __jni_env->GetIntField(%in, __childIndex_id); | |
2759 | |
2760 jobject __java_interface = __jni_env->GetObjectField(%in, __target_id); | |
2761 QtJambiLink *__qt_link = __java_interface != 0 ? QtJambiLink::findLink(__jni_env, __java_interface) : 0; | |
2762 if (__qt_link != 0) __qt_link->disableGarbageCollection(__jni_env, __java_interface); | |
2763 QAccessibleInterface *__qt_interface = __qt_link != 0 ? (QAccessibleInterface *) __qt_link->pointer() : 0; | |
2764 | |
2765 if (%3 != 0) *%3 = __qt_interface; | |
2766 </conversion-rule> | |
2767 </modify-argument> | |
2768 </modify-function> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2769 --> |
1 | 2770 </object-type> |
2771 <object-type name="QAccessibleInterfaceEx"/> | |
2772 <object-type name="QAccessibleObject"/> | |
2773 <object-type name="QAccessibleObjectEx"/> | |
2774 <object-type name="QAccessibleWidget"/> | |
2775 <object-type name="QAccessibleWidgetEx"/> | |
2776 <object-type name="QActionGroup"> | |
2777 <modify-function signature="addAction(QAction*)"> | |
2778 <modify-argument index="1"> | |
2779 <reference-count action="add" variable-name="__rcActions"/> | |
2780 </modify-argument> | |
2781 <!-- <inject-code position="end"> | |
2782 <argument-map index="1" meta-name="%1"/> | |
2783 qt.GeneratorUtilities.setField(%1, QAction.class, "__rcActionGroup", this); | |
2784 </inject-code> --> | |
2785 </modify-function> | |
2786 <modify-function signature="removeAction(QAction*)"> | |
2787 <modify-argument index="1"> | |
2788 <reference-count action="remove" variable-name="__rcActions"/> | |
2789 </modify-argument> | |
2790 <!-- <inject-code position="end"> | |
2791 <argument-map index="1" meta-name="%1"/> | |
2792 qt.GeneratorUtilities.setField(%1, QAction.class, "__rcActionGroup", null); | |
2793 </inject-code> --> | |
2794 </modify-function> | |
2795 </object-type> | |
2796 <object-type name="QCDEStyle"> | |
2797 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/> | |
2798 </object-type> | |
2799 <object-type name="QCheckBox"> | |
2800 <!-- <modify-function signature="initStyleOption(QStyleOptionButton*)const"> | |
2801 <access modifier="private"/> | |
2802 </modify-function> | |
2803 | |
2804 <inject-code> | |
2805 <insert-template name="gui.init_style_option"> | |
2806 <replace from="%TYPE" to="QStyleOptionButton"/> | |
2807 </insert-template> | |
2808 </inject-code> --> | |
2809 </object-type> | |
2810 <object-type name="QCleanlooksStyle"> | |
2811 <modify-function signature="standardPixmap(QStyle::StandardPixmap,const QStyleOption*,const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3--> | |
2812 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/> | |
2813 </object-type> | |
2814 <object-type name="QCommonStyle"> | |
2815 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*,const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3--> | |
2816 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/> | |
2817 </object-type> | |
2818 <object-type name="QDataWidgetMapper"> | |
2819 <modify-function signature="addMapping(QWidget*,int)"> | |
2820 <modify-argument index="1"> | |
2821 <reference-count action="add" variable-name="__rcMappings"/> | |
2822 </modify-argument> | |
2823 </modify-function> | |
2824 <modify-function signature="addMapping(QWidget*,int,QByteArray)"> | |
2825 <modify-argument index="1"> | |
2826 <reference-count action="add" variable-name="__rcMappings"/> | |
2827 </modify-argument> | |
2828 </modify-function> | |
2829 <modify-function signature="removeMapping(QWidget*)"> | |
2830 <modify-argument index="1"> | |
2831 <reference-count action="remove" variable-name="__rcMappings"/> | |
2832 </modify-argument> | |
2833 </modify-function> | |
2834 <modify-function signature="setItemDelegate(QAbstractItemDelegate*)"> | |
2835 <modify-argument index="1"> | |
2836 <reference-count action="set" variable-name="__rcItemDelegate"/> | |
2837 </modify-argument> | |
2838 </modify-function> | |
2839 <modify-function signature="setModel(QAbstractItemModel*)"> | |
2840 <modify-argument index="1"> | |
2841 <reference-count action="set" variable-name="__rcModel"/> | |
2842 </modify-argument> | |
2843 </modify-function> | |
2844 </object-type> | |
2845 <object-type name="QDateEdit"/> | |
2846 <object-type name="QDesktopServices"> | |
2847 <modify-function signature="setUrlHandler(const QString &, QObject *, const char *)" access="private"> | |
2848 <modify-argument index="2"> | |
2849 <reference-count action="ignore"/> <!-- Handled in injected code --> | |
2850 </modify-argument> | |
2851 </modify-function> | |
2852 | |
2853 <inject-code> | |
2854 <import-file name="typesystem_gui-java.java" quote-after-line="class QDesktopServices___" quote-before-line="}// class"/> | |
2855 </inject-code> | |
2856 | |
2857 </object-type> | |
2858 <object-type name="QDialog"> | |
2859 <!-- <modify-function signature="setVisible(bool)" remove="all"/> // properties_d --> | |
2860 | |
2861 <modify-function signature="setExtension(QWidget*)" remove="all"/> | |
2862 <modify-function signature="exec()" access="non-final"/> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2863 <modify-function signature="open()" virtual-slot="yes" /> |
1 | 2864 <modify-function signature="extension()const" remove="all"/> <!--### Obsolete in 4.3--> |
2865 <modify-function signature="orientation()const" remove="all"/> <!--### Obsolete in 4.3--> | |
2866 <modify-function signature="setOrientation(Qt::Orientation)" remove="all"/> <!--### Obsolete in 4.3--> | |
2867 <modify-function signature="showExtension(bool)" remove="all"/> <!--### Obsolete in 4.3--> | |
2868 </object-type> | |
2869 <object-type name="QDialogButtonBox"> | |
2870 <modify-function signature="addButton(QAbstractButton*,QDialogButtonBox::ButtonRole)"> | |
2871 <modify-argument index="1"> | |
2872 <reference-count action="ignore"/> | |
2873 </modify-argument> | |
2874 </modify-function> | |
2875 <modify-function signature="removeButton(QAbstractButton*)"> | |
2876 <modify-argument index="1"> | |
2877 <reference-count action="ignore"/> | |
2878 </modify-argument> | |
2879 </modify-function> | |
2880 </object-type> | |
2881 <object-type name="QDirModel"> | |
2882 <modify-function signature="parent()const" remove="java"/> | |
2883 <modify-function signature="setIconProvider(QFileIconProvider*)"> | |
2884 <modify-argument index="1"> | |
2885 <reference-count action="set" variable-name="__rcIconProvider"/> | |
2886 </modify-argument> | |
2887 </modify-function> | |
2888 </object-type> | |
2889 <object-type name="QDoubleValidator"/> | |
2890 <object-type name="QFileIconProvider"/> | |
2891 <object-type name="QWizard"> | |
2892 <!-- ### Requires correct class name in meta object --> | |
2893 <modify-function signature="setDefaultProperty(const char *, const char *, const char *)" remove="all"/> | |
2894 <modify-function signature="addPage(QWizardPage*)"> | |
2895 <modify-argument index="1"> | |
2896 <no-null-pointer/> | |
2897 <reference-count action="ignore"/> | |
2898 </modify-argument> | |
2899 </modify-function> | |
2900 <modify-function signature="setButton(QWizard::WizardButton,QAbstractButton*)"> | |
2901 <modify-argument index="1"> | |
2902 <reference-count action="ignore"/> | |
2903 </modify-argument> | |
2904 </modify-function> | |
2905 <modify-function signature="setPage(int,QWizardPage*)"> | |
2906 <modify-argument index="2"> | |
2907 <no-null-pointer/> | |
2908 <reference-count action="ignore"/> | |
2909 </modify-argument> | |
2910 </modify-function> | |
2911 | |
2912 </object-type> | |
2913 <object-type name="QWizardPage"> | |
2914 <!-- ### Reduced functionality due to meta object having missing information --> | |
2915 <modify-function signature="registerField(const QString &, QWidget *, const char *, const char *)"> | |
2916 <access modifier="private"/> | |
2917 <modify-argument index="3"> | |
2918 <remove-default-expression/> | |
2919 </modify-argument> | |
2920 <modify-argument index="4"> | |
2921 <remove-default-expression/> | |
2922 </modify-argument> | |
2923 </modify-function> | |
2924 | |
2925 | |
2926 <inject-code> | |
2927 <import-file name="typesystem_gui-java.java" quote-after-line="class QWizardPage___" quote-before-line="}// class"/> | |
2928 </inject-code> | |
2929 | |
2930 </object-type> | |
2931 <object-type name="QFocusFrame"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2932 <!-- <modify-function signature="initStyleOption(QStyleOption*)const"> |
1 | 2933 <access modifier="private"/> |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2934 </modify-function> --> |
1 | 2935 <modify-function signature="setWidget(QWidget*)"> |
2936 <modify-argument index="1"> | |
2937 <reference-count action="set" variable-name="__rcWidget"/> | |
2938 </modify-argument> | |
2939 </modify-function> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2940 <!-- <inject-code> |
1 | 2941 <insert-template name="gui.init_style_option"> |
2942 <replace from="%TYPE" to="QStyleOption"/> | |
2943 </insert-template> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2944 </inject-code> --> |
1 | 2945 </object-type> |
2946 <object-type name="QFontComboBox"/> | |
2947 <object-type name="QFontDialog"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2948 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2949 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
2950 <!-- <inject-code> |
1 | 2951 <import-file name="typesystem_gui-java.java" quote-after-line="class QFontDialog___" quote-before-line="}// class"/> |
2952 </inject-code> | |
2953 | |
2954 <template name="gui.fontdialog_get_font_general"> | |
2955 public static Result getFont(%FONT_ARGUMENT %COMMA QWidget parent %STRING_ARGUMENT) { | |
2956 QNativePointer np = new QNativePointer(QNativePointer.Type.Boolean); | |
2957 QFont returned = getFont(np, %FONT_CALL_ARGUMENT %COMMA parent %STRING_CALL_ARGUMENT); | |
2958 return new Result(returned, np.booleanValue()); | |
2959 } | |
2960 </template> | |
2961 | |
2962 <template name="gui.fontdialog_get_font_nocaption"> | |
2963 <insert-template name="gui.fontdialog_get_font_general"> | |
2964 <replace from="%STRING_ARGUMENT" to=""/> | |
2965 <replace from="%STRING_CALL_ARGUMENT" to=""/> | |
2966 </insert-template> | |
2967 | |
2968 public static Result getFont(%FONT_ARGUMENT) { | |
2969 return getFont(%FONT_CALL_ARGUMENT %COMMA (QWidget) null); | |
2970 } | |
2971 </template> | |
2972 | |
2973 <modify-function signature="getFont(bool*,QFont,QWidget*,QString)"> | |
2974 <access modifier="private"/> | |
2975 </modify-function> | |
2976 <inject-code> | |
2977 <insert-template name="gui.fontdialog_get_font_general"> | |
2978 <replace from="%FONT_ARGUMENT %COMMA" to="QFont initial,"/> | |
2979 <replace from="%STRING_ARGUMENT" to=", String caption"/> | |
2980 <replace from="%FONT_CALL_ARGUMENT %COMMA" to="initial,"/> | |
2981 <replace from="%STRING_CALL_ARGUMENT" to=", caption"/> | |
2982 </insert-template> | |
2983 </inject-code> | |
2984 | |
2985 <modify-function signature="getFont(bool*,QWidget*)"> | |
2986 <access modifier="private"/> | |
2987 <modify-argument index="2"> | |
2988 <remove-default-expression/> | |
2989 </modify-argument> | |
2990 </modify-function> | |
2991 <inject-code> | |
2992 <insert-template name="gui.fontdialog_get_font_nocaption"> | |
2993 <replace from="%FONT_ARGUMENT" to=""/> | |
2994 <replace from="%COMMA" to=""/> | |
2995 <replace from="%FONT_CALL_ARGUMENT" to=""/> | |
2996 </insert-template> | |
2997 </inject-code> | |
2998 | |
2999 <modify-function signature="getFont(bool*,QFont,QWidget*)"> | |
3000 <access modifier="private"/> | |
3001 <modify-argument index="3"> | |
3002 <remove-default-expression/> | |
3003 </modify-argument> | |
3004 </modify-function> | |
3005 <inject-code> | |
3006 <insert-template name="gui.fontdialog_get_font_nocaption"> | |
3007 <replace from="%FONT_ARGUMENT" to="QFont initial"/> | |
3008 <replace from="%COMMA" to=", "/> | |
3009 <replace from="%FONT_CALL_ARGUMENT" to="initial"/> | |
3010 </insert-template> | |
3011 </inject-code> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3012 --> |
1 | 3013 </object-type> |
3014 <object-type name="QGraphicsEllipseItem" delete-in-main-thread="yes"> | |
3015 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/> | |
3016 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/> | |
3017 <!-- | |
3018 <modify-function signature="QGraphicsEllipseItem(QGraphicsItem*,QGraphicsScene*)"> | |
3019 <inject-code position="end"> | |
3020 <argument-map index="1" meta-name="%1"/> | |
3021 if (%1 != null) disableGarbageCollection(); | |
3022 </inject-code> | |
3023 </modify-function> | |
3024 <modify-function signature="QGraphicsEllipseItem(const QRectF &,QGraphicsItem*,QGraphicsScene*)"> | |
3025 <inject-code position="end"> | |
3026 <argument-map index="2" meta-name="%2"/> | |
3027 if (%2 != null) disableGarbageCollection(); | |
3028 </inject-code> | |
3029 </modify-function> | |
3030 <modify-function signature="QGraphicsEllipseItem(double,double,double,double,QGraphicsItem*,QGraphicsScene*)"> | |
3031 <inject-code position="end"> | |
3032 <argument-map index="5" meta-name="%5"/> | |
3033 if (%5 != null) disableGarbageCollection(); | |
3034 </inject-code> | |
3035 </modify-function>--> | |
3036 </object-type> | |
3037 <object-type name="QGraphicsItemAnimation"> | |
3038 <modify-function signature="setItem(QGraphicsItem*)"> | |
3039 <modify-argument index="1"> | |
3040 <reference-count action="set" variable-name="__rcItem"/> | |
3041 </modify-argument> | |
3042 </modify-function> | |
3043 <modify-function signature="setTimeLine(QTimeLine*)"> | |
3044 <modify-argument index="1"> | |
3045 <reference-count action="set" variable-name="__rcTimeLine"/> | |
3046 </modify-argument> | |
3047 </modify-function> | |
3048 </object-type> | |
3049 <object-type name="QGraphicsItemGroup" delete-in-main-thread="yes"> | |
3050 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3--> | |
3051 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3--> | |
3052 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3--> | |
3053 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3--> | |
3054 <!-- | |
3055 <modify-function signature="QGraphicsItemGroup(QGraphicsItem*,QGraphicsScene*)"> | |
3056 <inject-code position="end"> | |
3057 <argument-map index="1" meta-name="%1"/> | |
3058 if (%1 != null) disableGarbageCollection(); | |
3059 </inject-code> | |
3060 </modify-function> | |
3061 <modify-function signature="addToGroup(QGraphicsItem*)"> | |
3062 <modify-argument index="1"> | |
3063 <define-ownership class="java" owner="c++"/> | |
3064 </modify-argument> | |
3065 </modify-function> | |
3066 <modify-function signature="removeFromGroup(QGraphicsItem*)"> | |
3067 <modify-argument index="1"> | |
3068 <reference-count action="ignore"/> | |
3069 </modify-argument> | |
3070 <inject-code position="end"> | |
3071 <argument-map index="1" meta-name="%1"/> | |
3072 if (parentItem() == null) | |
3073 %1.reenableGarbageCollection(); | |
3074 </inject-code> | |
3075 </modify-function> | |
3076 --> | |
3077 </object-type> | |
3078 <object-type name="QGraphicsLineItem" delete-in-main-thread="yes"> | |
3079 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3--> | |
3080 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3--> | |
3081 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3--> | |
3082 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3--> | |
3083 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/> | |
3084 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/> | |
3085 <!-- | |
3086 <modify-function signature="QGraphicsLineItem(QGraphicsItem*,QGraphicsScene*)"> | |
3087 <inject-code position="end"> | |
3088 <argument-map index="1" meta-name="%1"/> | |
3089 if (%1 != null) disableGarbageCollection(); | |
3090 </inject-code> | |
3091 </modify-function> | |
3092 <modify-function signature="QGraphicsLineItem(const QLineF &,QGraphicsItem*,QGraphicsScene*)"> | |
3093 <inject-code position="end"> | |
3094 <argument-map index="2" meta-name="%2"/> | |
3095 if (%2 != null) disableGarbageCollection(); | |
3096 </inject-code> | |
3097 </modify-function> | |
3098 <modify-function signature="QGraphicsLineItem(double,double,double,double,QGraphicsItem*,QGraphicsScene*)"> | |
3099 <inject-code position="end"> | |
3100 <argument-map index="5" meta-name="%5"/> | |
3101 if (%5 != null) disableGarbageCollection(); | |
3102 </inject-code> | |
3103 </modify-function> | |
3104 --> | |
3105 </object-type> | |
3106 <object-type name="QGraphicsPathItem" delete-in-main-thread="yes"> | |
3107 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/> | |
3108 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/> | |
3109 <!-- | |
3110 <modify-function signature="QGraphicsPathItem(QGraphicsItem*,QGraphicsScene*)"> | |
3111 <inject-code position="end"> | |
3112 <argument-map index="1" meta-name="%1"/> | |
3113 if (%1 != null) disableGarbageCollection(); | |
3114 </inject-code> | |
3115 </modify-function> | |
3116 <modify-function signature="QGraphicsPathItem(const QPainterPath &,QGraphicsItem*,QGraphicsScene*)"> | |
3117 <inject-code position="end"> | |
3118 <argument-map index="2" meta-name="%2"/> | |
3119 if (%2 != null) disableGarbageCollection(); | |
3120 </inject-code> | |
3121 </modify-function> | |
3122 --> | |
3123 </object-type> | |
3124 | |
3125 <object-type name="QGraphicsPixmapItem" delete-in-main-thread="yes"> | |
3126 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3--> | |
3127 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3--> | |
3128 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3--> | |
3129 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3--> | |
3130 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/> | |
3131 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/> | |
3132 <!-- | |
3133 <modify-function signature="QGraphicsPixmapItem(QGraphicsItem*,QGraphicsScene*)"> | |
3134 <inject-code position="end"> | |
3135 <argument-map index="1" meta-name="%1"/> | |
3136 if (%1 != null) disableGarbageCollection(); | |
3137 </inject-code> | |
3138 </modify-function> | |
3139 <modify-function signature="QGraphicsPixmapItem(const QPixmap &,QGraphicsItem*,QGraphicsScene*)"> | |
3140 <inject-code position="end"> | |
3141 <argument-map index="2" meta-name="%2"/> | |
3142 if (%2 != null) disableGarbageCollection(); | |
3143 </inject-code> | |
3144 </modify-function> | |
3145 --> | |
3146 </object-type> | |
3147 <object-type name="QGraphicsPolygonItem" delete-in-main-thread="yes"> | |
3148 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/> | |
3149 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/> | |
3150 <!-- | |
3151 <modify-function signature="QGraphicsPolygonItem(QGraphicsItem*,QGraphicsScene*)"> | |
3152 <inject-code position="end"> | |
3153 <argument-map index="1" meta-name="%1"/> | |
3154 if (%1 != null) disableGarbageCollection(); | |
3155 </inject-code> | |
3156 </modify-function> | |
3157 <modify-function signature="QGraphicsPolygonItem(const QPolygonF &,QGraphicsItem*,QGraphicsScene*)"> | |
3158 <inject-code position="end"> | |
3159 <argument-map index="2" meta-name="%2"/> | |
3160 if (%2 != null) disableGarbageCollection(); | |
3161 </inject-code> | |
3162 </modify-function> | |
3163 --> | |
3164 </object-type> | |
3165 <object-type name="QGraphicsRectItem" delete-in-main-thread="yes"> | |
3166 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/> | |
3167 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/> | |
3168 <!-- | |
3169 <modify-function signature="QGraphicsRectItem(QGraphicsItem*,QGraphicsScene*)"> | |
3170 <inject-code position="end"> | |
3171 <argument-map index="1" meta-name="%1"/> | |
3172 if (%1 != null) disableGarbageCollection(); | |
3173 </inject-code> | |
3174 </modify-function> | |
3175 <modify-function signature="QGraphicsRectItem(double,double,double,double,QGraphicsItem*,QGraphicsScene*)"> | |
3176 <inject-code position="end"> | |
3177 <argument-map index="5" meta-name="%5"/> | |
3178 if (%5 != null) disableGarbageCollection(); | |
3179 </inject-code> | |
3180 </modify-function> | |
3181 <modify-function signature="QGraphicsRectItem(const QRectF &,QGraphicsItem*,QGraphicsScene*)"> | |
3182 <inject-code position="end"> | |
3183 <argument-map index="2" meta-name="%2"/> | |
3184 if (%2 != null) disableGarbageCollection(); | |
3185 </inject-code> | |
3186 </modify-function> --> | |
3187 </object-type> | |
3188 <object-type name="QGraphicsSimpleTextItem" delete-in-main-thread="yes"> | |
3189 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/> | |
3190 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/> | |
3191 <!-- | |
3192 <modify-function signature="QGraphicsSimpleTextItem(QGraphicsItem*,QGraphicsScene*)"> | |
3193 <inject-code position="end"> | |
3194 <argument-map index="1" meta-name="%1"/> | |
3195 if (%1 != null) disableGarbageCollection(); | |
3196 </inject-code> | |
3197 </modify-function> | |
3198 <modify-function signature="QGraphicsSimpleTextItem(const QString &,QGraphicsItem*,QGraphicsScene*)"> | |
3199 <inject-code position="end"> | |
3200 <argument-map index="2" meta-name="%2"/> | |
3201 if (%2 != null) disableGarbageCollection(); | |
3202 </inject-code> | |
3203 </modify-function> | |
3204 --> | |
3205 </object-type> | |
3206 <object-type name="QHBoxLayout"/> | |
3207 <object-type name="QHeaderView"> | |
3208 <!-- <modify-function signature="initStyleOption(QStyleOptionHeader*)const"> | |
3209 <access modifier="private"/> | |
3210 </modify-function> | |
3211 --> | |
3212 <modify-function signature="paintSection(QPainter*,QRect,int)const"> | |
3213 <modify-argument index="1" invalidate-after-use="yes"/> | |
3214 </modify-function> | |
3215 <!-- | |
3216 <inject-code> | |
3217 <insert-template name="gui.init_style_option"> | |
3218 <replace from="%TYPE" to="QStyleOptionHeader"/> | |
3219 </insert-template> | |
3220 </inject-code>--> | |
3221 <modify-function signature="setModel(QAbstractItemModel*)"> | |
3222 <modify-argument index="1"> | |
3223 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemModel"/> | |
3224 </modify-argument> | |
3225 </modify-function> | |
3226 </object-type> | |
3227 <object-type name="QIconEngine"> | |
3228 <modify-function signature="paint(QPainter*,QRect,QIcon::Mode,QIcon::State)"> | |
3229 <modify-argument index="1" invalidate-after-use="yes"/> | |
3230 </modify-function> | |
3231 </object-type> | |
3232 <object-type name="QIconEngineV2"> | |
3233 <extra-includes> | |
3234 <include file-name="qt.core.QSize" location="java"/> | |
3235 </extra-includes> | |
3236 <modify-function signature="read(QDataStream&)"> | |
3237 <modify-argument index="1" invalidate-after-use="yes"/> | |
3238 </modify-function> | |
3239 <modify-function signature="write(QDataStream&)const"> | |
3240 <modify-argument index="1" invalidate-after-use="yes"/> | |
3241 </modify-function> | |
3242 | |
3243 <modify-function signature="virtual_hook(int,void*)" remove="all"/> | |
3244 | |
3245 <modify-function signature="clone()const"> | |
3246 <remove class="java"/> | |
3247 <!-- <modify-argument index="return"> | |
3248 <define-ownership class="shell" owner="c++"/> | |
3249 </modify-argument>--> | |
3250 </modify-function> | |
3251 | |
3252 <inject-code> | |
3253 <import-file name="typesystem_gui-java.java" quote-after-line="class QIconEngineV2___" quote-before-line="}// class"/> | |
3254 </inject-code> | |
3255 </object-type> | |
3256 <object-type name="QImageWriter"> | |
3257 <modify-function signature="setDevice(QIODevice*)"> | |
3258 <modify-argument index="1"> | |
3259 <reference-count action="set" variable-name="__rcDevice"/> | |
3260 </modify-argument> | |
3261 </modify-function> | |
3262 <modify-function signature="description()const" remove="all"/> <!--### Obsolete in 4.3--> | |
3263 <modify-function signature="setDescription(QString)" remove="all"/> <!--### Obsolete in 4.3--> | |
3264 </object-type> | |
3265 <object-type name="QInputContextFactory"/> | |
3266 <object-type name="QIntValidator"/> | |
3267 <object-type name="QItemDelegate"> | |
3268 <modify-function signature="doLayout(QStyleOptionViewItem,QRect*,QRect*,QRect*,bool)const"> | |
3269 <remove/> | |
3270 </modify-function> | |
3271 | |
3272 <modify-function signature="drawCheck(QPainter*,QStyleOptionViewItem,QRect,Qt::CheckState)const"> | |
3273 <modify-argument index="1" invalidate-after-use="yes"/> | |
3274 </modify-function> | |
3275 <modify-function signature="drawDecoration(QPainter*,QStyleOptionViewItem,QRect,QPixmap)const"> | |
3276 <modify-argument index="1" invalidate-after-use="yes"/> | |
3277 </modify-function> | |
3278 <modify-function signature="drawDisplay(QPainter*,QStyleOptionViewItem,QRect,QString)const"> | |
3279 <modify-argument index="1" invalidate-after-use="yes"/> | |
3280 </modify-function> | |
3281 <modify-function signature="drawFocus(QPainter*,QStyleOptionViewItem,QRect)const"> | |
3282 <modify-argument index="1" invalidate-after-use="yes"/> | |
3283 </modify-function> | |
3284 | |
3285 | |
3286 <modify-function signature="selected(QPixmap,QPalette,bool)const"> | |
3287 <remove/> | |
3288 </modify-function> | |
3289 <modify-function signature="setItemEditorFactory(QItemEditorFactory*)"> | |
3290 <modify-argument index="1"> | |
3291 <reference-count action="set" variable-name="__rcItemEditorFactory"/> | |
3292 </modify-argument> | |
3293 </modify-function> | |
3294 <modify-function signature="setEditorData(QWidget*,QModelIndex)const"> | |
3295 <modify-argument index="1"> | |
3296 <reference-count action="ignore"/> | |
3297 </modify-argument> | |
3298 </modify-function> | |
3299 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const"> | |
3300 <modify-argument index="1"> | |
3301 <reference-count action="ignore"/> | |
3302 </modify-argument> | |
3303 </modify-function> | |
3304 | |
3305 </object-type> | |
3306 <object-type name="QItemEditorCreatorBase"/> | |
3307 <object-type name="QItemEditorFactory"> | |
3308 <modify-function signature="registerEditor(QVariant::Type, QItemEditorCreatorBase *)"> | |
3309 <modify-argument index="2"> | |
3310 <define-ownership class="java" owner="c++"/> | |
3311 </modify-argument> | |
3312 </modify-function> | |
3313 <modify-function signature="setDefaultFactory(QItemEditorFactory *)"> | |
3314 <modify-argument index="1"> | |
3315 <reference-count action="set" variable-name="__rcDefaultItemEditorFactory"/> | |
3316 </modify-argument> | |
3317 </modify-function> | |
3318 | |
3319 <modify-function signature="setDefaultFactory(QItemEditorFactory*)"> | |
3320 <modify-argument index="1"> | |
3321 <define-ownership class="java" owner="c++"/> | |
3322 </modify-argument> | |
3323 </modify-function> | |
3324 </object-type> | |
3325 <object-type name="QItemSelectionModel"/> | |
3326 <object-type name="QTreeModel"/> | |
3327 <object-type name="QListView"/> | |
3328 <object-type name="QColumnView"> | |
3329 <modify-function signature="setPreviewWidget(QWidget*)"> | |
3330 <modify-argument index="1"> | |
3331 <reference-count action="ignore"/> | |
3332 </modify-argument> | |
3333 </modify-function> | |
3334 <modify-function signature="setModel(QAbstractItemModel*)"> | |
3335 <modify-argument index="1"> | |
3336 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemModel"/> | |
3337 </modify-argument> | |
3338 </modify-function> | |
3339 <modify-function signature="setSelectionModel(QItemSelectionModel*)"> | |
3340 <modify-argument index="1"> | |
3341 <no-null-pointer/> | |
3342 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemSelectionModel"/> | |
3343 </modify-argument> | |
3344 </modify-function> | |
3345 </object-type> | |
3346 <object-type name="QMainWindow"> | |
3347 <modify-function signature="addDockWidget(Qt::DockWidgetArea,QDockWidget*,Qt::Orientation)"> | |
3348 <modify-argument index="2"> | |
3349 <reference-count action="ignore"/> | |
3350 </modify-argument> | |
3351 </modify-function> | |
3352 <modify-function signature="addDockWidget(Qt::DockWidgetArea,QDockWidget*)"> | |
3353 <modify-argument index="2"> | |
3354 <reference-count action="ignore"/> | |
3355 </modify-argument> | |
3356 </modify-function> | |
3357 <modify-function signature="addToolBar(QToolBar*)"> | |
3358 <modify-argument index="1"> | |
3359 <reference-count action="ignore"/> | |
3360 </modify-argument> | |
3361 </modify-function> | |
3362 <modify-function signature="addToolBar(Qt::ToolBarArea,QToolBar*)"> | |
3363 <modify-argument index="2"> | |
3364 <reference-count action="ignore"/> | |
3365 </modify-argument> | |
3366 </modify-function> | |
3367 <modify-function signature="insertToolBar(QToolBar*,QToolBar*)"> | |
3368 <modify-argument index="2"> | |
3369 <reference-count action="ignore"/> | |
3370 </modify-argument> | |
3371 <modify-argument index="2"> | |
3372 <reference-count action="ignore"/> | |
3373 </modify-argument> | |
3374 </modify-function> | |
3375 <modify-function signature="insertToolBarBreak(QToolBar*)"> | |
3376 <modify-argument index="1"> | |
3377 <reference-count action="ignore"/> | |
3378 </modify-argument> | |
3379 </modify-function> | |
3380 <modify-function signature="removeDockWidget(QDockWidget*)"> | |
3381 <modify-argument index="1"> | |
3382 <reference-count action="ignore"/> | |
3383 </modify-argument> | |
3384 </modify-function> | |
3385 <modify-function signature="removeToolBar(QToolBar*)"> | |
3386 <modify-argument index="1"> | |
3387 <reference-count action="ignore"/> | |
3388 </modify-argument> | |
3389 </modify-function> | |
3390 <modify-function signature="removeToolBarBreak(QToolBar*)"> | |
3391 <modify-argument index="1"> | |
3392 <reference-count action="ignore"/> | |
3393 </modify-argument> | |
3394 </modify-function> | |
3395 <modify-function signature="setCentralWidget(QWidget*)"> | |
3396 <modify-argument index="1"> | |
3397 <reference-count action="ignore"/> | |
3398 </modify-argument> | |
3399 </modify-function> | |
3400 <modify-function signature="setMenuBar(QMenuBar*)"> | |
3401 <modify-argument index="1"> | |
3402 <reference-count action="ignore"/> | |
3403 </modify-argument> | |
3404 </modify-function> | |
3405 <modify-function signature="setMenuWidget(QWidget*)"> | |
3406 <modify-argument index="1"> | |
3407 <reference-count action="ignore"/> | |
3408 </modify-argument> | |
3409 </modify-function> | |
3410 <modify-function signature="setStatusBar(QStatusBar*)"> | |
3411 <modify-argument index="1"> | |
3412 <reference-count action="ignore"/> | |
3413 </modify-argument> | |
3414 </modify-function> | |
3415 | |
3416 </object-type> | |
3417 <object-type name="QMdiArea"> | |
3418 <modify-function signature="addSubWindow(QWidget*,QFlags<Qt::WindowType>)"> | |
3419 <modify-argument index="1"> | |
3420 <reference-count action="ignore"/> | |
3421 </modify-argument> | |
3422 </modify-function> | |
3423 | |
3424 <modify-function signature="removeSubWindow(QWidget*)"> | |
3425 <modify-argument index="1"> | |
3426 <reference-count action="ignore"/> | |
3427 </modify-argument> | |
3428 </modify-function> | |
3429 | |
3430 <modify-function signature="setActiveSubWindow(QMdiSubWindow*)"> | |
3431 <modify-argument index="1"> | |
3432 <reference-count action="ignore"/> | |
3433 </modify-argument> | |
3434 </modify-function> | |
3435 | |
3436 <modify-function signature="setupViewport(QWidget*)"> | |
3437 <modify-argument index="1"> | |
3438 <reference-count action="ignore"/> | |
3439 </modify-argument> | |
3440 </modify-function> | |
3441 | |
3442 </object-type> | |
3443 <object-type name="QMdiSubWindow"> | |
3444 <modify-function signature="setSystemMenu(QMenu*)"> | |
3445 <modify-argument index="1"> | |
3446 <reference-count action="ignore"/> | |
3447 </modify-argument> | |
3448 </modify-function> | |
3449 <modify-function signature="setWidget(QWidget*)"> | |
3450 <modify-argument index="1"> | |
3451 <reference-count action="ignore"/> | |
3452 </modify-argument> | |
3453 </modify-function> | |
3454 </object-type> | |
3455 <object-type name="QMenu"> | |
3456 <modify-function signature="addAction(QAction *)" remove="all"/> | |
3457 <modify-function signature="addMenu(QMenu*)"> | |
3458 <modify-argument index="1"> | |
3459 <reference-count action="add" variable-name="__rcMenus"/> | |
3460 </modify-argument> | |
3461 </modify-function> | |
3462 <modify-function signature="insertMenu(QAction*,QMenu*)"> | |
3463 <modify-argument index="2"> | |
3464 <reference-count action="add" variable-name="__rcMenus"/> | |
3465 </modify-argument> | |
3466 </modify-function> | |
3467 <modify-function signature="insertSeparator(QAction*)"> | |
3468 <modify-argument index="1"> | |
3469 <reference-count action="ignore"/> | |
3470 </modify-argument> | |
3471 </modify-function> | |
3472 <modify-function signature="setActiveAction(QAction*)"> | |
3473 <modify-argument index="1"> | |
3474 <reference-count action="ignore"/> | |
3475 </modify-argument> | |
3476 </modify-function> | |
3477 <modify-function signature="setDefaultAction(QAction*)"> | |
3478 <modify-argument index="1"> | |
3479 <reference-count action="ignore"/> | |
3480 </modify-argument> | |
3481 </modify-function> | |
3482 <modify-function signature="setNoReplayFor(QWidget*)"> | |
3483 <remove/> | |
3484 </modify-function> | |
3485 <modify-function signature="initStyleOption(QStyleOptionMenuItem*,const QAction*)const"> | |
3486 <access modifier="private"/> | |
3487 </modify-function> | |
3488 | |
3489 <modify-function signature="addAction(QString,const QObject*,const char*,QKeySequence)"> | |
3490 <remove/> | |
3491 </modify-function> | |
3492 | |
3493 <modify-function signature="addAction(QIcon,QString,const QObject*,const char*,QKeySequence)"> | |
3494 <remove/> | |
3495 </modify-function> | |
3496 | |
3497 <inject-code> | |
3498 <import-file name="typesystem_gui-java.java" quote-after-line="class QMenu___" quote-before-line="}// class"/> | |
3499 </inject-code> | |
3500 | |
3501 <!-- | |
3502 <template name="gui.addAction"> | |
3503 public final QAction addAction(%EXTRA String text, Object receiver, String method %END_EXTRA) { | |
3504 QAction returned = addAction(%CALL_EXTRA text %END_CALL_EXTRA); | |
3505 %POST_CALL | |
3506 returned.triggered.connect(receiver, method); | |
3507 | |
3508 return returned; | |
3509 } | |
3510 | |
3511 public final QAction addAction(%EXTRA String text, qt.QSignalEmitter.AbstractSignal signal %END_EXTRA) { | |
3512 QAction returned = addAction(%CALL_EXTRA text %END_CALL_EXTRA); | |
3513 %POST_CALL | |
3514 returned.triggered.connect(signal); | |
3515 return returned; | |
3516 } | |
3517 </template> | |
3518 | |
3519 <template name="gui.addAction_with_shortcut"> | |
3520 <insert-template name="gui.addAction"> | |
3521 <replace from="%POST_CALL" to="returned.setShortcut(shortcut);"/> | |
3522 <replace from=" %END_EXTRA" to=", QKeySequence shortcut"/> | |
3523 <replace from=" %END_CALL_EXTRA" to=""/> | |
3524 </insert-template> | |
3525 | |
3526 public final QAction addAction(%EXTRA String text, Object receiver, String method) { | |
3527 return addAction(%CALL_EXTRA text, receiver, method, new QKeySequence(0)); | |
3528 } | |
3529 | |
3530 public final QAction addAction(%EXTRA String text, qt.QSignalEmitter.AbstractSignal signal) { | |
3531 return addAction(%CALL_EXTRA text, signal, new QKeySequence(0)); | |
3532 } | |
3533 </template> | |
3534 | |
3535 <inject-code> | |
3536 <insert-template name="gui.addAction_with_shortcut"> | |
3537 <replace from="%EXTRA " to=""/> | |
3538 <replace from="%CALL_EXTRA " to=""/> | |
3539 </insert-template> | |
3540 </inject-code> | |
3541 | |
3542 <inject-code> | |
3543 <insert-template name="gui.addAction_with_shortcut"> | |
3544 <replace from="%EXTRA" to="QIcon icon,"/> | |
3545 <replace from="%CALL_EXTRA" to="icon,"/> | |
3546 </insert-template> | |
3547 </inject-code>--> | |
3548 </object-type> | |
3549 | |
3550 <object-type name="QMenuBar"> | |
3551 <modify-function signature="addAction(QAction *)" remove="all"/> | |
3552 <modify-function signature="addAction(QString,const QObject*,const char*)"> | |
3553 <remove/> | |
3554 </modify-function> | |
3555 | |
3556 <modify-function signature="addMenu(QMenu*)"> | |
3557 <modify-argument index="1"> | |
3558 <reference-count action="add" variable-name="__rcMenus"/> | |
3559 </modify-argument> | |
3560 </modify-function> | |
3561 <modify-function signature="insertMenu(QAction*,QMenu*)"> | |
3562 <modify-argument index="1"> | |
3563 <reference-count action="ignore"/> | |
3564 </modify-argument> | |
3565 <modify-argument index="2"> | |
3566 <reference-count action="add" variable-name="__rcMenus"/> | |
3567 </modify-argument> | |
3568 </modify-function> | |
3569 <modify-function signature="insertSeparator(QAction*)"> | |
3570 <modify-argument index="1"> | |
3571 <reference-count action="ignore"/> | |
3572 </modify-argument> | |
3573 </modify-function> | |
3574 <modify-function signature="setActiveAction(QAction*)"> | |
3575 <modify-argument index="1"> | |
3576 <reference-count action="ignore"/> | |
3577 </modify-argument> | |
3578 </modify-function> | |
3579 <modify-function signature="setCornerWidget(QWidget*,Qt::Corner) "> | |
3580 <modify-argument index="1"> | |
3581 <reference-count action="ignore"/> | |
3582 </modify-argument> | |
3583 </modify-function> | |
3584 | |
3585 <inject-code> | |
3586 <import-file name="typesystem_gui-java.java" quote-after-line="class QMenuBar___" quote-before-line="}// class"/> | |
3587 </inject-code> | |
3588 <inject-code> | |
3589 <insert-template name="gui.addAction"> | |
3590 <replace from="%POST_CALL" to=""/> | |
3591 <replace from=" %END_EXTRA" to=""/> | |
3592 <replace from=" %END_CALL_EXTRA" to=""/> | |
3593 <replace from="%EXTRA " to=""/> | |
3594 <replace from="%CALL_EXTRA " to=""/> | |
3595 </insert-template> | |
3596 </inject-code> | |
3597 | |
3598 | |
3599 </object-type> | |
3600 <object-type name="QMotifStyle"> | |
3601 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3--> | |
3602 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/> | |
3603 </object-type> | |
3604 <object-type name="QPainterPathStroker"/> | |
3605 | |
3606 <object-type name="QPictureIO"> | |
3607 <modify-function signature="QPictureIO(QIODevice*,const char*)"> | |
3608 <access modifier="private"/> | |
3609 <modify-argument index="1"> | |
3610 <reference-count action="set" variable-name="__rcDevice"/> | |
3611 </modify-argument> | |
3612 </modify-function> | |
3613 | |
3614 <modify-function signature="setIODevice(QIODevice*)"> | |
3615 <modify-argument index="1"> | |
3616 <reference-count action="set" variable-name="__rcDevice"/> | |
3617 </modify-argument> | |
3618 </modify-function> | |
3619 | |
3620 <modify-function signature="QPictureIO(QString,const char*)"> | |
3621 <access modifier="private"/> | |
3622 </modify-function> | |
3623 | |
3624 <modify-function signature="format()const"> | |
3625 <access modifier="private"/> | |
3626 <rename to="format_private"/> | |
3627 </modify-function> | |
3628 | |
3629 <modify-function signature="parameters()const"> | |
3630 <access modifier="private"/> | |
3631 <rename to="parameters_private"/> | |
3632 </modify-function> | |
3633 | |
3634 <modify-function signature="setFormat(const char*)"> | |
3635 <access modifier="private"/> | |
3636 </modify-function> | |
3637 | |
3638 <modify-function signature="setParameters(const char*)"> | |
3639 <access modifier="private"/> | |
3640 </modify-function> | |
3641 | |
3642 | |
3643 <inject-code> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3644 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3645 public this(QIODevice ioDevice, string format) { |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3646 this(ioDevice, toStringz(format)); |
1 | 3647 } |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3648 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3649 public this(string fileName, string format) { |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3650 this(fileName, toStringz(format)); |
1 | 3651 } |
3652 | |
3653 <insert-template name="core.return_string_instead_of_char*"> | |
3654 <replace from="%FUNCTION_NAME" to="format"/> | |
3655 </insert-template> | |
3656 <insert-template name="core.return_string_instead_of_char*"> | |
3657 <replace from="%FUNCTION_NAME" to="parameters"/> | |
3658 </insert-template> | |
3659 <insert-template name="core.call_with_string_instead_of_char*"> | |
3660 <replace from="%FUNCTION_NAME" to="setFormat"/> | |
3661 <replace from="%ARG_NAME" to="format"/> | |
3662 </insert-template> | |
3663 <insert-template name="core.call_with_string_instead_of_char*"> | |
3664 <replace from="%FUNCTION_NAME" to="setParameters"/> | |
3665 <replace from="%ARG_NAME" to="parameters"/> | |
3666 </insert-template> | |
3667 </inject-code> | |
3668 </object-type> | |
3669 | |
3670 <object-type name="QPixmapCache"> | |
3671 <modify-function signature="find(QString)"> | |
3672 <remove/> | |
3673 </modify-function> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3674 <!-- |
1 | 3675 <modify-function signature="find(QString,QPixmap&)"> |
3676 <access modifier="private"/> | |
3677 </modify-function> | |
3678 | |
3679 <inject-code> | |
3680 <import-file name="typesystem_gui-java.java" quote-after-line="class QPixmapCache___" quote-before-line="}// class"/> | |
3681 </inject-code> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3682 --> |
1 | 3683 </object-type> |
3684 <object-type name="QPlastiqueStyle"> | |
3685 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3--> | |
3686 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/> | |
3687 <modify-function signature="layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation, const QStyleOption *, const QWidget *) const" virtual-slot="yes"/> | |
3688 </object-type> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3689 <object-type name="QPrintDialog"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3690 <modify-function signature="accepted(QPrinter *)"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3691 <rename to="accepted_printer"/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3692 </modify-function> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3693 <modify-function signature="accepted()" remove="all"/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3694 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3695 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3696 </object-type> |
1 | 3697 <object-type name="QPrintEngine"/> |
3698 <object-type name="QProgressBar"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3699 <!-- <modify-function signature="initStyleOption(QStyleOptionProgressBar*)const"> |
1 | 3700 <access modifier="private"/> |
3701 </modify-function> | |
3702 | |
3703 <inject-code> | |
3704 <insert-template name="gui.init_style_option"> | |
3705 <replace from="%TYPE" to="QStyleOptionProgressBar"/> | |
3706 </insert-template> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
3707 </inject-code> --> |
1 | 3708 </object-type> |
3709 <object-type name="QPushButton"> | |
3710 <!-- <modify-function signature="initStyleOption(QStyleOptionButton*)const"> | |
3711 <access modifier="private"/> | |
3712 </modify-function> | |
3713 --> | |
3714 <!-- <modify-function signature="setDefault(bool)" rename="default_"/> // properties_d --> | |
3715 | |
3716 | |
3717 <modify-function signature="setMenu(QMenu*)"> | |
3718 <modify-argument index="1"> | |
3719 <reference-count action="set" variable-name="__rcMenu"/> | |
3720 </modify-argument> | |
3721 </modify-function> | |
3722 <!-- | |
3723 <inject-code> | |
3724 <insert-template name="gui.init_style_option"> | |
3725 <replace from="%TYPE" to="QStyleOptionButton"/> | |
3726 </insert-template> | |
3727 </inject-code> --> | |
3728 </object-type> | |
3729 <object-type name="QRegExpValidator"/> | |
3730 <object-type name="QScrollArea"> | |
3731 <modify-function signature="setWidget(QWidget*)"> | |
3732 <modify-argument index="1"> | |
3733 <reference-count action="ignore"/> | |
3734 </modify-argument> | |
3735 </modify-function> | |
3736 </object-type> | |
3737 <object-type name="QSessionManager"/> | |
3738 <object-type name="QShortcut"> | |
3739 <modify-function signature="QShortcut(QKeySequence,QWidget*,const char*,const char*,Qt::ShortcutContext)"> | |
3740 <access modifier="private"/> | |
3741 <modify-argument index="3"> | |
3742 <remove-default-expression/> | |
3743 </modify-argument> | |
3744 <modify-argument index="4"> | |
3745 <remove-default-expression/> | |
3746 </modify-argument> | |
3747 <modify-argument index="5"> | |
3748 <remove-default-expression/> | |
3749 </modify-argument> | |
3750 </modify-function> | |
3751 | |
3752 <inject-code> | |
3753 <import-file name="typesystem_gui-java.java" quote-after-line="class QShortcut___" quote-before-line="}// class"/> | |
3754 </inject-code> | |
3755 | |
3756 </object-type> | |
3757 <object-type name="QSizeGrip"/> | |
3758 <object-type name="QSound"/> | |
3759 <object-type name="QSpacerItem"> | |
3760 </object-type> | |
3761 <object-type name="QStandardItem"> | |
3762 <modify-function signature="operator=(QStandardItem)" remove="all"/> | |
3763 <modify-function signature="operator<(QStandardItem)const"> | |
3764 <modify-argument index="1" invalidate-after-use="yes"/> | |
3765 </modify-function> | |
3766 <modify-function signature="read(QDataStream&)"> | |
3767 <modify-argument index="1" invalidate-after-use="yes"/> | |
3768 </modify-function> | |
3769 <modify-function signature="write(QDataStream&)const"> | |
3770 <modify-argument index="1" invalidate-after-use="yes"/> | |
3771 </modify-function> | |
3772 | |
3773 | |
3774 <modify-function signature="appendColumn(const QList<QStandardItem *> &)"> | |
3775 <modify-argument index="1"> | |
3776 <define-ownership class="java" owner="c++"/> | |
3777 </modify-argument> | |
3778 </modify-function> | |
3779 <modify-function signature="appendRow(const QList<QStandardItem *> &)"> | |
3780 <modify-argument index="1"> | |
3781 <define-ownership class="java" owner="c++"/> | |
3782 </modify-argument> | |
3783 </modify-function> | |
3784 <modify-function signature="appendRow(QStandardItem *)"> | |
3785 <modify-argument index="1"> | |
3786 <define-ownership class="java" owner="c++"/> | |
3787 </modify-argument> | |
3788 </modify-function> | |
3789 <modify-function signature="insertColumn(int, const QList<QStandardItem *> &)"> | |
3790 <modify-argument index="2"> | |
3791 <define-ownership class="java" owner="c++"/> | |
3792 </modify-argument> | |
3793 </modify-function> | |
3794 <modify-function signature="insertRow(int, const QList<QStandardItem *> &)"> | |
3795 <modify-argument index="2"> | |
3796 <define-ownership class="java" owner="c++"/> | |
3797 </modify-argument> | |
3798 </modify-function> | |
3799 <modify-function signature="insertRow(int, QStandardItem *)"> | |
3800 <modify-argument index="2"> | |
3801 <define-ownership class="java" owner="c++"/> | |
3802 </modify-argument> | |
3803 </modify-function> | |
3804 <modify-function signature="setChild(int,int,QStandardItem *)"> | |
3805 <modify-argument index="3"> | |
3806 <define-ownership class="java" owner="c++"/> | |
3807 </modify-argument> | |
3808 </modify-function> | |
3809 <modify-function signature="setChild(int,QStandardItem *)"> | |
3810 <modify-argument index="2"> | |
3811 <define-ownership class="java" owner="c++"/> | |
3812 </modify-argument> | |
3813 </modify-function> | |
3814 <modify-function signature="takeChild(int,int)"> | |
3815 <modify-argument index="return"> | |
3816 <define-ownership class="java" owner="default"/> | |
3817 </modify-argument> | |
3818 </modify-function> | |
3819 <modify-function signature="takeColumn(int)"> | |
3820 <modify-argument index="return"> | |
3821 <define-ownership class="java" owner="default"/> | |
3822 </modify-argument> | |
3823 </modify-function> | |
3824 <modify-function signature="takeRow(int)"> | |
3825 <modify-argument index="return"> | |
3826 <define-ownership class="java" owner="default"/> | |
3827 </modify-argument> | |
3828 </modify-function> | |
3829 <modify-function signature="clone()const"> | |
3830 <modify-argument index="return"> | |
3831 <define-ownership class="shell" owner="c++"/> | |
3832 </modify-argument> | |
3833 </modify-function> | |
3834 </object-type> | |
3835 <object-type name="QStatusBar"> | |
3836 <modify-function signature="addPermanentWidget(QWidget *, int)"> | |
3837 <modify-argument index="1"> | |
3838 <reference-count action="ignore"/> | |
3839 </modify-argument> | |
3840 </modify-function> | |
3841 <modify-function signature="addWidget(QWidget *, int)"> | |
3842 <modify-argument index="1"> | |
3843 <reference-count action="ignore"/> | |
3844 </modify-argument> | |
3845 </modify-function> | |
3846 <modify-function signature="removeWidget(QWidget *)"> | |
3847 <modify-argument index="1"> | |
3848 <reference-count action="ignore"/> | |
3849 </modify-argument> | |
3850 </modify-function> | |
3851 <modify-function signature="insertPermanentWidget(int, QWidget *, int)"> | |
3852 <modify-argument index="2"> | |
3853 <reference-count action="ignore"/> | |
3854 </modify-argument> | |
3855 </modify-function> | |
3856 <modify-function signature="insertWidget(int, QWidget *, int)"> | |
3857 <modify-argument index="2"> | |
3858 <reference-count action="ignore"/> | |
3859 </modify-argument> | |
3860 </modify-function> | |
3861 </object-type> | |
3862 <object-type name="QStringListModel"/> | |
3863 <object-type name="QStyleFactory"/> | |
3864 <object-type name="QStyleHintReturn"> | |
3865 <modify-field name="version"> | |
3866 <rename to="version_"/> | |
3867 </modify-field> | |
3868 </object-type> | |
3869 <object-type name="QStyleHintReturnVariant"/> | |
3870 <object-type name="QStyleHintReturnMask"/> | |
3871 <object-type name="QStylePainter" delete-in-main-thread="yes"/> | |
3872 <object-type name="QSyntaxHighlighter"> | |
3873 <modify-function signature="setCurrentBlockUserData(QTextBlockUserData*)"> | |
3874 <modify-argument index="1"> | |
3875 <define-ownership class="java" owner="c++"/> | |
3876 </modify-argument> | |
3877 </modify-function> | |
3878 <modify-function signature="setDocument(QTextDocument*)"> | |
3879 <modify-argument index="1"> | |
3880 <reference-count action="set" variable-name="__rcDocument"/> | |
3881 </modify-argument> | |
3882 </modify-function> | |
3883 | |
3884 </object-type> | |
3885 <object-type name="QSystemTrayIcon"> | |
3886 <modify-function signature="setContextMenu(QMenu*)"> | |
3887 <modify-argument index="1"> | |
3888 <reference-count action="set" variable-name="__rcContextMenu"/> | |
3889 </modify-argument> | |
3890 </modify-function> | |
3891 </object-type> | |
3892 <object-type name="QTableView"> | |
3893 <modify-function signature="setHorizontalHeader(QHeaderView*)"> | |
3894 <modify-argument index="1"> | |
3895 <reference-count action="ignore"/> | |
3896 </modify-argument> | |
3897 </modify-function> | |
3898 <modify-function signature="setVerticalHeader(QHeaderView*)"> | |
3899 <modify-argument index="1"> | |
3900 <reference-count action="ignore"/> | |
3901 </modify-argument> | |
3902 </modify-function> | |
3903 <modify-function signature="setModel(QAbstractItemModel*)"> | |
3904 <modify-argument index="1"> | |
3905 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemModel"/> | |
3906 </modify-argument> | |
3907 </modify-function> | |
3908 <modify-function signature="setSelectionModel(QItemSelectionModel*)"> | |
3909 <modify-argument index="1"> | |
3910 <no-null-pointer/> | |
3911 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemSelectionModel"/> | |
3912 </modify-argument> | |
3913 </modify-function> | |
3914 | |
3915 <modify-function signature="sortByColumn(int)" remove="all"/> <!--### Obsolete in 4.3--> | |
3916 </object-type> | |
3917 <object-type name="QTextBlockGroup" delete-in-main-thread="yes"/> | |
3918 <object-type name="QTextBlockUserData" delete-in-main-thread="yes"/> | |
3919 <object-type name="QTextItem" delete-in-main-thread="yes"/> | |
3920 <object-type name="QTextList" delete-in-main-thread="yes"> | |
3921 <modify-function signature="format()const" rename="textListFormat"/> | |
3922 | |
3923 <modify-function signature="isEmpty()const" remove="all"/> <!--### Obsolete in 4.3--> | |
3924 </object-type> | |
3925 <object-type name="QTextObject" delete-in-main-thread="yes"/> | |
3926 <object-type name="QTextObjectInterface" delete-in-main-thread="yes"> | |
3927 <modify-function signature="drawObject(QPainter*,QRectF,QTextDocument*,int,QTextFormat)"> | |
3928 <modify-argument index="1" invalidate-after-use="yes"/> | |
3929 </modify-function> | |
3930 </object-type> | |
3931 <object-type name="QTimeEdit"/> | |
3932 <object-type name="QToolBox"> | |
3933 <modify-function signature="addItem(QWidget*,QString)"> | |
3934 <modify-argument index="1"> | |
3935 <reference-count action="ignore"/> | |
3936 </modify-argument> | |
3937 </modify-function> | |
3938 <modify-function signature="addItem(QWidget*,QIcon,QString)"> | |
3939 <modify-argument index="1"> | |
3940 <reference-count action="ignore"/> | |
3941 </modify-argument> | |
3942 </modify-function> | |
3943 <modify-function signature="insertItem(int,QWidget*,QIcon,QString)"> | |
3944 <modify-argument index="2"> | |
3945 <reference-count action="ignore"/> | |
3946 </modify-argument> | |
3947 </modify-function> | |
3948 <modify-function signature="insertItem(int,QWidget*,QString)"> | |
3949 <modify-argument index="2"> | |
3950 <reference-count action="ignore"/> | |
3951 </modify-argument> | |
3952 </modify-function> | |
3953 <modify-function signature="setCurrentWidget(QWidget*) "> | |
3954 <modify-argument index="1"> | |
3955 <reference-count action="ignore"/> | |
3956 </modify-argument> | |
3957 </modify-function> | |
3958 </object-type> | |
3959 <object-type name="QToolButton"> | |
3960 <!-- <modify-function signature="initStyleOption(QStyleOptionToolButton*)const"> | |
3961 <access modifier="private"/> | |
3962 </modify-function> | |
3963 --> | |
3964 <modify-function signature="setDefaultAction(QAction *)"> | |
3965 <modify-argument index="1"> | |
3966 <reference-count action="set" variable-name="__rcDefaultAction"/> | |
3967 </modify-argument> | |
3968 </modify-function> | |
3969 <modify-function signature="setMenu(QMenu *)"> | |
3970 <modify-argument index="1"> | |
3971 <reference-count action="set" variable-name="__rcMenu"/> | |
3972 </modify-argument> | |
3973 </modify-function> | |
3974 <!-- | |
3975 <inject-code> | |
3976 <insert-template name="gui.init_style_option"> | |
3977 <replace from="%TYPE" to="QStyleOptionToolButton"/> | |
3978 </insert-template> | |
3979 </inject-code> --> | |
3980 </object-type> | |
3981 <object-type name="QToolTip"/> | |
3982 <object-type name="QTreeView"> | |
3983 | |
3984 <modify-function signature="drawBranches(QPainter*,QRect,QModelIndex)const"> | |
3985 <modify-argument index="1" invalidate-after-use="yes"/> | |
3986 </modify-function> | |
3987 <modify-function signature="drawRow(QPainter*,QStyleOptionViewItem,QModelIndex)const"> | |
3988 <modify-argument index="1" invalidate-after-use="yes"/> | |
3989 </modify-function> | |
3990 | |
3991 <modify-function signature="setHeader(QHeaderView*)"> | |
3992 <modify-argument index="1"> | |
3993 <reference-count action="ignore"/> | |
3994 </modify-argument> | |
3995 </modify-function> | |
3996 <modify-function signature="setModel(QAbstractItemModel*)"> | |
3997 <modify-argument index="1"> | |
3998 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemModel"/> | |
3999 </modify-argument> | |
4000 </modify-function> | |
4001 <modify-function signature="setSelectionModel(QItemSelectionModel*)"> | |
4002 <modify-argument index="1"> | |
4003 <no-null-pointer/> | |
4004 <reference-count declare-variable="QAbstractItemView" action="set" variable-name="__rcItemSelectionModel"/> | |
4005 </modify-argument> | |
4006 </modify-function> | |
4007 | |
4008 <modify-function signature="sortByColumn(int)" remove="all"/> <!--### Obsolete in 4.3--> | |
4009 </object-type> | |
4010 <object-type name="QUndoCommand"> | |
4011 <modify-function signature="mergeWith(const QUndoCommand*)"> | |
4012 <modify-argument index="1" invalidate-after-use="yes"/> | |
4013 </modify-function> | |
4014 </object-type> | |
4015 <object-type name="QUndoGroup"> | |
4016 <modify-function signature="addStack(QUndoStack*)"> | |
4017 <modify-argument index="1"> | |
4018 <reference-count action="add" variable-name="__rcStacks"/> | |
4019 </modify-argument> | |
4020 </modify-function> | |
4021 <modify-function signature="removeStack(QUndoStack*)"> | |
4022 <modify-argument index="1"> | |
4023 <reference-count action="remove" variable-name="__rcStacks"/> | |
4024 </modify-argument> | |
4025 </modify-function> | |
4026 <modify-function signature="setActiveStack(QUndoStack*)"> | |
4027 <modify-argument index="1"> | |
4028 <reference-count action="ignore"/> | |
4029 </modify-argument> | |
4030 </modify-function> | |
4031 </object-type> | |
4032 | |
4033 <object-type name="QUndoStack"> | |
4034 <modify-function signature="push(QUndoCommand *)"> | |
4035 <modify-argument index="1"> | |
4036 <define-ownership class="java" owner="c++"/> | |
4037 </modify-argument> | |
4038 </modify-function> | |
4039 </object-type> | |
4040 | |
4041 <object-type name="QUndoView"> | |
4042 <modify-function signature="setGroup(QUndoGroup *)"> | |
4043 <modify-argument index="1"> | |
4044 <reference-count action="set" variable-name="__rcGroupOrStack"/> | |
4045 </modify-argument> | |
4046 </modify-function> | |
4047 <modify-function signature="setStack(QUndoStack *)"> | |
4048 <modify-argument index="1"> | |
4049 <reference-count action="set" variable-name="__rcGroupOrStack"/> | |
4050 </modify-argument> | |
4051 </modify-function> | |
4052 <modify-function signature="QUndoView(QUndoGroup *,QWidget *)"> | |
4053 <modify-argument index="1"> | |
4054 <reference-count action="set" variable-name="__rcGroupOrStack"/> | |
4055 </modify-argument> | |
4056 </modify-function> | |
4057 <modify-function signature="QUndoView(QUndoStack *,QWidget *)"> | |
4058 <modify-argument index="1"> | |
4059 <reference-count action="set" variable-name="__rcGroupOrStack"/> | |
4060 </modify-argument> | |
4061 </modify-function> | |
4062 </object-type> | |
4063 <object-type name="QVBoxLayout"/> | |
4064 <object-type name="QValidator"> | |
4065 <!-- <inject-code> | |
4066 <import-file name="typesystem_gui-java.java" quote-after-line="class QValidator___" quote-before-line="}// class"/> | |
4067 </inject-code> | |
4068 | |
4069 | |
4070 <modify-function signature="fixup(QString&)const"> | |
4071 <modify-argument index="1"> | |
4072 <replace-type modified-type="java.lang.String"/> | |
4073 <conversion-rule class="shell"> | |
4074 jobject %out = (jobject) qtjambi_from_qstring(__jni_env, %in); | |
4075 </conversion-rule> | |
4076 <conversion-rule class="native"> | |
4077 QString %out = qtjambi_to_qstring(__jni_env, (jstring) %in); | |
4078 QString *__qt_converted = &%out; | |
4079 </conversion-rule> | |
4080 </modify-argument> | |
4081 | |
4082 <modify-argument index="0"> | |
4083 <replace-type modified-type="java.lang.String"/> | |
4084 <conversion-rule class="native"> | |
4085 jobject %out = (jobject) qtjambi_from_qstring(__jni_env, *__qt_converted); | |
4086 </conversion-rule> | |
4087 <conversion-rule class="shell"> | |
4088 %1 = qtjambi_to_qstring(__jni_env, (jstring) %in); | |
4089 </conversion-rule> | |
4090 </modify-argument> | |
4091 </modify-function> | |
4092 | |
4093 <modify-function signature="validate(QString&,int&)const"> | |
4094 <modify-argument index="1"> | |
4095 <replace-type modified-type="qt.gui.QValidator$QValidationData"/> | |
4096 <conversion-rule class="shell"> | |
4097 <insert-template name="gui.convert_validationdata_to_java"> | |
4098 <replace from="%STRING" to="%1"/> | |
4099 <replace from="%POS" to="%2"/> | |
4100 </insert-template> | |
4101 </conversion-rule> | |
4102 <conversion-rule class="native"> | |
4103 <insert-template name="gui.convert_validationdata_to_string"/> | |
4104 </conversion-rule> | |
4105 </modify-argument> | |
4106 | |
4107 <modify-argument index="2"> | |
4108 <remove-argument/> | |
4109 <conversion-rule class="shell"> | |
4110 // nothing needed | |
4111 </conversion-rule> | |
4112 <conversion-rule class="native"> | |
4113 <insert-template name="gui.convert_validationdata_to_pos"> | |
4114 <replace from="%VALIDATIONDATA" to="%1"/> | |
4115 </insert-template> | |
4116 </conversion-rule> | |
4117 </modify-argument> | |
4118 | |
4119 <modify-argument index="return"> | |
4120 <conversion-rule class="native"> | |
4121 <insert-template name="gui.cleanup_validationdata_from_java"/> | |
4122 jint %out = %in; | |
4123 </conversion-rule> | |
4124 <conversion-rule class="shell"> | |
4125 <insert-template name="gui.cleanup_validationdata_to_java"> | |
4126 <replace from="%STRING" to="%1"/> | |
4127 <replace from="%POS" to="%2"/> | |
4128 </insert-template> | |
4129 QValidator::State %out = (QValidator::State) qtjambi_to_enumerator(__jni_env, %in); | |
4130 </conversion-rule> | |
4131 </modify-argument> | |
4132 </modify-function> | |
4133 --> | |
4134 </object-type> | |
4135 <object-type name="QWhatsThis"/> | |
4136 <object-type name="QWidgetAction"> | |
4137 <modify-function signature="createWidget(QWidget*)"> | |
4138 <modify-argument index="return"> | |
4139 <define-ownership class="shell" owner="c++"/> | |
4140 </modify-argument> | |
4141 </modify-function> | |
4142 | |
4143 <modify-function signature="setDefaultWidget(QWidget*)"> | |
4144 <modify-argument index="1"> | |
4145 <define-ownership class="java" owner="c++"/> | |
4146 </modify-argument> | |
4147 </modify-function> | |
4148 </object-type> | |
4149 <object-type name="QWidgetItem"/> | |
4150 <object-type name="QWindowsStyle"> | |
4151 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3--> | |
4152 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/> | |
4153 </object-type> | |
4154 <object-type name="QWorkspace"> | |
4155 <modify-function signature="addWindow(QWidget*,QFlags<Qt::WindowType>)"> | |
4156 <modify-argument index="1"> | |
4157 <reference-count action="ignore"/> | |
4158 </modify-argument> | |
4159 </modify-function> | |
4160 <modify-function signature="setActiveWindow(QWidget*)"> | |
4161 <modify-argument index="1"> | |
4162 <reference-count action="ignore"/> | |
4163 </modify-argument> | |
4164 </modify-function> | |
4165 </object-type> | |
4166 | |
4167 <object-type name="QActionEvent" polymorphic-id-expression="%1->type() == QEvent::ActionAdded || %1->type() == QEvent::ActionRemoved || %1->type() == QEvent::ActionChanged"> | |
4168 <extra-includes> | |
4169 <include file-name="qt.core.QObject" location="java"/> | |
4170 </extra-includes> | |
4171 </object-type> | |
4172 <object-type name="QClipboardEvent" polymorphic-id-expression="%1->type() == QEvent::Clipboard"/> | |
4173 <object-type name="QCloseEvent" polymorphic-id-expression="%1->type() == QEvent::Close"/> | |
4174 <object-type name="QContextMenuEvent" polymorphic-id-expression="%1->type() == QEvent::ContextMenu"/> | |
4175 <object-type name="QDragEnterEvent" polymorphic-id-expression="%1->type() == QEvent::DragEnter"/> | |
4176 <object-type name="QDragLeaveEvent" polymorphic-id-expression="%1->type() == QEvent::DragLeave"/> | |
4177 <object-type name="QDragMoveEvent" polymorphic-id-expression="%1->type() == QEvent::DragMove"> | |
4178 <modify-function signature="accept()" remove="all"/> | |
4179 <modify-function signature="ignore()" remove="all"/> | |
4180 </object-type> | |
4181 <object-type name="QDropEvent" polymorphic-id-expression="%1->type() == QEvent::Drop"> | |
4182 <modify-function signature="encodedData(const char*)const"> | |
4183 <remove/> | |
4184 </modify-function> | |
4185 | |
4186 <modify-function signature="format(int)const"> | |
4187 <remove/> | |
4188 </modify-function> | |
4189 | |
4190 <modify-function signature="provides(const char*)const"> | |
4191 <remove/> | |
4192 </modify-function> | |
4193 <modify-field name="fmts" read="false" write="false"/> <!-- obsolete in Qt4 --> | |
4194 | |
4195 </object-type> | |
4196 <object-type name="QFileOpenEvent" polymorphic-id-expression="%1->type() == QEvent::FileOpen"/> | |
4197 <object-type name="QFocusEvent" polymorphic-id-expression="%1->type() == QEvent::FocusIn || %1->type() == QEvent::FocusOut"> | |
4198 <modify-function signature="reason()const"> | |
4199 <remove/> | |
4200 </modify-function> | |
4201 </object-type> | |
4202 | |
4203 <object-type name="QGraphicsSceneContextMenuEvent" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneContextMenu"/> | |
4204 <object-type name="QGraphicsSceneDragDropEvent" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneDragEnter || %1->type() == QEvent::GraphicsSceneDragLeave || %1->type() == QEvent::GraphicsSceneDragMove || %1->type() == QEvent::GraphicsSceneDrop"> | |
4205 <modify-function signature="setMimeData(const QMimeData *)"> | |
4206 <remove/> | |
4207 </modify-function> | |
4208 <modify-function signature="setSource(QWidget *)"> | |
4209 <remove/> | |
4210 </modify-function> | |
4211 </object-type> | |
4212 <object-type name="QGraphicsSceneEvent"> | |
4213 <modify-function signature="setWidget(QWidget *)"> | |
4214 <remove/> | |
4215 </modify-function> | |
4216 </object-type> | |
4217 <object-type name="QGraphicsSceneMoveEvent" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneMove"/> | |
4218 <object-type name="QGraphicsSceneResizeEvent" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneResize"/> | |
4219 <object-type name="QGraphicsSceneHelpEvent" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneHelp"/> | |
4220 <object-type name="QGraphicsSceneHoverEvent" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneHoverEnter || %1->type() == QEvent::GraphicsSceneHoverLeave || %1->type() == QEvent::GraphicsSceneHoverMove"/> | |
4221 <object-type name="QGraphicsSceneMouseEvent" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneMouseDoubleClick || %1->type() == QEvent::GraphicsSceneMouseMove || %1->type() == QEvent::GraphicsSceneMousePress || %1->type() == QEvent::GraphicsSceneMouseRelease"/> | |
4222 <object-type name="QGraphicsSceneWheelEvent" polymorphic-id-expression="%1->type() == QEvent::GraphicsSceneWheel"/> | |
4223 <object-type name="QHelpEvent" polymorphic-id-expression="%1->type() == QEvent::ToolTip || %1->type() == QEvent::WhatsThis"/> | |
4224 <object-type name="QHideEvent" polymorphic-id-expression="%1->type() == QEvent::Hide"/> | |
4225 <object-type name="QHoverEvent" polymorphic-id-expression="%1->type() == QEvent::HoverEnter || %1->type() == QEvent::HoverLeave || %1->type() == QEvent::HoverMove"/> | |
4226 <object-type name="QIconDragEvent" polymorphic-id-expression="%1->type() == QEvent::IconDrag"/> | |
4227 <object-type name="QInputMethodEvent" polymorphic-id-expression="%1->type() == QEvent::InputMethod"/> | |
4228 <object-type name="QMoveEvent" polymorphic-id-expression="%1->type() == QEvent::Move"/> | |
4229 <object-type name="QResizeEvent" polymorphic-id-expression="%1->type() == QEvent::Resize"/> | |
4230 <object-type name="QShortcutEvent" polymorphic-id-expression="%1->type() == QEvent::Shortcut"> | |
4231 <!-- All these have const overloads that are used instead --> | |
4232 <modify-function signature="isAmbiguous()"> | |
4233 <remove/> | |
4234 </modify-function> | |
4235 <modify-function signature="shortcutId()"> | |
4236 <remove/> | |
4237 </modify-function> | |
4238 <modify-function signature="key()"> | |
4239 <remove/> | |
4240 </modify-function> | |
4241 </object-type> | |
4242 <object-type name="QShowEvent" polymorphic-id-expression="%1->type() == QEvent::Show"/> | |
4243 <object-type name="QStatusTipEvent" polymorphic-id-expression="%1->type() == QEvent::StatusTip"/> | |
4244 <object-type name="QTabletEvent" polymorphic-id-expression="%1->type() == QEvent::TabletMove || %1->type() == QEvent::TabletPress || %1->type() == QEvent::TabletRelease"/> | |
4245 <object-type name="QToolBarChangeEvent" polymorphic-id-expression="%1->type() == QEvent::ToolBarChange"/> | |
4246 <object-type name="QWhatsThisClickedEvent" polymorphic-id-expression="%1->type() == QEvent::WhatsThisClicked"/> | |
4247 <object-type name="QWheelEvent" polymorphic-id-expression="%1->type() == QEvent::Wheel"/> | |
4248 <object-type name="QWindowStateChangeEvent" polymorphic-id-expression="%1->type() == QEvent::WindowStateChange"/> | |
4249 <object-type name="QDragResponseEvent" polymorphic-id-expression="%1->type() == QEvent::DragResponse"/> | |
4250 <object-type name="QInputEvent"> | |
4251 <modify-function signature="modifiers()const" access="non-final"/> | |
4252 </object-type> | |
4253 <object-type name="QKeyEvent" polymorphic-id-expression="%1->type() == QEvent::KeyPress || %1->type() == QEvent::KeyRelease"> | |
4254 <modify-function signature="createExtendedKeyEvent(QEvent::Type,int,QFlags<Qt::KeyboardModifier>,uint,uint,uint,const QString &,bool,unsigned short)" remove="all"/> | |
4255 </object-type> | |
4256 <object-type name="QMouseEvent" polymorphic-id-expression="%1->type() == QEvent::MouseButtonDblClick || %1->type() == QEvent::MouseButtonPress || %1->type() == QEvent::MouseButtonRelease || %1->type() == QEvent::MouseMove"> | |
4257 <modify-function signature="createExtendedMouseEvent(QEvent::Type, const QPointF &, const QPoint &, Qt::MouseButton, QFlags<Qt::MouseButton>, QFlags<Qt::KeyboardModifier>)" remove="all"/> | |
4258 </object-type> | |
4259 <object-type name="QPaintEvent" polymorphic-id-expression="%1->type() == QEvent::Paint"/> | |
4260 <object-type name="QAccessibleEvent" polymorphic-id-expression="%1->type() == QEvent::AccessibilityDescription || %1->type() == QEvent::AccessibilityHelp"/> | |
4261 | |
4262 <object-type name="QAbstractButton"> | |
4263 <inject-code> | |
4264 <import-file name="typesystem_gui-java.java" quote-after-line="class QAbstractButton___" quote-before-line="}// class"/> | |
4265 </inject-code> | |
4266 | |
4267 </object-type> | |
4268 | |
4269 <object-type name="QStyle"> | |
4270 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap, const QStyleOption *, const QWidget *)const" virtual-slot="yes"/> | |
4271 <modify-function signature="layoutSpacingImplementation(QSizePolicy::ControlType, QSizePolicy::ControlType, Qt::Orientation, const QStyleOption *, const QWidget *) const" virtual-slot="yes"/> | |
4272 | |
4273 <modify-function signature="drawComplexControl(QStyle::ComplexControl,const QStyleOptionComplex*,QPainter*,const QWidget*)const"> | |
4274 <modify-argument index="3" invalidate-after-use="yes"/> | |
4275 </modify-function> | |
4276 <modify-function signature="drawControl(QStyle::ControlElement,const QStyleOption*,QPainter*,const QWidget*)const"> | |
4277 <modify-argument index="3" invalidate-after-use="yes"/> | |
4278 </modify-function> | |
4279 <modify-function signature="drawPrimitive(QStyle::PrimitiveElement,const QStyleOption*,QPainter*,const QWidget*)const"> | |
4280 <modify-argument index="3" invalidate-after-use="yes"/> | |
4281 </modify-function> | |
4282 <modify-function signature="styleHint(QStyle::StyleHint,const QStyleOption*,const QWidget*,QStyleHintReturn*)const"> | |
4283 <modify-argument index="4" invalidate-after-use="yes"/> | |
4284 </modify-function> | |
4285 <modify-function signature="drawItemPixmap(QPainter*,QRect,int,QPixmap)const"> | |
4286 <modify-argument index="1" invalidate-after-use="yes"/> | |
4287 </modify-function> | |
4288 <modify-function signature="drawItemText(QPainter*,QRect,int,QPalette,bool,QString,QPalette::ColorRole)const"> | |
4289 <modify-argument index="1" invalidate-after-use="yes"/> | |
4290 </modify-function> | |
4291 | |
4292 | |
4293 <inject-code> | |
4294 <import-file name="typesystem_gui-java.java" quote-after-line="class QStyle___" quote-before-line="}// class"/> | |
4295 </inject-code> | |
4296 <!-- | |
4297 <modify-function signature="drawControl(QStyle::ControlElement, const QStyleOption *, QPainter *, const QWidget *) const"> | |
4298 <modify-argument index="2"> | |
4299 <replace-type modified-type="qt.gui.QStyleOption"/> | |
4300 <conversion-rule class="shell"> | |
4301 <insert-template name="gui::qstyleoption_from_object"/> | |
4302 </conversion-rule> | |
4303 <conversion-rule class="native"> | |
4304 <insert-template name="gui::qstyleoption_to_object"/> | |
4305 </conversion-rule> | |
4306 </modify-argument> | |
4307 </modify-function> | |
4308 | |
4309 <modify-function signature="drawComplexControl(QStyle::ComplexControl, const QStyleOptionComplex *, QPainter *, const QWidget *) const"> | |
4310 <modify-argument index="2"> | |
4311 <replace-type modified-type="qt.gui.QStyleOptionComplex"/> | |
4312 <conversion-rule class="shell"> | |
4313 <insert-template name="gui::qstyleoptioncomplex_from_object"/> | |
4314 </conversion-rule> | |
4315 <conversion-rule class="native"> | |
4316 <insert-template name="gui::qstyleoption_to_object"/> | |
4317 </conversion-rule> | |
4318 </modify-argument> | |
4319 </modify-function> | |
4320 | |
4321 <modify-function signature="drawPrimitive(QStyle::PrimitiveElement, const QStyleOption *, QPainter *, const QWidget *) const"> | |
4322 <modify-argument index="2"> | |
4323 <replace-type modified-type="qt.gui.QStyleOption"/> | |
4324 <conversion-rule class="shell"> | |
4325 <insert-template name="gui::qstyleoption_from_object"/> | |
4326 </conversion-rule> | |
4327 <conversion-rule class="native"> | |
4328 <insert-template name="gui::qstyleoption_to_object"/> | |
4329 </conversion-rule> | |
4330 </modify-argument> | |
4331 </modify-function> | |
4332 | |
4333 <modify-function signature="hitTestComplexControl(QStyle::ComplexControl, const QStyleOptionComplex *, const QPoint &, const QWidget *) const"> | |
4334 <modify-argument index="2"> | |
4335 <replace-type modified-type="qt.gui.QStyleOptionComplex"/> | |
4336 <conversion-rule class="shell"> | |
4337 <insert-template name="gui::qstyleoptioncomplex_from_object"/> | |
4338 </conversion-rule> | |
4339 <conversion-rule class="native"> | |
4340 <insert-template name="gui::qstyleoption_to_object"/> | |
4341 </conversion-rule> | |
4342 </modify-argument> | |
4343 </modify-function> | |
4344 | |
4345 <modify-function signature="pixelMetric(QStyle::PixelMetric, const QStyleOption *, const QWidget *) const"> | |
4346 <modify-argument index="2"> | |
4347 <replace-type modified-type="qt.gui.QStyleOption"/> | |
4348 <conversion-rule class="shell"> | |
4349 <insert-template name="gui::qstyleoption_from_object"/> | |
4350 </conversion-rule> | |
4351 <conversion-rule class="native"> | |
4352 <insert-template name="gui::qstyleoption_to_object"/> | |
4353 </conversion-rule> | |
4354 </modify-argument> | |
4355 </modify-function> | |
4356 | |
4357 <modify-function signature="sizeFromContents(QStyle::ContentsType, const QStyleOption *, const QSize &, const QWidget *) const"> | |
4358 <modify-argument index="2"> | |
4359 <replace-type modified-type="qt.gui.QStyleOption"/> | |
4360 <conversion-rule class="shell"> | |
4361 <insert-template name="gui::qstyleoption_from_object"/> | |
4362 </conversion-rule> | |
4363 <conversion-rule class="native"> | |
4364 <insert-template name="gui::qstyleoption_to_object"/> | |
4365 </conversion-rule> | |
4366 </modify-argument> | |
4367 </modify-function> | |
4368 | |
4369 <modify-function signature="standardIcon(QStyle::StandardPixmap, const QStyleOption *, const QWidget *) const"> | |
4370 <modify-argument index="2"> | |
4371 <replace-type modified-type="qt.gui.QStyleOption"/> | |
4372 <conversion-rule class="shell"> | |
4373 <insert-template name="gui::qstyleoption_from_object"/> | |
4374 </conversion-rule> | |
4375 <conversion-rule class="native"> | |
4376 <insert-template name="gui::qstyleoption_to_object"/> | |
4377 </conversion-rule> | |
4378 </modify-argument> | |
4379 </modify-function> | |
4380 | |
4381 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption *, const QWidget *) const"> | |
4382 <modify-argument index="2"> | |
4383 <replace-type modified-type="qt.gui.QStyleOption"/> | |
4384 <conversion-rule class="shell"> | |
4385 <insert-template name="gui::qstyleoption_from_object"/> | |
4386 </conversion-rule> | |
4387 <conversion-rule class="native"> | |
4388 <insert-template name="gui::qstyleoption_to_object"/> | |
4389 </conversion-rule> | |
4390 </modify-argument> | |
4391 </modify-function> | |
4392 | |
4393 <modify-function signature="styleHint(QStyle::StyleHint, const QStyleOption *, const QWidget *, QStyleHintReturn *) const"> | |
4394 <modify-argument index="2"> | |
4395 <replace-type modified-type="qt.gui.QStyleOption"/> | |
4396 <conversion-rule class="shell"> | |
4397 <insert-template name="gui::qstyleoption_from_object"/> | |
4398 </conversion-rule> | |
4399 <conversion-rule class="native"> | |
4400 <insert-template name="gui::qstyleoption_to_object"/> | |
4401 </conversion-rule> | |
4402 </modify-argument> | |
4403 </modify-function> | |
4404 | |
4405 <modify-function signature="subControlRect(QStyle::ComplexControl, const QStyleOptionComplex *, QStyle::SubControl, const QWidget *) const"> | |
4406 <modify-argument index="2"> | |
4407 <replace-type modified-type="qt.gui.QStyleOptionComplex"/> | |
4408 <conversion-rule class="shell"> | |
4409 <insert-template name="gui::qstyleoptioncomplex_from_object"/> | |
4410 </conversion-rule> | |
4411 <conversion-rule class="native"> | |
4412 QStyleOptionComplex *%out = (QStyleOptionComplex *) qtjambi_to_object(__jni_env, %in); | |
4413 </conversion-rule> | |
4414 </modify-argument> | |
4415 </modify-function> | |
4416 | |
4417 <modify-function signature="subElementRect(QStyle::SubElement, const QStyleOption *, const QWidget *) const"> | |
4418 <modify-argument index="2"> | |
4419 <replace-type modified-type="qt.gui.QStyleOption"/> | |
4420 <conversion-rule class="shell"> | |
4421 <insert-template name="gui::qstyleoption_from_object"/> | |
4422 </conversion-rule> | |
4423 <conversion-rule class="native"> | |
4424 <insert-template name="gui::qstyleoption_to_object"/> | |
4425 </conversion-rule> | |
4426 </modify-argument> | |
4427 </modify-function> | |
4428 | |
4429 <modify-function signature="generatedIconPixmap(QIcon::Mode,QPixmap,const QStyleOption*)const"> | |
4430 <modify-argument index="3"> | |
4431 <replace-type modified-type="qt.gui.QStyleOption"/> | |
4432 <conversion-rule class="shell"> | |
4433 <insert-template name="gui::qstyleoption_from_object"/> | |
4434 </conversion-rule> | |
4435 <conversion-rule class="native"> | |
4436 <insert-template name="gui::qstyleoption_to_object"/> | |
4437 </conversion-rule> | |
4438 </modify-argument> | |
4439 </modify-function> | |
4440 | |
4441 <modify-function signature="polish(QPalette&)"> | |
4442 <modify-argument index="1"> | |
4443 <replace-type modified-type="qt.gui.QPalette"/> | |
4444 <conversion-rule class="shell"> | |
4445 jobject %out = qtjambi_from_object(__jni_env, &%in, "QPalette", "com/trolltech/qt/gui/", false); | |
4446 jobject __invalidate_me = %out; | |
4447 </conversion-rule> | |
4448 <conversion-rule class="native"> | |
4449 QtJambiLink *link = QtJambiLink::findLink(__jni_env, %in); | |
4450 Q_ASSERT(link != 0); | |
4451 | |
4452 QPalette dummy; | |
4453 QPalette &%out = link != 0 ? * (QPalette *) link->pointer() : dummy; | |
4454 </conversion-rule> | |
4455 </modify-argument> | |
4456 <modify-argument index="0"> | |
4457 <conversion-rule class="shell"> | |
4458 if (__invalidate_me != 0) | |
4459 qtjambi_invalidate_object(__jni_env, __invalidate_me); | |
4460 </conversion-rule> | |
4461 </modify-argument> | |
4462 </modify-function> | |
4463 | |
4464 <modify-function signature="standardIconImplementation(QStyle::StandardPixmap,const QStyleOption*,const QWidget*)const"> | |
4465 <modify-argument index="2"> | |
4466 <replace-type modified-type="qt.gui.QStyleOption"/> | |
4467 <conversion-rule class="shell"> | |
4468 <insert-template name="gui::qstyleoption_from_object"/> | |
4469 </conversion-rule> | |
4470 <conversion-rule class="native"> | |
4471 <insert-template name="gui::qstyleoption_to_object"/> | |
4472 </conversion-rule> | |
4473 </modify-argument> | |
4474 </modify-function> | |
4475 --> | |
4476 <modify-function signature="combinedLayoutSpacing(QFlags<QSizePolicy::ControlType>,QFlags<QSizePolicy::ControlType>,Qt::Orientation,QStyleOption*,QWidget*)const"> | |
4477 <access modifier="private"/> | |
4478 <modify-argument index="4"> | |
4479 <remove-default-expression/> | |
4480 </modify-argument> | |
4481 <modify-argument index="5"> | |
4482 <remove-default-expression/> | |
4483 </modify-argument> | |
4484 </modify-function> | |
4485 | |
4486 | |
4487 <modify-function signature="layoutSpacing(QSizePolicy::ControlType,QSizePolicy::ControlType,Qt::Orientation,const QStyleOption*,const QWidget*)const"> | |
4488 <access modifier="private"/> | |
4489 <modify-argument index="4"> | |
4490 <remove-default-expression/> | |
4491 </modify-argument> | |
4492 <modify-argument index="5"> | |
4493 <remove-default-expression/> | |
4494 </modify-argument> | |
4495 </modify-function> | |
4496 | |
4497 <!-- | |
4498 <modify-function signature="layoutSpacingImplementation(QSizePolicy::ControlType,QSizePolicy::ControlType,Qt::Orientation,const QStyleOption*,const QWidget*)const"> | |
4499 <modify-argument index="4"> | |
4500 <replace-type modified-type="qt.gui.QStyleOption"/> | |
4501 <conversion-rule class="shell"> | |
4502 <insert-template name="gui::qstyleoption_from_object"/> | |
4503 </conversion-rule> | |
4504 <conversion-rule class="native"> | |
4505 <insert-template name="gui::qstyleoption_to_object"/> | |
4506 </conversion-rule> | |
4507 </modify-argument> | |
4508 </modify-function> | |
4509 --> | |
4510 | |
4511 | |
4512 <inject-code class="shell-declaration"> <!-- Remove in Qt 5 --> | |
4513 QPixmap standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*) const { return QPixmap(); } | |
4514 </inject-code> | |
4515 | |
4516 <modify-function signature="standardPixmap(QStyle::StandardPixmap, const QStyleOption*, const QWidget*)const" remove="all"/> <!--### Obsolete in 4.3--> | |
4517 </object-type> | |
4518 | |
4519 <object-type name="QColorDialog"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4520 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4521 |
1 | 4522 <modify-function signature="getColor(const QColor &, QWidget *)"> |
4523 <modify-argument index="1"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4524 <replace-default-expression with="QColor.White"/> |
1 | 4525 </modify-argument> |
4526 </modify-function> | |
4527 <modify-function signature="getRgba(uint,bool*,QWidget*)"> | |
4528 <remove/> | |
4529 </modify-function> | |
4530 </object-type> | |
4531 | |
4532 <object-type name="QLayout"> | |
4533 | |
4534 <modify-function signature="addItem(QLayoutItem*)"> | |
4535 <modify-argument index="1" invalidate-after-use="yes"/> | |
4536 </modify-function> | |
4537 | |
4538 <modify-function signature="setSpacing(int)" rename="setWidgetSpacing"/> | |
4539 <modify-function signature="spacing()const" rename="widgetSpacing"/> | |
4540 <modify-function signature="addWidget(QWidget *)"> | |
4541 <modify-argument index="1"> | |
4542 <no-null-pointer/> | |
4543 <reference-count variable-name="__rcWidgets" action="add"/> | |
4544 </modify-argument> | |
4545 </modify-function> | |
4546 <modify-function signature="addChildWidget(QWidget *)"> | |
4547 <modify-argument index="1"> | |
4548 <no-null-pointer/> | |
4549 <reference-count variable-name="__rcWidgets" action="add"/> | |
4550 </modify-argument> | |
4551 </modify-function> | |
4552 <modify-function signature="removeWidget(QWidget *)"> | |
4553 <modify-argument index="1"> | |
4554 <no-null-pointer/> | |
4555 <reference-count variable-name="__rcWidgets" action="remove"/> | |
4556 </modify-argument> | |
4557 </modify-function> | |
4558 | |
4559 <modify-function signature="setAlignment(QWidget*,QFlags<Qt::AlignmentFlag>)"> | |
4560 <modify-argument index="1"> | |
4561 <reference-count action="ignore"/> | |
4562 </modify-argument> | |
4563 </modify-function> | |
4564 <modify-function signature="setAlignment(QLayout*,QFlags<Qt::AlignmentFlag>)"> | |
4565 <modify-argument index="1"> | |
4566 <reference-count action="ignore"/> | |
4567 </modify-argument> | |
4568 </modify-function> | |
4569 <modify-function signature="setMenuBar(QWidget*)"> | |
4570 <modify-argument index="1"> | |
4571 <reference-count action="set" variable-name="__rcMenuBar"/> | |
4572 </modify-argument> | |
4573 </modify-function> | |
4574 <modify-function signature="getContentsMargins(int*,int*,int*,int*)const"> | |
4575 <access modifier="private"/> | |
4576 </modify-function> | |
4577 | |
4578 <modify-function signature="margin()const" remove="all"/> <!--### Obsolete in 4.3--> | |
4579 <!-- <modify-function signature="setMargin(int)" remove="all"/> --> <!--### Obsolete in 4.3--> | |
4580 | |
4581 <inject-code> | |
4582 <import-file name="typesystem_gui-java.java" quote-after-line="class QLayout___" quote-before-line="}// class"/> | |
4583 </inject-code> | |
4584 <modify-function signature="addItem(QLayoutItem *)"> | |
4585 <modify-argument index="1"> | |
4586 <define-ownership class="java" owner="c++"/> | |
4587 </modify-argument> | |
4588 </modify-function> | |
4589 <modify-function signature="removeItem(QLayoutItem *)"> | |
4590 <modify-argument index="1"> | |
4591 <define-ownership class="java" owner="default"/> | |
4592 </modify-argument> | |
4593 </modify-function> | |
4594 <modify-function signature="addChildLayout(QLayout *)"> | |
4595 <modify-argument index="1"> | |
4596 <define-ownership class="java" owner="c++"/> | |
4597 </modify-argument> | |
4598 </modify-function> | |
4599 <modify-function signature="addChildLayout(QLayout *)"> | |
4600 <modify-argument index="1"> | |
4601 <define-ownership class="java" owner="c++"/> | |
4602 </modify-argument> | |
4603 </modify-function> | |
4604 <modify-function signature="itemAt(int) const"> | |
4605 <!-- <modify-argument index="return"> | |
4606 <define-ownership class="java" owner="c++"/> | |
4607 </modify-argument>--> | |
4608 </modify-function> | |
4609 | |
4610 | |
4611 </object-type> | |
4612 | |
4613 <object-type name="QStackedLayout"> | |
4614 <modify-function signature="addItem(QLayoutItem *)"> | |
4615 <modify-argument index="1"> | |
4616 <define-ownership class="java" owner="c++"/> | |
4617 </modify-argument> | |
4618 </modify-function> | |
4619 <modify-function signature="itemAt(int) const"> | |
4620 <modify-argument index="return"> | |
4621 <define-ownership class="java" owner="c++"/> | |
4622 </modify-argument> | |
4623 </modify-function> | |
4624 <modify-function signature="addWidget(QWidget *)"> | |
4625 <rename to="addStackedWidget"/> | |
4626 <modify-argument index="1"> | |
4627 <no-null-pointer/> | |
4628 <reference-count action="add" declare-variable="QLayout" variable-name="__rcWidgets"/> | |
4629 </modify-argument> | |
4630 </modify-function> | |
4631 <modify-function signature="insertWidget(int,QWidget*)"> | |
4632 <modify-argument index="2"> | |
4633 <no-null-pointer/> | |
4634 <reference-count action="add" declare-variable="QLayout" variable-name="__rcWidgets"/> | |
4635 </modify-argument> | |
4636 </modify-function> | |
4637 <modify-function signature="setCurrentWidget(QWidget*)"> | |
4638 <modify-argument index="1"> | |
4639 <!-- Safe to ignore because current widget must have been added to layout already --> | |
4640 <reference-count action="ignore"/> | |
4641 </modify-argument> | |
4642 </modify-function> | |
4643 </object-type> | |
4644 | |
4645 <object-type name="QBoxLayout"> | |
4646 <modify-function signature="addWidget(QWidget *, int, QFlags<Qt::AlignmentFlag>)"> | |
4647 <modify-argument index="1"> | |
4648 <no-null-pointer/> | |
4649 </modify-argument> | |
4650 </modify-function> | |
4651 <modify-function signature="addItem(QLayoutItem *)"> | |
4652 <modify-argument index="1"> | |
4653 <define-ownership class="java" owner="c++"/> | |
4654 </modify-argument> | |
4655 </modify-function> | |
4656 <modify-function signature="insertLayout(int, QLayout *, int)"> | |
4657 <modify-argument index="2"> | |
4658 <define-ownership class="java" owner="c++"/> | |
4659 </modify-argument> | |
4660 </modify-function> | |
4661 <modify-function signature="insertItem(int, QLayoutItem *)"> | |
4662 <modify-argument index="2"> | |
4663 <define-ownership class="java" owner="c++"/> | |
4664 </modify-argument> | |
4665 </modify-function> | |
4666 <modify-function signature="addSpacerItem(QSpacerItem*)"> | |
4667 <modify-argument index="1"> | |
4668 <define-ownership class="java" owner="c++"/> | |
4669 </modify-argument> | |
4670 </modify-function> | |
4671 <modify-function signature="insertSpacerItem(int,QSpacerItem*)"> | |
4672 <modify-argument index="2"> | |
4673 <define-ownership class="java" owner="c++"/> | |
4674 </modify-argument> | |
4675 </modify-function> | |
4676 | |
4677 <modify-function signature="addLayout(QLayout *, int)"> | |
4678 <modify-argument index="1"> | |
4679 <define-ownership class="java" owner="c++"/> | |
4680 </modify-argument> | |
4681 </modify-function> | |
4682 <modify-function signature="addWidget(QWidget*,int,QFlags<Qt::AlignmentFlag>)"> | |
4683 <modify-argument index="1"> | |
4684 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/> | |
4685 </modify-argument> | |
4686 </modify-function> | |
4687 <modify-function signature="insertWidget(int,QWidget*,int,QFlags<Qt::AlignmentFlag>)"> | |
4688 <modify-argument index="2"> | |
4689 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/> | |
4690 </modify-argument> | |
4691 </modify-function> | |
4692 <modify-function signature="setStretchFactor(QWidget*,int)"> | |
4693 <modify-argument index="1"> | |
4694 <reference-count action="ignore"/> | |
4695 </modify-argument> | |
4696 </modify-function> | |
4697 <modify-function signature="setStretchFactor(QLayout*,int)"> | |
4698 <modify-argument index="1"> | |
4699 <reference-count action="ignore"/> | |
4700 </modify-argument> | |
4701 </modify-function> | |
4702 </object-type> | |
4703 | |
4704 <object-type name="QGridLayout"> | |
4705 <modify-function signature="addWidget(QWidget *)" remove="all"/> | |
4706 <modify-function signature="addItem(QLayoutItem *)"> | |
4707 <modify-argument index="1"> | |
4708 <define-ownership class="java" owner="c++"/> | |
4709 </modify-argument> | |
4710 </modify-function> | |
4711 <modify-function signature="addItem(QLayoutItem *, int, int, int, int, QFlags<Qt::AlignmentFlag>)"> | |
4712 <modify-argument index="1"> | |
4713 <define-ownership class="java" owner="c++"/> | |
4714 </modify-argument> | |
4715 </modify-function> | |
4716 <modify-function signature="addLayout(QLayout *, int, int, QFlags<Qt::AlignmentFlag>)"> | |
4717 <modify-argument index="1"> | |
4718 <define-ownership class="java" owner="c++"/> | |
4719 </modify-argument> | |
4720 </modify-function> | |
4721 <modify-function signature="addLayout(QLayout *, int, int, int, int, QFlags<Qt::AlignmentFlag>)"> | |
4722 <modify-argument index="1"> | |
4723 <define-ownership class="java" owner="c++"/> | |
4724 </modify-argument> | |
4725 </modify-function> | |
4726 <modify-function signature="addWidget(QWidget*,int,int,QFlags<Qt::AlignmentFlag>)"> | |
4727 <modify-argument index="1"> | |
4728 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/> | |
4729 </modify-argument> | |
4730 </modify-function> | |
4731 <modify-function signature="addWidget(QWidget*,int,int,int,int,QFlags<Qt::AlignmentFlag>)"> | |
4732 <modify-argument index="1"> | |
4733 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/> | |
4734 </modify-argument> | |
4735 </modify-function> | |
4736 <modify-function signature="addWidget(QWidget*)"> | |
4737 <modify-argument index="1"> | |
4738 <reference-count declare-variable="QLayout" action="add" variable-name="__rcWidgets"/> | |
4739 </modify-argument> | |
4740 </modify-function> | |
4741 <modify-function signature="getItemPosition(int,int*,int*,int*,int*)"> | |
4742 <access modifier="private"/> | |
4743 </modify-function> | |
4744 | |
4745 <inject-code> | |
4746 <import-file name="typesystem_gui-java.java" quote-after-line="class QGridLayout___" quote-before-line="}// class"/> | |
4747 </inject-code> | |
4748 | |
4749 | |
4750 </object-type> | |
4751 | |
4752 <object-type name="QGraphicsView"> | |
4753 <extra-includes> | |
4754 <include file-name="QPainterPath" location="global"/> | |
4755 <include file-name="QVarLengthArray" location="global"/> | |
4756 </extra-includes> | |
4757 <modify-function signature="fitInView(const QGraphicsItem *, Qt::AspectRatioMode)"> | |
4758 <modify-argument index="1"> | |
4759 <no-null-pointer/> | |
4760 </modify-argument> | |
4761 </modify-function> | |
4762 <modify-function signature="setupViewport(QWidget *)" access="non-final"/> | |
4763 <modify-function signature="setScene(QGraphicsScene*)"> | |
4764 <modify-argument index="1"> | |
4765 <reference-count action="set" variable-name="__rcScene"/> | |
4766 </modify-argument> | |
4767 </modify-function> | |
4768 <modify-function signature="setupViewport(QWidget*)"> | |
4769 <modify-argument index="1"> | |
4770 <reference-count action="ignore"/> | |
4771 </modify-argument> | |
4772 </modify-function> | |
4773 | |
4774 <modify-function signature="drawBackground(QPainter*,QRectF)"> | |
4775 <modify-argument index="1" invalidate-after-use="yes"/> | |
4776 </modify-function> | |
4777 <modify-function signature="drawForeground(QPainter*,QRectF)"> | |
4778 <modify-argument index="1" invalidate-after-use="yes"/> | |
4779 </modify-function> | |
4780 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*)"> | |
4781 <modify-argument index="1" invalidate-after-use="yes"/> | |
4782 </modify-function> | |
4783 | |
4784 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*)" remove="all" /> | |
4785 | |
4786 <!-- | |
4787 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*)"> | |
4788 <modify-argument index="2"> | |
4789 <remove-argument/> | |
4790 <conversion-rule class="shell"> | |
4791 // nothing | |
4792 </conversion-rule> | |
4793 <conversion-rule class="native"> | |
4794 <insert-template name="core.get_array_length"> | |
4795 <replace from="%ARRAY" to="%3"/> | |
4796 </insert-template> | |
4797 int __length = %out; | |
4798 </conversion-rule> | |
4799 </modify-argument> | |
4800 | |
4801 <modify-argument index="3"> | |
4802 <replace-type modified-type="qt.gui.QGraphicsItemInterface[]"/> | |
4803 <conversion-rule class="shell"> | |
4804 <insert-template name="gui.convert_graphicsitem_array_to_java"> | |
4805 <replace from="%LENGTH" to="%2"/> | |
4806 </insert-template> | |
4807 jobjectArray graphicsItemArrayHolder = %out; | |
4808 </conversion-rule> | |
4809 <conversion-rule class="native"> | |
4810 <insert-template name="gui.convert_graphicsitem_array_from_java"/> | |
4811 </conversion-rule> | |
4812 </modify-argument> | |
4813 | |
4814 <modify-argument index="4"> | |
4815 <replace-type modified-type="qt.gui.QStyleOptionGraphicsItem[]"/> | |
4816 <conversion-rule class="shell"> | |
4817 <insert-template name="gui.convert_styleoptiongraphicsitem_array_to_java"> | |
4818 <replace from="%LENGTH" to="%2"/> | |
4819 </insert-template> | |
4820 jobjectArray styleOptionArrayHolder = %out; | |
4821 </conversion-rule> | |
4822 <conversion-rule class="native"> | |
4823 <insert-template name="gui.convert_styleoptiongraphicsitem_array_from_java"/> | |
4824 </conversion-rule> | |
4825 </modify-argument> | |
4826 | |
4827 <modify-argument index="return"> | |
4828 <conversion-rule class="shell"> | |
4829 qtjambi_invalidate_array(__jni_env, styleOptionArrayHolder); | |
4830 qtjambi_invalidate_array(__jni_env, graphicsItemArrayHolder); | |
4831 </conversion-rule> | |
4832 </modify-argument> | |
4833 | |
4834 </modify-function> | |
4835 --> | |
4836 </object-type> | |
4837 | |
4838 <object-type name="QInputDialog"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4839 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4840 |
1 | 4841 <modify-function signature="getDouble(QWidget *, const QString &, const QString &, double, double, double, int, bool *, QFlags<Qt::WindowType>)"> |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4842 <rename to="getDouble_private"/> |
1 | 4843 <access modifier="private"/> |
4844 </modify-function> | |
4845 | |
4846 <modify-function signature="getInteger(QWidget *, const QString &, const QString &, int, int, int, int, bool *, QFlags<Qt::WindowType>)"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4847 <remove/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4848 </modify-function> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4849 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4850 <modify-function signature="getInt(QWidget*,QString,QString,int,int,int,int,bool*,QFlags<Qt::WindowType>)"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4851 <rename to="getInt_private" /> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4852 <access modifier="private" /> |
1 | 4853 </modify-function> |
4854 | |
4855 <modify-function signature="getItem(QWidget *, const QString &, const QString &, const QStringList<QString> &, int, bool, bool *, QFlags<Qt::WindowType>)"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4856 <rename to="getItem_private"/> |
1 | 4857 <access modifier="private"/> |
4858 </modify-function> | |
4859 | |
4860 <modify-function signature="getText(QWidget *, const QString &, const QString &, QLineEdit::EchoMode, const QString &, bool *, QFlags<Qt::WindowType>)"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4861 <rename to="getText_private"/> |
1 | 4862 <access modifier="private"/> |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4863 </modify-function> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4864 |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4865 <inject-code> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4866 <import-file name="typesystem_gui-java.java" quote-after-line="class QInputDialog___" quote-before-line="}// class"/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
4867 </inject-code> |
1 | 4868 </object-type> |
4869 | |
4870 | |
4871 <object-type name="QGraphicsScene"> | |
4872 <extra-includes> | |
4873 <include file-name="QVarLengthArray" location="global"/> | |
4874 </extra-includes> | |
4875 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*,QWidget*)" remove="all"/> <!-- TODO: What is '_ConcreteWrapper'? --> | |
4876 <!-- | |
4877 <modify-function signature="contextMenuEvent(QGraphicsSceneContextMenuEvent*)"> | |
4878 <modify-argument index="1" invalidate-after-use="yes"/> | |
4879 </modify-function> | |
4880 <modify-function signature="dragEnterEvent(QGraphicsSceneDragDropEvent*)"> | |
4881 <modify-argument index="1" invalidate-after-use="yes"/> | |
4882 </modify-function> | |
4883 <modify-function signature="dragLeaveEvent(QGraphicsSceneDragDropEvent*)"> | |
4884 <modify-argument index="1" invalidate-after-use="yes"/> | |
4885 </modify-function> | |
4886 <modify-function signature="dragMoveEvent(QGraphicsSceneDragDropEvent*)"> | |
4887 <modify-argument index="1" invalidate-after-use="yes"/> | |
4888 </modify-function> | |
4889 <modify-function signature="drawBackground(QPainter*,QRectF)"> | |
4890 <modify-argument index="1" invalidate-after-use="yes"/> | |
4891 </modify-function> | |
4892 <modify-function signature="drawForeground(QPainter*,QRectF)"> | |
4893 <modify-argument index="1" invalidate-after-use="yes"/> | |
4894 </modify-function> | |
4895 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*,QWidget*)"> | |
4896 <modify-argument index="1" invalidate-after-use="yes"/> | |
4897 </modify-function> | |
4898 <modify-function signature="dropEvent(QGraphicsSceneDragDropEvent*)"> | |
4899 <modify-argument index="1" invalidate-after-use="yes"/> | |
4900 </modify-function> | |
4901 <modify-function signature="focusInEvent(QFocusEvent*)"> | |
4902 <modify-argument index="1" invalidate-after-use="yes"/> | |
4903 </modify-function> | |
4904 <modify-function signature="focusOutEvent(QFocusEvent*)"> | |
4905 <modify-argument index="1" invalidate-after-use="yes"/> | |
4906 </modify-function> | |
4907 <modify-function signature="helpEvent(QGraphicsSceneHelpEvent*)"> | |
4908 <modify-argument index="1" invalidate-after-use="yes"/> | |
4909 </modify-function> | |
4910 <modify-function signature="inputMethodEvent(QInputMethodEvent*)"> | |
4911 <modify-argument index="1" invalidate-after-use="yes"/> | |
4912 </modify-function> | |
4913 <modify-function signature="keyPressEvent(QKeyEvent*)"> | |
4914 <modify-argument index="1" invalidate-after-use="yes"/> | |
4915 </modify-function> | |
4916 <modify-function signature="keyReleaseEvent(QKeyEvent*)"> | |
4917 <modify-argument index="1" invalidate-after-use="yes"/> | |
4918 </modify-function> | |
4919 <modify-function signature="mouseDoubleClickEvent(QGraphicsSceneMouseEvent*)"> | |
4920 <modify-argument index="1" invalidate-after-use="yes"/> | |
4921 </modify-function> | |
4922 <modify-function signature="mouseMoveEvent(QGraphicsSceneMouseEvent*)"> | |
4923 <modify-argument index="1" invalidate-after-use="yes"/> | |
4924 </modify-function> | |
4925 <modify-function signature="mousePressEvent(QGraphicsSceneMouseEvent*)"> | |
4926 <modify-argument index="1" invalidate-after-use="yes"/> | |
4927 </modify-function> | |
4928 <modify-function signature="mouseReleaseEvent(QGraphicsSceneMouseEvent*)"> | |
4929 <modify-argument index="1" invalidate-after-use="yes"/> | |
4930 </modify-function> | |
4931 <modify-function signature="wheelEvent(QGraphicsSceneWheelEvent*)"> | |
4932 <modify-argument index="1" invalidate-after-use="yes"/> | |
4933 </modify-function> | |
4934 | |
4935 <modify-function signature="setActiveWindow(QGraphicsWidget*)"> | |
4936 <modify-argument index="1"> | |
4937 <reference-count action="ignore"/> | |
4938 </modify-argument> | |
4939 </modify-function> | |
4940 <modify-function signature="setStyle(QStyle*)"> | |
4941 <modify-argument index="1"> | |
4942 <reference-count action="ignore"/> | |
4943 </modify-argument> | |
4944 </modify-function> | |
4945 | |
4946 <modify-function signature="addItem(QGraphicsItem *)"> | |
4947 <modify-argument index="1"> | |
4948 <define-ownership class="java" owner="c++"/> | |
4949 </modify-argument> | |
4950 </modify-function> | |
4951 <modify-function signature="addEllipse(const QRectF &, const QPen &, const QBrush &)"> | |
4952 <modify-argument index="return"> | |
4953 <define-ownership class="java" owner="c++"/> | |
4954 </modify-argument> | |
4955 </modify-function> | |
4956 <modify-function signature="addLine(const QLineF &, const QPen &)"> | |
4957 <modify-argument index="return"> | |
4958 <define-ownership class="java" owner="c++"/> | |
4959 </modify-argument> | |
4960 </modify-function> | |
4961 <modify-function signature="addPath(const QPainterPath &, const QPen &, const QBrush &)"> | |
4962 <modify-argument index="return"> | |
4963 <define-ownership class="java" owner="c++"/> | |
4964 </modify-argument> | |
4965 </modify-function> | |
4966 <modify-function signature="addPixmap(const QPixmap &)"> | |
4967 <modify-argument index="return"> | |
4968 <define-ownership class="java" owner="c++"/> | |
4969 </modify-argument> | |
4970 </modify-function> | |
4971 <modify-function signature="addPolygon(const QPolygonF &, const QPen &, const QBrush &)"> | |
4972 <modify-argument index="return"> | |
4973 <define-ownership class="java" owner="c++"/> | |
4974 </modify-argument> | |
4975 </modify-function> | |
4976 <modify-function signature="addRect(const QRectF &, const QPen &, const QBrush &)"> | |
4977 <modify-argument index="return"> | |
4978 <define-ownership class="java" owner="c++"/> | |
4979 </modify-argument> | |
4980 </modify-function> | |
4981 <modify-function signature="addText(const QString &, const QFont &)"> | |
4982 <modify-argument index="return"> | |
4983 <define-ownership class="java" owner="c++"/> | |
4984 </modify-argument> | |
4985 </modify-function> | |
4986 <modify-function signature="addWidget(QWidget*,QFlags<Qt::WindowType>)"> | |
4987 <modify-argument index="return"> | |
4988 <define-ownership class="java" owner="c++"/> | |
4989 </modify-argument> | |
4990 <modify-argument index="1"> | |
4991 <define-ownership class="java" owner="c++"/> | |
4992 </modify-argument> | |
4993 </modify-function> | |
4994 <modify-function signature="removeItem(QGraphicsItem*)"> | |
4995 <modify-argument index="1"> | |
4996 <define-ownership class="java" owner="default"/> | |
4997 </modify-argument> | |
4998 </modify-function> | |
4999 <modify-function signature="setFocusItem(QGraphicsItem*,Qt::FocusReason)"> | |
5000 <modify-argument index="1"> | |
5001 <reference-count action="set" variable-name="__rcFocusItem"/> | |
5002 </modify-argument> | |
5003 </modify-function> | |
5004 | |
5005 <inject-code> | |
5006 <import-file name="typesystem_gui-java.java" quote-after-line="class QGraphicsScene___" quote-before-line="}// class"/> | |
5007 </inject-code> | |
5008 | |
5009 <modify-function signature="addEllipse(const QRectF &, const QPen &, const QBrush &)" remove="all"/> | |
5010 <modify-function signature="addEllipse(double, double, double, double, const QPen &, const QBrush &)" remove="all"/> | |
5011 <modify-function signature="addLine(const QLineF &, const QPen &)" remove="all"/> | |
5012 <modify-function signature="addLine(double, double, double, double, const QPen &)" remove="all"/> | |
5013 <modify-function signature="addPath(const QPainterPath &, const QPen &, const QBrush &)" remove="all"/> | |
5014 <modify-function signature="addPixmap(const QPixmap &)" remove="all"/> | |
5015 <modify-function signature="addPolygon(const QPolygonF &, const QPen &, const QBrush &)" remove="all"/> | |
5016 <modify-function signature="addRect(const QRectF &, const QPen &, const QBrush &)" remove="all"/> | |
5017 <modify-function signature="addRect(double, double, double, double, const QPen &, const QBrush &)" remove="all"/> | |
5018 <modify-function signature="addSimpleText(const QString &, const QFont &)" remove="all"/> | |
5019 <modify-function signature="addText(const QString &, const QFont &)" remove="all"/> | |
5020 | |
5021 <modify-function signature="drawItems(QPainter*,int,QGraphicsItem**,const QStyleOptionGraphicsItem*,QWidget*)"> | |
5022 <modify-argument index="2"> | |
5023 <remove-argument/> | |
5024 <conversion-rule class="shell"> | |
5025 // nothing | |
5026 </conversion-rule> | |
5027 <conversion-rule class="native"> | |
5028 <insert-template name="core.get_array_length"> | |
5029 <replace from="%ARRAY" to="%3"/> | |
5030 </insert-template> | |
5031 int __length = %out; | |
5032 </conversion-rule> | |
5033 | |
5034 </modify-argument> | |
5035 | |
5036 <modify-argument index="3"> | |
5037 <replace-type modified-type="qt.gui.QGraphicsItemInterface[]"/> | |
5038 <conversion-rule class="shell"> | |
5039 <insert-template name="gui.convert_graphicsitem_array_to_java"> | |
5040 <replace from="%LENGTH" to="%2"/> | |
5041 </insert-template> | |
5042 jobjectArray graphicsItemArrayHolder = %out; | |
5043 </conversion-rule> | |
5044 <conversion-rule class="native"> | |
5045 <insert-template name="gui.convert_graphicsitem_array_from_java"/> | |
5046 </conversion-rule> | |
5047 </modify-argument> | |
5048 | |
5049 <modify-argument index="return"> | |
5050 <conversion-rule class="shell"> | |
5051 qtjambi_invalidate_array(__jni_env, styleOptionArrayHolder); | |
5052 qtjambi_invalidate_array(__jni_env, graphicsItemArrayHolder); | |
5053 </conversion-rule> | |
5054 </modify-argument> | |
5055 | |
5056 <modify-argument index="4"> | |
5057 <replace-type modified-type="qt.gui.QStyleOptionGraphicsItem[]"/> | |
5058 <conversion-rule class="shell"> | |
5059 <insert-template name="gui.convert_styleoptiongraphicsitem_array_to_java"> | |
5060 <replace from="%LENGTH" to="%2"/> | |
5061 </insert-template> | |
5062 jobjectArray styleOptionArrayHolder = %out; | |
5063 </conversion-rule> | |
5064 <conversion-rule class="native"> | |
5065 <insert-template name="gui.convert_styleoptiongraphicsitem_array_from_java"/> | |
5066 </conversion-rule> | |
5067 </modify-argument> | |
5068 </modify-function> | |
5069 --> | |
5070 </object-type> | |
5071 | |
5072 | |
5073 <object-type name="QCalendarWidget"> | |
5074 <extra-includes> | |
5075 <include file-name="QTextCharFormat" location="global"/> | |
5076 </extra-includes> | |
5077 | |
5078 <modify-function signature="isHeaderVisible()const" remove="all"/> <!--### Obsolete in 4.3--> | |
5079 <modify-function signature="setHeaderVisible(bool)" remove="all"/> <!--### Obsolete in 4.3--> | |
5080 | |
5081 <modify-function signature="paintCell(QPainter*,QRect,QDate)const"> | |
5082 <modify-argument invalidate-after-use="yes" index="1"/> | |
5083 </modify-function> | |
5084 </object-type> | |
5085 | |
5086 <object-type name="QTreeWidget"> | |
5087 <modify-function signature="mimeData(const QList<QTreeWidgetItem*>)const"> | |
5088 <modify-argument index="1" invalidate-after-use="yes"/> | |
5089 </modify-function> | |
5090 <modify-function signature="dropMimeData(QTreeWidgetItem*,int,const QMimeData*,Qt::DropAction)"> | |
5091 <modify-argument index="1" invalidate-after-use="yes"/> | |
5092 </modify-function> | |
5093 <modify-function signature="isSortingEnabled()const" remove="all"/> | |
5094 <modify-function signature="setSortingEnabled(bool)" remove="all"/> | |
5095 <modify-function signature="indexOfTopLevelItem(QTreeWidgetItem *)"> | |
5096 <remove/> | |
5097 </modify-function> | |
5098 <modify-function signature="addTopLevelItem(QTreeWidgetItem *)"> | |
5099 <modify-argument index="1"> | |
5100 <define-ownership class="java" owner="c++"/> | |
5101 </modify-argument> | |
5102 </modify-function> | |
5103 <modify-function signature="takeTopLevelItem(int)"> | |
5104 <modify-argument index="return"> | |
5105 <define-ownership class="java" owner="default"/> | |
5106 </modify-argument> | |
5107 </modify-function> | |
5108 <modify-function signature="addTopLevelItems(const QList<QTreeWidgetItem*> &)"> | |
5109 <modify-argument index="1"> | |
5110 <define-ownership class="java" owner="c++"/> | |
5111 </modify-argument> | |
5112 </modify-function> | |
5113 <modify-function signature="insertTopLevelItem(int, QTreeWidgetItem *)"> | |
5114 <modify-argument index="2"> | |
5115 <define-ownership class="java" owner="c++"/> | |
5116 </modify-argument> | |
5117 </modify-function> | |
5118 <modify-function signature="insertTopLevelItems(int, const QList<QTreeWidgetItem*> &)"> | |
5119 <modify-argument index="2"> | |
5120 <define-ownership class="java" owner="c++"/> | |
5121 </modify-argument> | |
5122 </modify-function> | |
5123 <modify-function signature="setHeaderItem(QTreeWidgetItem *)"> | |
5124 <modify-argument index="1"> | |
5125 <define-ownership class="java" owner="c++"/> | |
5126 </modify-argument> | |
5127 </modify-function> | |
5128 <modify-function signature="takeTopLevelItem(int)"> | |
5129 <modify-argument index="return"> | |
5130 <define-ownership class="java" owner="default"/> | |
5131 </modify-argument> | |
5132 </modify-function> | |
5133 <modify-function signature="removeItemWidget(QTreeWidgetItem*,int)"> | |
5134 <modify-argument index="1"> | |
5135 <define-ownership class="java" owner="default"/> | |
5136 </modify-argument> | |
5137 </modify-function> | |
5138 <modify-function signature="setCurrentItem(QTreeWidgetItem*,int,QFlags<QItemSelectionModel::SelectionFlag>)"> | |
5139 <modify-argument index="1"> | |
5140 <reference-count action="ignore"/> | |
5141 </modify-argument> | |
5142 </modify-function> | |
5143 <modify-function signature="setFirstItemColumnSpanned(const QTreeWidgetItem*,bool)"> | |
5144 <modify-argument index="1"> | |
5145 <reference-count action="ignore"/> | |
5146 </modify-argument> | |
5147 </modify-function> | |
5148 <modify-function signature="setCurrentItem(QTreeWidgetItem*)"> | |
5149 <modify-argument index="1"> | |
5150 <reference-count action="ignore"/> | |
5151 </modify-argument> | |
5152 </modify-function> | |
5153 <modify-function signature="setCurrentItem(QTreeWidgetItem*,int)"> | |
5154 <modify-argument index="1"> | |
5155 <reference-count action="ignore"/> | |
5156 </modify-argument> | |
5157 </modify-function> | |
5158 <modify-function signature="setItemExpanded(const QTreeWidgetItem*,bool)"> | |
5159 <remove/> | |
5160 </modify-function> | |
5161 <modify-function signature="isItemExpanded(const QTreeWidgetItem*)const"> | |
5162 <remove/> | |
5163 </modify-function> | |
5164 <modify-function signature="setItemHidden(const QTreeWidgetItem*,bool)"> | |
5165 <remove/> | |
5166 </modify-function> | |
5167 <modify-function signature="isItemHidden(const QTreeWidgetItem*)const"> | |
5168 <remove/> | |
5169 </modify-function> | |
5170 <modify-function signature="isItemSelected(const QTreeWidgetItem*)const"> | |
5171 <remove/> | |
5172 </modify-function> | |
5173 <modify-function signature="setItemSelected(const QTreeWidgetItem*,bool)"> | |
5174 <remove/> | |
5175 </modify-function> | |
5176 <modify-function signature="setItemWidget(QTreeWidgetItem*,int,QWidget*)"> | |
5177 <modify-argument index="1"> | |
5178 <reference-count action="ignore"/> | |
5179 </modify-argument> | |
5180 <modify-argument index="3"> | |
5181 <reference-count action="ignore"/> | |
5182 </modify-argument> | |
5183 </modify-function> | |
5184 <modify-function signature="setModel(QAbstractItemModel*)"> | |
5185 <modify-argument index="1"> | |
5186 <reference-count action="ignore"/> | |
5187 </modify-argument> | |
5188 </modify-function> | |
5189 | |
5190 <modify-function signature="items(const QMimeData*)const" remove="all"/> <!--### Obsolete in 4.3--> | |
5191 </object-type> | |
5192 | |
5193 <object-type name="QAbstractItemDelegate"> | |
5194 <modify-function signature="setEditorData(QWidget*,QModelIndex)const"> | |
5195 <modify-argument index="1"> | |
5196 <!-- Safe to ignore because this implementation is documented to do nothing --> | |
5197 <reference-count action="ignore"/> | |
5198 </modify-argument> | |
5199 </modify-function> | |
5200 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const"> | |
5201 <modify-argument index="1"> | |
5202 <reference-count action="ignore"/> | |
5203 </modify-argument> | |
5204 <modify-argument index="2"> | |
5205 <reference-count action="ignore"/> | |
5206 </modify-argument> | |
5207 </modify-function> | |
5208 | |
5209 <modify-function signature="paint(QPainter*,QStyleOptionViewItem,QModelIndex)const"> | |
5210 <modify-argument index="1" invalidate-after-use="yes"/> | |
5211 </modify-function> | |
5212 <modify-function signature="editorEvent(QEvent*,QAbstractItemModel*,QStyleOptionViewItem,QModelIndex)"> | |
5213 <modify-argument index="1" invalidate-after-use="yes"/> | |
5214 </modify-function> | |
5215 | |
5216 <modify-function signature="elidedText(QFontMetrics, int, Qt::TextElideMode, QString)" remove="all"/> <!--### Obsolete in 4.3--> | |
5217 </object-type> | |
5218 | |
5219 <object-type name="QTableWidgetItem" delete-in-main-thread="yes"> | |
5220 <modify-function signature="operator=(const QTableWidgetItem&)" remove="all"/> | |
5221 <modify-function signature="clone() const"> | |
5222 <modify-argument index="return"> | |
5223 <define-ownership class="shell" owner="c++"/> | |
5224 </modify-argument> | |
5225 </modify-function> | |
5226 | |
5227 <modify-function signature="backgroundColor()const" remove="all"/> <!--### Obsolete in 4.3--> | |
5228 <modify-function signature="setBackgroundColor(QColor)" remove="all"/> <!--### Obsolete in 4.3--> | |
5229 <modify-function signature="setTextColor(QColor)" remove="all"/> <!--### Obsolete in 4.3--> | |
5230 <modify-function signature="textColor()const" remove="all"/> <!--### Obsolete in 4.3--> | |
5231 | |
5232 <modify-function signature="operator<(QTableWidgetItem)const"> | |
5233 <modify-argument index="1" invalidate-after-use="yes"/> | |
5234 </modify-function> | |
5235 <modify-function signature="read(QDataStream&)"> | |
5236 <modify-argument index="1" invalidate-after-use="yes"/> | |
5237 </modify-function> | |
5238 <modify-function signature="write(QDataStream&)const"> | |
5239 <modify-argument index="1" invalidate-after-use="yes"/> | |
5240 </modify-function> | |
5241 | |
5242 </object-type> | |
5243 | |
5244 <object-type name="QListWidgetItem" delete-in-main-thread="yes"> | |
5245 | |
5246 <modify-function signature="operator<(QListWidgetItem)const"> | |
5247 <modify-argument index="1" invalidate-after-use="yes"/> | |
5248 </modify-function> | |
5249 <modify-function signature="read(QDataStream&)"> | |
5250 <modify-argument index="1" invalidate-after-use="yes"/> | |
5251 </modify-function> | |
5252 <modify-function signature="write(QDataStream&)const"> | |
5253 <modify-argument index="1" invalidate-after-use="yes"/> | |
5254 </modify-function> | |
5255 | |
5256 | |
5257 <modify-function signature="operator=(const QListWidgetItem&)" remove="all"/> | |
5258 <!-- <modify-function signature="QListWidgetItem(QListWidget *, int)"> | |
5259 <modify-argument index="this"> | |
5260 <define-ownership class="java" owner="c++"/> | |
5261 </modify-argument> | |
5262 </modify-function> | |
5263 <modify-function signature="QListWidgetItem(const QString &, QListWidget *, int)"> | |
5264 <modify-argument index="this"> | |
5265 <define-ownership class="java" owner="c++"/> | |
5266 </modify-argument> | |
5267 </modify-function> | |
5268 <modify-function signature="QListWidgetItem(const QIcon &, const QString &, QListWidget *, int)"> | |
5269 <modify-argument index="this"> | |
5270 <define-ownership class="java" owner="c++"/> | |
5271 </modify-argument> | |
5272 </modify-function> | |
5273 <modify-function signature="clone() const"> | |
5274 <modify-argument index="return"> | |
5275 <define-ownership class="shell" owner="c++"/> | |
5276 </modify-argument> | |
5277 </modify-function> | |
5278 --> | |
5279 <modify-function signature="backgroundColor()const" remove="all"/> <!--### Obsolete in 4.3--> | |
5280 <modify-function signature="setBackgroundColor(QColor)" remove="all"/> <!--### Obsolete in 4.3--> | |
5281 <modify-function signature="setTextColor(QColor)" remove="all"/> <!--### Obsolete in 4.3--> | |
5282 <modify-function signature="textColor()const" remove="all"/> <!--### Obsolete in 4.3--> | |
5283 </object-type> | |
5284 | |
5285 <object-type name="QGraphicsTextItem"> <!-- a QObject so main-thread delete redundant --> | |
5286 <extra-includes> | |
5287 <include file-name="QTextCursor" location="global"/> | |
5288 </extra-includes> | |
5289 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/> | |
5290 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/> | |
5291 <!-- | |
5292 <modify-function signature="QGraphicsTextItem(QGraphicsItem*,QGraphicsScene*)"> | |
5293 <inject-code position="end"> | |
5294 <argument-map index="1" meta-name="%1"/> | |
5295 if (%1 != null) disableGarbageCollection(); | |
5296 </inject-code> | |
5297 </modify-function> | |
5298 <modify-function signature="QGraphicsTextItem(const QString &,QGraphicsItem*,QGraphicsScene*)"> | |
5299 <inject-code position="end"> | |
5300 <argument-map index="2" meta-name="%2"/> | |
5301 if (%2 != null) disableGarbageCollection(); | |
5302 </inject-code> | |
5303 </modify-function> | |
5304 <modify-function signature="setDocument(QTextDocument*)"> | |
5305 <modify-argument index="1"> | |
5306 <reference-count action="set" variable-name="__rcDocument"/> | |
5307 </modify-argument> | |
5308 </modify-function> | |
5309 --> | |
5310 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3--> | |
5311 <modify-function signature="resetMatrix()" remove="all"/> <!--### Obsolete in 4.3--> | |
5312 <modify-function signature="sceneMatrix()const" remove="all"/> <!--### Obsolete in 4.3--> | |
5313 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3--> | |
5314 </object-type> | |
5315 | |
5316 <object-type name="QCompleter"> | |
5317 <modify-function signature="activated(const QModelIndex &)"> | |
5318 <rename to="activatedIndex"/> | |
5319 </modify-function> | |
5320 <modify-function signature="highlighted(const QModelIndex &)"> | |
5321 <rename to="highlightedIndex"/> | |
5322 </modify-function> | |
5323 <modify-function signature="setModel(QAbstractItemModel *)"> | |
5324 <modify-argument index="1"> | |
5325 <reference-count action="set" variable-name="__rcModel"/> | |
5326 </modify-argument> | |
5327 </modify-function> | |
5328 <modify-function signature="setPopup(QAbstractItemView *)"> | |
5329 <modify-argument index="1"> | |
5330 <no-null-pointer/> | |
5331 <define-ownership class="java" owner="c++"/> | |
5332 </modify-argument> | |
5333 </modify-function> | |
5334 <modify-function signature="setWidget(QWidget *)"> | |
5335 <modify-argument index="1"> | |
5336 <reference-count action="set" variable-name="__rcWidget"/> | |
5337 </modify-argument> | |
5338 </modify-function> | |
5339 </object-type> | |
5340 | |
5341 | |
5342 <object-type name="QTreeWidgetItem" delete-in-main-thread="yes"> | |
5343 | |
5344 <modify-function signature="operator<(QTreeWidgetItem)const"> | |
5345 <modify-argument index="1" invalidate-after-use="yes"/> | |
5346 </modify-function> | |
5347 <modify-function signature="read(QDataStream&)"> | |
5348 <modify-argument index="1" invalidate-after-use="yes"/> | |
5349 </modify-function> | |
5350 <modify-function signature="write(QDataStream&)const"> | |
5351 <modify-argument index="1" invalidate-after-use="yes"/> | |
5352 </modify-function> | |
5353 | |
5354 <modify-function signature="QTreeWidgetItem(const QTreeWidgetItem &)" remove="all"/> | |
5355 <modify-function signature="operator=(const QTreeWidgetItem&)" remove="all"/> | |
5356 | |
5357 <modify-function signature="QTreeWidgetItem(QTreeWidget *,int)"> | |
5358 <modify-argument index="this"> | |
5359 <define-ownership class="java" owner="c++"/> | |
5360 </modify-argument> | |
5361 </modify-function> | |
5362 <modify-function signature="QTreeWidgetItem(QTreeWidget *,const QStringList<QString> &,int)"> | |
5363 <modify-argument index="this"> | |
5364 <define-ownership class="java" owner="c++"/> | |
5365 </modify-argument> | |
5366 </modify-function> | |
5367 <modify-function signature="QTreeWidgetItem(QTreeWidget *,QTreeWidgetItem *,int)"> | |
5368 <modify-argument index="this"> | |
5369 <define-ownership class="java" owner="c++"/> | |
5370 </modify-argument> | |
5371 </modify-function> | |
5372 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem *,int)"> | |
5373 <modify-argument index="this"> | |
5374 <define-ownership class="java" owner="c++"/> | |
5375 </modify-argument> | |
5376 </modify-function> | |
5377 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem *,const QStringList<QString> &,int)"> | |
5378 <modify-argument index="this"> | |
5379 <define-ownership class="java" owner="c++"/> | |
5380 </modify-argument> | |
5381 </modify-function> | |
5382 <modify-function signature="QTreeWidgetItem(QTreeWidgetItem *,QTreeWidgetItem *,int)"> | |
5383 <modify-argument index="this"> | |
5384 <define-ownership class="java" owner="c++"/> | |
5385 </modify-argument> | |
5386 </modify-function> | |
5387 <modify-function signature="clone() const"> | |
5388 <modify-argument index="return"> | |
5389 <define-ownership class="shell" owner="c++"/> | |
5390 </modify-argument> | |
5391 </modify-function> | |
5392 <modify-function signature="addChild(QTreeWidgetItem *)"> | |
5393 <modify-argument index="1"> | |
5394 <define-ownership class="java" owner="c++"/> | |
5395 </modify-argument> | |
5396 </modify-function> | |
5397 <modify-function signature="addChildren(const QList<QTreeWidgetItem*> &)"> | |
5398 <modify-argument index="1"> | |
5399 <define-ownership class="java" owner="c++"/> | |
5400 </modify-argument> | |
5401 </modify-function> | |
5402 <modify-function signature="insertChild(int, QTreeWidgetItem *)"> | |
5403 <modify-argument index="2"> | |
5404 <define-ownership class="java" owner="c++"/> | |
5405 </modify-argument> | |
5406 </modify-function> | |
5407 <modify-function signature="insertChildren(int, const QList<QTreeWidgetItem*> &)"> | |
5408 <modify-argument index="2"> | |
5409 <define-ownership class="java" owner="c++"/> | |
5410 </modify-argument> | |
5411 </modify-function> | |
5412 <modify-function signature="removeChild(QTreeWidgetItem*)"> | |
5413 <modify-argument index="1"> | |
5414 <define-ownership class="java" owner="default"/> | |
5415 </modify-argument> | |
5416 </modify-function> | |
5417 <modify-function signature="takeChild(int)"> | |
5418 <modify-argument index="return"> | |
5419 <define-ownership class="java" owner="default"/> | |
5420 </modify-argument> | |
5421 </modify-function> | |
5422 <modify-function signature="takeChildren()"> | |
5423 <modify-argument index="return"> | |
5424 <define-ownership class="java" owner="default"/> | |
5425 </modify-argument> | |
5426 </modify-function> | |
5427 | |
5428 <modify-function signature="backgroundColor(int)const" remove="all"/> <!--### Obsolete in 4.3--> | |
5429 <modify-function signature="setBackgroundColor(int, QColor)" remove="all"/> <!--### Obsolete in 4.3--> | |
5430 <modify-function signature="setTextColor(int, QColor)" remove="all"/> <!--### Obsolete in 4.3--> | |
5431 <modify-function signature="textColor(int)const" remove="all"/> <!--### Obsolete in 4.3--> | |
5432 </object-type> | |
5433 | |
5434 <object-type name="QListWidget"> | |
5435 <modify-function signature="mimeData(const QList<QListWidgetItem *>)const"> | |
5436 <modify-argument index="1" invalidate-after-use="yes"/> | |
5437 </modify-function> | |
5438 <modify-function signature="addItem(QListWidgetItem *)"> | |
5439 <modify-argument index="1"> | |
5440 <define-ownership class="java" owner="c++"/> | |
5441 </modify-argument> | |
5442 </modify-function> | |
5443 <modify-function signature="insertItem(int, QListWidgetItem *)"> | |
5444 <modify-argument index="2"> | |
5445 <define-ownership class="java" owner="c++"/> | |
5446 </modify-argument> | |
5447 </modify-function> | |
5448 <modify-function signature="removeItemWidget(QListWidgetItem*)"> | |
5449 <modify-argument index="1"> | |
5450 <define-ownership class="java" owner="default"/> | |
5451 </modify-argument> | |
5452 </modify-function> | |
5453 <modify-function signature="setCurrentItem(QListWidgetItem*)"> | |
5454 <modify-argument index="1"> | |
5455 <reference-count action="ignore"/> | |
5456 </modify-argument> | |
5457 </modify-function> | |
5458 <modify-function signature="setCurrentItem(QListWidgetItem*,QFlags<QItemSelectionModel::SelectionFlag>)"> | |
5459 <modify-argument index="1"> | |
5460 <reference-count action="ignore"/> | |
5461 </modify-argument> | |
5462 </modify-function> | |
5463 <modify-function signature="setItemHidden(const QListWidgetItem*,bool)"> | |
5464 <remove/> | |
5465 </modify-function> | |
5466 <modify-function signature="isItemHidden(const QListWidgetItem*)const"> | |
5467 <remove/> | |
5468 </modify-function> | |
5469 <modify-function signature="setItemSelected(const QListWidgetItem*,bool)"> | |
5470 <remove/> | |
5471 </modify-function> | |
5472 <modify-function signature="isItemSelected(const QListWidgetItem*)const"> | |
5473 <remove/> | |
5474 </modify-function> | |
5475 <modify-function signature="takeItem(int)"> | |
5476 <modify-argument index="return"> | |
5477 <define-ownership class="java" owner="default"/> | |
5478 </modify-argument> | |
5479 </modify-function> | |
5480 <modify-function signature="setItemWidget(QListWidgetItem*,QWidget*)"> | |
5481 <modify-argument index="1"> | |
5482 <reference-count action="ignore"/> | |
5483 </modify-argument> | |
5484 <modify-argument index="2"> | |
5485 <reference-count action="ignore"/> | |
5486 </modify-argument> | |
5487 </modify-function> | |
5488 <modify-function signature="setModel(QAbstractItemModel*)"> | |
5489 <modify-argument index="1"> | |
5490 <reference-count action="ignore"/> | |
5491 </modify-argument> | |
5492 </modify-function> | |
5493 | |
5494 | |
5495 <!-- <modify-function signature="addItem(const QString &)" remove="all"/>--> | |
5496 <modify-function signature="addItems(const QStringList<QString> &)" remove="all"/> | |
5497 <modify-function signature="insertItem(int, const QString &)" remove="all"/> | |
5498 <modify-function signature="insertItems(int, const QStringList<QString> &)" remove="all"/> | |
5499 <inject-code> | |
5500 <import-file name="typesystem_gui-java.java" quote-after-line="class QListWidget___" quote-before-line="}// class"/> | |
5501 </inject-code> | |
5502 </object-type> | |
5503 | |
5504 <object-type name="QWidget"> | |
5505 <extra-includes> | |
5506 <include file-name="QIcon" location="global"/> | |
5507 <include file-name="QMessageBox" location="global"/> | |
5508 </extra-includes> | |
5509 | |
5510 <!-- These should be restored later after fixing abstract classes issue --> | |
5511 <!--<modify-function signature="inputContext()" remove="all"/> | |
5512 <modify-function signature="layout() const" remove="all"/> | |
5513 <modify-function signature="setLayout(QLayout*)" remove="all"/>--> | |
5514 <modify-function signature="style () const" remove="all"/> | |
5515 <!-- --> | |
5516 | |
5517 <modify-function signature="actionEvent(QActionEvent*)"> | |
5518 <modify-argument index="1" invalidate-after-use="yes"/> | |
5519 </modify-function> | |
5520 <modify-function signature="changeEvent(QEvent*)"> | |
5521 <modify-argument index="1" invalidate-after-use="yes"/> | |
5522 </modify-function> | |
5523 <modify-function signature="closeEvent(QCloseEvent*)"> | |
5524 <modify-argument index="1" invalidate-after-use="yes"/> | |
5525 </modify-function> | |
5526 <modify-function signature="contextMenuEvent(QContextMenuEvent*)"> | |
5527 <modify-argument index="1" invalidate-after-use="yes"/> | |
5528 </modify-function> | |
5529 <modify-function signature="dragEnterEvent(QDragEnterEvent*)"> | |
5530 <modify-argument index="1" invalidate-after-use="yes"/> | |
5531 </modify-function> | |
5532 <modify-function signature="dragLeaveEvent(QDragLeaveEvent*)"> | |
5533 <modify-argument index="1" invalidate-after-use="yes"/> | |
5534 </modify-function> | |
5535 <modify-function signature="dragMoveEvent(QDragMoveEvent*)"> | |
5536 <modify-argument index="1" invalidate-after-use="yes"/> | |
5537 </modify-function> | |
5538 <modify-function signature="dropEvent(QDropEvent*)"> | |
5539 <modify-argument index="1" invalidate-after-use="yes"/> | |
5540 </modify-function> | |
5541 <modify-function signature="enterEvent(QEvent*)"> | |
5542 <modify-argument index="1" invalidate-after-use="yes"/> | |
5543 </modify-function> | |
5544 <modify-function signature="focusInEvent(QFocusEvent*)"> | |
5545 <modify-argument index="1" invalidate-after-use="yes"/> | |
5546 </modify-function> | |
5547 <modify-function signature="focusOutEvent(QFocusEvent*)"> | |
5548 <modify-argument index="1" invalidate-after-use="yes"/> | |
5549 </modify-function> | |
5550 <modify-function signature="hideEvent(QHideEvent*)"> | |
5551 <modify-argument index="1" invalidate-after-use="yes"/> | |
5552 </modify-function> | |
5553 <modify-function signature="inputMethodEvent(QInputMethodEvent*)"> | |
5554 <modify-argument index="1" invalidate-after-use="yes"/> | |
5555 </modify-function> | |
5556 <modify-function signature="keyPressEvent(QKeyEvent*)"> | |
5557 <modify-argument index="1" invalidate-after-use="yes"/> | |
5558 </modify-function> | |
5559 <modify-function signature="keyReleaseEvent(QKeyEvent*)"> | |
5560 <modify-argument index="1" invalidate-after-use="yes"/> | |
5561 </modify-function> | |
5562 <modify-function signature="leaveEvent(QEvent*)"> | |
5563 <modify-argument index="1" invalidate-after-use="yes"/> | |
5564 </modify-function> | |
5565 <modify-function signature="mouseDoubleClickEvent(QMouseEvent*)"> | |
5566 <modify-argument index="1" invalidate-after-use="yes"/> | |
5567 </modify-function> | |
5568 <modify-function signature="mouseMoveEvent(QMouseEvent*)"> | |
5569 <modify-argument index="1" invalidate-after-use="yes"/> | |
5570 </modify-function> | |
5571 <modify-function signature="mousePressEvent(QMouseEvent*)"> | |
5572 <modify-argument index="1" invalidate-after-use="yes"/> | |
5573 </modify-function> | |
5574 <modify-function signature="mouseReleaseEvent(QMouseEvent*)"> | |
5575 <modify-argument index="1" invalidate-after-use="yes"/> | |
5576 </modify-function> | |
5577 <modify-function signature="moveEvent(QMoveEvent*)"> | |
5578 <modify-argument index="1" invalidate-after-use="yes"/> | |
5579 </modify-function> | |
5580 <modify-function signature="paintEvent(QPaintEvent*)"> | |
5581 <modify-argument index="1" invalidate-after-use="yes"/> | |
5582 </modify-function> | |
5583 <modify-function signature="resizeEvent(QResizeEvent*)"> | |
5584 <modify-argument index="1" invalidate-after-use="yes"/> | |
5585 </modify-function> | |
5586 <modify-function signature="showEvent(QShowEvent*)"> | |
5587 <modify-argument index="1" invalidate-after-use="yes"/> | |
5588 </modify-function> | |
5589 <modify-function signature="tabletEvent(QTabletEvent*)"> | |
5590 <modify-argument index="1" invalidate-after-use="yes"/> | |
5591 </modify-function> | |
5592 <modify-function signature="wheelEvent(QWheelEvent*)"> | |
5593 <modify-argument index="1" invalidate-after-use="yes"/> | |
5594 </modify-function> | |
5595 <!-- qtd | |
5596 <modify-function signature="render(QPainter*,QPoint,QRegion,QFlags<QWidget::RenderFlag>)"> | |
5597 <modify-argument index="2"> | |
5598 <remove-default-expression/> | |
5599 </modify-argument> | |
5600 </modify-function> | |
5601 | |
5602 <inject-code class="native"> | |
5603 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_gui_QWidget__1_1qt_1QMessageBox_1setWindowTitle) | |
5604 (JNIEnv *__jni_env, | |
5605 jclass, | |
5606 jlong __this_nativeId, | |
5607 jobject title0) | |
5608 { | |
5609 QTJAMBI_DEBUG_TRACE("(native) entering: QMessageBox::setWindowTitle(const QString & title)"); | |
5610 QString __qt_title0 = qtjambi_to_qstring(__jni_env, (jstring) title0); | |
5611 QTJAMBI_EXCEPTION_CHECK(__jni_env); | |
5612 QMessageBox *__qt_this = (QMessageBox *) qtjambi_from_jlong(__this_nativeId); | |
5613 QTJAMBI_EXCEPTION_CHECK(__jni_env); | |
5614 Q_ASSERT(__qt_this); | |
5615 __qt_this->setWindowTitle((const QString& )__qt_title0); | |
5616 QTJAMBI_DEBUG_TRACE("(native) -> leaving: QMessageBox::setWindowTitle(const QString & title)"); | |
5617 } | |
5618 </inject-code> | |
5619 | |
5620 <inject-code class="native"> | |
5621 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_gui_QWidget__1_1qt_1QMessageBox_1setWindowModality) | |
5622 (JNIEnv *__jni_env, | |
5623 jclass, | |
5624 jlong __this_nativeId, | |
5625 jint windowModality0) | |
5626 { | |
5627 Q_UNUSED(__jni_env); | |
5628 QTJAMBI_DEBUG_TRACE("(native) entering: QMessageBox::setWindowModality(Qt::WindowModality modality)"); | |
5629 Qt::WindowModality __qt_windowModality0 = (Qt::WindowModality) windowModality0; | |
5630 QTJAMBI_EXCEPTION_CHECK(__jni_env); | |
5631 QMessageBox *__qt_this = (QMessageBox *) qtjambi_from_jlong(__this_nativeId); | |
5632 QTJAMBI_EXCEPTION_CHECK(__jni_env); | |
5633 Q_ASSERT(__qt_this); | |
5634 __qt_this->setWindowModality((Qt::WindowModality )__qt_windowModality0); | |
5635 QTJAMBI_DEBUG_TRACE("(native) -> leaving: QMessageBox::setWindowModality(Qt::WindowModality modality)"); | |
5636 } | |
5637 </inject-code> | |
5638 | |
5639 <modify-function signature="render(QPaintDevice *, const QPoint &, const QRegion &, QFlags<QWidget::RenderFlag>)"> | |
5640 <modify-argument index="4"> | |
5641 <replace-default-expression with="RenderFlag.DrawWindowBackground, RenderFlag.DrawChildren"/> | |
5642 </modify-argument> | |
5643 </modify-function> | |
5644 <modify-function signature="render(QPainter *, const QPoint &, const QRegion &, QFlags<QWidget::RenderFlag>)"> | |
5645 <modify-argument index="4"> | |
5646 <replace-default-expression with="RenderFlag.DrawWindowBackground, RenderFlag.DrawChildren"/> | |
5647 </modify-argument> | |
5648 </modify-function> | |
5649 --> | |
5650 <!-- <modify-function signature="setFocusProxy(QWidget*)"> | |
5651 <modify-argument index="1"> | |
5652 <reference-count action="set" variable-name="__rcFocusProxy"/> | |
5653 </modify-argument> | |
5654 </modify-function> --> | |
5655 <modify-function signature="setInputContext(QInputContext*)"> | |
5656 <modify-argument index="1"> | |
5657 <define-ownership class="java" owner="c++"/> | |
5658 </modify-argument> | |
5659 </modify-function> | |
5660 <!-- | |
5661 <modify-function signature="setLayout(QLayout*)"> | |
5662 <modify-argument index="1"> | |
5663 <no-null-pointer/> | |
5664 <reference-count action="ignore"/> | |
5665 </modify-argument> | |
5666 </modify-function> | |
5667 --> | |
5668 <modify-function signature="setParent(QWidget*,QFlags<Qt::WindowType>)"> | |
5669 <modify-argument index="1"> | |
5670 <reference-count action="ignore"/> | |
5671 </modify-argument> | |
5672 </modify-function> | |
5673 <modify-function signature="setParent(QWidget*)"> | |
5674 <modify-argument index="1"> | |
5675 <reference-count action="ignore"/> | |
5676 </modify-argument> | |
5677 </modify-function> | |
5678 <!-- | |
5679 <modify-function signature="setStyle(QStyle*)"> | |
5680 <modify-argument index="1"> | |
5681 <reference-count action="set" variable-name="__rcStyle"/> | |
5682 </modify-argument> | |
5683 </modify-function> | |
5684 --> | |
5685 <modify-function signature="setTabOrder(QWidget*,QWidget*)"> | |
5686 <modify-argument index="1"> | |
5687 <reference-count action="ignore"/> | |
5688 </modify-argument> | |
5689 <modify-argument index="2"> | |
5690 <reference-count action="ignore"/> | |
5691 </modify-argument> | |
5692 </modify-function> | |
5693 <modify-function signature="getContentsMargins(int*,int*,int*,int*)const"> | |
5694 <access modifier="private"/> | |
5695 </modify-function> | |
5696 | |
5697 <modify-function signature="addAction(QAction *)"> | |
5698 <modify-argument index="1"> | |
5699 <reference-count action="add" variable-name="__rcActions"/> | |
5700 </modify-argument> | |
5701 </modify-function> | |
5702 | |
5703 <modify-function signature="insertAction(QAction *, QAction *)"> | |
5704 <modify-argument index="2"> | |
5705 <reference-count action="add" variable-name="__rcActions"/> | |
5706 </modify-argument> | |
5707 </modify-function> | |
5708 | |
5709 <modify-function signature="addActions(const QList<QAction *> &)"> | |
5710 <modify-argument index="1"> | |
5711 <reference-count action="add-all" variable-name="__rcActions"/> | |
5712 </modify-argument> | |
5713 </modify-function> | |
5714 | |
5715 <modify-function signature="insertActions(QAction *, const QList<QAction *> &)"> | |
5716 <modify-argument index="2"> | |
5717 <reference-count action="add-all" variable-name="__rcActions"/> | |
5718 </modify-argument> | |
5719 </modify-function> | |
5720 | |
5721 <modify-function signature="removeAction(QAction *)"> | |
5722 <modify-argument index="1"> | |
5723 <reference-count action="remove" variable-name="__rcActions"/> | |
5724 </modify-argument> | |
5725 </modify-function> | |
5726 <modify-function signature="enabledChange(bool)" remove="all"/> <!--### Obsolete in 4.3--> | |
5727 <modify-function signature="fontChange(QFont)" remove="all"/> <!--### Obsolete in 4.3--> | |
5728 <modify-function signature="isEnabledToTLW()const" remove="all"/> <!--### Obsolete in 4.3--> | |
5729 <modify-function signature="isTopLevel()const" remove="all"/> <!--### Obsolete in 4.3--> | |
5730 <modify-function signature="paletteChange(QPalette)" remove="all"/> <!--### Obsolete in 4.3--> | |
5731 <modify-function signature="setShown(bool)" remove="all"/> <!--### Obsolete in 4.3--> | |
5732 <modify-function signature="topLevelWidget()const" remove="all"/> <!--### Obsolete in 4.3--> | |
5733 <modify-function signature="windowActivationChange(bool)" remove="all"/> <!--### Obsolete in 4.3--> | |
5734 | |
5735 <inject-code> | |
5736 <import-file name="typesystem_gui-java.java" quote-after-line="class QWidget___" quote-before-line="}// class"/> | |
5737 </inject-code> | |
5738 <!-- | |
5739 <modify-function signature="setWindowTitle(const QString &)"> | |
5740 <inject-code class="java"> | |
5741 <argument-map index="1" meta-name="%1"/> | |
5742 if (this instanceof QMessageBox) { | |
5743 qt.GeneratorUtilities.threadCheck(this); | |
5744 if (nativeId() == 0) | |
5745 throw new QNoNativeResourcesException("Function call on incomplete object of type: " +getClass().getName()); | |
5746 __qt_QMessageBox_setWindowTitle(nativeId(), %1); | |
5747 return ; | |
5748 } | |
5749 </inject-code> | |
5750 </modify-function> | |
5751 | |
5752 | |
5753 <modify-function signature="setWindowModality(Qt::WindowModality)"> | |
5754 <inject-code class="java"> | |
5755 <argument-map index="1" meta-name="%1"/> | |
5756 if (this instanceof QMessageBox) { | |
5757 qt.GeneratorUtilities.threadCheck(this); | |
5758 if (nativeId() == 0) | |
5759 throw new QNoNativeResourcesException("Function call on incomplete object of type: " +getClass().getName()); | |
5760 __qt_QMessageBox_setWindowModality(nativeId(), %1.value()); | |
5761 return ; | |
5762 } | |
5763 </inject-code> | |
5764 </modify-function> | |
5765 --> | |
5766 | |
5767 | |
5768 | |
5769 </object-type> | |
5770 | |
5771 <object-type name="QMessageBox"> | |
5772 <modify-function signature="open()" remove="all"/> | |
5773 <modify-function signature="setWindowTitle(const QString &)" remove="all"/> | |
5774 <modify-function signature="setWindowModality(Qt::WindowModality)" remove="all"/> | |
5775 <extra-includes> | |
5776 <include file-name="QPixmap" location="global"/> | |
5777 </extra-includes> | |
5778 <modify-function signature="addButton(QAbstractButton*,QMessageBox::ButtonRole)"> | |
5779 <modify-argument index="1"> | |
5780 <reference-count action="ignore"/> | |
5781 </modify-argument> | |
5782 </modify-function> | |
5783 <modify-function signature="removeButton(QAbstractButton*)"> | |
5784 <modify-argument index="1"> | |
5785 <reference-count action="ignore"/> | |
5786 </modify-argument> | |
5787 </modify-function> | |
5788 <modify-function signature="setDefaultButton(QPushButton*)"> | |
5789 <modify-argument index="1"> | |
5790 <reference-count action="ignore"/> | |
5791 </modify-argument> | |
5792 </modify-function> | |
5793 <modify-function signature="setEscapeButton(QAbstractButton*)"> | |
5794 <modify-argument index="1"> | |
5795 <reference-count action="ignore"/> | |
5796 </modify-argument> | |
5797 </modify-function> | |
5798 | |
5799 <modify-function signature="QMessageBox(QString,QString,QMessageBox::Icon,int,int,int,QWidget*,QFlags<Qt::WindowType>)" remove="all"/> <!--### Obsolete in 4.3--> | |
5800 <modify-function signature="buttonText(int)const" remove="all"/> <!--### Obsolete in 4.3--> | |
5801 <modify-function signature="setButtonText(int, QString)" remove="all"/> <!--### Obsolete in 4.3--> | |
5802 <modify-function signature="standardIcon(QMessageBox::Icon)" remove="all"/> <!--### Obsolete in 4.3--> | |
5803 | |
5804 <modify-function signature="critical(QWidget*,QString,QString,int,int,int)" remove="all"/> <!--### Obsolete in 4.3--> | |
5805 <modify-function signature="critical(QWidget*,QString,QString,QString,QString,QString,int,int)" remove="all"/> <!--### Obsolete in 4.3--> | |
5806 <modify-function signature="information(QWidget*,QString,QString,int,int,int)" remove="all"/> <!--### Obsolete in 4.3--> | |
5807 <modify-function signature="information(QWidget*,QString,QString,QString,QString,QString,int,int)" remove="all"/> <!--### Obsolete in 4.3--> | |
5808 <modify-function signature="question(QWidget*, QString, QString, int, int, int)" remove="all"/> <!--### Obsolete in 4.3--> | |
5809 <modify-function signature="question(QWidget*, QString, QString, QString, QString, QString, int, int)" remove="all"/> <!--### Obsolete in 4.3--> | |
5810 <modify-function signature="warning(QWidget*, QString, QString, int, int, int)" remove="all"/> <!--### Obsolete in 4.3--> | |
5811 <modify-function signature="warning(QWidget*, QString, QString, QString, QString, QString, int, int)" remove="all"/> <!--### Obsolete in 4.3--> | |
5812 </object-type> | |
5813 | |
5814 <object-type name="QAbstractSpinBox"> | |
5815 <modify-function signature="initStyleOption(QStyleOptionSpinBox*)const"> | |
5816 <access modifier="private"/> | |
5817 </modify-function> | |
5818 <modify-function signature="setLineEdit(QLineEdit*)"> | |
5819 <modify-argument index="1"> | |
5820 <!-- Safe to ignore because the spinbox reparents the line edit --> | |
5821 <reference-count action="ignore"/> | |
5822 <no-null-pointer/> | |
5823 </modify-argument> | |
5824 </modify-function> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
5825 <!-- |
1 | 5826 <inject-code> |
5827 <insert-template name="gui.init_style_option"> | |
5828 <replace from="%TYPE" to="QStyleOptionSpinBox"/> | |
5829 <replace from="final" to=""/> | |
5830 </insert-template> | |
5831 </inject-code> | |
5832 | |
5833 <modify-function signature="fixup(QString&)const"> | |
5834 <modify-argument index="1"> | |
5835 <replace-type modified-type="java.lang.String"/> | |
5836 <conversion-rule class="shell"> | |
5837 jobject %out = (jobject) qtjambi_from_qstring(__jni_env, %in); | |
5838 </conversion-rule> | |
5839 <conversion-rule class="native"> | |
5840 QString %out = qtjambi_to_qstring(__jni_env, (jstring) %in); | |
5841 QString *__qt_converted = &%out; | |
5842 </conversion-rule> | |
5843 </modify-argument> | |
5844 | |
5845 <modify-argument index="0"> | |
5846 <replace-type modified-type="java.lang.String"/> | |
5847 <conversion-rule class="native"> | |
5848 jobject %out = (jobject) qtjambi_from_qstring(__jni_env, *__qt_converted); | |
5849 </conversion-rule> | |
5850 <conversion-rule class="shell"> | |
5851 %1 = qtjambi_to_qstring(__jni_env, (jstring) %in); | |
5852 </conversion-rule> | |
5853 </modify-argument> | |
5854 </modify-function> | |
5855 | |
5856 <modify-function signature="validate(QString&,int&)const"> | |
5857 <modify-argument index="1"> | |
5858 <replace-type modified-type="qt.gui.QValidator$QValidationData"/> | |
5859 <conversion-rule class="shell"> | |
5860 <insert-template name="gui.convert_validationdata_to_java"> | |
5861 <replace from="%STRING" to="%1"/> | |
5862 <replace from="%POS" to="%2"/> | |
5863 </insert-template> | |
5864 </conversion-rule> | |
5865 <conversion-rule class="native"> | |
5866 <insert-template name="gui.convert_validationdata_to_string"/> | |
5867 </conversion-rule> | |
5868 </modify-argument> | |
5869 | |
5870 <modify-argument index="2"> | |
5871 <remove-argument/> | |
5872 <conversion-rule class="shell"> | |
5873 // nothing needed | |
5874 </conversion-rule> | |
5875 <conversion-rule class="native"> | |
5876 <insert-template name="gui.convert_validationdata_to_pos"> | |
5877 <replace from="%VALIDATIONDATA" to="%1"/> | |
5878 </insert-template> | |
5879 </conversion-rule> | |
5880 </modify-argument> | |
5881 | |
5882 <modify-argument index="0"> | |
5883 <conversion-rule class="native"> | |
5884 <insert-template name="gui.cleanup_validationdata_from_java"/> | |
5885 jint %out = %in; | |
5886 </conversion-rule> | |
5887 <conversion-rule class="shell"> | |
5888 <insert-template name="gui.cleanup_validationdata_to_java"> | |
5889 <replace from="%STRING" to="%1"/> | |
5890 <replace from="%POS" to="%2"/> | |
5891 </insert-template> | |
5892 QValidator::State %out = (QValidator::State) qtjambi_to_enumerator(__jni_env, %in); | |
5893 </conversion-rule> | |
5894 </modify-argument> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
5895 </modify-function>--> |
1 | 5896 </object-type> |
5897 | |
5898 <object-type name="QTextFrame" delete-in-main-thread="yes"> | |
5899 <extra-includes> | |
5900 <include file-name="QTextCursor" location="global"/> | |
5901 </extra-includes> | |
5902 </object-type> | |
5903 | |
5904 <object-type name="QImageIOHandler"> | |
5905 <extra-includes> | |
5906 <include file-name="QRect" location="global"/> | |
5907 </extra-includes> | |
5908 <modify-function signature="setFormat(const QByteArray &)const"> | |
5909 <remove/> | |
5910 </modify-function> | |
5911 <modify-function signature="setDevice(QIODevice*)"> | |
5912 <modify-argument index="1"> | |
5913 <reference-count action="set" variable-name="__rcDevice"/> | |
5914 </modify-argument> | |
5915 </modify-function> | |
5916 <modify-function signature="read(QImage*)"> | |
5917 <modify-argument index="1"> | |
5918 <replace-type modified-type="QImage"/> | |
5919 <!-- <conversion-rule class="shell"> | |
5920 jobject %out = qtjambi_from_object(__jni_env, %in, "QImage", "com/trolltech/qt/gui/", false); | |
5921 | |
5922 QtJambiLink *__link = %out != 0 ? QtJambiLink::findLink(__jni_env, %out) : 0; | |
5923 </conversion-rule> | |
5924 <conversion-rule class="native"> | |
5925 QImage *%out = (QImage *) qtjambi_to_object(__jni_env, %in); | |
5926 </conversion-rule> --> | |
5927 </modify-argument> | |
5928 <!-- <modify-argument index="0"> | |
5929 <conversion-rule class="shell"> | |
5930 // Invalidate object | |
5931 if (__link != 0) __link->resetObject(__jni_env); | |
5932 bool %out = (bool) %in; | |
5933 </conversion-rule> | |
5934 </modify-argument>--> | |
5935 </modify-function> | |
5936 | |
5937 <modify-function signature="name()const" remove="all"/> <!--### Obsolete in 4.3--> | |
5938 </object-type> | |
5939 | |
5940 <object-type name="QProxyModel"> | |
5941 <modify-function signature="parent()const" remove="all"/> | |
5942 <extra-includes> | |
5943 <include file-name="QPixmap" location="global"/> | |
5944 <include file-name="QStringList" location="global"/> | |
5945 <include file-name="QSize" location="global"/> | |
5946 </extra-includes> | |
5947 <modify-function signature="setModel(QAbstractItemModel*)"> | |
5948 <modify-argument index="1"> | |
5949 <reference-count action="set" variable-name="__rcModel"/> | |
5950 </modify-argument> | |
5951 </modify-function> | |
5952 </object-type> | |
5953 | |
5954 <object-type name="QImageReader"> | |
5955 <extra-includes> | |
5956 <include file-name="QColor" location="global"/> | |
5957 <include file-name="QRect" location="global"/> | |
5958 <include file-name="QSize" location="global"/> | |
5959 <include file-name="QStringList" location="global"/> | |
5960 <include file-name="QImage" location="global"/> | |
5961 </extra-includes> | |
5962 <modify-function signature="read(QImage*) "> | |
5963 <remove/> | |
5964 </modify-function> | |
5965 <modify-function signature="setDevice(QIODevice*)"> | |
5966 <modify-argument index="1"> | |
5967 <reference-count action="set" variable-name="__rcDevice"/> | |
5968 </modify-argument> | |
5969 </modify-function> | |
5970 </object-type> | |
5971 | |
5972 <object-type name="QMovie"> | |
5973 <extra-includes> | |
5974 <include file-name="QColor" location="global"/> | |
5975 <include file-name="QImage" location="global"/> | |
5976 <include file-name="QPixmap" location="global"/> | |
5977 <include file-name="QRect" location="global"/> | |
5978 <include file-name="QSize" location="global"/> | |
5979 </extra-includes> | |
5980 <modify-function signature="cacheMode()"> | |
5981 <remove/> | |
5982 </modify-function> | |
5983 <modify-function signature="setDevice(QIODevice*)"> | |
5984 <modify-argument index="1"> | |
5985 <reference-count action="set" variable-name="__rcDevice"/> | |
5986 </modify-argument> | |
5987 </modify-function> | |
5988 </object-type> | |
5989 | |
5990 <object-type name="QPageSetupDialog"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
5991 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
5992 |
1 | 5993 </object-type> |
5994 | |
5995 <object-type name="QTabWidget"> | |
5996 <!-- <modify-function signature="initStyleOption(QStyleOptionTabWidgetFrame*)const"> | |
5997 <access modifier="private"/> | |
5998 </modify-function> | |
5999 <inject-code> | |
6000 <insert-template name="gui.init_style_option"> | |
6001 <replace from="%TYPE" to="QStyleOptionTabWidgetFrame"/> | |
6002 </insert-template> | |
6003 </inject-code>--> | |
6004 <modify-function signature="addTab(QWidget*,QIcon,QString)"> | |
6005 <modify-argument index="1"> | |
6006 <reference-count action="ignore"/> | |
6007 </modify-argument> | |
6008 </modify-function> | |
6009 <modify-function signature="addTab(QWidget*,QString)"> | |
6010 <modify-argument index="1"> | |
6011 <reference-count action="ignore"/> | |
6012 </modify-argument> | |
6013 </modify-function> | |
6014 <modify-function signature="insertTab(int,QWidget*,QString)"> | |
6015 <modify-argument index="2"> | |
6016 <reference-count action="ignore"/> | |
6017 </modify-argument> | |
6018 </modify-function> | |
6019 <modify-function signature="insertTab(int,QWidget*,QIcon,QString)"> | |
6020 <modify-argument index="2"> | |
6021 <reference-count action="ignore"/> | |
6022 </modify-argument> | |
6023 </modify-function> | |
6024 <modify-function signature="setCornerWidget(QWidget*,Qt::Corner)"> | |
6025 <modify-argument index="1"> | |
6026 <reference-count action="ignore"/> | |
6027 </modify-argument> | |
6028 </modify-function> | |
6029 <modify-function signature="setCurrentWidget(QWidget*)"> | |
6030 <modify-argument index="1"> | |
6031 <reference-count action="ignore"/> | |
6032 </modify-argument> | |
6033 </modify-function> | |
6034 <modify-function signature="setTabBar(QTabBar*)"> | |
6035 <modify-argument index="1"> | |
6036 <reference-count action="ignore"/> | |
6037 </modify-argument> | |
6038 </modify-function> | |
6039 </object-type> | |
6040 <object-type name="QDrag"> | |
6041 <extra-includes> | |
6042 <include file-name="QPoint" location="global"/> | |
6043 <include file-name="QPixmap" location="global"/> | |
6044 </extra-includes> | |
6045 <modify-function signature="setMimeData(QMimeData*)"> | |
6046 <modify-argument index="1"> | |
6047 <define-ownership class="java" owner="c++"/> | |
6048 </modify-argument> | |
6049 </modify-function> | |
6050 | |
6051 <modify-function signature="start(QFlags<Qt::DropAction>)" remove="all"/> <!--### Obsolete in 4.3--> | |
6052 </object-type> | |
6053 | |
6054 <object-type name="QDateTimeEdit"> | |
6055 <modify-function signature="setCalendarWidget(QCalendarWidget*)"> | |
6056 <modify-argument index="1"> | |
6057 <!-- Safe to ignore because widget is reparented --> | |
6058 <reference-count action="ignore"/> | |
6059 </modify-argument> | |
6060 </modify-function> | |
6061 </object-type> | |
6062 | |
6063 <object-type name="QSortFilterProxyModel"> | |
6064 <modify-function signature="parent()const" remove="all"/> | |
6065 <extra-includes> | |
6066 <include file-name="QItemSelection" location="global"/> | |
6067 <include file-name="QStringList" location="global"/> | |
6068 <include file-name="QSize" location="global"/> | |
6069 </extra-includes> | |
6070 | |
6071 <modify-function signature="setSourceModel(QAbstractItemModel *)"> | |
6072 <modify-argument index="1"> | |
6073 <reference-count action="set" variable-name="__rcSourceModel"/> | |
6074 </modify-argument> | |
6075 </modify-function> | |
6076 | |
6077 <modify-function signature="clear()" remove="all"/> <!--### Obsolete in 4.3--> | |
6078 <modify-function signature="filterChanged()" remove="all"/> <!--### Obsolete in 4.3--> | |
6079 | |
6080 <modify-function signature="match(QModelIndex, int, QVariant, int, QFlags<Qt::MatchFlag>) const"> | |
6081 <modify-argument index="5"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
6082 <replace-default-expression with="Qt.MatchFlag.MatchStartsWith | Qt.MatchFlag.MatchWrap"/> |
1 | 6083 </modify-argument> |
6084 </modify-function> | |
6085 </object-type> | |
6086 | |
6087 <object-type name="QSlider"> | |
6088 <!-- <modify-function signature="initStyleOption(QStyleOptionSlider*)const"> | |
6089 <access modifier="private"/> | |
6090 </modify-function> | |
6091 | |
6092 <inject-code> | |
6093 <insert-template name="gui.init_style_option"> | |
6094 <replace from="%TYPE" to="QStyleOptionSlider"/> | |
6095 </insert-template> | |
6096 </inject-code>--> | |
6097 </object-type> | |
6098 | |
6099 <object-type name="QInputContext"> | |
6100 <extra-includes> | |
6101 <include file-name="QTextFormat" location="global"/> | |
6102 </extra-includes> | |
6103 <modify-function signature="setFocusWidget(QWidget*)"> | |
6104 <remove/> | |
6105 </modify-function> | |
6106 <modify-function signature="filterEvent(const QEvent*)"> | |
6107 <modify-argument index="1" invalidate-after-use="yes"/> | |
6108 </modify-function> | |
6109 <modify-function signature="mouseHandler(int,QMouseEvent*)"> | |
6110 <modify-argument index="2" invalidate-after-use="yes"/> | |
6111 </modify-function> | |
6112 | |
6113 </object-type> | |
6114 | |
6115 <object-type name="QProgressDialog"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
6116 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
6117 |
1 | 6118 <modify-function signature="setBar(QProgressBar*)"> |
6119 <modify-argument index="1"> | |
6120 <define-ownership class="java" owner="c++"/> | |
6121 </modify-argument> | |
6122 </modify-function> | |
6123 <modify-function signature="setCancelButton(QPushButton*)"> | |
6124 <modify-argument index="1"> | |
6125 <!-- Safe to ignore because button is reparented --> | |
6126 <reference-count action="ignore"/> | |
6127 </modify-argument> | |
6128 </modify-function> | |
6129 <modify-function signature="setLabel(QLabel*)"> | |
6130 <modify-argument index="1"> | |
6131 <!-- Safe to ignore because label is reparented --> | |
6132 <reference-count action="ignore"/> | |
6133 </modify-argument> | |
6134 </modify-function> | |
6135 | |
6136 </object-type> | |
6137 | |
6138 <object-type name="QLabel"> | |
6139 <!-- <modify-function signature="picture()const"> | |
6140 <access modifier="private"/> | |
6141 <rename to="picture_private"/> | |
6142 </modify-function> | |
6143 --> | |
6144 <modify-function signature="setBuddy(QWidget *)"> | |
6145 <modify-argument index="1"> | |
6146 <reference-count action="set" variable-name="__rcBuddy"/> | |
6147 </modify-argument> | |
6148 </modify-function> | |
6149 <modify-function signature="setMovie(QMovie *)"> | |
6150 <modify-argument index="1"> | |
6151 <reference-count action="set" variable-name="__rcMovie"/> | |
6152 </modify-argument> | |
6153 </modify-function> | |
6154 <!-- <modify-function signature="pixmap()const"> | |
6155 <access modifier="private"/> | |
6156 <rename to="pixmap_private"/> | |
6157 </modify-function> | |
6158 | |
6159 <inject-code> | |
6160 <insert-template name="gui.getter_returning_nativepointer"> | |
6161 <replace from="%RETURN_TYPE" to="QPicture"/> | |
6162 <replace from="%FUNCTION_NAME" to="picture"/> | |
6163 </insert-template> | |
6164 </inject-code> | |
6165 <inject-code> | |
6166 <insert-template name="gui.getter_returning_nativepointer"> | |
6167 <replace from="%RETURN_TYPE" to="QPixmap"/> | |
6168 <replace from="%FUNCTION_NAME" to="pixmap"/> | |
6169 </insert-template> | |
6170 </inject-code> --> | |
6171 </object-type> | |
6172 | |
6173 <object-type name="QFileDialog"> | |
6174 <extra-includes> | |
6175 <include file-name="QUrl" location="global"/> | |
6176 </extra-includes> | |
6177 <modify-function signature="open()" remove="all"/> | |
6178 <!-- <modify-function signature="setVisible(bool)" remove="all"/> // properties_d --> | |
6179 <modify-function signature="getOpenFileName(QWidget*,QString,QString,QString,QString*,QFlags<QFileDialog::Option>)"> | |
6180 <modify-argument index="1"> | |
6181 <remove-default-expression/> | |
6182 </modify-argument> | |
6183 <modify-argument index="2"> | |
6184 <remove-default-expression/> | |
6185 </modify-argument> | |
6186 <modify-argument index="3"> | |
6187 <remove-default-expression/> | |
6188 </modify-argument> | |
6189 <modify-argument index="4"> | |
6190 <remove-default-expression/> | |
6191 </modify-argument> | |
6192 <modify-argument index="5"> | |
6193 <remove-default-expression/> | |
6194 </modify-argument> | |
6195 <!-- <modify-argument index="6"> | |
6196 <remove-default-expression/> | |
6197 </modify-argument>--> | |
6198 </modify-function> | |
6199 <!-- | |
6200 <modify-function signature="getOpenFileNames(QWidget*,QString,QString,QString,QString*,QFlags<QFileDialog::Option>)"> | |
6201 <access modifier="private"/> | |
6202 <modify-argument index="1"> | |
6203 <remove-default-expression/> | |
6204 </modify-argument> | |
6205 <modify-argument index="2"> | |
6206 <remove-default-expression/> | |
6207 </modify-argument> | |
6208 <modify-argument index="3"> | |
6209 <remove-default-expression/> | |
6210 </modify-argument> | |
6211 <modify-argument index="4"> | |
6212 <remove-default-expression/> | |
6213 </modify-argument> | |
6214 <modify-argument index="5"> | |
6215 <remove-default-expression/> | |
6216 </modify-argument> | |
6217 <modify-argument index="6"> | |
6218 <remove-default-expression/> | |
6219 </modify-argument> | |
6220 </modify-function> | |
6221 --> | |
6222 <modify-function signature="getSaveFileName(QWidget*,QString,QString,QString,QString*,QFlags<QFileDialog::Option>)"> | |
6223 <modify-argument index="1"> | |
6224 <remove-default-expression/> | |
6225 </modify-argument> | |
6226 <modify-argument index="2"> | |
6227 <remove-default-expression/> | |
6228 </modify-argument> | |
6229 <modify-argument index="3"> | |
6230 <remove-default-expression/> | |
6231 </modify-argument> | |
6232 <modify-argument index="4"> | |
6233 <remove-default-expression/> | |
6234 </modify-argument> | |
6235 <modify-argument index="5"> | |
6236 <remove-default-expression/> | |
6237 </modify-argument> | |
6238 <!-- <modify-argument index="6"> | |
6239 <remove-default-expression/> | |
6240 </modify-argument>--> | |
6241 </modify-function> | |
6242 | |
6243 <modify-function signature="setIconProvider(QFileIconProvider*)"> | |
6244 <modify-argument index="1"> | |
6245 <reference-count action="set" variable-name="__rcIconProvider"/> | |
6246 </modify-argument> | |
6247 </modify-function> | |
6248 | |
6249 <modify-function signature="setItemDelegate(QAbstractItemDelegate*)"> | |
6250 <modify-argument index="1"> | |
6251 <reference-count action="set" variable-name="__rcItemDelegate"/> | |
6252 </modify-argument> | |
6253 </modify-function> | |
6254 | |
6255 <modify-function signature="setProxyModel(QAbstractProxyModel*)"> | |
6256 <modify-argument index="1"> | |
6257 <!-- Reparented --> | |
6258 <reference-count action="ignore"/> | |
6259 </modify-argument> | |
6260 </modify-function> | |
6261 | |
6262 | |
6263 <inject-code> | |
6264 <import-file name="typesystem_gui-java.java" quote-after-line="class QFileDialog___" quote-before-line="}// class"/> | |
6265 </inject-code> | |
6266 <!-- | |
6267 <template name="gui.filedialog_get_xxx_filename"> | |
6268 public static %TYPE %FUNCTION_NAME(QWidget parent, string caption, String dir, Filter filter, Options options) { | |
6269 QNativePointer np = filter != null ? new QNativePointer(QNativePointer.Type.String) : null; | |
6270 %TYPE returned = %FUNCTION_NAME(parent, caption, dir, filter != null ? filter.filter : "", np, options); | |
6271 if (filter != null) | |
6272 filter.selectedFilter = np.stringValue(); | |
6273 return returned; | |
6274 } | |
6275 | |
6276 public static %TYPE %FUNCTION_NAME(QWidget parent, String caption, String dir, Filter filter, Option ... options) { | |
6277 QNativePointer np = filter != null ? new QNativePointer(QNativePointer.Type.String) : null; | |
6278 %TYPE returned = %FUNCTION_NAME(parent, caption, dir, filter != null ? filter.filter : "", np, options); | |
6279 if (filter != null) | |
6280 filter.selectedFilter = np.stringValue(); | |
6281 return returned; | |
6282 } | |
6283 | |
6284 public static %TYPE %FUNCTION_NAME(QWidget parent, String caption, String dir, Filter filter) { | |
6285 return %FUNCTION_NAME(parent, caption, dir, filter, new Options(0)); | |
6286 } | |
6287 | |
6288 public static %TYPE %FUNCTION_NAME(QWidget parent, String caption, String dir) { | |
6289 return %FUNCTION_NAME(parent, caption, dir, null); | |
6290 } | |
6291 | |
6292 public static %TYPE %FUNCTION_NAME(QWidget parent, String caption) { | |
6293 return %FUNCTION_NAME(parent, caption, ""); | |
6294 } | |
6295 | |
6296 public static %TYPE %FUNCTION_NAME(QWidget parent) { | |
6297 return %FUNCTION_NAME(parent, ""); | |
6298 } | |
6299 | |
6300 public static %TYPE %FUNCTION_NAME() { | |
6301 return %FUNCTION_NAME(null); | |
6302 } | |
6303 | |
6304 </template> | |
6305 | |
6306 <inject-code> | |
6307 <insert-template name="gui.filedialog_get_xxx_filename"> | |
6308 <replace from="%FUNCTION_NAME" to="getOpenFileName"/> | |
6309 <replace from="%TYPE" to="String"/> | |
6310 </insert-template> | |
6311 </inject-code> | |
6312 <inject-code> | |
6313 <insert-template name="gui.filedialog_get_xxx_filename"> | |
6314 <replace from="%FUNCTION_NAME" to="getOpenFileNames"/> | |
6315 <replace from="%TYPE" to="java.util.List<String>"/> | |
6316 </insert-template> | |
6317 </inject-code> | |
6318 <inject-code> | |
6319 <insert-template name="gui.filedialog_get_xxx_filename"> | |
6320 <replace from="%FUNCTION_NAME" to="getSaveFileName"/> | |
6321 <replace from="%TYPE" to="String"/> | |
6322 </insert-template> | |
6323 </inject-code>--> | |
6324 </object-type> | |
6325 | |
6326 <object-type name="QErrorMessage"/> | |
6327 | |
6328 <object-type name="QTabBar"> | |
6329 <extra-includes> | |
6330 <include file-name="QIcon" location="global"/> | |
6331 </extra-includes> | |
6332 <!-- <modify-function signature="initStyleOption(QStyleOptionTab*,int)const"> | |
6333 <access modifier="private"/> | |
6334 </modify-function> | |
6335 | |
6336 <inject-code> | |
6337 <import-file name="typesystem_gui-java.java" quote-after-line="class QTabBar___" quote-before-line="}// class"/> | |
6338 </inject-code> | |
6339 --> | |
6340 </object-type> | |
6341 | |
6342 <object-type name="QStandardItemModel"> | |
6343 <modify-function signature="insertColumn(int,const QModelIndex &)" remove="all"/> | |
6344 <modify-function signature="insertRow(int,const QModelIndex &)" remove="all"/> | |
6345 <modify-function signature="parent()const" remove="all"/> | |
6346 <extra-includes> | |
6347 <include file-name="QStringList" location="global"/> | |
6348 <include file-name="QSize" location="global"/> | |
6349 </extra-includes> | |
6350 | |
6351 <modify-function signature="appendColumn(const QList<QStandardItem *>&)"> | |
6352 <modify-argument index="1"> | |
6353 <define-ownership class="java" owner="c++"/> | |
6354 </modify-argument> | |
6355 </modify-function> | |
6356 <modify-function signature="takeColumn(int)"> | |
6357 <modify-argument index="return"> | |
6358 <define-ownership class="java" owner="default"/> | |
6359 </modify-argument> | |
6360 </modify-function> | |
6361 <modify-function signature="takeRow(int)"> | |
6362 <modify-argument index="return"> | |
6363 <define-ownership class="java" owner="default"/> | |
6364 </modify-argument> | |
6365 </modify-function> | |
6366 <modify-function signature="takeHorizontalHeaderItem(int)"> | |
6367 <modify-argument index="return"> | |
6368 <define-ownership class="java" owner="default"/> | |
6369 </modify-argument> | |
6370 </modify-function> | |
6371 <modify-function signature="takeVerticalHeaderItem(int)"> | |
6372 <modify-argument index="return"> | |
6373 <define-ownership class="java" owner="default"/> | |
6374 </modify-argument> | |
6375 </modify-function> | |
6376 <modify-function signature="takeItem(int,int)"> | |
6377 <modify-argument index="return"> | |
6378 <define-ownership class="java" owner="default"/> | |
6379 </modify-argument> | |
6380 </modify-function> | |
6381 <modify-function signature="appendRow(const QList<QStandardItem *>&)"> | |
6382 <modify-argument index="1"> | |
6383 <define-ownership class="java" owner="c++"/> | |
6384 </modify-argument> | |
6385 </modify-function> | |
6386 <modify-function signature="appendRow(QStandardItem *)"> | |
6387 <modify-argument index="1"> | |
6388 <define-ownership class="java" owner="c++"/> | |
6389 </modify-argument> | |
6390 </modify-function> | |
6391 <modify-function signature="insertColumn(int, const QList<QStandardItem *>&)"> | |
6392 <modify-argument index="2"> | |
6393 <define-ownership class="java" owner="c++"/> | |
6394 </modify-argument> | |
6395 </modify-function> | |
6396 <modify-function signature="insertRow(int, const QList<QStandardItem *>&)"> | |
6397 <modify-argument index="2"> | |
6398 <define-ownership class="java" owner="c++"/> | |
6399 </modify-argument> | |
6400 </modify-function> | |
6401 <modify-function signature="insertRow(int, QStandardItem *)"> | |
6402 <modify-argument index="2"> | |
6403 <define-ownership class="java" owner="c++"/> | |
6404 </modify-argument> | |
6405 </modify-function> | |
6406 <modify-function signature="setHorizontalHeaderItem(int, QStandardItem *)"> | |
6407 <modify-argument index="2"> | |
6408 <define-ownership class="java" owner="c++"/> | |
6409 </modify-argument> | |
6410 </modify-function> | |
6411 <modify-function signature="setItem(int, int, QStandardItem *)"> | |
6412 <modify-argument index="3"> | |
6413 <define-ownership class="java" owner="c++"/> | |
6414 </modify-argument> | |
6415 </modify-function> | |
6416 <modify-function signature="setItem(int, QStandardItem *)"> | |
6417 <modify-argument index="2"> | |
6418 <define-ownership class="java" owner="c++"/> | |
6419 </modify-argument> | |
6420 </modify-function> | |
6421 <modify-function signature="setItemPrototype(const QStandardItem *)"> | |
6422 <modify-argument index="1"> | |
6423 <define-ownership class="java" owner="c++"/> | |
6424 </modify-argument> | |
6425 </modify-function> | |
6426 <modify-function signature="setVerticalHeaderItem(int, QStandardItem *)"> | |
6427 <modify-argument index="2"> | |
6428 <define-ownership class="java" owner="c++"/> | |
6429 </modify-argument> | |
6430 </modify-function> | |
6431 </object-type> | |
6432 | |
6433 <object-type name="QRadioButton"> | |
6434 <!-- <modify-function signature="initStyleOption(QStyleOptionButton*)const"> | |
6435 <access modifier="private"/> | |
6436 </modify-function> | |
6437 | |
6438 <inject-code> | |
6439 <insert-template name="gui.init_style_option"> | |
6440 <replace from="%TYPE" to="QStyleOptionButton"/> | |
6441 </insert-template> | |
6442 </inject-code>--> | |
6443 </object-type> | |
6444 | |
6445 <object-type name="QScrollBar"> | |
6446 <!-- <modify-function signature="initStyleOption(QStyleOptionSlider*)const"> | |
6447 <access modifier="private"/> | |
6448 </modify-function> | |
6449 | |
6450 <inject-code> | |
6451 <insert-template name="gui.init_style_option"> | |
6452 <replace from="%TYPE" to="QStyleOptionSlider"/> | |
6453 </insert-template> | |
6454 </inject-code>--> | |
6455 </object-type> | |
6456 | |
6457 <object-type name="QClipboard"> | |
6458 <extra-includes> | |
6459 <include file-name="QImage" location="global"/> | |
6460 <include file-name="QPixmap" location="global"/> | |
6461 </extra-includes> | |
6462 <modify-function signature="setMimeData(QMimeData *, QClipboard::Mode)"> | |
6463 <modify-argument index="1"> | |
6464 <define-ownership class="java" owner="c++"/> | |
6465 </modify-argument> | |
6466 </modify-function> | |
6467 | |
6468 | |
6469 | |
6470 <inject-code> | |
6471 <import-file name="typesystem_gui-java.java" quote-after-line="class QClipboard___" quote-before-line="}// class"/> | |
6472 </inject-code> | |
6473 | |
6474 </object-type> | |
6475 | |
6476 <object-type name="QAbstractScrollArea"> | |
6477 <modify-function signature="setupViewport(QWidget *)" access="non-final"/> | |
6478 <modify-function signature="addScrollBarWidget(QWidget*,QFlags<Qt::AlignmentFlag>)"> | |
6479 <modify-argument index="1"> | |
6480 <reference-count action="ignore"/> | |
6481 </modify-argument> | |
6482 </modify-function> | |
6483 <modify-function signature="setCornerWidget(QWidget*)"> | |
6484 <modify-argument index="1"> | |
6485 <reference-count action="ignore"/> | |
6486 </modify-argument> | |
6487 </modify-function> | |
6488 <modify-function signature="setHorizontalScrollBar(QScrollBar*)"> | |
6489 <modify-argument index="1"> | |
6490 <reference-count action="ignore"/> | |
6491 </modify-argument> | |
6492 </modify-function> | |
6493 | |
6494 <modify-function signature="setVerticalScrollBar(QScrollBar*)"> | |
6495 <modify-argument index="1"> | |
6496 <reference-count action="ignore"/> | |
6497 </modify-argument> | |
6498 </modify-function> | |
6499 | |
6500 <modify-function signature="setViewport(QWidget*)"> | |
6501 <modify-argument index="1"> | |
6502 <reference-count action="ignore"/> | |
6503 </modify-argument> | |
6504 </modify-function> | |
6505 | |
6506 <modify-function signature="setupViewport(QWidget*)"> | |
6507 <modify-argument index="1"> | |
6508 <reference-count action="ignore"/> | |
6509 </modify-argument> | |
6510 </modify-function> | |
6511 | |
6512 <modify-function signature="viewportEvent(QEvent*)"> | |
6513 <modify-argument index="1" invalidate-after-use="yes"/> | |
6514 </modify-function> | |
6515 | |
6516 | |
6517 <inject-code> | |
6518 <import-file name="typesystem_gui-java.java" quote-after-line="class QAbstractScrollArea___" quote-before-line="}// class"/> | |
6519 </inject-code> | |
6520 | |
6521 </object-type> | |
6522 | |
6523 <object-type name="QPaintEngineState"> | |
6524 <extra-includes> | |
6525 <include file-name="QPainterPath" location="global"/> | |
6526 </extra-includes> | |
6527 <modify-function signature="painter() const"> | |
6528 <store-result/> | |
6529 </modify-function> | |
6530 </object-type> | |
6531 | |
6532 <object-type name="QRubberBand"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
6533 <!-- <modify-function signature="initStyleOption(QStyleOptionRubberBand*)const"> |
1 | 6534 <access modifier="private"/> |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
6535 </modify-function>--> |
1 | 6536 <modify-function signature="move(int,int)" rename="moveRubberBand"/> |
6537 <modify-function signature="move(const QPoint &)" rename="moveRubberBand"/> | |
6538 <modify-function signature="resize(int,int)" rename="resizeRubberBand"/> | |
6539 <modify-function signature="resize(const QSize &)" rename="resizeRubberBand"/> | |
6540 <modify-function signature="setGeometry(int,int,int,int)" rename="setRubberBandGeometry"/> | |
6541 <modify-function signature="setGeometry(const QRect &)" rename="setRubberBandGeometry"/> | |
6542 | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
6543 <!-- <inject-code> |
1 | 6544 <insert-template name="gui.init_style_option"> |
6545 <replace from="%TYPE" to="QStyleOptionRubberBand"/> | |
6546 </insert-template> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
6547 </inject-code> --> |
1 | 6548 </object-type> |
6549 | |
6550 <object-type name="QTextLayout"> | |
6551 <extra-includes> | |
6552 <include file-name="QTextOption" location="global"/> | |
6553 </extra-includes> | |
6554 </object-type> | |
6555 | |
6556 <object-type name="QTableWidget"> | |
6557 <modify-function signature="mimeData(const QList<QTableWidgetItem*>)const"> | |
6558 <modify-argument index="1" invalidate-after-use="yes"/> | |
6559 </modify-function> | |
6560 <modify-function signature="isSortingEnabled()const" remove="all"/> | |
6561 <modify-function signature="setSortingEnabled(bool)" remove="all"/> | |
6562 <modify-function signature="setHorizontalHeaderItem(int, QTableWidgetItem *)"> | |
6563 <modify-argument index="2"> | |
6564 <define-ownership class="java" owner="c++"/> | |
6565 </modify-argument> | |
6566 </modify-function> | |
6567 <modify-function signature="setItem(int, int, QTableWidgetItem *)"> | |
6568 <modify-argument index="3"> | |
6569 <define-ownership class="java" owner="c++"/> | |
6570 </modify-argument> | |
6571 </modify-function> | |
6572 <modify-function signature="takeHorizontalHeaderItem(int)"> | |
6573 <modify-argument index="return"> | |
6574 <define-ownership class="java" owner="default"/> | |
6575 </modify-argument> | |
6576 </modify-function> | |
6577 <modify-function signature="takeVerticalHeaderItem(int)"> | |
6578 <modify-argument index="return"> | |
6579 <define-ownership class="java" owner="default"/> | |
6580 </modify-argument> | |
6581 </modify-function> | |
6582 <modify-function signature="takeItem(int,int)"> | |
6583 <modify-argument index="return"> | |
6584 <define-ownership class="java" owner="default"/> | |
6585 </modify-argument> | |
6586 </modify-function> | |
6587 <modify-function signature="setItemPrototype(const QTableWidgetItem *)"> | |
6588 <modify-argument index="1"> | |
6589 <define-ownership class="java" owner="c++"/> | |
6590 </modify-argument> | |
6591 </modify-function> | |
6592 <modify-function signature="setVerticalHeaderItem(int, QTableWidgetItem *)"> | |
6593 <modify-argument index="2"> | |
6594 <define-ownership class="java" owner="c++"/> | |
6595 </modify-argument> | |
6596 </modify-function> | |
6597 <modify-function signature="setCellWidget(int,int,QWidget*)"> | |
6598 <modify-argument index="3"> | |
6599 <reference-count action="ignore"/> | |
6600 </modify-argument> | |
6601 </modify-function> | |
6602 <modify-function signature="setCurrentItem(QTableWidgetItem*)"> | |
6603 <modify-argument index="1"> | |
6604 <reference-count action="ignore"/> | |
6605 </modify-argument> | |
6606 </modify-function> | |
6607 <modify-function signature="setCurrentItem(QTableWidgetItem*,QFlags<QItemSelectionModel::SelectionFlag>)"> | |
6608 <modify-argument index="1"> | |
6609 <reference-count action="ignore"/> | |
6610 </modify-argument> | |
6611 </modify-function> | |
6612 <modify-function signature="setItemSelected(const QTableWidgetItem*,bool)"> | |
6613 <remove/> | |
6614 </modify-function> | |
6615 <modify-function signature="isItemSelected(const QTableWidgetItem*)const"> | |
6616 <remove/> | |
6617 </modify-function> | |
6618 <modify-function signature="setModel(QAbstractItemModel*)"> | |
6619 <modify-argument index="1"> | |
6620 <reference-count action="ignore"/> | |
6621 </modify-argument> | |
6622 </modify-function> | |
6623 </object-type> | |
6624 <object-type name="QTextDocument"> | |
6625 <extra-includes> | |
6626 <include file-name="QTextBlock" location="global"/> | |
6627 <include file-name="QTextFormat" location="global"/> | |
6628 <include file-name="QTextCursor" location="global"/> | |
6629 </extra-includes> | |
6630 <modify-function signature="setDocumentLayout(QAbstractTextDocumentLayout*)"> | |
6631 <modify-argument index="1"> | |
6632 <define-ownership class="java" owner="c++"/> | |
6633 </modify-argument> | |
6634 </modify-function> | |
6635 <!-- | |
6636 <inject-code> | |
6637 <import-file name="typesystem_gui-java.java" quote-after-line="class QTextDocument___" quote-before-line="}// class"/> | |
6638 </inject-code> | |
6639 --> | |
6640 </object-type> | |
6641 | |
6642 <object-type name="QSplitter"> | |
6643 | |
6644 <modify-function signature="getRange(int,int*,int*)const"> | |
6645 <access modifier="private"/> | |
6646 </modify-function> | |
6647 <modify-function signature="addWidget(QWidget *)"> | |
6648 <modify-argument index="1"> | |
6649 <reference-count action="ignore"/> | |
6650 </modify-argument> | |
6651 </modify-function> | |
6652 <modify-function signature="insertWidget(int, QWidget *)"> | |
6653 <modify-argument index="2"> | |
6654 <reference-count action="ignore"/> | |
6655 </modify-argument> | |
6656 </modify-function> | |
6657 | |
6658 <inject-code> | |
6659 <import-file name="typesystem_gui-java.java" quote-after-line="class QSplitter___" quote-before-line="}// class"/> | |
6660 </inject-code> | |
6661 | |
6662 </object-type> | |
6663 | |
6664 <object-type name="QGroupBox"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
6665 <!-- <modify-function signature="initStyleOption(QStyleOptionGroupBox*)const"> |
1 | 6666 <access modifier="private"/> |
6667 </modify-function> | |
6668 | |
6669 <inject-code> | |
6670 <insert-template name="gui.init_style_option"> | |
6671 <replace from="%TYPE" to="QStyleOptionGroupBox"/> | |
6672 </insert-template> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
6673 </inject-code>--> |
1 | 6674 </object-type> |
6675 | |
6676 <object-type name="QStackedWidget"> | |
6677 <modify-function signature="addWidget(QWidget*)"> | |
6678 <modify-argument index="1"> | |
6679 <reference-count action="ignore"/> | |
6680 </modify-argument> | |
6681 </modify-function> | |
6682 <modify-function signature="insertWidget(int,QWidget*)"> | |
6683 <modify-argument index="2"> | |
6684 <reference-count action="ignore"/> | |
6685 </modify-argument> | |
6686 </modify-function> | |
6687 <modify-function signature="removeWidget(QWidget*)"> | |
6688 <modify-argument index="1"> | |
6689 <reference-count action="ignore"/> | |
6690 </modify-argument> | |
6691 </modify-function> | |
6692 <modify-function signature="setCurrentWidget(QWidget*)"> | |
6693 <modify-argument index="1"> | |
6694 <reference-count action="ignore"/> | |
6695 </modify-argument> | |
6696 </modify-function> | |
6697 </object-type> | |
6698 | |
6699 <object-type name="QSplitterHandle"> | |
6700 </object-type> | |
6701 | |
6702 <object-type name="QDial"> | |
6703 <!-- <modify-function signature="initStyleOption(QStyleOptionSlider*)const"> | |
6704 <access modifier="private"/> | |
6705 </modify-function> | |
6706 | |
6707 <inject-code> | |
6708 <insert-template name="gui.init_style_option"> | |
6709 <replace from="%TYPE" to="QStyleOptionSlider"/> | |
6710 </insert-template> | |
6711 </inject-code>--> | |
6712 </object-type> | |
6713 | |
6714 <object-type name="QLineEdit"> | |
6715 <!-- <modify-function signature="initStyleOption(QStyleOptionFrame*)const"> | |
6716 <access modifier="private"/> | |
6717 </modify-function>--> | |
6718 <modify-function signature="setCompleter(QCompleter *)"> | |
6719 <modify-argument index="1"> | |
6720 <reference-count action="set" variable-name="__rcCompleter"/> | |
6721 </modify-argument> | |
6722 </modify-function> | |
6723 <modify-function signature="setValidator(const QValidator *)"> | |
6724 <modify-argument index="1"> | |
6725 <reference-count action="set" variable-name="__rcValidator"/> | |
6726 </modify-argument> | |
6727 </modify-function> | |
6728 <!-- | |
6729 <inject-code> | |
6730 <insert-template name="gui.init_style_option"> | |
6731 <replace from="%TYPE" to="QStyleOptionFrame"/> | |
6732 </insert-template> | |
6733 </inject-code>--> | |
6734 </object-type> | |
6735 | |
6736 <object-type name="QLCDNumber"/> | |
6737 | |
6738 <object-type name="QSplashScreen"> | |
6739 <modify-function signature="showMessage(const QString &, int, const QColor &)"> | |
6740 <modify-argument index="3"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
6741 <replace-default-expression with="QColor.Black"/> |
1 | 6742 </modify-argument> |
6743 </modify-function> | |
6744 <modify-function signature="repaint()" remove="all"/> | |
6745 <modify-function signature="drawContents(QPainter*)"> | |
6746 <modify-argument index="1" invalidate-after-use="yes"/> | |
6747 </modify-function> | |
6748 </object-type> | |
6749 | |
6750 <object-type name="QDockWidget"> | |
6751 <!-- <modify-function signature="initStyleOption(QStyleOptionDockWidget*)const"> | |
6752 <access modifier="private"/> | |
6753 </modify-function> | |
6754 | |
6755 <inject-code> | |
6756 <insert-template name="gui.init_style_option"> | |
6757 <replace from="%TYPE" to="QStyleOptionDockWidget"/> | |
6758 </insert-template> | |
6759 </inject-code>--> | |
6760 <modify-function signature="setTitleBarWidget(QWidget*)"> | |
6761 <modify-argument index="1"> | |
6762 <reference-count action="ignore"/> | |
6763 </modify-argument> | |
6764 </modify-function> | |
6765 <modify-function signature="setWidget(QWidget*)"> | |
6766 <modify-argument index="1"> | |
6767 <reference-count action="ignore"/> | |
6768 </modify-argument> | |
6769 </modify-function> | |
6770 </object-type> | |
6771 | |
6772 <object-type name="QAbstractProxyModel"> | |
6773 <extra-includes> | |
6774 <include file-name="QItemSelection" location="global"/> | |
6775 <include file-name="QStringList" location="global"/> | |
6776 <include file-name="QSize" location="global"/> | |
6777 </extra-includes> | |
6778 | |
6779 <modify-function signature="setSourceModel(QAbstractItemModel *)"> | |
6780 <modify-argument index="1"> | |
6781 <reference-count action="set" variable-name="__rcSourceModel"/> | |
6782 </modify-argument> | |
6783 </modify-function> | |
6784 | |
6785 </object-type> | |
6786 | |
6787 <object-type name="QDesktopWidget"> | |
6788 </object-type> | |
6789 | |
6790 <object-type name="QFrame"> | |
6791 </object-type> | |
6792 | |
6793 <object-type name="QTextTable"> | |
6794 <modify-function signature="format() const"> | |
6795 <rename to="tableFormat"/> | |
6796 </modify-function> | |
6797 <extra-includes> | |
6798 <include file-name="QTextCursor" location="global"/> | |
6799 </extra-includes> | |
6800 </object-type> | |
6801 | |
6802 <object-type name="QSpinBox"> | |
6803 <modify-function signature="valueChanged(const QString &)"> | |
6804 <rename to="valueStringChanged"/> | |
6805 </modify-function> | |
6806 </object-type> | |
6807 | |
6808 <object-type name="QTextBrowser"> | |
6809 <modify-function signature="highlighted(const QString &)"> | |
6810 <rename to="highlightedString"/> | |
6811 </modify-function> | |
6812 </object-type> | |
6813 | |
6814 <object-type name="QDoubleSpinBox"> | |
6815 <modify-function signature="valueChanged(const QString &)"> | |
6816 <rename to="valueStringChanged"/> | |
6817 </modify-function> | |
6818 </object-type> | |
6819 | |
6820 <object-type name="QButtonGroup"> | |
6821 <modify-function signature="buttonClicked(int)"> | |
6822 <rename to="buttonIdClicked"/> | |
6823 </modify-function> | |
6824 <modify-function signature="buttonPressed(int)"> | |
6825 <rename to="buttonIdPressed"/> | |
6826 </modify-function> | |
6827 <modify-function signature="buttonReleased(int)"> | |
6828 <rename to="buttonIdReleased"/> | |
6829 </modify-function> | |
6830 <modify-function signature="addButton(QAbstractButton *)"> | |
6831 <modify-argument index="1"> | |
6832 <reference-count action="add" variable-name="__rcButtons"/> | |
6833 <no-null-pointer/> | |
6834 </modify-argument> | |
6835 </modify-function> | |
6836 <modify-function signature="addButton(QAbstractButton *, int)"> | |
6837 <modify-argument index="1"> | |
6838 <reference-count action="add" variable-name="__rcButtons"/> | |
6839 <no-null-pointer/> | |
6840 </modify-argument> | |
6841 </modify-function> | |
6842 <modify-function signature="removeButton(QAbstractButton *)"> | |
6843 <modify-argument index="1"> | |
6844 <reference-count action="remove" variable-name="__rcButtons"/> | |
6845 <no-null-pointer/> | |
6846 </modify-argument> | |
6847 </modify-function> | |
6848 <modify-function signature="setId(QAbstractButton *,int)"> | |
6849 <modify-argument index="1"> | |
6850 <reference-count action="ignore"/> | |
6851 </modify-argument> | |
6852 </modify-function> | |
6853 </object-type> | |
6854 | |
6855 <object-type name="QToolBar"> | |
6856 <modify-function signature="addAction(QAction *)" remove="all"/> | |
6857 <!-- <modify-function signature="initStyleOption(QStyleOptionToolBar*)const"> | |
6858 <access modifier="private"/> | |
6859 </modify-function>--> | |
6860 <modify-function signature="addAction(QIcon,QString,const QObject*,const char*)"> | |
6861 <remove/> | |
6862 </modify-function> | |
6863 <modify-function signature="addAction(QString,const QObject*,const char*)"> | |
6864 <remove/> | |
6865 </modify-function> | |
6866 <modify-function signature="addWidget(QWidget*)"> | |
6867 <modify-argument index="1"> | |
6868 <define-ownership class="java" owner="c++"/> | |
6869 </modify-argument> | |
6870 </modify-function> | |
6871 <modify-function signature="insertWidget(QAction*,QWidget*)"> | |
6872 <modify-argument index="1"> | |
6873 <reference-count action="ignore"/> | |
6874 </modify-argument> | |
6875 <modify-argument index="2"> | |
6876 <define-ownership class="java" owner="c++"/> | |
6877 </modify-argument> | |
6878 </modify-function> | |
6879 <modify-function signature="insertSeparator(QAction*)"> | |
6880 <modify-argument index="1"> | |
6881 <reference-count action="ignore"/> | |
6882 </modify-argument> | |
6883 </modify-function> | |
6884 <inject-code> | |
6885 <import-file name="typesystem_gui-java.java" quote-after-line="class QToolBar___" quote-before-line="}// class"/> | |
6886 </inject-code> | |
6887 <!-- | |
6888 <inject-code> | |
6889 <insert-template name="gui.init_style_option"> | |
6890 <replace from="%TYPE" to="QStyleOptionToolBar"/> | |
6891 </insert-template> | |
6892 </inject-code> | |
6893 <inject-code> | |
6894 <insert-template name="gui.addAction"> | |
6895 <replace from="%POST_CALL" to=""/> | |
6896 <replace from=" %END_EXTRA" to=""/> | |
6897 <replace from=" %END_CALL_EXTRA" to=""/> | |
6898 <replace from="%EXTRA" to="QIcon icon,"/> | |
6899 <replace from="%CALL_EXTRA" to="icon,"/> | |
6900 </insert-template> | |
6901 </inject-code> | |
6902 <inject-code> | |
6903 <insert-template name="gui.addAction"> | |
6904 <replace from="%POST_CALL" to=""/> | |
6905 <replace from=" %END_EXTRA" to=""/> | |
6906 <replace from=" %END_CALL_EXTRA" to=""/> | |
6907 <replace from="%EXTRA " to=""/> | |
6908 <replace from="%CALL_EXTRA " to=""/> | |
6909 </insert-template> | |
6910 </inject-code> --> | |
6911 </object-type> | |
6912 | |
6913 <object-type name="QPaintEngine"> | |
6914 | |
6915 <modify-function signature="painter() const"> | |
6916 <store-result/> | |
6917 </modify-function> | |
6918 | |
6919 <modify-function signature="begin(QPaintDevice*)"> | |
6920 <modify-argument index="1" invalidate-after-use="yes"/> | |
6921 </modify-function> | |
6922 <modify-function signature="updateState(QPaintEngineState)"> | |
6923 <modify-argument index="1" invalidate-after-use="yes"/> | |
6924 </modify-function> | |
6925 <modify-function signature="drawTextItem(QPointF,QTextItem)"> | |
6926 <modify-argument index="2" invalidate-after-use="yes"/> | |
6927 </modify-function> | |
6928 | |
6929 <extra-includes> | |
6930 <include file-name="QVarLengthArray" location="global"/> | |
6931 </extra-includes> | |
6932 <modify-function signature="setPaintDevice(QPaintDevice*)"> | |
6933 <remove/> | |
6934 </modify-function> | |
6935 <modify-field name="state" read="false" write="false"/> | |
6936 <!-- | |
6937 <modify-function signature="drawLines(const QLine *, int)"> | |
6938 <modify-argument index="1"> | |
6939 <replace-type modified-type="qt.gui.QLine[]"/> | |
6940 <conversion-rule class="shell"> | |
6941 jobjectArray %out = qtjambi_from_array(__jni_env, %in, %2, | |
6942 "QLine", "com/trolltech/qt/gui/"); | |
6943 </conversion-rule> | |
6944 <conversion-rule class="native"> | |
6945 QVarLengthArray<QLine, 32> __lines; | |
6946 int __size = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
6947 for (int i=0; i<__size; ++i) | |
6948 __lines.append(*(QLine *)qtjambi_to_object(__jni_env, __jni_env->GetObjectArrayElement((jobjectArray) %in, i))); | |
6949 const QLine *%out = %1 == 0 ? 0 : __lines.constData(); | |
6950 </conversion-rule> | |
6951 | |
6952 </modify-argument> | |
6953 <modify-argument index="2"> | |
6954 <remove-argument/> | |
6955 <conversion-rule class="shell"> | |
6956 /* nothing */ | |
6957 </conversion-rule> | |
6958 <conversion-rule class="native"> | |
6959 int %out = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
6960 </conversion-rule> | |
6961 </modify-argument> | |
6962 </modify-function> | |
6963 | |
6964 <modify-function signature="drawLines(const QLineF *, int)"> | |
6965 <modify-argument index="1"> | |
6966 <replace-type modified-type="qt.gui.QLineF[]"/> | |
6967 <conversion-rule class="shell"> | |
6968 jobjectArray %out = qtjambi_from_array(__jni_env, %in, %2, | |
6969 "QLineF", "com/trolltech/qt/gui/"); | |
6970 </conversion-rule> | |
6971 <conversion-rule class="native"> | |
6972 QVarLengthArray<QLineF, 32> __data; | |
6973 int __size = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
6974 for (int i=0; i<__size; ++i) | |
6975 __data.append(*(QLineF *)qtjambi_to_object(__jni_env, __jni_env->GetObjectArrayElement((jobjectArray) %in, i))); | |
6976 const QLineF *%out = %1 == 0 ? 0 : __data.constData(); | |
6977 </conversion-rule> | |
6978 </modify-argument> | |
6979 <modify-argument index="2"> | |
6980 <remove-argument/> | |
6981 <conversion-rule class="shell"> | |
6982 /* nothing */ | |
6983 </conversion-rule> | |
6984 <conversion-rule class="native"> | |
6985 int %out = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
6986 </conversion-rule> | |
6987 </modify-argument> | |
6988 </modify-function> | |
6989 | |
6990 <modify-function signature="drawRects(const QRectF *, int)"> | |
6991 <modify-argument index="1"> | |
6992 <replace-type modified-type="qt.core.QRectF[]"/> | |
6993 <conversion-rule class="shell"> | |
6994 jobjectArray %out = qtjambi_from_array(__jni_env, %in, %2, | |
6995 "QRectF", "com/trolltech/qt/core/"); | |
6996 </conversion-rule> | |
6997 <conversion-rule class="native"> | |
6998 QVarLengthArray<QRectF, 32> __data; | |
6999 int __size = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
7000 for (int i=0; i<__size; ++i) | |
7001 __data.append(*(QRectF *)qtjambi_to_object(__jni_env, __jni_env->GetObjectArrayElement((jobjectArray) %in, i))); | |
7002 const QRectF *%out = %1 == 0 ? 0 : __data.constData(); | |
7003 </conversion-rule> | |
7004 </modify-argument> | |
7005 <modify-argument index="2"> | |
7006 <remove-argument/> | |
7007 <conversion-rule class="shell"> | |
7008 /* nothing */ | |
7009 </conversion-rule> | |
7010 <conversion-rule class="native"> | |
7011 int %out = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
7012 </conversion-rule> | |
7013 </modify-argument> | |
7014 </modify-function> | |
7015 | |
7016 <modify-function signature="drawRects(const QRect *, int)"> | |
7017 <modify-argument index="1"> | |
7018 <replace-type modified-type="qt.core.QRect[]"/> | |
7019 <conversion-rule class="shell"> | |
7020 jobjectArray %out = qtjambi_from_array(__jni_env, %in, %2, | |
7021 "QRect", "com/trolltech/qt/core/"); | |
7022 </conversion-rule> | |
7023 <conversion-rule class="native"> | |
7024 QVarLengthArray<QRect, 32> __data; | |
7025 int __size = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
7026 for (int i=0; i<__size; ++i) | |
7027 __data.append(*(QRect *)qtjambi_to_object(__jni_env, __jni_env->GetObjectArrayElement((jobjectArray) %in, i))); | |
7028 const QRect *%out = %1 == 0 ? 0 : __data.constData(); | |
7029 </conversion-rule> | |
7030 </modify-argument> | |
7031 <modify-argument index="2"> | |
7032 <remove-argument/> | |
7033 <conversion-rule class="shell"> | |
7034 /* nothing */ | |
7035 </conversion-rule> | |
7036 <conversion-rule class="native"> | |
7037 int %out = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
7038 </conversion-rule> | |
7039 </modify-argument> | |
7040 </modify-function> | |
7041 | |
7042 <modify-function signature="drawPoints(const QPoint *, int)"> | |
7043 <modify-argument index="1"> | |
7044 <replace-type modified-type="qt.core.QPoint[]"/> | |
7045 <conversion-rule class="shell"> | |
7046 jobjectArray %out = qtjambi_from_array(__jni_env, %in, %2, | |
7047 "QPoint", "com/trolltech/qt/core/"); | |
7048 </conversion-rule> | |
7049 <conversion-rule class="native"> | |
7050 QVarLengthArray<QPoint, 32> __data; | |
7051 int __size = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
7052 for (int i=0; i<__size; ++i) | |
7053 __data.append(*(QPoint *)qtjambi_to_object(__jni_env, __jni_env->GetObjectArrayElement((jobjectArray) %in, i))); | |
7054 const QPoint *%out = %1 == 0 ? 0 : __data.constData(); | |
7055 </conversion-rule> | |
7056 </modify-argument> | |
7057 | |
7058 <modify-argument index="2"> | |
7059 <remove-argument/> | |
7060 <conversion-rule class="shell"> | |
7061 /* nothing */ | |
7062 </conversion-rule> | |
7063 <conversion-rule class="native"> | |
7064 int %out = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
7065 </conversion-rule> | |
7066 </modify-argument> | |
7067 </modify-function> | |
7068 | |
7069 <modify-function signature="drawPoints(const QPointF *, int)"> | |
7070 <modify-argument index="1"> | |
7071 <replace-type modified-type="qt.core.QPointF[]"/> | |
7072 <conversion-rule class="shell"> | |
7073 jobjectArray %out = qtjambi_from_array(__jni_env, %in, %2, | |
7074 "QPointF", "com/trolltech/qt/core/"); | |
7075 </conversion-rule> | |
7076 <conversion-rule class="native"> | |
7077 QVarLengthArray<QPointF, 32> __data; | |
7078 int __size = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
7079 for (int i=0; i<__size; ++i) | |
7080 __data.append(*(QPointF *)qtjambi_to_object(__jni_env, __jni_env->GetObjectArrayElement((jobjectArray) %in, i))); | |
7081 const QPointF *%out = %1 == 0 ? 0 : __data.constData(); | |
7082 </conversion-rule> | |
7083 </modify-argument> | |
7084 <modify-argument index="2"> | |
7085 <remove-argument/> | |
7086 <conversion-rule class="shell"> | |
7087 /* nothing */ | |
7088 </conversion-rule> | |
7089 <conversion-rule class="native"> | |
7090 int %out = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
7091 </conversion-rule> | |
7092 </modify-argument> | |
7093 </modify-function> | |
7094 | |
7095 <modify-function signature="drawPolygon(const QPoint *, int, QPaintEngine::PolygonDrawMode)"> | |
7096 <modify-argument index="1"> | |
7097 <replace-type modified-type="qt.core.QPoint[]"/> | |
7098 <conversion-rule class="shell"> | |
7099 jobjectArray %out = qtjambi_from_array(__jni_env, %in, %2, | |
7100 "QPoint", "com/trolltech/qt/core/"); | |
7101 </conversion-rule> | |
7102 <conversion-rule class="native"> | |
7103 QVarLengthArray<QPoint, 32> __data; | |
7104 int __size = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
7105 for (int i=0; i<__size; ++i) | |
7106 __data.append(*(QPoint *)qtjambi_to_object(__jni_env, __jni_env->GetObjectArrayElement((jobjectArray) %in, i))); | |
7107 const QPoint *%out = %1 == 0 ? 0 : __data.constData(); | |
7108 </conversion-rule> | |
7109 </modify-argument> | |
7110 <modify-argument index="2"> | |
7111 <remove-argument/> | |
7112 <conversion-rule class="shell"> | |
7113 /* nothing */ | |
7114 </conversion-rule> | |
7115 <conversion-rule class="native"> | |
7116 int %out = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
7117 </conversion-rule> | |
7118 </modify-argument> | |
7119 </modify-function> | |
7120 | |
7121 <modify-function signature="drawPolygon(const QPointF *, int, QPaintEngine::PolygonDrawMode)"> | |
7122 <modify-argument index="1"> | |
7123 <replace-type modified-type="qt.core.QPointF[]"/> | |
7124 <conversion-rule class="shell"> | |
7125 jobjectArray %out = qtjambi_from_array(__jni_env, %in, %2, | |
7126 "QPointF", "com/trolltech/qt/core/"); | |
7127 </conversion-rule> | |
7128 <conversion-rule class="native"> | |
7129 QVarLengthArray<QPointF, 32> __data; | |
7130 int __size = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
7131 for (int i=0; i<__size; ++i) | |
7132 __data.append(*(QPointF *)qtjambi_to_object(__jni_env, __jni_env->GetObjectArrayElement((jobjectArray) %in, i))); | |
7133 const QPointF *%out = %1 == 0 ? 0 : __data.constData(); | |
7134 </conversion-rule> | |
7135 </modify-argument> | |
7136 <modify-argument index="2"> | |
7137 <remove-argument/> | |
7138 <conversion-rule class="shell"> | |
7139 /* nothing */ | |
7140 </conversion-rule> | |
7141 <conversion-rule class="native"> | |
7142 int %out = %1 == 0 ? 0 : __jni_env->GetArrayLength((jarray) %1); | |
7143 </conversion-rule> | |
7144 </modify-argument> | |
7145 </modify-function> | |
7146 --> | |
7147 </object-type> | |
7148 | |
7149 <object-type name="QAbstractTableModel"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
7150 <!-- <modify-function signature="parent(const QModelIndex &)const" remove="all"/> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
7151 <modify-function signature="hasChildren(const QModelIndex &)const" remove="all"/> --> |
1 | 7152 <extra-includes> |
7153 <include file-name="QStringList" location="global"/> | |
7154 <include file-name="QSize" location="global"/> | |
7155 </extra-includes> | |
7156 </object-type> | |
7157 | |
7158 <object-type name="QGuiSignalMapper"> | |
7159 <modify-function signature="setMapping(QObject*,QWidget*)"> | |
7160 <modify-argument index="1"> | |
7161 <reference-count action="add" declare-variable="qt.core.QSignalMapper" variable-name="__rcMappings"/> | |
7162 </modify-argument> | |
7163 <inject-code class="java" position="end"> | |
7164 <argument-map index="1" meta-name="%1"/> | |
7165 <argument-map index="2" meta-name="%2"/> | |
7166 java.util.Hashtable<qt.core.QObject, Object> __rcWidgetForObject = (java.util.Hashtable<qt.core.QObject, Object>) qt.GeneratorUtilities.fetchField(this, qt.core.QSignalMapper.class, "__rcWidgetForObject"); | |
7167 if (%2 == null) | |
7168 __rcWidgetForObject.remove(%1); | |
7169 else | |
7170 __rcWidgetForObject.put(%1,%2); | |
7171 </inject-code> | |
7172 </modify-function> | |
7173 </object-type> | |
7174 | |
7175 <object-type name="QComboBox"> | |
7176 <!-- <modify-function signature="initStyleOption(QStyleOptionComboBox*)const"> | |
7177 <access modifier="private"/> | |
7178 </modify-function>--> | |
7179 <modify-function signature="setCompleter(QCompleter*)"> | |
7180 <modify-argument index="1"> | |
7181 <reference-count variable-name="__rcCompleter" action="set"/> | |
7182 </modify-argument> | |
7183 </modify-function> | |
7184 <modify-function signature="setValidator(const QValidator*)"> | |
7185 <modify-argument index="1"> | |
7186 <reference-count variable-name="__rcValidator" action="set"/> | |
7187 </modify-argument> | |
7188 </modify-function> | |
7189 <modify-function signature="setItemDelegate(QAbstractItemDelegate *)"> | |
7190 <modify-argument index="1"> | |
7191 <define-ownership class="java" owner="c++"/> | |
7192 <no-null-pointer/> | |
7193 </modify-argument> | |
7194 </modify-function> | |
7195 <modify-function signature="setView(QAbstractItemView *)"> | |
7196 <modify-argument index="1"> | |
7197 <no-null-pointer/> | |
7198 <!-- Safe to ignore because combo box reparents view --> | |
7199 <reference-count action="ignore"/> | |
7200 </modify-argument> | |
7201 </modify-function> | |
7202 <modify-function signature="setLineEdit(QLineEdit *)"> | |
7203 <modify-argument index="1"> | |
7204 <no-null-pointer/> | |
7205 <!-- Safe to ignore because combo box reparents line edit --> | |
7206 <reference-count action="ignore"/> | |
7207 </modify-argument> | |
7208 </modify-function> | |
7209 <modify-function signature="setModel(QAbstractItemModel *)"> | |
7210 <modify-argument index="1"> | |
7211 <no-null-pointer/> | |
7212 <reference-count action="set" variable-name="__rcModel"/> | |
7213 </modify-argument> | |
7214 </modify-function> | |
7215 <!-- <inject-code> | |
7216 <insert-template name="gui.init_style_option"> | |
7217 <replace from="%TYPE" to="QStyleOptionComboBox"/> | |
7218 </insert-template> | |
7219 </inject-code>--> | |
7220 <inject-code> | |
7221 <import-file name="typesystem_gui-java.java" quote-after-line="class QComboBox___" quote-before-line="}// class"/> | |
7222 </inject-code> | |
7223 <modify-function signature="activated(int)">> | |
7224 <rename to="activatedIndex"/> | |
7225 </modify-function> | |
7226 <modify-function signature="currentIndexChanged(const QString &)"> | |
7227 <rename to="currentStringChanged"/> | |
7228 </modify-function> | |
7229 <modify-function signature="highlighted(int)"> | |
7230 <rename to="highlightedIndex"/> | |
7231 </modify-function> | |
7232 | |
7233 <modify-function signature="autoCompletion()const" remove="all"/> <!--### Obsolete in 4.3--> | |
7234 <modify-function signature="autoCompletionCaseSensitivity()const" remove="all"/> <!--### Obsolete in 4.3--> | |
7235 <modify-function signature="setAutoCompletion(bool)" remove="all"/> <!--### Obsolete in 4.3--> | |
7236 <modify-function signature="setAutoCompletionCaseSensitivity(Qt::CaseSensitivity)" remove="all"/> <!--### Obsolete in 4.3--> | |
7237 </object-type> | |
7238 | |
7239 <object-type name="QTextEdit"> | |
7240 <extra-includes> | |
7241 <include file-name="QTextCursor" location="global"/> | |
7242 </extra-includes> | |
7243 <modify-function signature="setDocument(QTextDocument*)"> | |
7244 <modify-argument index="1"> | |
7245 <reference-count action="set" variable-name="__rcDocument"/> | |
7246 </modify-argument> | |
7247 </modify-function> | |
7248 <modify-function signature="insertFromMimeData(const QMimeData*) "> | |
7249 <modify-argument index="1"> | |
7250 <reference-count action="ignore"/> | |
7251 </modify-argument> | |
7252 </modify-function> | |
7253 </object-type> | |
7254 | |
7255 <object-type name="QPrinter" delete-in-main-thread="yes"> | |
7256 | |
7257 | |
7258 <modify-function signature="setEngines(QPrintEngine*,QPaintEngine*)"> | |
7259 <modify-argument index="1"> | |
7260 <reference-count action="set" variable-name="__rcPrintEngine"/> | |
7261 </modify-argument> | |
7262 <modify-argument index="2"> | |
7263 <reference-count action="set" variable-name="__rcPaintEngine"/> | |
7264 </modify-argument> | |
7265 </modify-function> | |
7266 | |
7267 <modify-function signature="getPageMargins(double*,double*,double*,double*,QPrinter::Unit)const" access="private"/> | |
7268 <inject-code> | |
7269 <import-file name="typesystem_gui-java.java" quote-after-line="class QPrinter___" quote-before-line="}// class"/> | |
7270 </inject-code> | |
7271 </object-type> | |
7272 | |
7273 <object-type name="QAction"> | |
7274 <modify-function signature="setMenu(QMenu*)"> | |
7275 <modify-argument index="1"> | |
7276 <reference-count action="set" variable-name="__rcMenu"/> | |
7277 </modify-argument> | |
7278 </modify-function> | |
7279 | |
7280 | |
7281 <inject-code> | |
7282 <import-file name="typesystem_gui-java.java" quote-after-line="class QAction___" quote-before-line="}// class"/> | |
7283 </inject-code> | |
7284 <!-- | |
7285 <modify-function signature="setActionGroup(QActionGroup*)"> | |
7286 <modify-argument index="1"> | |
7287 <reference-count action="ignore"/> | |
7288 </modify-argument> | |
7289 <inject-code position="end"> | |
7290 <argument-map index="1" meta-name="%1"/> | |
7291 java.util.Collection<Object> __rcTmp = null; | |
7292 if (__rcActionGroup != null) { | |
7293 __rcTmp = (java.util.Collection<Object>)qt.GeneratorUtilities.fetchField(__rcActionGroup, QActionGroup.class, "__rcActions"); | |
7294 while (__rcTmp.contains(this)) | |
7295 __rcTmp.remove(this); | |
7296 } | |
7297 __rcActionGroup = %1; | |
7298 if (__rcActionGroup != null) { | |
7299 __rcTmp = (java.util.Collection<Object>)qt.GeneratorUtilities.fetchField(__rcActionGroup, QActionGroup.class, "__rcActions"); | |
7300 __rcTmp.add(this); | |
7301 } | |
7302 </inject-code> | |
7303 </modify-function> | |
7304 --> | |
7305 </object-type> | |
7306 | |
7307 <object-type name="QPainter"> | |
7308 <!-- <add-class name="QPaintEngineState"/> --> | |
7309 <extra-includes> | |
7310 <include file-name="QWidget" location="global"/> | |
7311 <include file-name="QPainterPath" location="global"/> | |
7312 <include file-name="QPixmap" location="global"/> | |
7313 <include file-name="qt.gui.QGradient" location="java"/> | |
7314 </extra-includes> | |
7315 | |
7316 <modify-function signature="drawText(const QPointF &, const QString &, int, int)" remove="all"/> | |
7317 | |
7318 <modify-function signature="drawConvexPolygon(const QPoint *, int)"> | |
7319 <access modifier="private"/> | |
7320 </modify-function> | |
7321 <modify-function signature="drawConvexPolygon(const QPointF *, int)"> | |
7322 <access modifier="private"/> | |
7323 </modify-function> | |
7324 <modify-function signature="drawLines(const QLine *, int)"> | |
3
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7325 <access modifier="private"/> |
1 | 7326 </modify-function> |
7327 <modify-function signature="drawLines(const QLineF *, int)"> | |
3
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7328 <access modifier="private"/> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7329 </modify-function> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7330 |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7331 <modify-function signature="drawPoints(const QPoint *, int)"> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7332 <access modifier="private"/> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7333 </modify-function> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7334 <modify-function signature="drawPoints(const QPointF *, int)"> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7335 <access modifier="private"/> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7336 </modify-function> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7337 |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7338 <modify-function signature="drawPolygon(const QPoint *, int, Qt::FillRule)"> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7339 <access modifier="private"/> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7340 </modify-function> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7341 <modify-function signature="drawPolygon(const QPointF *, int, Qt::FillRule)"> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7342 <access modifier="private"/> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7343 </modify-function> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7344 |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7345 <modify-function signature="drawPolyline(const QPoint *, int)"> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7346 <access modifier="private"/> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7347 </modify-function> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7348 <modify-function signature="drawPolyline(const QPointF *, int)"> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7349 <access modifier="private"/> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7350 </modify-function> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7351 |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7352 <modify-function signature="drawRects(const QRect *, int)"> |
6 | 7353 <access modifier="private"/> |
1 | 7354 </modify-function> |
3
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7355 <modify-function signature="drawRects(const QRectF *, int)"> |
6 | 7356 <access modifier="private"/> |
7357 </modify-function> | |
7358 | |
7359 <!-- removed stuff --> | |
7360 <modify-function signature="drawRects(const QVector<QRect> &)"> | |
3
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7361 <remove/> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7362 </modify-function> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7363 <modify-function signature="drawRects(const QVector<QRectF> &)"> |
6 | 7364 <remove/> |
3
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7365 </modify-function> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7366 |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7367 <modify-function signature="drawLines(const QVector<QLine> &)"> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7368 <remove/> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7369 </modify-function> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7370 <modify-function signature="drawLines(const QVector<QLineF> &)"> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7371 <remove/> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7372 </modify-function> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7373 |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7374 <modify-function signature="drawLines(const QVector<QPoint> &)"> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7375 <remove/> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7376 </modify-function> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7377 <modify-function signature="drawLines(const QVector<QPointF> &)"> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7378 <remove/> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7379 </modify-function> |
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7380 |
1 | 7381 <modify-function signature="drawLines(const QPoint *, int)"> |
7382 <remove/> | |
7383 </modify-function> | |
7384 <modify-function signature="drawLines(const QPointF *, int)"> | |
7385 <remove/> | |
7386 </modify-function> | |
3
323efbe5c2f7
native wrap of QLine and QLineF, fixes in opEquals, updated QPainter to the use of native structs
eldar
parents:
1
diff
changeset
|
7387 |
1 | 7388 |
7389 <modify-function signature="QPainter(QPaintDevice *)"> | |
7390 <modify-argument index="1"> | |
7391 <no-null-pointer/> | |
7392 </modify-argument> | |
7393 </modify-function> | |
7394 <modify-function signature="begin(QPaintDevice *)"> | |
7395 <modify-argument index="1"> | |
7396 <no-null-pointer/> | |
7397 </modify-argument> | |
7398 </modify-function> | |
7399 <modify-function signature="initFrom(const QWidget *)"> | |
7400 <modify-argument index="1"> | |
7401 <no-null-pointer/> | |
7402 </modify-argument> | |
7403 </modify-function> | |
7404 <modify-function signature="setRedirected(const QPaintDevice *, QPaintDevice *, const QPoint &)"> | |
7405 <modify-argument index="1"> | |
7406 <no-null-pointer/> | |
7407 </modify-argument> | |
7408 </modify-function> | |
7409 <modify-function signature="restoreRedirected(const QPaintDevice *)"> | |
7410 <modify-argument index="1"> | |
7411 <no-null-pointer/> | |
7412 </modify-argument> | |
7413 </modify-function> | |
7414 | |
7415 <modify-function signature="drawText(QRect,int,QString,QRect*)"> | |
7416 <access modifier="private"/> | |
7417 <modify-argument index="4"> | |
7418 <remove-default-expression/> | |
7419 </modify-argument> | |
7420 </modify-function> | |
7421 | |
7422 <modify-function signature="drawText(QRectF,int,QString,QRectF*)"> | |
7423 <access modifier="private"/> | |
7424 <modify-argument index="4"> | |
7425 <remove-default-expression/> | |
7426 </modify-argument> | |
7427 </modify-function> | |
7428 | |
7429 <modify-function signature="drawText(int,int,int,int,int,QString,QRect*)"> | |
7430 <access modifier="private"/> | |
7431 <modify-argument index="7"> | |
7432 <remove-default-expression/> | |
7433 </modify-argument> | |
7434 </modify-function> | |
7435 | |
7436 <modify-function signature="redirected(const QPaintDevice*,QPoint*)"> | |
7437 <access modifier="private"/> | |
7438 <modify-argument index="2"> | |
7439 <remove-default-expression/> | |
7440 </modify-argument> | |
7441 </modify-function> | |
7442 <modify-function signature="matrix()const" remove="all"/> <!--### Obsolete in 4.3--> | |
7443 <modify-function signature="matrixEnabled()const" remove="all"/> <!--### Obsolete in 4.3--> | |
7444 <modify-function signature="setMatrix(QMatrix, bool)" remove="all"/> <!--### Obsolete in 4.3--> | |
7445 <modify-function signature="setMatrixEnabled(bool)" remove="all"/> <!--### Obsolete in 4.3--> | |
7446 | |
7447 <inject-code> | |
7448 <import-file name="typesystem_gui-java.java" quote-after-line="class QPainter___" quote-before-line="}// class"/> | |
7449 </inject-code> | |
7450 <!-- | |
7451 <inject-code class="destructor-function"> | |
7452 if (((QPainter *) ptr)->isActive()) { | |
7453 qWarning("QPainter: trying to delete an active painter, " | |
7454 "did you forget to call \"end()\"?\n"); | |
7455 return; | |
7456 } | |
7457 </inject-code> | |
7458 | |
7459 <template name="gui.painter_draw_text_general"> | |
7460 public final void drawText(%RECT_ARGUMENTS, int flags, String text, %RECT_TYPE boundingRect) { | |
7461 drawText(%RECT_CALL_ARGUMENTS, flags, text, boundingRect == null ? null : boundingRect.nativePointer()); | |
7462 } | |
7463 | |
7464 public final void drawText(%RECT_ARGUMENTS, int flags, String text) { | |
7465 drawText(%RECT_CALL_ARGUMENTS, flags, text, (%RECT_TYPE) null); | |
7466 } | |
7467 </template> | |
7468 | |
7469 <template name="gui.painter_draw_text_qrect"> | |
7470 <insert-template name="gui.painter_draw_text_general"> | |
7471 <replace from="%RECT_ARGUMENTS" to="%RECT_TYPE rectangle"/> | |
7472 <replace from="%RECT_CALL_ARGUMENTS" to="rectangle"/> | |
7473 </insert-template> | |
7474 </template> | |
7475 <inject-code> | |
7476 <insert-template name="gui.painter_draw_text_qrect"> | |
7477 <replace from="%RECT_TYPE" to="qt.core.QRect"/> | |
7478 </insert-template> | |
7479 </inject-code> | |
7480 <inject-code> | |
7481 <insert-template name="gui.painter_draw_text_qrect"> | |
7482 <replace from="%RECT_TYPE" to="qt.core.QRectF"/> | |
7483 </insert-template> | |
7484 </inject-code> | |
7485 <inject-code> | |
7486 <insert-template name="gui.painter_draw_text_general"> | |
7487 <replace from="%RECT_TYPE" to="qt.core.QRect"/> | |
7488 <replace from="%RECT_ARGUMENTS" to="int x, int y, int width, int height"/> | |
7489 <replace from="%RECT_CALL_ARGUMENTS" to="x, y, width, height"/> | |
7490 </insert-template> | |
7491 </inject-code> | |
7492 | |
7493 | |
7494 <modify-function signature="setRedirected(const QPaintDevice*, QPaintDevice*, const QPoint &)"> | |
7495 <modify-argument index="1"> | |
7496 <reference-count action="ignore"/> | |
7497 </modify-argument> | |
7498 <modify-argument index="2"> | |
7499 <reference-count action="ignore"/> | |
7500 </modify-argument> | |
7501 <inject-code position="end"> | |
7502 <argument-map index="1" meta-name="%1"/> | |
7503 <argument-map index="2" meta-name="%2"/> | |
7504 __rcRedirections.push(%1); | |
7505 __rcRedirections.push(%2); | |
7506 </inject-code> | |
7507 </modify-function> | |
7508 <modify-function signature="restoreRedirected(const QPaintDevice*)"> | |
7509 <inject-code position="end"> | |
7510 if (!__rcRedirections.empty()) __rcRedirections.pop(); | |
7511 if (!__rcRedirections.empty()) __rcRedirections.pop(); | |
7512 </inject-code> | |
7513 </modify-function> | |
7514 --> | |
7515 </object-type> | |
7516 | |
7517 <object-type name="QApplication"> | |
7518 <extra-includes> | |
7519 <include file-name="QBasicTimer" location="global"/> | |
7520 <include file-name="QFont" location="global"/> | |
7521 <include file-name="QFontMetrics" location="global"/> | |
7522 <include file-name="QPalette" location="global"/> | |
7523 <include file-name="QIcon" location="global"/> | |
7524 <include file-name="QLocale" location="global"/> | |
7525 | |
7526 <include file-name="qt.qtd.Str" location="java"/> | |
7527 </extra-includes> | |
7528 | |
7529 <!-- qtd2 --> | |
7530 <modify-function signature="inputContext() const" remove="all"/> | |
7531 <modify-function signature="setStyle(QStyle*)" remove="all"/> | |
7532 <modify-function signature="setStyle(const QString&)" remove="all"/> | |
7533 <modify-function signature="style()" remove="all"/> | |
7534 | |
7535 | |
7536 <modify-function signature="QApplication(int &, char **, int)"> | |
7537 <access modifier="private"/> | |
7538 </modify-function> | |
7539 <modify-function signature="QApplication(int &, char **, QApplication::Type, int)"> | |
7540 <remove/> | |
7541 </modify-function> | |
7542 <modify-function signature="QApplication(int &, char **, bool, int)"> | |
7543 <remove/> | |
7544 </modify-function> | |
7545 | |
7546 <modify-function signature="font(const char*)"> | |
7547 <remove/> | |
7548 </modify-function> | |
7549 <modify-function signature="setFont(QFont,const char*)"> | |
7550 <access modifier="private"/> | |
7551 <modify-argument index="2"> | |
7552 <remove-default-expression/> | |
7553 </modify-argument> | |
7554 </modify-function> | |
7555 | |
7556 <modify-function signature="palette(const char*)"> | |
7557 <remove/> | |
7558 </modify-function> | |
7559 <modify-function signature="setPalette(QPalette,const char*)"> | |
7560 <access modifier="private"/> | |
7561 <modify-argument index="2"> | |
7562 <remove-default-expression/> | |
7563 </modify-argument> | |
7564 </modify-function> | |
7565 | |
7566 <modify-function signature="overrideCursor()"> | |
7567 <access modifier="private"/> | |
7568 <rename to="overrideCursor_private"/> | |
7569 </modify-function> | |
7570 | |
7571 <modify-function signature="setInputContext(QInputContext*)"> | |
7572 <modify-argument index="1"> | |
7573 <define-ownership class="java" owner="c++"/> | |
7574 </modify-argument> | |
7575 </modify-function> | |
7576 <modify-function signature="setActiveWindow(QWidget*)"> | |
7577 <modify-argument index="1"> | |
7578 <reference-count action="ignore"/> | |
7579 </modify-argument> | |
7580 </modify-function> | |
7581 <!-- <modify-function signature="setStyle(QStyle*)"> | |
7582 <modify-argument index="1"> | |
7583 <reference-count action="ignore"/> | |
7584 </modify-argument> | |
7585 </modify-function> | |
7586 --> | |
7587 <inject-code> | |
7588 <import-file name="typesystem_gui-java.java" quote-after-line="class QApplication___" quote-before-line="}// class"/> | |
7589 </inject-code> | |
7590 <!-- <modify-function signature="QApplication(int &, char **, int)"> | |
7591 <inject-code class="shell"> | |
7592 qtjambi_register_variant_handler(); | |
7593 </inject-code> | |
7594 </modify-function>--> | |
7595 <template name="gui.application_char_pointer_function"> | |
7596 public static %RETURN_TYPE %FUNCTION_NAME(%PRE_ARGUMENTS %COMMA QByteArray className) { | |
7597 return %FUNCTION_NAME(%PRE_CALL_ARGUMENTS %COMMA className == null ? null : className.data()); | |
7598 } | |
7599 </template> | |
7600 </object-type> | |
7601 | |
7602 <object-type name="QCommandLinkButton"/> | |
7603 <object-type name="QFileSystemModel"> | |
7604 <modify-function signature="setIconProvider(QFileIconProvider*)"> | |
7605 <modify-argument index="1"> | |
7606 <reference-count action="set" variable-name="__rcIconProvider"/> | |
7607 </modify-argument> | |
7608 </modify-function> | |
7609 </object-type> | |
7610 <object-type name="QFormLayout"> | |
7611 <modify-function signature="addRow(QWidget*,QWidget*)"> | |
7612 <modify-argument index="1"> | |
7613 <reference-count action="ignore"/> | |
7614 </modify-argument> | |
7615 <modify-argument index="2"> | |
7616 <reference-count action="ignore"/> | |
7617 </modify-argument> | |
7618 </modify-function> | |
7619 <modify-function signature="addRow(QLayout*)"> | |
7620 <modify-argument index="1"> | |
7621 <reference-count action="ignore"/> | |
7622 </modify-argument> | |
7623 </modify-function> | |
7624 <modify-function signature="addRow(QWidget*,QLayout*)"> | |
7625 <modify-argument index="1"> | |
7626 <reference-count action="ignore"/> | |
7627 </modify-argument> | |
7628 <modify-argument index="2"> | |
7629 <reference-count action="ignore"/> | |
7630 </modify-argument> | |
7631 </modify-function> | |
7632 | |
7633 <modify-function signature="addRow(QWidget*)"> | |
7634 <modify-argument index="1"> | |
7635 <reference-count action="ignore"/> | |
7636 </modify-argument> | |
7637 </modify-function> | |
7638 <modify-function signature="addRow(QString,QLayout*)"> | |
7639 <modify-argument index="2"> | |
7640 <reference-count action="ignore"/> | |
7641 </modify-argument> | |
7642 </modify-function> | |
7643 <modify-function signature="addRow(QString,QWidget*)"> | |
7644 <modify-argument index="2"> | |
7645 <reference-count action="ignore"/> | |
7646 </modify-argument> | |
7647 </modify-function> | |
7648 <modify-function signature="insertRow(int,QLayout*)"> | |
7649 <modify-argument index="2"> | |
7650 <reference-count action="ignore"/> | |
7651 </modify-argument> | |
7652 </modify-function> | |
7653 <modify-function signature="insertRow(int,QWidget*,QLayout*)"> | |
7654 <modify-argument index="2"> | |
7655 <reference-count action="ignore"/> | |
7656 </modify-argument> | |
7657 <modify-argument index="3"> | |
7658 <reference-count action="ignore"/> | |
7659 </modify-argument> | |
7660 </modify-function> | |
7661 <modify-function signature="insertRow(int,QWidget*,QWidget*)"> | |
7662 <modify-argument index="2"> | |
7663 <reference-count action="ignore"/> | |
7664 </modify-argument> | |
7665 <modify-argument index="3"> | |
7666 <reference-count action="ignore"/> | |
7667 </modify-argument> | |
7668 </modify-function> | |
7669 <modify-function signature="insertRow(int,QWidget*)"> | |
7670 <modify-argument index="2"> | |
7671 <reference-count action="ignore"/> | |
7672 </modify-argument> | |
7673 </modify-function> | |
7674 <modify-function signature="insertRow(int,QString,QLayout*)"> | |
7675 <modify-argument index="3"> | |
7676 <reference-count action="ignore"/> | |
7677 </modify-argument> | |
7678 </modify-function> | |
7679 <modify-function signature="insertRow(int,QString,QWidget*)"> | |
7680 <modify-argument index="3"> | |
7681 <reference-count action="ignore"/> | |
7682 </modify-argument> | |
7683 </modify-function> | |
7684 <modify-function signature="setLayout(int,QFormLayout::ItemRole,QLayout*)"> | |
7685 <modify-argument index="3"> | |
7686 <reference-count action="ignore"/> | |
7687 </modify-argument> | |
7688 </modify-function> | |
7689 <modify-function signature="setWidget(int,QFormLayout::ItemRole,QWidget*)"> | |
7690 <modify-argument index="3"> | |
7691 <reference-count action="ignore"/> | |
7692 </modify-argument> | |
7693 </modify-function> | |
7694 <modify-function signature="setItem(int,QFormLayout::ItemRole,QLayoutItem*)" access="private" rename="setItem_private"> | |
7695 <modify-argument index="3"> | |
7696 <define-ownership class="java" owner="c++"/> | |
7697 </modify-argument> | |
7698 </modify-function> | |
7699 <modify-function signature="addItem(QLayoutItem*)"> | |
7700 <modify-argument index="1"> | |
7701 <define-ownership class="java" owner="c++"/> | |
7702 </modify-argument> | |
7703 </modify-function> | |
7704 | |
7705 <modify-function signature="getLayoutPosition(QLayout*,int*,QFormLayout::ItemRole*)const" access="private"/> | |
7706 <modify-function signature="getWidgetPosition(QWidget*,int*,QFormLayout::ItemRole*)const" access="private"/> | |
7707 <modify-function signature="getItemPosition(int,int*,QFormLayout::ItemRole*)const" access="private"/> | |
7708 <inject-code> | |
7709 <import-file name="typesystem_gui-java.java" quote-after-line="class QFormLayout___" quote-before-line="}// class"/> | |
7710 </inject-code> | |
7711 </object-type> | |
7712 <object-type name="QGraphicsGridLayout" delete-in-main-thread="yes"> | |
7713 <modify-function signature="addItem(QGraphicsLayoutItem*,int,int,QFlags<Qt::AlignmentFlag>)"> | |
7714 <modify-argument index="1"> | |
7715 <reference-count action="add" variable-name="__rcItems"/> | |
7716 </modify-argument> | |
7717 </modify-function> | |
7718 <modify-function signature="addItem(QGraphicsLayoutItem*,int,int,int,int,QFlags<Qt::AlignmentFlag>)"> | |
7719 <modify-argument index="1"> | |
7720 <reference-count action="add" variable-name="__rcItems"/> | |
7721 </modify-argument> | |
7722 </modify-function> | |
7723 <modify-function signature="setAlignment(QGraphicsLayoutItem*,QFlags<Qt::AlignmentFlag>)"> | |
7724 <modify-argument index="1"> | |
7725 <reference-count action="ignore"/> | |
7726 </modify-argument> | |
7727 </modify-function> | |
7728 </object-type> | |
7729 <object-type name="QGraphicsLayout" delete-in-main-thread="yes"> | |
7730 | |
7731 <modify-function signature="widgetEvent(QEvent*)"> | |
7732 <modify-argument index="1" invalidate-after-use="yes"/> | |
7733 </modify-function> | |
7734 <modify-function signature="setParentLayoutItem(QGraphicsLayoutItem*)"> | |
7735 <modify-argument index="1"> | |
7736 <reference-count action="set" variable-name="__rcParentLayoutItem"/> | |
7737 </modify-argument> | |
7738 </modify-function> | |
7739 | |
7740 <!-- <modify-function signature="getContentsMargins(double*,double*,double*,double*)const" access="private"/> --> | |
7741 <modify-function signature="getContentsMargins(double*,double*,double*,double*)const" remove="all"/> | |
7742 <inject-code> | |
7743 <import-file name="typesystem_gui-java.java" quote-after-line="class Subclass_of_QGraphicsLayoutItem___" quote-before-line="}// class"/> | |
7744 </inject-code> | |
7745 </object-type> | |
7746 <interface-type name="QGraphicsLayoutItem" delete-in-main-thread="yes"> | |
7747 <modify-function signature="setExtension(QGraphicsItem::Extension,QVariant)" remove="all"/> | |
7748 <modify-function signature="supportsExtension(QGraphicsItem::Extension)const" remove="all"/> | |
7749 <modify-function signature="getContentsMargins(double*,double*,double*,double*)const" remove="all"/> | |
7750 <!-- | |
7751 <modify-function signature="setParentLayoutItem(QGraphicsLayoutItem*)"> | |
7752 <modify-argument index="1"> | |
7753 <reference-count action="set" variable-name="__rcParentLayoutItem"/> | |
7754 </modify-argument> | |
7755 </modify-function> | |
7756 | |
7757 <modify-function signature="getContentsMargins(double*,double*,double*,double*)const" access="private"/> | |
7758 <inject-code> | |
7759 <import-file name="typesystem_gui-java.java" quote-after-line="class Subclass_of_QGraphicsLayoutItem___" quote-before-line="}// class"/> | |
7760 </inject-code> | |
7761 <inject-code class="interface"> | |
7762 public QMarginsF getContentsMargins(); | |
7763 </inject-code> | |
7764 --> | |
7765 </interface-type> | |
7766 | |
7767 <object-type name="QGraphicsLinearLayout" delete-in-main-thread="yes"> | |
7768 <modify-function signature="addItem(QGraphicsLayoutItem*)"> | |
7769 <modify-argument index="1"> | |
7770 <reference-count action="add" variable-name="__rcItems"/> | |
7771 </modify-argument> | |
7772 </modify-function> | |
7773 <modify-function signature="insertItem(int,QGraphicsLayoutItem*)"> | |
7774 <modify-argument index="2"> | |
7775 <reference-count action="add" variable-name="__rcItems"/> | |
7776 </modify-argument> | |
7777 </modify-function> | |
7778 <modify-function signature="removeItem(QGraphicsLayoutItem*)"> | |
7779 <modify-argument index="1"> | |
7780 <reference-count action="remove" variable-name="__rcItems"/> | |
7781 </modify-argument> | |
7782 </modify-function> | |
7783 <modify-function signature="setAlignment(QGraphicsLayoutItem*,QFlags<Qt::AlignmentFlag>)"> | |
7784 <modify-argument index="1"> | |
7785 <reference-count action="ignore"/> | |
7786 </modify-argument> | |
7787 </modify-function> | |
7788 <modify-function signature="setStretchFactor(QGraphicsLayoutItem*,int)"> | |
7789 <modify-argument index="1"> | |
7790 <reference-count action="ignore"/> | |
7791 </modify-argument> | |
7792 </modify-function> | |
7793 </object-type> | |
7794 <object-type name="QGraphicsProxyWidget"> | |
7795 <modify-function signature="getContentsMargins(double*,double*,double*,double*)const" remove="all" /> | |
7796 <!-- | |
7797 <modify-function signature="setWidget(QWidget*)"> | |
7798 <modify-argument index="1"> | |
7799 <reference-count action="ignore"/> | |
7800 </modify-argument> | |
7801 <inject-code> | |
7802 <argument-map index="1" meta-name="%1"/> | |
7803 if (%1 != null) | |
7804 %1.disableGarbageCollection(); | |
7805 else if (widget() != null) | |
7806 widget().reenableGarbageCollection(); | |
7807 </inject-code> | |
7808 </modify-function> | |
7809 --> | |
7810 </object-type> <!-- a QObject so main-thread delete redundant --> | |
7811 <object-type name="QGraphicsWidget"> <!-- a QObject so main-thread delete redundant --> | |
7812 <!-- Duplicate function to QObject::children() to override accidental shadowing which is not present in Jambi --> | |
7813 <modify-function signature="children()const" remove="all"/> | |
7814 <modify-function signature="setLayout(QGraphicsLayout*)"> | |
7815 <modify-argument index="1"> | |
7816 <reference-count action="set" variable-name="__rcLayout"/> | |
7817 </modify-argument> | |
7818 </modify-function> | |
7819 | |
7820 <modify-function signature="changeEvent(QEvent*)"> | |
7821 <modify-argument index="1" invalidate-after-use="yes"/> | |
7822 </modify-function> | |
7823 <modify-function signature="closeEvent(QCloseEvent*)"> | |
7824 <modify-argument index="1" invalidate-after-use="yes"/> | |
7825 </modify-function> | |
7826 <modify-function signature="grabKeyboardEvent(QEvent*)"> | |
7827 <modify-argument index="1" invalidate-after-use="yes"/> | |
7828 </modify-function> | |
7829 <modify-function signature="grabMouseEvent(QEvent*)"> | |
7830 <modify-argument index="1" invalidate-after-use="yes"/> | |
7831 </modify-function> | |
7832 <modify-function signature="hideEvent(QHideEvent*)"> | |
7833 <modify-argument index="1" invalidate-after-use="yes"/> | |
7834 </modify-function> | |
7835 <modify-function signature="moveEvent(QGraphicsSceneMoveEvent*)"> | |
7836 <modify-argument index="1" invalidate-after-use="yes"/> | |
7837 </modify-function> | |
7838 <modify-function signature="paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*)"> | |
7839 <modify-argument index="1" invalidate-after-use="yes"/> | |
7840 </modify-function> | |
7841 <modify-function signature="resizeEvent(QGraphicsSceneResizeEvent*)"> | |
7842 <modify-argument index="1" invalidate-after-use="yes"/> | |
7843 </modify-function> | |
7844 <modify-function signature="showEvent(QShowEvent*)"> | |
7845 <modify-argument index="1" invalidate-after-use="yes"/> | |
7846 </modify-function> | |
7847 <modify-function signature="ungrabKeyboardEvent(QEvent*)"> | |
7848 <modify-argument index="1" invalidate-after-use="yes"/> | |
7849 </modify-function> | |
7850 <modify-function signature="ungrabMouseEvent(QEvent*)"> | |
7851 <modify-argument index="1" invalidate-after-use="yes"/> | |
7852 </modify-function> | |
7853 <modify-function signature="windowFrameEvent(QEvent*)"> | |
7854 <modify-argument index="1" invalidate-after-use="yes"/> | |
7855 </modify-function> | |
7856 | |
7857 <modify-function signature="setStyle(QStyle*)"> | |
7858 <modify-argument index="1"> | |
7859 <reference-count action="set" variable-name="__rcStyle"/> | |
7860 </modify-argument> | |
7861 </modify-function> | |
7862 <modify-function signature="setTabOrder(QGraphicsWidget*,QGraphicsWidget*)"> | |
7863 <modify-argument index="1"> | |
7864 <reference-count action="ignore"/> | |
7865 </modify-argument> | |
7866 <modify-argument index="2"> | |
7867 <reference-count action="ignore"/> | |
7868 </modify-argument> | |
7869 </modify-function> | |
7870 <!-- | |
7871 <modify-function signature="getContentsMargins(double*,double*,double*,double*)const" access="private"/> | |
7872 <modify-function signature="getWindowFrameMargins(double*,double*,double*,double*)const" access="private"/> | |
7873 | |
7874 <inject-code> | |
7875 <import-file name="typesystem_gui-java.java" quote-after-line="class QGraphicsWidget___" quote-before-line="}// class"/> | |
7876 <import-file name="typesystem_gui-java.java" quote-after-line="class Subclass_of_QGraphicsLayoutItem___" quote-before-line="}// class"/> | |
7877 </inject-code> | |
7878 --> | |
7879 <modify-function signature="initStyleOption(QStyleOption*)const"> | |
7880 <!-- | |
7881 <modify-argument index="1"> | |
7882 <replace-type modified-type="qt.gui.QStyleOption"/> | |
7883 <conversion-rule class="shell"> | |
7884 jobject %out = qtjambi_from_object(__jni_env, %in, "QStyleOption", "com/trolltech/qt/gui/", "Lcom_trolltech_qt_gui_QStyleOption_2", false); | |
7885 jobject __tmp = %out; | |
7886 </conversion-rule> | |
7887 <conversion-rule class="native"> | |
7888 QStyleOption *%out = (QStyleOption *) qtjambi_to_object(__jni_env, %in); | |
7889 </conversion-rule> | |
7890 </modify-argument> | |
7891 <modify-argument index="return"> | |
7892 <conversion-rule class="shell"> | |
7893 // Make sure the java object is not usable after this, since | |
7894 // the QStyleOption* may be deleted at any time. | |
7895 qtjambi_invalidate_object(__jni_env, __tmp); | |
7896 __tmp = 0; | |
7897 </conversion-rule> | |
7898 </modify-argument> | |
7899 --> | |
7900 </modify-function> | |
7901 | |
7902 <modify-function signature="paintWindowFrame(QPainter*,const QStyleOptionGraphicsItem*,QWidget*)"> | |
7903 <!-- | |
7904 <modify-argument index="2"> | |
7905 <conversion-rule class="shell"> | |
7906 jobject %out = qtjambi_from_object(__jni_env, %in, "QStyleOptionGraphicsItem", "com/trolltech/qt/gui/", "Lcom_trolltech_qt_gui_QStyleOption_2", true); | |
7907 </conversion-rule> | |
7908 <conversion-rule class="native"> | |
7909 const QStyleOptionGraphicsItem *%out = (QStyleOptionGraphicsItem *) qtjambi_to_object(__jni_env, %in); | |
7910 </conversion-rule> | |
7911 <replace-type modified-type="qt.gui.QStyleOptionGraphicsItem"/> | |
7912 </modify-argument> | |
7913 --> | |
7914 </modify-function> | |
7915 | |
7916 </object-type> | |
7917 <object-type name="QPlainTextDocumentLayout"/> | |
7918 <object-type name="QPlainTextEdit"> | |
7919 <modify-function signature="setDocument(QTextDocument*)"> | |
7920 <modify-argument index="1"> | |
7921 <reference-count action="set" variable-name="__rcDocument"/> | |
7922 </modify-argument> | |
7923 </modify-function> | |
7924 <modify-function signature="insertFromMimeData(const QMimeData*)"> | |
7925 <modify-argument index="1"> | |
7926 <reference-count action="ignore"/> | |
7927 </modify-argument> | |
7928 </modify-function> | |
7929 </object-type> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
7930 <object-type name="QPrintPreviewDialog"> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
7931 <modify-function signature="open(QObject *, const char *)" remove="all"/> <!-- # TODO --> |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
7932 </object-type> |
1 | 7933 <object-type name="QPrintPreviewWidget"/> |
7934 <object-type name="QStyledItemDelegate"> | |
7935 <modify-function signature="setItemEditorFactory(QItemEditorFactory*)"> | |
7936 <modify-argument index="1"> | |
7937 <reference-count action="set" variable-name="__rcItemEditorFactory"/> | |
7938 </modify-argument> | |
7939 </modify-function> | |
7940 <modify-function signature="setEditorData(QWidget*,QModelIndex)const"> | |
7941 <modify-argument index="1"> | |
7942 <reference-count action="ignore"/> | |
7943 </modify-argument> | |
7944 </modify-function> | |
7945 <modify-function signature="setModelData(QWidget*,QAbstractItemModel*,QModelIndex)const"> | |
7946 <modify-argument index="1"> | |
7947 <reference-count action="ignore"/> | |
7948 </modify-argument> | |
7949 </modify-function> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
7950 <!-- |
1 | 7951 <modify-function signature="initStyleOption(QStyleOptionViewItem*,QModelIndex)const"> |
7952 <modify-argument index="1"> | |
7953 <conversion-rule class="shell"> | |
7954 jobject %out = qtjambi_from_object(__jni_env, %in, "QStyleOptionViewItem", "com/trolltech/qt/gui/", "Lcom_trolltech_qt_gui_QStyleOption_2", false); | |
7955 </conversion-rule> | |
7956 <conversion-rule class="native"> | |
7957 QStyleOptionViewItem *%out = (QStyleOptionViewItem *) qtjambi_to_object(__jni_env, %in); | |
7958 </conversion-rule> | |
7959 <replace-type modified-type="qt.gui.QStyleOptionViewItem"/> | |
7960 </modify-argument> | |
7961 </modify-function> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
7962 --> |
1 | 7963 </object-type> |
7964 | |
7965 <interface-type name="QAccessibleFactoryInterface" java-name="QAbstractAccessibleFactory"/> | |
7966 <interface-type name="QIconEngineFactoryInterfaceV2" java-name="QAbstractIconEngineFactoryV2"/> | |
7967 <interface-type name="QImageIOHandlerFactoryInterface" java-name="QAbstractImageIOHandlerFactory"/> | |
7968 <interface-type name="QInputContextFactoryInterface" java-name="QAbstractInputContextFactory"/> | |
7969 <interface-type name="QStyleFactoryInterface" java-name="QAbstractStyleFactory"/> | |
7970 <interface-type name="QTextCodecFactoryInterface" java-name="QAbstractTextCodecFactory"/> | |
7971 <interface-type name="QPictureFormatInterface" java-name="QAbstractPictureFormat"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
7972 <!-- <modify-function signature="loadPicture(QString,QString,QPicture*)"> |
1 | 7973 <modify-argument index="3"> |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
7974 <replace-type modified-type="QPicture"/> |
1 | 7975 <conversion-rule class="shell"> |
7976 jobject %out = qtjambi_from_object(__jni_env, %in, "QPicture", "com/trolltech/qt/gui/", false); | |
7977 jobject __tmp = %out; | |
7978 </conversion-rule> | |
7979 <conversion-rule class="native"> | |
7980 QPicture *%out = (QPicture *) qtjambi_to_object(__jni_env, %in); | |
7981 </conversion-rule> | |
7982 </modify-argument> | |
7983 <modify-argument index="return"> | |
7984 <conversion-rule class="shell"> | |
7985 // Make sure the java object is not usable after this, since | |
7986 // the QPicture* may be deleted at any time. | |
7987 qtjambi_invalidate_object(__jni_env, __tmp); | |
7988 __tmp = 0; | |
7989 bool %out = (bool) %in; | |
7990 </conversion-rule> | |
7991 <conversion-rule class="native"> | |
7992 jboolean %out = (jboolean) %in; | |
7993 </conversion-rule> | |
7994 </modify-argument> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
22
diff
changeset
|
7995 </modify-function>--> |
1 | 7996 </interface-type> |
7997 | |
7998 <object-type name="QIconEnginePluginV2"/> | |
7999 <object-type name="QAccessiblePlugin"/> | |
8000 <object-type name="QImageIOPlugin"/> | |
8001 <object-type name="QInputContextPlugin"/> | |
8002 <object-type name="QPictureFormatPlugin"/> | |
8003 <object-type name="QStylePlugin"/> | |
8004 <object-type name="QTextCodecPlugin"/> | |
8005 | |
8006 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QPixmap::QPixmap', unmatched parameter type 'QPixmapData*'"/> | |
8007 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private&'"/> | |
8008 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private\*'"/> | |
8009 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private const\*'"/> | |
8010 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTextEngine\*'"/> | |
8011 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QFontEngine\*'"/> | |
8012 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QPixmap::Type'"/> | |
8013 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QInputDialog::Type'"/> | |
8014 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTextFrameLayoutData\*'"/> | |
8015 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QAbstractUndoItem\*'"/> | |
8016 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*QImageTextKeyLang*'"/> | |
8017 <suppress-warning text="WARNING(MetaJavaBuilder) :: non-public function '*' in interface '*'"/> | |
8018 <suppress-warning text="WARNING(MetaJavaBuilder) :: visibility of function '*' modified in class '*'"/> | |
8019 <suppress-warning text="WARNING(MetaJavaBuilder) :: hiding of function '*' in class '*'"/> | |
8020 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value 'QVector<FormatRange>()' of argument in function '*', class '*'"/> | |
8021 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value 'QVariantList()' of argument in function '*', class '*'"/> | |
8022 <suppress-warning text="WARNING(CppImplGenerator) :: protected function '*' in final class '*'"/> | |
8023 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QTextLayout::QTextLayout', unmatched parameter type 'QTextEngine*'"/> | |
8024 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value of argument in function 'doAction', class 'QAccessibleInterface'"/> | |
8025 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFileDialog::QFileDialog', unmatched parameter type 'QFileDialogArgs const&'"/> | |
8026 <suppress-warning text="WARNING(MetaJavaBuilder) :: unsupported default value '0., 0., 1000000000., 1000000000.' of argument in function 'update', class 'QAbstractTextDocumentLayout'"/> | |
8027 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWidget::windowSurface', unmatched return type 'QWindowSurface*'"/> | |
8028 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QWidget::setWindowSurface', unmatched parameter type 'QWindowSurface*'"/> | |
8029 <suppress-warning text="WARNING(MetaJavaBuilder) :: enum 'QStyleOption::StyleOptionType' does not have a type entry or is not an enum"/> | |
8030 <suppress-warning text="WARNING(MetaJavaBuilder) :: unhandled enum value: ~FlagMask in QMessageBox::StandardButton"/> | |
8031 <suppress-warning text="WARNING(MetaJavaBuilder) :: unmatched enum ~FlagMask"/> | |
8032 <suppress-warning text="WARNING(MetaInfoGenerator) :: class 'QGraphicsSceneEvent' inherits from polymorphic class 'QEvent', but has no polymorphic id set"/> | |
8033 <suppress-warning text="WARNING(MetaInfoGenerator) :: class 'QInputEvent' inherits from polymorphic class 'QEvent', but has no polymorphic id set"/> | |
8034 <suppress-warning text="WARNING(JavaGenerator) :: either add or remove specified for reference count variable '__rcMenus' in 'qt.gui.QMenu' but not both"/> | |
8035 <suppress-warning text="WARNING(JavaGenerator) :: either add or remove specified for reference count variable '__rcMenus' in 'qt.gui.QMenuBar' but not both"/> | |
8036 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QBrush' has equals operators but no qHash() function"/> | |
8037 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextFrame_iterator' has equals operators but no qHash() function"/> | |
8038 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QRegion' has equals operators but no qHash() function"/> | |
8039 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPolygon' has equals operators but no qHash() function"/> | |
8040 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextTableCell' has equals operators but no qHash() function"/> | |
8041 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextLength' has equals operators but no qHash() function"/> | |
8042 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPalette' has equals operators but no qHash() function"/> | |
8043 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextBlock_iterator' has equals operators but no qHash() function"/> | |
8044 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextBlock' has equals operators but no qHash() function"/> | |
8045 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextCursor' has equals operators but no qHash() function"/> | |
8046 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFont' has equals operators but no qHash() function"/> | |
8047 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QMatrix' has equals operators but no qHash() function"/> | |
8048 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPen' has equals operators but no qHash() function"/> | |
8049 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QColor' has equals operators but no qHash() function"/> | |
8050 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTransform' has equals operators but no qHash() function"/> | |
8051 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPainterPath_Element' has equals operators but no qHash() function"/> | |
8052 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPainterPath' has equals operators but no qHash() function"/> | |
8053 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QItemSelection' has equals operators but no qHash() function"/> | |
8054 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QKeySequence' has equals operators but no qHash() function"/> | |
8055 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QLine' has equals operators but no qHash() function"/> | |
8056 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPolygonF' has equals operators but no qHash() function"/> | |
8057 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QSizePolicy' has equals operators but no qHash() function"/> | |
8058 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextFragment' has equals operators but no qHash() function"/> | |
8059 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFontMetrics' has equals operators but no qHash() function"/> | |
8060 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QGradient' has equals operators but no qHash() function"/> | |
8061 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFontMetricsF' has equals operators but no qHash() function"/> | |
8062 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextFormat' has equals operators but no qHash() function"/> | |
8063 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QLineF' has equals operators but no qHash() function"/> | |
8064 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QImage' has equals operators but no qHash() function"/> | |
8065 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QNetworkCookie' has equals operators but no qHash() function"/> | |
8066 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QNetworkRequest' has equals operators but no qHash() function"/> | |
8067 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QPixmap::pixmapData', unmatched return type 'QPixmapData*'"/> | |
8068 <suppress-warning text="WARNING(MetaJavaBuilder) :: object type 'QAccessible' extended by interface type 'QAbstractAccessibleFactory'. The resulting API will be less expressive than the original."/> | |
8069 | |
8070 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTextOption_Tab' has equals operators but no qHash() function"/> | |
8071 <suppress-warning text="WARNING(MetaJavaBuilder) :: Rejected enum has no alternative...: QPalette::NColorRoles"/> | |
8072 | |
8073 </typesystem> |