Mercurial > projects > qtd
annotate generator/typesystem_core.xml @ 320:5c6455c4889b signals
remove rubbish
author | eldar_ins@eldar-laptop |
---|---|
date | Fri, 25 Dec 2009 22:08:25 +0500 |
parents | 8a0cf14e3419 |
children | 7a3c43424dca |
rev | line source |
---|---|
1 | 1 <?xml version="1.0" encoding="UTF-8"?> |
253 | 2 <typesystem package="qt.core" default-superclass="QtdObject"> |
1 | 3 <inject-code> |
4 qt.Utilities.loadQtLibrary("QtCore"); | |
5 </inject-code> | |
6 <template name="core.return_string_instead_of_char*"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
20
diff
changeset
|
7 public final string %FUNCTION_NAME() { |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
20
diff
changeset
|
8 return fromStringz(%FUNCTION_NAME_private()); |
1 | 9 } |
10 </template> | |
11 <template name="core.call_with_string_instead_of_char*"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
20
diff
changeset
|
12 public final void %FUNCTION_NAME(string %ARG_NAME) { |
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
20
diff
changeset
|
13 %FUNCTION_NAME(%ARG_NAME is null? null : toStringz(%ARG_NAME)); |
1 | 14 } |
15 </template> | |
16 <template name="core.private_function_return_self"> | |
17 public final %RETURN_TYPE %FUNCTION_NAME(%ARGUMENTS) { | |
18 %FUNCTION_NAME_private(%ARGUMENT_NAMES); | |
19 return this; | |
20 } | |
21 </template> | |
22 <template name="core.unary_other_type"> | |
23 <insert-template name="core.private_function_return_self"> | |
24 <replace from="%RETURN_TYPE" to="%OUT_TYPE"/> | |
25 <replace from="%ARGUMENTS" to="%IN_TYPE other"/> | |
26 <replace from="%ARGUMENT_NAMES" to="other"/> | |
27 </insert-template> | |
28 </template> | |
29 <template name="core.unary_self_type"> | |
30 <insert-template name="core.unary_other_type"> | |
31 <replace from="%IN_TYPE" to="%TYPE"/> | |
32 <replace from="%OUT_TYPE" to="%TYPE"/> | |
33 </insert-template> | |
34 </template> | |
35 <template name="core.operator_assign_self_type"> | |
36 <insert-template name="core.unary_self_type"> | |
37 <replace from="%FUNCTION_NAME" to="operator_assign"/> | |
38 </insert-template> | |
39 </template> | |
40 <template name="core.operator_assign_other_type"> | |
41 <insert-template name="core.unary_other_type"> | |
42 <replace from="%FUNCTION_NAME" to="operator_assign"/> | |
43 </insert-template> | |
44 </template> | |
45 <template name="core.call_through_with_byte[]_instead_of_char*_and_int"> | |
46 public final int %FUNCTION_NAME(byte data[]) { | |
47 QNativePointer np = new QNativePointer(QNativePointer.Type.Byte, data.length); | |
48 %COPY_IN | |
49 int returned = (int) %FUNCTION_NAME(np, data.length); | |
50 %COPY_OUT | |
51 return returned; | |
52 } | |
53 </template> | |
54 <template name="core.read_with_byte[]_instead_of_char*_and_int"> | |
55 <insert-template name="core.call_through_with_byte[]_instead_of_char*_and_int"> | |
56 <replace from="%COPY_IN" to=""/> | |
57 <replace from="%COPY_OUT" to="for (int i=0; i<returned; ++i) data[i] = np.byteAt(i);"/> | |
58 </insert-template> | |
59 </template> | |
60 <template name="core.write_with_byte[]_instead_of_char*_and_int"> | |
61 <insert-template name="core.call_through_with_byte[]_instead_of_char*_and_int"> | |
62 <replace from="%COPY_OUT" to=""/> | |
63 <replace from="%COPY_IN" to="for (int i=0; i<data.length; ++i) np.setByteAt(i, data[i]);"/> | |
64 </insert-template> | |
65 </template> | |
66 <template name="core.stream_operator_shift_right"> | |
67 public final %STREAM_TYPE operator_shift_right(%TYPE array[]) { | |
68 QNativePointer np = new QNativePointer(QNativePointer.Type.%NATIVEPOINTER_TYPE); | |
69 for (int i=0; i<array.length; ++i) { | |
70 operator_shift_right_%TYPE(np); | |
71 array[i] = np.%VALUE_FUNCTION(); | |
72 } | |
73 | |
74 return this; | |
75 } | |
76 </template> | |
77 <template name="core.convert_primitive_array_to_java"> | |
78 %JNITYPEArray %out = __jni_env->New%JAVATYPEArray((int) %len); | |
79 __jni_env->Set%JAVATYPEArrayRegion(%out, 0, (int) %len, (%JNITYPE *) %in); | |
80 %JNITYPE *__ptr = (%JNITYPE *) %in; | |
81 Q_UNUSED(__ptr); | |
82 %JNITYPEArray __array = %out; | |
83 Q_UNUSED(__array); | |
84 </template> | |
85 <template name="core.cleanup_convert_primitive_array_to_java"> | |
86 if (%len > 0) __jni_env->Get%JAVATYPEArrayRegion(__array, 0, %len, __ptr); | |
87 </template> | |
88 <template name="core.get_array_length"> | |
89 int %out = __jni_env->GetArrayLength((jarray) %ARRAY); | |
90 </template> | |
91 <template name="core.cleanup_convert_primitive_array_from_java"> | |
92 __jni_env->Release%JAVATYPEArrayElements((%JNITYPEArray) %1, (%JNITYPE *) __ptr, 0); | |
93 </template> | |
94 <template name="core.convert_primitive_array_from_java"> | |
95 %CTYPE *%out = (%CTYPE *) __jni_env->Get%JAVATYPEArrayElements((%JNITYPEArray) %in, 0); | |
96 %CTYPE *__ptr = %out; | |
97 </template> | |
98 | |
99 <primitive-type name="bool" java-name="bool" jni-name="jboolean"/> | |
100 <primitive-type name="double" jni-name="jdouble"/> | |
101 <primitive-type name="float" jni-name="jfloat"/> | |
102 | |
103 <primitive-type name="__int64" java-name="long" preferred-conversion="no" jni-name="jlong"/> | |
104 <primitive-type name="unsigned __int64" java-name="long" preferred-conversion="no" jni-name="jlong"/> | |
105 <primitive-type name="unsigned long long" java-name="ulong" preferred-conversion="no" jni-name="jlong"/> | |
288 | 106 <primitive-type name="qint64" java-name="long" preferred-conversion="no" jni-name="jlong"/> |
39 | 107 <primitive-type name="quintptr" preferred-conversion="no" java-name="quintptr" jni-name="quintptr" /> |
1 | 108 |
109 <primitive-type name="short" preferred-conversion="no" java-name="short" jni-name="jchar"/> | |
110 <primitive-type name="short" preferred-java-type="no" java-name="short" jni-name="jshort" /> | |
111 <primitive-type name="signed short" java-name="short" preferred-conversion="no" jni-name="jchar"/> | |
112 <primitive-type name="unsigned short" java-name="ushort" preferred-conversion="no" jni-name="jchar"/> | |
113 | |
114 <primitive-type name="char" java-name="char" jni-name="jbyte"/> | |
115 <primitive-type name="signed char" java-name="byte" preferred-conversion="no" jni-name="jbyte"/> | |
116 <primitive-type name="unsigned char" java-name="ubyte" preferred-conversion="no" jni-name="jbyte"/> | |
117 | |
118 <primitive-type name="int" jni-name="jint"/> | |
119 <primitive-type name="signed int" java-name="int" preferred-conversion="no" jni-name="jint"/> | |
120 <primitive-type name="uint" java-name="uint" jni-name="jint"/> | |
121 <primitive-type name="ulong" java-name="ulong" preferred-conversion="no" jni-name="jint"/> | |
122 <primitive-type name="unsigned int" java-name="uint" preferred-conversion="no" jni-name="jint"/> | |
123 <primitive-type name="signed long" java-name="int" preferred-conversion="no" jni-name="jint"/> | |
124 <primitive-type name="long" java-name="int" preferred-conversion="no" jni-name="jint"/> | |
125 <primitive-type name="unsigned long" java-name="uint" preferred-conversion="no" jni-name="jint"/> | |
126 | |
127 <primitive-type name="WId" java-name="long" preferred-conversion="no" jni-name="jlong"/> | |
128 <primitive-type name="Qt::HANDLE" java-name="long" preferred-conversion="no" jni-name="jlong"/> | |
129 <!-- <primitive-type name="QVariant::Type" java-name="int" preferred-conversion="no" jni-name="jint"/> --> | |
130 | |
131 <primitive-type name="QByteRef" java-name="byte" preferred-conversion="no" jni-name="jbyte"/> | |
132 <primitive-type name="QBitRef" java-name="bool" preferred-conversion="no" jni-name="jboolean"/> | |
133 | |
134 <primitive-type name="QBool" java-name="bool" preferred-conversion="no" jni-name="bool"/> | |
135 <primitive-type name="QVariant" java-name="QVariant" jni-name="jVariant"/> | |
136 | |
137 <primitive-type name="jobject" java-name="java.lang.Object" jni-name="jobject"/> | |
138 | |
139 <template name="core.multiply-devide-add-subtract"> | |
140 public final %TYPE multiply(double d) { operator_multiply_assign(d); return this; } | |
141 public final %TYPE divide(double d) { operator_divide_assign(d); return this; } | |
142 public final %TYPE add(%TYPE p) { operator_add_assign(p); return this; } | |
143 public final %TYPE subtract(%TYPE p) { operator_subtract_assign(p); return this; } | |
144 </template> | |
145 <template name="convert_qtjambifuture_to_native"> | |
146 QtJambiFuture %out = %in != 0 ? (const QtJambiFuture& ) *(QtJambiFuture *)qtjambi_from_jlong(%in) : QtJambiFuture(); | |
147 </template> | |
148 <template name="convert_futurevoid_to_native"> | |
149 QtJambiVoidFuture %out = %in != 0 ? (const QtJambiVoidFuture& ) *(QtJambiVoidFuture *)qtjambi_from_jlong(%in) : QtJambiVoidFuture(); | |
150 </template> | |
151 <template name="future_function_in_futurewatcher"> | |
152 extern "C" JNIEXPORT jobject JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_core_QFutureWatcher__1_1qt_1future__J) | |
153 (JNIEnv *__jni_env, | |
154 jobject, | |
155 jlong __this_nativeId) | |
156 { | |
157 QTJAMBI_DEBUG_TRACE("(native) entering: QFutureWatcher::future() const"); | |
158 Q_UNUSED(__jni_env) | |
159 Q_UNUSED(__this_nativeId) | |
160 QtJambiShell_QFutureWatcher *__qt_this = (QtJambiShell_QFutureWatcher *) qtjambi_from_jlong(__this_nativeId); | |
161 QTJAMBI_EXCEPTION_CHECK(__jni_env); | |
162 Q_ASSERT(__qt_this); | |
163 QtJambiFuture __qt_return_value = __qt_this->future(); | |
164 | |
165 jobject __java_return_value = qtjambi_from_object(__jni_env, &__qt_return_value, "QFuture", "com/trolltech/qt/core/", true); | |
166 | |
167 QTJAMBI_DEBUG_TRACE("(native) -> leaving: QFutureWatcher::future() const"); | |
168 return __java_return_value; | |
169 } | |
170 </template> | |
171 <template name="futures_function_in_futuresynchronizer"> | |
172 extern "C" JNIEXPORT jobject JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_core_QFutureSynchronizer__1_1qt_1futures__J) | |
173 (JNIEnv *__jni_env, | |
174 jobject, | |
175 jlong __this_nativeId) | |
176 { | |
177 QTJAMBI_DEBUG_TRACE("(native) entering: QFutureSynchronizer::futures() const"); | |
178 Q_UNUSED(__jni_env) | |
179 Q_UNUSED(__this_nativeId) | |
180 QtJambiFutureSynchronizer *__qt_this = (QtJambiFutureSynchronizer *) qtjambi_from_jlong(__this_nativeId); | |
181 QTJAMBI_EXCEPTION_CHECK(__jni_env); | |
182 Q_ASSERT(__qt_this); | |
183 QList<QtJambiFuture> __qt_return_value = __qt_this->futures(); | |
184 | |
185 | |
186 jobject __java_return_value = qtjambi_arraylist_new(__jni_env, __qt_return_value.size()); | |
187 QList<QtJambiFuture> ::const_iterator __qt_return_value_end_it = __qt_return_value.constEnd(); | |
188 for (QList<QtJambiFuture> ::const_iterator __qt_return_value_it = __qt_return_value.constBegin(); __qt_return_value_it != __qt_return_value_end_it; ++__qt_return_value_it) { | |
189 QtJambiFuture __qt_tmp = *__qt_return_value_it; | |
190 jobject __java_tmp = qtjambi_from_object(__jni_env, &__qt_tmp, "QFuture", "com/trolltech/qt/core/", true); | |
191 QTJAMBI_EXCEPTION_CHECK(__jni_env); | |
192 qtjambi_collection_add(__jni_env, __java_return_value, __java_tmp); | |
193 } | |
194 QTJAMBI_EXCEPTION_CHECK(__jni_env); | |
195 QTJAMBI_EXCEPTION_CHECK(__jni_env); | |
196 QTJAMBI_DEBUG_TRACE("(native) -> leaving: QFutureSynchronizer::futures() const"); | |
197 return __java_return_value; | |
198 } | |
199 </template> | |
200 | |
201 <rejection class="*" function-name="d_func"/> | |
202 <rejection class="*" function-name="data_ptr"/> | |
203 <rejection class="*" function-name="detach"/> | |
204 <rejection class="*" function-name="isDetached"/> | |
205 | |
206 <rejection class="*" field-name="d_ptr"/> | |
207 <rejection class="*" field-name="d"/> | |
208 | |
209 <rejection class="" enum-name="QtValidLicenseForTestModule"/> | |
210 | |
211 <rejection class="" enum-name="QtValidLicenseForDBusModule"/> | |
212 <rejection class="" enum-name="QtValidLicenseForSqlModule"/> | |
213 <rejection class="" enum-name="QtValidLicenseForOpenGLModule"/> | |
214 <rejection class="" enum-name="enum_1"/> | |
215 <rejection class="" enum-name="QtValidLicenseForXmlModule"/> | |
216 <rejection class="" enum-name="QtValidLicenseForXmlPatternsModule"/> | |
217 <rejection class="" enum-name="QtValidLicenseForActiveQtModule"/> | |
218 <rejection class="" enum-name="QtValidLicenseForCoreModule"/> | |
219 <rejection class="" enum-name="QtValidLicenseForQt3SupportLightModule"/> | |
220 <rejection class="" enum-name="QtValidLicenseForQt3SupportModule"/> | |
221 <rejection class="" enum-name="QtValidLicenseForNetworkModule"/> | |
222 <rejection class="" enum-name="QtValidLicenseForSvgModule"/> | |
223 <rejection class="" enum-name="QtValidLicenseForGuiModule"/> | |
224 <rejection class="" enum-name="QtValidLicenseForScriptModule"/> | |
225 <rejection class="" enum-name="QtValidLicenseForHelpModule"/> | |
226 <rejection class="QtConcurrent" enum-name="enum_1"/> | |
227 <rejection class="QtConcurrent" function-name="operator|"/> | |
228 | |
229 <rejection class="QFuture::const_iterator"/> | |
230 <rejection class="QFutureInterface"/> | |
231 <rejection class="QFutureInterfaceBase"/> | |
232 <rejection class="QtConcurrent::BlockSizeManager"/> | |
233 <rejection class="QtConcurrent::ConstMemberFunctionWrapper"/> | |
234 <rejection class="QtConcurrent::Exception"/> | |
235 <rejection class="QtConcurrent::FilterKernel"/> | |
236 <rejection class="QtConcurrent::FilteredEachKernel"/> | |
237 <rejection class="QtConcurrent::FilteredReducedKernel"/> | |
238 <rejection class="QtConcurrent::FunctionWrapper0"/> | |
239 <rejection class="QtConcurrent::FunctionWrapper1"/> | |
240 <rejection class="QtConcurrent::FunctionWrapper2"/> | |
241 <rejection class="QtConcurrent::IntermediateResults"/> | |
242 <rejection class="QtConcurrent::IterateKernel"/> | |
243 <rejection class="QtConcurrent::MapKernel"/> | |
244 <rejection class="QtConcurrent::MappedEachKernel"/> | |
245 <rejection class="QtConcurrent::MappedReducedKernel"/> | |
246 <rejection class="QtConcurrent::Median"/> | |
247 <rejection class="QtConcurrent::MemberFunctionWrapper"/> | |
248 <rejection class="QtConcurrent::MemberFunctionWrapper1"/> | |
249 <rejection class="QtConcurrent::ReduceKernel"/> | |
250 <rejection class="QtConcurrent::ResultItem"/> | |
251 <rejection class="QtConcurrent::ResultIterator"/> | |
252 <rejection class="QtConcurrent::ResultIteratorBase"/> | |
253 <rejection class="QtConcurrent::ResultReporter"/> | |
254 <rejection class="QtConcurrent::ResultStore"/> | |
255 <rejection class="QtConcurrent::ResultStoreBase"/> | |
256 <rejection class="QtConcurrent::RunFunctionTask"/> | |
257 <rejection class="QtConcurrent::RunFunctionTaskBase"/> | |
258 <rejection class="QtConcurrent::SelectSpecialization"/> | |
259 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall0"/> | |
260 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall1"/> | |
261 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall2"/> | |
262 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall3"/> | |
263 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall4"/> | |
264 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionCall5"/> | |
265 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall0"/> | |
266 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall1"/> | |
267 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall2"/> | |
268 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall3"/> | |
269 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall4"/> | |
270 <rejection class="QtConcurrent::SelectStoredConstMemberFunctionPointerCall5"/> | |
271 <rejection class="QtConcurrent::SelectStoredFunctorCall0"/> | |
272 <rejection class="QtConcurrent::SelectStoredFunctorCall1"/> | |
273 <rejection class="QtConcurrent::SelectStoredFunctorCall2"/> | |
274 <rejection class="QtConcurrent::SelectStoredFunctorCall3"/> | |
275 <rejection class="QtConcurrent::SelectStoredFunctorCall4"/> | |
276 <rejection class="QtConcurrent::SelectStoredFunctorCall5"/> | |
277 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall0"/> | |
278 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall1"/> | |
279 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall2"/> | |
280 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall3"/> | |
281 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall4"/> | |
282 <rejection class="QtConcurrent::SelectStoredFunctorPointerCall5"/> | |
283 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall0"/> | |
284 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall1"/> | |
285 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall2"/> | |
286 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall3"/> | |
287 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall4"/> | |
288 <rejection class="QtConcurrent::SelectStoredMemberFunctionCall5"/> | |
289 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall0"/> | |
290 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall1"/> | |
291 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall2"/> | |
292 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall3"/> | |
293 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall4"/> | |
294 <rejection class="QtConcurrent::SelectStoredMemberFunctionPointerCall5"/> | |
295 <rejection class="QtConcurrent::SequenceHolder1"/> | |
296 <rejection class="QtConcurrent::SequenceHolder2"/> | |
297 <rejection class="QtConcurrent::StoredConstMemberFunctionCall0"/> | |
298 <rejection class="QtConcurrent::StoredConstMemberFunctionCall1"/> | |
299 <rejection class="QtConcurrent::StoredConstMemberFunctionCall2"/> | |
300 <rejection class="QtConcurrent::StoredConstMemberFunctionCall3"/> | |
301 <rejection class="QtConcurrent::StoredConstMemberFunctionCall4"/> | |
302 <rejection class="QtConcurrent::StoredConstMemberFunctionCall5"/> | |
303 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall0"/> | |
304 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall1"/> | |
305 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall2"/> | |
306 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall3"/> | |
307 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall4"/> | |
308 <rejection class="QtConcurrent::StoredConstMemberFunctionPointerCall5"/> | |
309 <rejection class="QtConcurrent::StoredFunctorCall0"/> | |
310 <rejection class="QtConcurrent::StoredFunctorCall1"/> | |
311 <rejection class="QtConcurrent::StoredFunctorCall2"/> | |
312 <rejection class="QtConcurrent::StoredFunctorCall3"/> | |
313 <rejection class="QtConcurrent::StoredFunctorCall4"/> | |
314 <rejection class="QtConcurrent::StoredFunctorCall5"/> | |
315 <rejection class="QtConcurrent::StoredFunctorPointerCall0"/> | |
316 <rejection class="QtConcurrent::StoredFunctorPointerCall1"/> | |
317 <rejection class="QtConcurrent::StoredFunctorPointerCall2"/> | |
318 <rejection class="QtConcurrent::StoredFunctorPointerCall3"/> | |
319 <rejection class="QtConcurrent::StoredFunctorPointerCall4"/> | |
320 <rejection class="QtConcurrent::StoredFunctorPointerCall5"/> | |
321 <rejection class="QtConcurrent::StoredMemberFunctionCall0"/> | |
322 <rejection class="QtConcurrent::StoredMemberFunctionCall1"/> | |
323 <rejection class="QtConcurrent::StoredMemberFunctionCall2"/> | |
324 <rejection class="QtConcurrent::StoredMemberFunctionCall3"/> | |
325 <rejection class="QtConcurrent::StoredMemberFunctionCall4"/> | |
326 <rejection class="QtConcurrent::StoredMemberFunctionCall5"/> | |
327 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall0"/> | |
328 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall1"/> | |
329 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall2"/> | |
330 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall3"/> | |
331 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall4"/> | |
332 <rejection class="QtConcurrent::StoredMemberFunctionPointerCall5"/> | |
333 <rejection class="QtConcurrent::ThreadEngine"/> | |
334 <rejection class="QtConcurrent::ThreadEngineBase"/> | |
335 <rejection class="QtConcurrent::ThreadEngineSemaphore"/> | |
336 <rejection class="QtConcurrent::ThreadEngineStarter"/> | |
337 <rejection class="QtConcurrent::ThreadEngineStarterBase"/> | |
338 <rejection class="QtConcurrent::UnhandledException"/> | |
339 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall0"/> | |
340 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall1"/> | |
341 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall2"/> | |
342 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall3"/> | |
343 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall4"/> | |
344 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionCall5"/> | |
345 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall0"/> | |
346 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall1"/> | |
347 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall2"/> | |
348 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall3"/> | |
349 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall4"/> | |
350 <rejection class="QtConcurrent::VoidStoredConstMemberFunctionPointerCall5"/> | |
351 <rejection class="QtConcurrent::VoidStoredFunctorCall0"/> | |
352 <rejection class="QtConcurrent::VoidStoredFunctorCall1"/> | |
353 <rejection class="QtConcurrent::VoidStoredFunctorCall2"/> | |
354 <rejection class="QtConcurrent::VoidStoredFunctorCall3"/> | |
355 <rejection class="QtConcurrent::VoidStoredFunctorCall4"/> | |
356 <rejection class="QtConcurrent::VoidStoredFunctorCall5"/> | |
357 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall0"/> | |
358 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall1"/> | |
359 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall2"/> | |
360 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall3"/> | |
361 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall4"/> | |
362 <rejection class="QtConcurrent::VoidStoredFunctorPointerCall5"/> | |
363 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall0"/> | |
364 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall1"/> | |
365 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall2"/> | |
366 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall3"/> | |
367 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall4"/> | |
368 <rejection class="QtConcurrent::VoidStoredMemberFunctionCall5"/> | |
369 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall0"/> | |
370 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall1"/> | |
371 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall2"/> | |
372 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall3"/> | |
373 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall4"/> | |
374 <rejection class="QtConcurrent::VoidStoredMemberFunctionPointerCall5"/> | |
375 | |
376 <rejection class="QModelIndex"/> | |
377 <rejection class="QSize"/> | |
378 <rejection class="QSizeF"/> | |
379 <rejection class="QPoint"/> | |
380 <rejection class="QPointF"/> | |
6 | 381 <rejection class="QRect"/> |
382 <rejection class="QRectF"/> | |
2 | 383 <rejection class="QLine"/> |
384 <rejection class="QLineF"/> | |
1 | 385 |
386 <rejection class="QMdi"/> | |
387 <rejection class="stdext"/> | |
388 <rejection class="QAlgorithmsPrivate"/> | |
389 <rejection class="QAtomic"/> | |
390 <rejection class="QAtomicPointer"/> | |
391 <rejection class="QAtomicInt"/> | |
392 <rejection class="QBasicAtomicInt"/> | |
393 <rejection class="QBasicAtomic"/> | |
394 <rejection class="QBasicAtomicPointer"/> | |
395 <rejection class="QBitRef"/> | |
396 <rejection class="QCache"/> | |
397 <rejection class="QCharRef"/> | |
398 <rejection class="QDebug"/> | |
399 <rejection class="QExplicitlySharedDataPointer"/> | |
400 <rejection class="QFlag"/> | |
401 <rejection class="QFlags"/> | |
402 <rejection class="QForeachContainer"/> | |
403 <rejection class="QForeachContainerBase"/> | |
404 <rejection class="QGlobalStatic"/> | |
405 <rejection class="QHash"/> | |
406 <rejection class="QHashData"/> | |
407 <rejection class="QHashDummyNode"/> | |
408 <rejection class="QHashDummyNode"/> | |
409 <rejection class="QHashDummyNode"/> | |
410 <rejection class="QHashDummyNode"/> | |
411 <rejection class="QHashDummyNode"/> | |
412 <rejection class="QHashDummyValue"/> | |
413 <rejection class="QHashIterator"/> | |
414 <rejection class="QHashNode"/> | |
415 <rejection class="QHashNode"/> | |
416 <rejection class="QHashNode"/> | |
417 <rejection class="QHashNode"/> | |
418 <rejection class="QHashNode"/> | |
419 <rejection class="QInternal"/> | |
420 <rejection class="QLibrary"/> | |
421 <rejection class="QLinkedList"/> | |
422 <rejection class="QLinkedListData"/> | |
423 <rejection class="QLinkedListIterator"/> | |
424 <rejection class="QLinkedListNode"/> | |
425 <rejection class="QListData"/> | |
426 <rejection class="QListIterator"/> | |
427 <rejection class="QMap"/> | |
428 <rejection class="QMapData"/> | |
429 <rejection class="QMapIterator"/> | |
430 <rejection class="QMetaType"/> | |
431 <rejection class="QMetaTypeId"/> | |
432 <rejection class="QMetaProperty"/> | |
433 <rejection class="QMetaObject"/> | |
434 <rejection class="QMetaClassInfo"/> | |
435 <rejection class="QMetaMethod"/> | |
436 <rejection class="QMetaEnum"/> | |
437 <rejection class="QMultiHash"/> | |
438 <rejection class="QMultiMap"/> | |
439 <rejection class="QMutableHashIterator"/> | |
440 <rejection class="QMutableLinkedListIterator"/> | |
441 <rejection class="QMutableListIterator"/> | |
442 <rejection class="QMutableMapIterator"/> | |
443 <rejection class="QMutableVectorIterator"/> | |
444 <rejection class="QMutexLocker"/> | |
445 <rejection class="QNoImplicitBoolCast"/> | |
446 <rejection class="QObjectCleanupHandler"/> | |
447 <rejection class="QObjectData"/> | |
448 <rejection class="QObjectUserData"/> | |
449 <rejection class="QPluginLoader"/> | |
450 <rejection class="QPointer"/> | |
451 <rejection class="QReadLocker"/> | |
452 <rejection class="QResource"/> | |
453 <rejection class="QSet"/> | |
454 <rejection class="QSetIterator"/> | |
455 <rejection class="QSharedData"/> | |
456 <rejection class="QSharedDataPointer"/> | |
457 <rejection class="QStack"/> | |
458 <rejection class="QSysInfo"/> | |
459 <rejection class="QTextStreamManipulator"/> | |
460 <rejection class="QThreadStorage"/> | |
461 <rejection class="QThreadStorageData"/> | |
462 <rejection class="QTypeInfo"/> | |
463 <rejection class="QTypeInfo"/> | |
464 <rejection class="QVFbKeyData"/> | |
465 <rejection class="QVariantComparisonHelper"/> | |
466 <rejection class="QVectorData"/> | |
467 <rejection class="QVectorIterator"/> | |
468 <rejection class="QVectorTypedData"/> | |
469 <rejection class="QWriteLocker"/> | |
470 <rejection class="QtPrivate"/> | |
471 <rejection class="qGreater"/> | |
472 <rejection class="qLess"/> | |
473 <rejection class="std"/> | |
474 <rejection class="QAbstractFileEngine::ExtensionOption"/> | |
475 <rejection class="QAbstractFileEngine::ExtensionReturn"/> | |
476 <rejection class="QByteArray::Data"/> | |
477 <rejection class="QIntForType"/> | |
478 <rejection class="QList::Node"/> | |
479 <rejection class="QList::const_iterator"/> | |
480 <rejection class="QList::iterator"/> | |
481 <rejection class="QMetaTypeId2"/> | |
482 <rejection class="QMutableSetIterator"/> | |
483 <rejection class="QSubString"/> | |
484 <rejection class="QUintForType"/> | |
485 <rejection class="QtConcurrent::internal"/> | |
486 | |
487 <rejection class="QLocale::Data"/> | |
488 <rejection class="QGlobalStaticDeleter"/> | |
489 <rejection class="QSharedMemory"/> <!-- Temporarily until we know how to implement it in Java --> | |
490 <rejection class="QVarLengthArray"/> | |
491 | |
492 <!-- DBus --> | |
493 <rejection class="QDBusAbstractAdaptor"/> | |
494 <rejection class="QDBusAbstractInterface"/> | |
495 <rejection class="QDBusArgument"/> | |
496 <rejection class="QDBusConnection"/> | |
497 <rejection class="QDBusConnectionInterface"/> | |
498 <rejection class="QDBusContext"/> | |
499 <rejection class="QDBusError"/> | |
500 <rejection class="QDBusInterface"/> | |
501 <rejection class="QDBusMessage"/> | |
502 <rejection class="QDBusMetaType"/> | |
503 <rejection class="QDBusObjectPath"/> | |
504 <rejection class="QDBusReply"/> | |
505 <rejection class="QDBusServer"/> | |
506 <rejection class="QDBusSignature"/> | |
507 <rejection class="QDBusVariant"/> | |
508 | |
509 <rejection class="_Revbidit"/> | |
510 <rejection class="_complex"/> | |
511 <rejection class="_exception"/> | |
512 <rejection class="_iobuf"/> | |
513 <rejection class="_stat"/> | |
514 <rejection class="_wfinddata_t"/> | |
515 <rejection class="exception"/> | |
516 <rejection class="istreambuf_iterator"/> | |
517 <rejection class="ostreambuf_iterator"/> | |
518 <rejection class="reverse_bidirectional_iterator"/> | |
519 <rejection class="reverse_iterator"/> | |
520 <rejection class="stat"/> | |
521 <rejection class="tm"/> | |
522 | |
523 <rejection class="QAbstractEventDispatcher" function-name="filterEvent"/> | |
524 <rejection class="QAbstractEventDispatcher" function-name="setEventFilter"/> | |
525 <rejection class="QAbstractFileEngine" function-name="beginEntryList"/> | |
526 <rejection class="QAbstractFileEngine" function-name="endEntryList"/> | |
527 <rejection class="QAbstractFileEngine" function-name="extension"/> | |
528 <rejection class="QCoreApplication" function-name="compressEvent"/> | |
529 <rejection class="QCoreApplication" function-name="eventFilter"/> | |
530 <rejection class="QCoreApplication" function-name="filterEvent"/> | |
531 <rejection class="QCoreApplication" function-name="setEventFilter"/> | |
532 <rejection class="QFile" function-name="setDecodingFunction"/> | |
533 <rejection class="QFile" function-name="setEncodingFunction"/> | |
534 <rejection class="QList" function-name="begin"/> | |
535 <rejection class="QList" function-name="constBegin"/> | |
536 <rejection class="QList" function-name="constEnd"/> | |
537 <rejection class="QList" function-name="end"/> | |
538 <rejection class="QList" function-name="erase"/> | |
539 <rejection class="QList" function-name="erase"/> | |
540 <rejection class="QList" function-name="free"/> | |
541 <rejection class="QList" function-name="fromList"/> | |
542 <rejection class="QList" function-name="fromSet"/> | |
543 <rejection class="QList" function-name="fromSet"/> | |
544 <rejection class="QList" function-name="insert"/> | |
545 <rejection class="QList" function-name="malloc"/> | |
546 <rejection class="QList" function-name="node_construct"/> | |
547 <rejection class="QList" function-name="node_copy"/> | |
548 <rejection class="QList" function-name="node_destruct"/> | |
549 <rejection class="QList" function-name="toSet"/> | |
550 <rejection class="QObject" function-name="receivers"/> | |
551 <rejection class="QObject" function-name="findChild"/> | |
552 <rejection class="QObject" function-name="findChildren"/> | |
553 <rejection class="QObject" function-name="setUserData"/> | |
554 <rejection class="QObject" function-name="userData"/> | |
555 <rejection class="QObject" function-name="destroyed"/> | |
556 <rejection class="QObject" function-name="connect"/> | |
557 <rejection class="QObject" function-name="connectNotify"/> | |
558 <rejection class="QObject" function-name="disconnect"/> | |
559 <rejection class="QObject" function-name="disconnectNotify"/> | |
560 <rejection class="QObject" function-name="registerUserData"/> | |
561 <rejection class="QObject" function-name="sender"/> | |
562 <rejection class="QProcess" function-name="pid"/> | |
563 <rejection class="QRegion" function-name="cleanUp"/> | |
564 <rejection class="QSettings" function-name="registerFormat"/> | |
565 <rejection class="QVector" function-name="back"/> | |
566 <rejection class="QVector" function-name="begin"/> | |
567 <rejection class="QVector" function-name="constBegin"/> | |
568 <rejection class="QVector" function-name="constEnd"/> | |
569 <rejection class="QVector" function-name="end"/> | |
570 <rejection class="QVector" function-name="erase"/> | |
571 <rejection class="QVector" function-name="free"/> | |
572 <rejection class="QVector" function-name="front"/> | |
573 <rejection class="QVector" function-name="insert"/> | |
574 <rejection class="QVector" function-name="malloc"/> | |
575 <rejection class="QVector" function-name="alloc"/> | |
576 <rejection class="QVector" function-name="operator+="/> | |
577 <rejection class="QAbstractFileEngineIterator" function-name="entryInfo"/> | |
578 | |
579 <rejection class="QAbstractFileEngineIterator" enum-name="EntryInfoType"/> | |
580 <rejection class="QDataStream" enum-name="ByteOrder"/> | |
581 | |
582 | |
583 <namespace-type name="Qt"> | |
584 <modify-function signature="codecForHtml(const QByteArray &)" remove="all"/> | |
585 <modify-function signature="mightBeRichText(const QString &)" remove="all"/> | |
586 <modify-function signature="escape(const QString&)" remove="all"/> | |
587 <modify-function signature="convertFromPlainText(const QString &, Qt::WhiteSpaceMode)" remove="all"/> | |
588 </namespace-type> | |
589 | |
590 | |
591 <enum-type name="QtMsgType"> | |
592 <reject-enum-value name="QtSystemMsg"/> | |
593 </enum-type> | |
594 | |
595 <enum-type name="QReadWriteLock::RecursionMode"/> | |
596 <enum-type name="QSystemSemaphore::AccessMode"/> | |
597 <enum-type name="QSystemSemaphore::SystemSemaphoreError"/> | |
598 <enum-type name="QTextBoundaryFinder::BoundaryReason" flags="QTextBoundaryFinder::BoundaryReasons"/> | |
599 <enum-type name="QTextBoundaryFinder::BoundaryType"/> | |
600 <enum-type name="QAbstractFileEngine::Extension" extensible="yes"/> | |
601 <enum-type name="QAbstractFileEngine::FileFlag" flags="QAbstractFileEngine::FileFlags"/> | |
602 <enum-type name="QAbstractFileEngine::FileName"/> | |
603 <enum-type name="QAbstractFileEngine::FileOwner"/> | |
604 <enum-type name="QAbstractFileEngine::FileTime"/> | |
605 <enum-type name="QDataStream::Status"/> | |
606 <enum-type name="QDir::Filter" flags="QDir::Filters"/> | |
607 <enum-type name="QEvent::Type" extensible="yes"> | |
608 <reject-enum-value name="ApplicationActivated"/> | |
609 <reject-enum-value name="ApplicationDeactivated"/> | |
610 </enum-type> | |
611 <enum-type name="QEventLoop::ProcessEventsFlag" flags="QEventLoop::ProcessEventsFlags"/> | |
612 <enum-type name="QFile::FileError"/> | |
613 <enum-type name="QFile::MemoryMapFlags"/> | |
614 <enum-type name="QFile::Permission" flags="QFile::Permissions"/> | |
615 <enum-type name="QIODevice::OpenModeFlag" flags="QIODevice::OpenMode"/> | |
616 <enum-type name="QLibraryInfo::LibraryLocation"/> | |
617 <enum-type name="QLocale::FormatType"/> | |
618 <enum-type name="QLocale::NumberOption" flags="QLocale::NumberOptions"/> | |
619 <enum-type name="QLocale::MeasurementSystem"/> | |
620 <enum-type name="QMutex::RecursionMode"/> | |
621 <enum-type name="QProcess::ExitStatus"/> | |
622 <enum-type name="QProcess::ProcessChannel"/> | |
623 <enum-type name="QProcess::ProcessChannelMode"/> | |
624 <enum-type name="QProcess::ProcessError"/> | |
625 <enum-type name="QProcess::ProcessState"/> | |
626 <enum-type name="QRegExp::CaretMode"/> | |
627 <enum-type name="QRegExp::PatternSyntax"/> | |
628 <enum-type name="QSettings::Format"/> | |
629 <enum-type name="QSettings::Scope"/> | |
630 <enum-type name="QSettings::Status"/> | |
631 <enum-type name="QSocketNotifier::Type"/> | |
632 <enum-type name="QSystemLocale::QueryType"/> | |
633 <enum-type name="QTextCodec::ConversionFlag" flags="QTextCodec::ConversionFlags"/> | |
634 <enum-type name="QTextStream::FieldAlignment"/> | |
635 <enum-type name="QTextStream::NumberFlag" flags="QTextStream::NumberFlags"/> | |
636 <enum-type name="QTextStream::RealNumberNotation"/> | |
637 <enum-type name="QTextStream::Status"/> | |
638 <enum-type name="QTimeLine::CurveShape"/> | |
639 <enum-type name="QTimeLine::Direction"/> | |
640 <enum-type name="QTimeLine::State"/> | |
641 <enum-type name="QUrl::FormattingOption" flags="QUrl::FormattingOptions"/> | |
642 <enum-type name="QUrl::ParsingMode"/> | |
643 <enum-type name="QUuid::Variant"/> | |
644 <enum-type name="QUuid::Version"/> | |
645 <enum-type name="Qt::SizeHint"/> | |
646 <enum-type name="Qt::SizeMode"/> | |
647 <enum-type name="Qt::WindowFrameSection"/> | |
648 <enum-type name="Qt::Axis"/> | |
649 <enum-type name="Qt::AnchorAttribute"/> | |
650 <enum-type name="Qt::ApplicationAttribute"/> | |
651 <enum-type name="Qt::ArrowType"/> | |
652 <enum-type name="Qt::AspectRatioMode"/> | |
653 <enum-type name="Qt::BGMode"/> | |
654 <enum-type name="Qt::BrushStyle"/> | |
655 <enum-type name="Qt::CaseSensitivity"/> | |
656 <enum-type name="Qt::CheckState"/> | |
657 <enum-type name="Qt::ClipOperation"/> | |
658 <enum-type name="Qt::ConnectionType"/> | |
659 <enum-type name="Qt::ContextMenuPolicy"/> | |
660 <enum-type name="Qt::Corner"/> | |
661 <enum-type name="Qt::DayOfWeek"/> | |
662 <enum-type name="Qt::DockWidgetAreaSizes"/> | |
663 <enum-type name="Qt::DropAction" flags="Qt::DropActions"/> | |
664 <enum-type name="Qt::FillRule"/> | |
665 <enum-type name="Qt::FocusPolicy"/> | |
666 <enum-type name="Qt::FocusReason"/> | |
667 <enum-type name="Qt::GlobalColor"/> | |
668 <enum-type name="Qt::HitTestAccuracy"/> | |
669 <enum-type name="Qt::InputMethodQuery"/> | |
670 <enum-type name="Qt::ItemFlag" flags="Qt::ItemFlags"/> | |
671 <enum-type name="Qt::ItemSelectionMode"/> | |
672 <enum-type name="Qt::KeyboardModifier" flags="Qt::KeyboardModifiers"/> | |
673 <enum-type name="Qt::LayoutDirection"/> | |
674 <enum-type name="Qt::MatchFlag" flags="Qt::MatchFlags"/> | |
675 <enum-type name="Qt::Modifier"/> | |
676 <enum-type name="Qt::MouseButton" flags="Qt::MouseButtons"/> | |
677 <enum-type name="Qt::Orientation" flags="Qt::Orientations"/> | |
678 <enum-type name="Qt::PenCapStyle"/> | |
679 <enum-type name="Qt::PenJoinStyle"/> | |
680 <enum-type name="Qt::PenStyle"/> | |
681 <enum-type name="Qt::ScrollBarPolicy"/> | |
682 <enum-type name="Qt::ShortcutContext"/> | |
683 <enum-type name="Qt::SortOrder"/> | |
684 <enum-type name="Qt::TextElideMode"/> | |
685 <enum-type name="Qt::TextFlag"/> | |
686 <enum-type name="Qt::TextFormat"/> | |
687 <enum-type name="Qt::TextInteractionFlag" flags="Qt::TextInteractionFlags"/> | |
688 <enum-type name="Qt::TimeSpec"/> | |
689 <enum-type name="Qt::ToolBarAreaSizes"/> | |
690 <enum-type name="Qt::ToolButtonStyle"/> | |
691 <enum-type name="Qt::TransformationMode"/> | |
692 <enum-type name="Qt::UIEffect"/> | |
693 <enum-type name="Qt::WhiteSpaceMode"/> | |
694 <enum-type name="Qt::WindowModality"/> | |
695 <enum-type name="Qt::WindowState" flags="Qt::WindowStates"/> | |
696 <enum-type name="Qt::WindowType" flags="Qt::WindowFlags"/> | |
697 <enum-type name="QDirIterator::IteratorFlag" flags="QDirIterator::IteratorFlags"/> | |
698 <enum-type name="Qt::EventPriority"/> | |
699 <enum-type name="Qt::MaskMode"/> | |
700 <enum-type name="QCryptographicHash::Algorithm"/> | |
701 | |
702 <enum-type name="QtConcurrent::ReduceOption" flags="QtConcurrent::ReduceOptions"/> | |
703 <enum-type name="QtConcurrent::ThreadFunctionResult"/> | |
704 | |
705 <enum-type name="QCoreApplication::Encoding"> | |
706 <reject-enum-value name="DefaultCodec"/> | |
707 </enum-type> | |
708 | |
709 <enum-type name="Qt::AlignmentFlag" flags="Qt::Alignment"> | |
710 <reject-enum-value name="AlignLeading"/> | |
711 <reject-enum-value name="AlignTrailing"/> | |
712 </enum-type> | |
713 | |
714 <enum-type name="Qt::CursorShape"> | |
715 <reject-enum-value name="LastCursor"/> | |
716 </enum-type> | |
717 | |
718 <enum-type name="Qt::DateFormat"> | |
719 <reject-enum-value name="LocalDate"/> | |
720 </enum-type> | |
721 | |
722 | |
723 <enum-type name="Qt::ItemDataRole" force-integer="yes"> | |
724 <reject-enum-value name="BackgroundColorRole"/> | |
725 <reject-enum-value name="TextColorRole"/> | |
726 </enum-type> | |
727 | |
728 | |
729 <enum-type name="QDataStream::Version"> | |
730 <reject-enum-value name="Qt_4_1"/> | |
731 <reject-enum-value name="Qt_4_5"/> | |
732 </enum-type> | |
733 | |
734 <enum-type name="QDir::SortFlag" flags="QDir::SortFlags"> | |
735 <reject-enum-value name="Unsorted"/> | |
736 </enum-type> | |
737 | |
738 <enum-type name="Qt::DockWidgetArea" flags="Qt::DockWidgetAreas"> | |
739 <reject-enum-value name="AllDockWidgetAreas"/> | |
740 </enum-type> | |
741 | |
742 <enum-type name="Qt::ImageConversionFlag" flags="Qt::ImageConversionFlags"> | |
743 <reject-enum-value name="AutoDither"/> | |
744 <reject-enum-value name="ColorOnly"/> | |
745 <reject-enum-value name="DiffuseDither"/> | |
746 <reject-enum-value name="NoAlpha"/> | |
747 <reject-enum-value name="ThresholdAlphaDither"/> | |
748 </enum-type> | |
749 | |
750 <enum-type name="Qt::Key"> | |
751 <reject-enum-value name="Key_Any"/> | |
752 </enum-type> | |
753 | |
754 <enum-type name="QLocale::Language"> | |
755 <reject-enum-value name="LastLanguage"/> | |
756 <reject-enum-value name="NorwegianBokmal"/> | |
757 <reject-enum-value name="Nynorsk"/> | |
758 </enum-type> | |
759 | |
760 <enum-type name="QLocale::Country"> | |
761 <reject-enum-value name="LastCountry"/> | |
762 </enum-type> | |
763 | |
764 <enum-type name="Qt::ToolBarArea" flags="Qt::ToolBarAreas"> | |
765 <reject-enum-value name="AllToolBarAreas"/> | |
766 </enum-type> | |
767 | |
768 <enum-type name="Qt::WidgetAttribute"> | |
769 <reject-enum-value name="WA_ForceAcceptDrops"/> | |
770 <reject-enum-value name="WA_NoBackground"/> | |
771 <reject-enum-value name="WA_MacMetalStyle"/> | |
772 </enum-type> | |
773 <!-- | |
774 <value-type name="QVariant"> | |
775 <modify-function signature="QVariant(const QLatin1String &)" remove="all"/> | |
776 </value-type> | |
777 --> | |
778 <value-type name="QBasicTimer"/> | |
779 <value-type name="QByteArrayMatcher"> | |
780 <modify-function signature="operator=(QByteArrayMatcher)" remove="all"/> | |
781 </value-type> | |
782 | |
783 <value-type name="QDate"> | |
784 <modify-function signature="julianToGregorian(uint,int&,int&,int&)"> | |
785 <remove/> | |
786 </modify-function> | |
787 | |
788 <modify-function signature="setYMD(int, int, int)" remove="all"/> <!--### Obsolete in 4.3--> | |
253 | 789 |
1 | 790 <inject-code> |
791 <import-file name="typesystem_core-java.java" quote-after-line="class QDate___" quote-before-line="}// class"/> | |
792 </inject-code> | |
793 | |
794 <modify-function signature="weekNumber(int*)const"> | |
795 <access modifier="private"/> | |
796 <modify-argument index="1"> | |
797 <remove-default-expression/> | |
798 </modify-argument> | |
799 </modify-function> | |
800 | |
801 </value-type> | |
802 | |
803 <value-type name="QDateTime"> | |
804 <modify-function signature="operator=(QDateTime)" remove="all"/> | |
805 </value-type> | |
806 | |
807 <value-type name="QDir"> | |
808 <modify-function signature="QDir(QString,QString,QFlags<QDir::SortFlag>,QFlags<QDir::Filter>)"> | |
809 <modify-argument index="3"> | |
810 <replace-default-expression with="SortFlag.Name | SortFlag.IgnoreCase"/> | |
811 </modify-argument> | |
812 </modify-function> | |
813 <modify-function signature="operator=(QDir)" remove="all"/> | |
814 <modify-function signature="operator=(QString)" remove="all"/> | |
815 <modify-function signature="addResourceSearchPath(QString)" remove="all"/> <!--### Obsolete in 4.3--> | |
253 | 816 |
1 | 817 <inject-code> |
818 <import-file name="typesystem_core-java.java" quote-after-line="class QDir___" quote-before-line="}// class"/> | |
819 </inject-code> | |
820 <modify-function signature="operator[](int)const" access="private"/> | |
821 | |
822 </value-type> | |
823 | |
824 <value-type name="QPoint" wrap="struct"> | |
825 <modify-function signature="operator*=(double)" access="private" associated-to="multiply(double d)"/> | |
826 <modify-function signature="operator/=(double)" access="private" associated-to="divide(double d)"/> | |
827 <modify-function signature="operator+=(QPoint)" access="private" associated-to="add(QPoint)"/> | |
828 <modify-function signature="operator-=(QPoint)" access="private" associated-to="subtract(QPoint)"/> | |
829 <modify-function signature="rx()"> <remove/> </modify-function> | |
830 <modify-function signature="ry()"> <remove/> </modify-function> | |
831 <inject-code> | |
832 <insert-template name="core.multiply-devide-add-subtract"> | |
833 <replace from="%TYPE" to="QPoint"/> | |
834 </insert-template> | |
835 </inject-code> | |
836 </value-type> | |
837 <value-type name="QPointF" wrap="struct"> | |
838 <modify-function signature="operator*=(double)" access="private" associated-to="multiply(double d)"/> | |
839 <modify-function signature="operator/=(double)" access="private" associated-to="divide(double d)"/> | |
840 <modify-function signature="operator+=(QPointF)" access="private" associated-to="add(QPointF p)"/> | |
841 <modify-function signature="operator-=(QPointF)" access="private" associated-to="subtract(QPointF p)"/> | |
842 <modify-function signature="rx()"> <remove/> </modify-function> | |
843 <modify-function signature="ry()"> <remove/> </modify-function> | |
844 <inject-code> | |
845 <insert-template name="core.multiply-devide-add-subtract"> | |
846 <replace from="%TYPE" to="QPointF"/> | |
847 </insert-template> | |
848 </inject-code> | |
849 </value-type> | |
850 | |
6 | 851 <value-type name="QRect" wrap="struct"> |
852 <!-- <modify-function signature="getCoords(int*,int*,int*,int*)const"> <remove/> </modify-function> | |
1 | 853 <modify-function signature="getRect(int*,int*,int*,int*)const"> <remove/> </modify-function> |
854 <modify-function signature="operator&=(QRect)"> <remove/> </modify-function> | |
855 <modify-function signature="operator|=(QRect)"> <remove/> </modify-function> | |
856 <modify-function signature="operator&(QRect)const"> <remove/> </modify-function> | |
6 | 857 <modify-function signature="operator|(QRect)const"> <remove/> </modify-function> --> |
1 | 858 |
859 <modify-function signature="intersect(const QRect&)const" remove="all"/> <!--### Obsolete in 4.3--> | |
860 <modify-function signature="unite(const QRect&)const" remove="all"/> <!--### Obsolete in 4.3--> | |
861 </value-type> | |
862 | |
6 | 863 <value-type name="QRectF" wrap="struct"> |
864 <!-- <modify-function signature="getCoords(double*,double*,double*,double*)const"> <remove/> </modify-function> | |
1 | 865 <modify-function signature="getRect(double*,double*,double*,double*)const"> <remove/> </modify-function> |
866 <modify-function signature="operator&=(QRectF)"> <remove/> </modify-function> | |
867 <modify-function signature="operator|=(QRectF)"> <remove/> </modify-function> | |
868 <modify-function signature="operator&(QRectF)const"> <remove/> </modify-function> | |
6 | 869 <modify-function signature="operator|(QRectF)const"> <remove/> </modify-function> --> |
1 | 870 |
871 <modify-function signature="intersect(const QRectF&)const" remove="all"/> <!--### Obsolete in 4.3--> | |
872 <modify-function signature="unite(const QRectF&)const" remove="all"/> <!--### Obsolete in 4.3--> | |
873 </value-type> | |
874 | |
875 <value-type name="QModelIndex" wrap="struct"/> | |
876 | |
877 <value-type name="QSize" wrap="struct"> | |
878 <modify-function signature="operator*=(double)"> <access modifier="private"/> </modify-function> | |
879 <modify-function signature="operator/=(double)"> <access modifier="private"/> </modify-function> | |
880 <modify-function signature="operator+=(QSize)"> <access modifier="private"/> </modify-function> | |
881 <modify-function signature="operator-=(QSize)"> <access modifier="private"/> </modify-function> | |
882 <modify-function signature="rheight()"> <remove/> </modify-function> | |
883 <modify-function signature="rwidth()"> <remove/> </modify-function> | |
253 | 884 |
1 | 885 <inject-code> |
886 <insert-template name="core.multiply-devide-add-subtract"> | |
887 <replace from="%TYPE" to="QSize"/> | |
888 </insert-template> | |
889 </inject-code> | |
890 </value-type> | |
891 | |
892 <value-type name="QSizeF" wrap="struct"> | |
893 <modify-function signature="operator*=(double)"> <access modifier="private"/> </modify-function> | |
894 <modify-function signature="operator/=(double)"> <access modifier="private"/> </modify-function> | |
895 <modify-function signature="operator+=(QSizeF)"> <access modifier="private"/> </modify-function> | |
896 <modify-function signature="operator-=(QSizeF)"> <access modifier="private"/> </modify-function> | |
897 <modify-function signature="rheight()"> <remove/> </modify-function> | |
898 <modify-function signature="rwidth()"> <remove/> </modify-function> | |
253 | 899 |
1 | 900 <inject-code> |
901 <insert-template name="core.multiply-devide-add-subtract"> | |
902 <replace from="%TYPE" to="QSizeF"/> | |
903 </insert-template> | |
904 </inject-code> | |
905 </value-type> | |
906 | |
907 <value-type name="QStringMatcher"> | |
908 <modify-function signature="operator=(QStringMatcher)" remove="all"/> | |
909 </value-type> | |
910 | |
911 <value-type name="QTime"/> | |
912 | |
913 <value-type name="QPersistentModelIndex"> | |
914 <modify-function signature="operator=(QPersistentModelIndex)" remove="all"/> | |
915 <modify-function signature="operator=(QModelIndex)" remove="all"/> | |
916 <modify-function signature="internalPointer()const" remove="all"/> | |
917 </value-type> | |
918 | |
919 <value-type name="QUuid"> | |
920 <modify-function signature="QUuid(const char*)"> | |
921 <remove/> | |
922 </modify-function> | |
923 </value-type> | |
924 | |
925 <value-type name="QLocale"> | |
926 <modify-function signature="toString(unsigned long long) const" remove="all"/> | |
927 <modify-function signature="toString(unsigned short) const" remove="all"/> | |
928 <modify-function signature="toString(unsigned int) const" remove="all"/> | |
929 <modify-function signature="toUInt(QString,bool*,int)const" remove="all"/> | |
930 <modify-function signature="toULongLong(QString,bool*,int)const" remove="all"/> | |
931 <modify-function signature="operator=(QLocale)" remove="all"/> | |
932 | |
933 <!-- | |
934 <template name="core.qlocale_to_type_general"> | |
935 public final %TYPE %FUNCTION_NAME(String s%EXTRA_ARGUMENTS) { | |
936 QNativePointer ok = new QNativePointer(QNativePointer.Type.Boolean); | |
937 %TYPE returned = (%TYPE) %FUNCTION_NAME(s, ok%EXTRA_CALL_ARGUMENTS); | |
938 if (!ok.booleanValue()) | |
939 throw new NumberFormatException(s); | |
940 return returned; | |
941 } | |
942 </template> | |
943 | |
944 | |
945 <template name="core.qlocale_to_type_integer"> | |
946 <insert-template name="core.qlocale_to_type_general"> | |
947 <replace from="%EXTRA_ARGUMENTS" to=", int base"/> | |
948 <replace from="%EXTRA_CALL_ARGUMENTS" to=", base"/> | |
949 </insert-template> | |
950 | |
951 public final %TYPE %FUNCTION_NAME(String s) { | |
952 return %FUNCTION_NAME(s, 0); | |
953 } | |
954 </template> | |
955 | |
956 <template name="core.qlocale_to_type_float"> | |
957 <insert-template name="core.qlocale_to_type_general"> | |
958 <replace from="%EXTRA_ARGUMENTS" to=""/> | |
959 <replace from="%EXTRA_CALL_ARGUMENTS" to=""/> | |
960 </insert-template> | |
961 </template> | |
962 | |
963 <modify-function signature="toDouble(QString,bool*)const"> | |
964 <access modifier="private"/> | |
965 <modify-argument index="2"> | |
966 <remove-default-expression/> | |
967 </modify-argument> | |
968 </modify-function> | |
969 <inject-code> | |
970 <insert-template name="core.qlocale_to_type_float"> | |
971 <replace from="%TYPE" to="double"/> | |
972 <replace from="%FUNCTION_NAME" to="toDouble"/> | |
973 </insert-template> | |
974 </inject-code> | |
975 | |
976 <modify-function signature="toFloat(QString,bool*)const"> | |
977 <access modifier="private"/> | |
978 <modify-argument index="2"> | |
979 <remove-default-expression/> | |
980 </modify-argument> | |
981 </modify-function> | |
982 <inject-code> | |
983 <insert-template name="core.qlocale_to_type_float"> | |
984 <replace from="%TYPE" to="float"/> | |
985 <replace from="%FUNCTION_NAME" to="toFloat"/> | |
986 </insert-template> | |
987 </inject-code> | |
988 | |
989 <modify-function signature="toInt(QString,bool*,int)const"> | |
990 <access modifier="private"/> | |
991 <modify-argument index="2"> | |
992 <remove-default-expression/> | |
993 </modify-argument> | |
994 <modify-argument index="3"> | |
995 <remove-default-expression/> | |
996 </modify-argument> | |
997 </modify-function> | |
998 <inject-code> | |
999 <insert-template name="core.qlocale_to_type_integer"> | |
1000 <replace from="%TYPE" to="int"/> | |
1001 <replace from="%FUNCTION_NAME" to="toInt"/> | |
1002 </insert-template> | |
1003 </inject-code> | |
1004 | |
1005 <modify-function signature="toLongLong(QString,bool*,int)const"> | |
1006 <access modifier="private"/> | |
1007 <rename to="toLong"/> | |
1008 <modify-argument index="2"> | |
1009 <remove-default-expression/> | |
1010 </modify-argument> | |
1011 <modify-argument index="3"> | |
1012 <remove-default-expression/> | |
1013 </modify-argument> | |
1014 </modify-function> | |
1015 <inject-code> | |
1016 <insert-template name="core.qlocale_to_type_integer"> | |
1017 <replace from="%TYPE" to="long"/> | |
1018 <replace from="%FUNCTION_NAME" to="toLong"/> | |
1019 </insert-template> | |
1020 </inject-code> | |
1021 | |
1022 <modify-function signature="toShort(QString,bool*,int)const"> | |
1023 <access modifier="private"/> | |
1024 <modify-argument index="2"> | |
1025 <remove-default-expression/> | |
1026 </modify-argument> | |
1027 <modify-argument index="3"> | |
1028 <remove-default-expression/> | |
1029 </modify-argument> | |
1030 </modify-function> | |
1031 <inject-code> | |
1032 <insert-template name="core.qlocale_to_type_integer"> | |
1033 <replace from="%TYPE" to="short"/> | |
1034 <replace from="%FUNCTION_NAME" to="toShort"/> | |
1035 </insert-template> | |
1036 </inject-code> | |
1037 | |
1038 <modify-function signature="toUShort(QString,bool*,int)const"> | |
1039 <access modifier="private"/> | |
1040 <rename to="toChar"/> | |
1041 <modify-argument index="2"> | |
1042 <remove-default-expression/> | |
1043 </modify-argument> | |
1044 <modify-argument index="3"> | |
1045 <remove-default-expression/> | |
1046 </modify-argument> | |
1047 </modify-function> | |
1048 <inject-code> | |
1049 <insert-template name="core.qlocale_to_type_integer"> | |
1050 <replace from="%TYPE" to="char"/> | |
1051 <replace from="%FUNCTION_NAME" to="toChar"/> | |
1052 </insert-template> | |
1053 </inject-code> | |
1054 --> | |
1055 </value-type> | |
1056 | |
1057 | |
1058 <value-type name="QBitArray"> | |
1059 <modify-function signature="operator[](int)" remove="all"/> | |
1060 <modify-function signature="operator[](int)const" remove="all"/> | |
1061 <modify-function signature="operator[](uint)const" remove="all"/> | |
1062 <modify-function signature="operator[](uint)" remove="all"/> | |
1063 | |
1064 <modify-function signature="operator&=(QBitArray)" access="private"/> | |
1065 <modify-function signature="operator=(QBitArray)" access="private"/> | |
1066 <modify-function signature="operator^=(QBitArray)" access="private"/> | |
1067 <modify-function signature="operator|=(QBitArray)" access="private"/> | |
1068 <modify-function signature="operator~()const" access="private"/> | |
253 | 1069 |
1 | 1070 <inject-code> |
1071 <import-file name="typesystem_core-java.java" quote-after-line="class QBitArray___" quote-before-line="}// class"/> | |
1072 </inject-code> | |
1073 </value-type> | |
1074 | |
1075 <object-type name="QReadWriteLock"/> | |
1076 <object-type name="QDirIterator"/> | |
1077 <object-type name="QAbstractFileEngineIterator"/> | |
1078 <object-type name="QAbstractItemModel"> | |
148
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1079 <modify-function signature="rowsAboutToBeInserted(QModelIndex,int,int)" private-signal="yes"/> |
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1080 <modify-function signature="rowsInserted(QModelIndex,int,int)" private-signal="yes"/> |
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1081 |
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1082 <modify-function signature="rowsAboutToBeRemoved(QModelIndex,int,int)" private-signal="yes"/> |
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1083 <modify-function signature="rowsRemoved(QModelIndex,int,int)" private-signal="yes"/> |
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1084 |
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1085 <modify-function signature="columnsAboutToBeInserted(QModelIndex,int,int)" private-signal="yes"/> |
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1086 <modify-function signature="columnsInserted(QModelIndex,int,int)" private-signal="yes"/> |
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1087 |
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1088 <modify-function signature="columnsAboutToBeRemoved(QModelIndex,int,int)" private-signal="yes"/> |
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1089 <modify-function signature="columnsRemoved(QModelIndex,int,int)" private-signal="yes"/> |
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1090 |
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1091 <modify-function signature="modelAboutToBeReset()" private-signal="yes"/> |
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1092 <modify-function signature="modelReset()" private-signal="yes"/> |
253 | 1093 |
1 | 1094 <modify-function signature="parent()const" remove="java"/> |
1095 <extra-includes> | |
1096 <include file-name="QStringList" location="global"/> | |
1097 <include file-name="QSize" location="global"/> | |
1098 </extra-includes> | |
1099 <!-- <modify-function signature="createIndex(int, int, int)const"> | |
1100 <remove/> | |
1101 </modify-function> --> | |
1102 <inject-code class="java"> | |
1103 <import-file name="typesystem_core-java.java" quote-after-line="class QAbstractItemModel___" quote-before-line="}// class"/> | |
1104 </inject-code> | |
1105 <!-- <inject-code class="native"> | |
1106 extern "C" JNIEXPORT jboolean JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_core_QAbstractItemModel_setData_1native) | |
1107 (JNIEnv *__jni_env, | |
1108 jobject, | |
1109 jlong __this_nativeId, | |
1110 jint row, jint col, jobject value, jint role) | |
1111 { | |
1112 QtJambiShell_QAbstractItemModel *__qt_this = | |
1113 (QtJambiShell_QAbstractItemModel *) qtjambi_from_jlong(__this_nativeId); | |
1114 QVariant qt_value = qtjambi_to_qvariant(__jni_env, value); | |
1115 | |
1116 QModelIndex index = __qt_this->index(row, col, QModelIndex()); | |
1117 return __qt_this->setData(index, qt_value, role); | |
1118 } | |
1119 | |
1120 extern "C" JNIEXPORT jobject JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_core_QAbstractItemModel_data_1native) | |
1121 (JNIEnv *__jni_env, | |
1122 jobject, | |
1123 jlong __this_nativeId, | |
1124 jint row, jint col, jint role) | |
1125 { | |
1126 QtJambiShell_QAbstractItemModel *__qt_this = | |
1127 (QtJambiShell_QAbstractItemModel *) qtjambi_from_jlong(__this_nativeId); | |
1128 | |
1129 QModelIndex index = __qt_this->index(row, col, QModelIndex()); | |
1130 return qtjambi_from_qvariant(__jni_env, __qt_this->data(index, role)); | |
1131 } | |
1132 </inject-code> | |
148
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1133 |
1 | 1134 <modify-function signature="mimeData(QList<QModelIndex>)const"> |
1135 <modify-argument index="0"> | |
1136 <define-ownership class="shell" owner="c++"/> | |
1137 </modify-argument> | |
148
ae34188ddd84
private signals of QAbstractItemModel are now accessible
eldar
parents:
115
diff
changeset
|
1138 </modify-function>--> |
1 | 1139 </object-type> |
1140 | |
1141 <object-type name="QAbstractListModel"> | |
1142 <extra-includes> | |
1143 <include file-name="QStringList" location="global"/> | |
1144 <include file-name="QSize" location="global"/> | |
1145 </extra-includes> | |
1146 </object-type> | |
1147 | |
1148 <value-type name="QUrl"> | |
1149 <extra-includes> | |
1150 <include file-name="QStringList" location="global"/> | |
1151 </extra-includes> | |
1152 <modify-function signature="operator=(QUrl)" remove="all"/> | |
1153 <modify-function signature="operator=(QString)" remove="all"/> | |
1154 | |
1155 <modify-function signature="encodedQueryItems()const" remove="all"/> | |
1156 <modify-function signature="queryItems()const" remove="all"/> | |
1157 <modify-function signature="setEncodedQueryItems(QList<QPair<QByteArray, QByteArray> >)" remove="all"/> | |
1158 <modify-function signature="setQueryItems(QList<QPair<QString, QString> >)" remove="all"/> | |
1159 | |
1160 <modify-function signature="fromPunycode(const QByteArray&)" remove="all"/> <!--### Obsolete in 4.3--> | |
1161 <modify-function signature="toPunycode(const QString&)" remove="all"/> <!--### Obsolete in 4.3--> | |
1162 </value-type> | |
1163 | |
1164 <value-type name="QRegExp"> | |
1165 <extra-includes> | |
1166 <include file-name="QStringList" location="global"/> | |
1167 </extra-includes> | |
1168 <modify-function signature="operator=(QRegExp)" remove="all"/> | |
1169 <modify-function signature="cap(int)const" remove="all"/> | |
1170 <modify-function signature="errorString()const" remove="all"/> | |
1171 <modify-function signature="pos(int)const" remove="all"/> | |
1172 <modify-function signature="capturedTexts()const" remove="all"/> | |
1173 | |
1174 </value-type> | |
1175 | |
1176 <value-type name="QFileInfo"> | |
1177 <extra-includes> | |
1178 <include file-name="QDateTime" location="global"/> | |
1179 <include file-name="QDir" location="global"/> | |
1180 </extra-includes> | |
1181 <modify-function signature="operator!=(const QFileInfo &)const" remove="all"/> | |
1182 <modify-function signature="operator==(const QFileInfo &)const" remove="all"/> | |
1183 <modify-function signature="operator=(QFileInfo)" remove="all"/> | |
1184 <modify-function signature="setFile(QFile)"> | |
1185 <modify-argument index="1"> | |
1186 <reference-count action="ignore"/> | |
1187 </modify-argument> | |
1188 </modify-function> | |
1189 | |
1190 <modify-function signature="readLink()const" remove="all"/> <!--### Obsolete in 4.3--> | |
1191 </value-type> | |
1192 | |
1193 <interface-type name="QFactoryInterface" java-name="QAbstractFactory"/> | |
1194 | |
1195 <value-type name="QByteArray"> | |
253 | 1196 |
20 | 1197 <modify-function signature="at(int)const"> |
1198 <modify-argument index="return"> | |
1199 <replace-type modified-type="ubyte"/> | |
1200 </modify-argument> | |
1201 </modify-function> | |
253 | 1202 |
1 | 1203 <extra-includes> |
1204 <include file-name="QNoImplicitBoolCast" location="global"/> | |
1205 </extra-includes> | |
1206 | |
1207 <!-- removed functions --> | |
1208 <modify-function signature="begin()" remove="all"/> | |
1209 <modify-function signature="begin()const" remove="all"/> | |
1210 <modify-function signature="constBegin()const" remove="all"/> | |
1211 <modify-function signature="constData()const" remove="all"/> | |
1212 <modify-function signature="constEnd()const" remove="all"/> | |
1213 <modify-function signature="count()const" remove="all"/> | |
1214 <modify-function signature="data()const" remove="all"/> | |
1215 <modify-function signature="end()" remove="all"/> | |
1216 <modify-function signature="end()const" remove="all"/> | |
1217 <modify-function signature="number(uint,int)" remove="all"/> | |
1218 <modify-function signature="number(unsigned long long,int)" remove="all"/> | |
1219 <modify-function signature="operator const char *()const" remove="all"/> | |
1220 <modify-function signature="operator const void *()const" remove="all"/> | |
1221 <modify-function signature="operator+=(const char*)" remove="all"/> | |
1222 <modify-function signature="operator=(const char*)" remove="all"/> | |
1223 <modify-function signature="operator[](int)" remove="all"/> | |
1224 <modify-function signature="operator[](int)const" remove="all"/> | |
1225 <modify-function signature="operator[](uint)" remove="all"/> | |
1226 <modify-function signature="operator[](uint)const" remove="all"/> | |
1227 <modify-function signature="push_back(char)" remove="all"/> | |
1228 <modify-function signature="push_back(const QByteArray&)" remove="all"/> | |
1229 <modify-function signature="push_back(const char*)" remove="all"/> | |
1230 <modify-function signature="push_front(char)" remove="all"/> | |
1231 <modify-function signature="push_front(const QByteArray&)" remove="all"/> | |
1232 <modify-function signature="push_front(const char*)" remove="all"/> | |
1233 <modify-function signature="setNum(uint,int)" remove="all"/> | |
1234 <modify-function signature="setNum(unsigned long long,int)" remove="all"/> | |
1235 <modify-function signature="setNum(unsigned short,int)" remove="all"/> | |
1236 <modify-function signature="toLong(bool*, int) const" remove="all"/> | |
1237 <modify-function signature="toLongLong(bool*, int) const" remove="all"/> | |
1238 <modify-function signature="toShort(bool*, int) const" remove="all"/> | |
1239 <modify-function signature="toUInt(bool*, int) const" remove="all"/> | |
1240 <modify-function signature="toULong(bool*, int) const" remove="all"/> | |
1241 <modify-function signature="toULongLong(bool*, int) const" remove="all"/> | |
1242 | |
1243 <!-- functions made private... --> | |
1244 <modify-function signature="operator=(QByteArray)" access="private"/> | |
1245 <modify-function signature="operator+=(QByteArray)" remove="all"/> | |
1246 <modify-function signature="operator+=(QString)" remove="all"/> | |
1247 <modify-function signature="operator+=(char)" remove="all"/> | |
1248 <!-- qtd2 | |
1249 <inject-code class="java"> | |
1250 <import-file name="typesystem_core-java.java" quote-after-line="class QByteArray___" quote-before-line="}// class"/> | |
1251 | |
1252 <template name="QByteArray::toType(base)"> | |
1253 public final %TYPE% %NAME%(int base) throws NumberFormatException{ | |
1254 qt.QNativePointer ok = new qt.QNativePointer(qt.QNativePointer.Type.Boolean); | |
1255 %TYPE% res = %NAME%_private(ok, base); | |
1256 if(!ok.booleanValue()){ | |
1257 throw new NumberFormatException(); | |
1258 } | |
1259 return res; | |
1260 } | |
1261 | |
1262 public %TYPE% %NAME%(){ | |
1263 return %NAME%(10); | |
1264 } | |
1265 </template> | |
1266 | |
1267 <insert-template name="QByteArray::toType(base)"> | |
1268 <replace from="%NAME%" to="toChar"/> | |
1269 <replace from="%TYPE%" to="char"/> | |
1270 </insert-template> | |
1271 | |
1272 <insert-template name="QByteArray::toType(base)"> | |
1273 <replace from="%NAME%" to="toInt"/> | |
1274 <replace from="%TYPE%" to="int"/> | |
1275 </insert-template> | |
1276 | |
1277 <template name="QByteArray::toType()"> | |
1278 public final %TYPE% %NAME%() throws NumberFormatException{ | |
1279 qt.QNativePointer ok = new qt.QNativePointer(qt.QNativePointer.Type.Boolean); | |
1280 %TYPE% res = %NAME%_private(ok); | |
1281 if(!ok.booleanValue()){ | |
1282 throw new NumberFormatException(); | |
1283 } | |
1284 return res; | |
1285 } | |
1286 </template> | |
1287 | |
1288 <insert-template name="QByteArray::toType()"> | |
1289 <replace from="%NAME%" to="toDouble"/> | |
1290 <replace from="%TYPE%" to="double"/> | |
1291 </insert-template> | |
1292 | |
1293 <insert-template name="QByteArray::toType()"> | |
1294 <replace from="%NAME%" to="toFloat"/> | |
1295 <replace from="%TYPE%" to="float"/> | |
1296 </insert-template> | |
1297 | |
1298 </inject-code> | |
1299 | |
1300 --> | |
1301 <!-- qtd | |
1302 <modify-function signature="toUShort(bool*, int) const" rename="toChar_private" access="private"> | |
1303 <modify-argument index="1"> | |
1304 <remove-default-expression/> | |
1305 </modify-argument> | |
1306 <modify-argument index="2"> | |
1307 <remove-default-expression/> | |
1308 </modify-argument> | |
1309 </modify-function> | |
1310 | |
1311 <modify-function signature="toInt(bool*, int) const" rename="toInt_private" access="private"> | |
1312 <modify-argument index="1"> | |
1313 <remove-default-expression/> | |
1314 </modify-argument> | |
1315 <modify-argument index="2"> | |
1316 <remove-default-expression/> | |
1317 </modify-argument> | |
1318 </modify-function> | |
1319 | |
1320 <modify-function signature="toDouble(bool*) const"> | |
1321 <rename to="toDouble_private"/> | |
1322 <access modifier="private"/> | |
1323 <modify-argument index="1"> | |
1324 <remove-default-expression/> | |
1325 </modify-argument> | |
1326 </modify-function> | |
1327 | |
1328 <modify-function signature="toFloat(bool*) const"> | |
1329 <rename to="toFloat_private"/> | |
1330 <access modifier="private"/> | |
1331 <modify-argument index="1"> | |
1332 <remove-default-expression/> | |
1333 </modify-argument> | |
1334 </modify-function> | |
1335 --> | |
1336 <modify-function signature="QByteArray(const char*)" remove="all"/> | |
1337 | |
1338 <modify-function signature="QByteArray(const char*,int)"> | |
1339 <access modifier="private"/> | |
1340 </modify-function> | |
1341 | |
1342 <!-- qtd | |
1343 <modify-function signature="append(QString)"> | |
1344 <access modifier="private"/> | |
1345 <rename to="append_private"/> | |
1346 </modify-function> | |
1347 <inject-code> | |
1348 <insert-template name="core.unary_other_type"> | |
1349 <replace from="%IN_TYPE" to="String"/> | |
1350 <replace from="%OUT_TYPE" to="QByteArray"/> | |
1351 <replace from="%FUNCTION_NAME" to="append"/> | |
1352 </insert-template> | |
1353 </inject-code> | |
1354 --> | |
1355 <modify-function signature="append(const char*)"> | |
1356 <remove/> | |
1357 </modify-function> | |
1358 <!-- qtd | |
1359 <modify-function signature="append(QByteArray)"> | |
1360 <access modifier="private"/> | |
1361 <rename to="append_private"/> | |
1362 </modify-function> | |
1363 <inject-code> | |
1364 <insert-template name="core.unary_self_type"> | |
1365 <replace from="%TYPE" to="QByteArray"/> | |
1366 <replace from="%FUNCTION_NAME" to="append"/> | |
1367 </insert-template> | |
1368 </inject-code> | |
1369 | |
1370 <modify-function signature="append(char)"> | |
1371 <access modifier="private"/> | |
1372 <rename to="append_private"/> | |
1373 </modify-function> | |
1374 <inject-code> | |
1375 <insert-template name="core.unary_other_type"> | |
1376 <replace from="%IN_TYPE" to="byte"/> | |
1377 <replace from="%OUT_TYPE" to="QByteArray"/> | |
1378 <replace from="%FUNCTION_NAME" to="append"/> | |
1379 </insert-template> | |
1380 </inject-code> | |
1381 --> | |
1382 <modify-function signature="contains(const char*)const"> | |
1383 <remove/> | |
1384 </modify-function> | |
1385 | |
1386 | |
1387 <modify-function signature="count(const char*)const"> | |
1388 <remove/> | |
1389 </modify-function> | |
1390 | |
1391 | |
1392 <modify-function signature="endsWith(const char*)const"> | |
1393 <remove/> | |
1394 </modify-function> | |
1395 | |
1396 <!-- qtd | |
1397 <modify-function signature="fill(char,int)"> | |
1398 <access modifier="private"/> | |
1399 <rename to="fill_private"/> | |
1400 <modify-argument index="2"> | |
1401 <remove-default-expression/> | |
1402 </modify-argument> | |
1403 </modify-function> | |
1404 <inject-code> | |
1405 <insert-template name="core.private_function_return_self"> | |
1406 <replace from="%RETURN_TYPE" to="QByteArray"/> | |
1407 <replace from="%FUNCTION_NAME" to="fill"/> | |
1408 <replace from="%ARGUMENTS" to="byte b, int size"/> | |
1409 <replace from="%ARGUMENT_NAMES" to="b, size"/> | |
1410 </insert-template> | |
1411 | |
1412 public QByteArray fill(byte b) { | |
1413 return fill(b, -1); | |
1414 } | |
1415 | |
1416 </inject-code> | |
1417 --> | |
1418 <modify-function signature="indexOf(const char*,int)const"> | |
1419 <remove/> | |
1420 </modify-function> | |
1421 <!-- qtd | |
1422 <modify-function signature="insert(int,QByteArray)"> | |
1423 <access modifier="private"/> | |
1424 <rename to="insert_private"/> | |
1425 </modify-function> | |
1426 <inject-code> | |
1427 <insert-template name="core.private_function_return_self"> | |
1428 <replace from="%RETURN_TYPE" to="QByteArray"/> | |
1429 <replace from="%FUNCTION_NAME" to="insert"/> | |
1430 <replace from="%ARGUMENTS" to="int i, QByteArray ba"/> | |
1431 <replace from="%ARGUMENT_NAMES" to="i, ba"/> | |
1432 </insert-template> | |
1433 </inject-code> | |
1434 | |
1435 <modify-function signature="insert(int,char)"> | |
1436 <access modifier="private"/> | |
1437 <rename to="insert_private"/> | |
1438 </modify-function> | |
1439 <inject-code> | |
1440 <insert-template name="core.private_function_return_self"> | |
1441 <replace from="%RETURN_TYPE" to="QByteArray"/> | |
1442 <replace from="%FUNCTION_NAME" to="insert"/> | |
1443 <replace from="%ARGUMENTS" to="int i, byte b"/> | |
1444 <replace from="%ARGUMENT_NAMES" to="i, b"/> | |
1445 </insert-template> | |
1446 </inject-code> | |
1447 | |
1448 <modify-function signature="insert(int,QString)"> | |
1449 <access modifier="private"/> | |
1450 <rename to="insert_private"/> | |
1451 </modify-function> | |
1452 <inject-code> | |
1453 <insert-template name="core.private_function_return_self"> | |
1454 <replace from="%RETURN_TYPE" to="QByteArray"/> | |
1455 <replace from="%FUNCTION_NAME" to="insert"/> | |
1456 <replace from="%ARGUMENTS" to="int i, String str"/> | |
1457 <replace from="%ARGUMENT_NAMES" to="i, str"/> | |
1458 </insert-template> | |
1459 </inject-code> | |
1460 --> | |
1461 <modify-function signature="insert(int,const char*)" remove="all"/> | |
1462 <modify-function signature="lastIndexOf(const char*,int)const" remove="all"/> | |
1463 <!-- qtd | |
1464 <modify-function signature="prepend(QByteArray)"> | |
1465 <access modifier="private"/> | |
1466 <rename to="prepend_private"/> | |
1467 </modify-function> | |
1468 <inject-code> | |
1469 <insert-template name="core.unary_self_type"> | |
1470 <replace from="%TYPE" to="QByteArray"/> | |
1471 <replace from="%FUNCTION_NAME" to="prepend"/> | |
1472 </insert-template> | |
1473 </inject-code> | |
1474 | |
1475 <modify-function signature="prepend(char)"> | |
1476 <access modifier="private"/> | |
1477 <rename to="prepend_private"/> | |
1478 </modify-function> | |
1479 <inject-code> | |
1480 <insert-template name="core.unary_other_type"> | |
1481 <replace from="%OUT_TYPE" to="QByteArray"/> | |
1482 <replace from="%IN_TYPE" to="byte"/> | |
1483 <replace from="%FUNCTION_NAME" to="prepend"/> | |
1484 </insert-template> | |
1485 </inject-code> | |
1486 --> | |
1487 <modify-function signature="prepend(const char*)"> | |
1488 <remove/> | |
1489 </modify-function> | |
1490 | |
1491 <!-- qtd | |
1492 <modify-function signature="remove(int,int)"> | |
1493 <access modifier="private"/> | |
1494 <rename to="remove_private"/> | |
1495 </modify-function> | |
1496 <inject-code> | |
1497 <insert-template name="core.private_function_return_self"> | |
1498 <replace from="%RETURN_TYPE" to="QByteArray"/> | |
1499 <replace from="%FUNCTION_NAME" to="remove"/> | |
1500 <replace from="%ARGUMENTS" to="int pos, int len"/> | |
1501 <replace from="%ARGUMENT_NAMES" to="pos, len"/> | |
1502 </insert-template> | |
1503 </inject-code> | |
1504 --> | |
1505 <modify-function signature="replace(QByteArray,const char*)"> | |
1506 <remove/> | |
1507 </modify-function> | |
1508 | |
1509 | |
1510 <template name="core.qbytearray_replace"> | |
1511 <insert-template name="core.private_function_return_self"> | |
1512 <replace from="%RETURN_TYPE" to="QByteArray"/> | |
1513 <replace from="%FUNCTION_NAME" to="replace"/> | |
1514 <replace from="%ARGUMENTS" to="%BEFORE_TYPE before, %AFTER_TYPE after"/> | |
1515 <replace from="%ARGUMENT_NAMES" to="before, after"/> | |
1516 </insert-template> | |
1517 </template> | |
1518 <!-- qtd | |
1519 <modify-function signature="replace(char,QByteArray)"> | |
1520 <access modifier="private"/> | |
1521 <rename to="replace_private"/> | |
1522 </modify-function> | |
1523 <inject-code> | |
1524 <insert-template name="core.qbytearray_replace"> | |
1525 <replace from="%BEFORE_TYPE" to="byte"/> | |
1526 <replace from="%AFTER_TYPE" to="QByteArray"/> | |
1527 </insert-template> | |
1528 </inject-code> | |
1529 --> | |
1530 <modify-function signature="replace(QString,const char*)"> | |
1531 <remove/> | |
1532 </modify-function> | |
1533 | |
1534 | |
1535 <modify-function signature="replace(int,int,const char*)"> | |
1536 <remove/> | |
1537 </modify-function> | |
1538 | |
1539 <modify-function signature="replace(const char*,const char*)"> | |
1540 <remove/> | |
1541 </modify-function> | |
1542 | |
1543 <modify-function signature="replace(const char*,QByteArray)"> | |
1544 <remove/> | |
1545 </modify-function> | |
1546 <!-- qtd | |
1547 <modify-function signature="replace(int,int,QByteArray)"> | |
1548 <access modifier="private"/> | |
1549 <rename to="replace_private"/> | |
1550 </modify-function> | |
1551 <inject-code> | |
1552 <insert-template name="core.private_function_return_self"> | |
1553 <replace from="%RETURN_TYPE" to="QByteArray"/> | |
1554 <replace from="%FUNCTION_NAME" to="replace"/> | |
1555 <replace from="%ARGUMENTS" to="int pos, int len, QByteArray after"/> | |
1556 <replace from="%ARGUMENT_NAMES" to="pos, len, after"/> | |
1557 </insert-template> | |
1558 </inject-code> | |
1559 --> | |
1560 <modify-function signature="replace(char,const char*)"> | |
1561 <remove/> | |
1562 </modify-function> | |
1563 <!-- qtd | |
1564 <modify-function signature="replace(char,QString)"> | |
1565 <access modifier="private"/> | |
1566 <rename to="replace_private"/> | |
1567 </modify-function> | |
1568 <inject-code> | |
1569 <insert-template name="core.qbytearray_replace"> | |
1570 <replace from="%BEFORE_TYPE" to="byte"/> | |
1571 <replace from="%AFTER_TYPE" to="String"/> | |
1572 </insert-template> | |
1573 </inject-code> | |
1574 | |
1575 <modify-function signature="replace(char,char)"> | |
1576 <access modifier="private"/> | |
1577 <rename to="replace_private"/> | |
1578 </modify-function> | |
1579 <inject-code> | |
1580 <insert-template name="core.qbytearray_replace"> | |
1581 <replace from="%BEFORE_TYPE" to="byte"/> | |
1582 <replace from="%AFTER_TYPE" to="byte"/> | |
1583 </insert-template> | |
1584 </inject-code> | |
1585 | |
1586 <modify-function signature="replace(QByteArray,QByteArray)"> | |
1587 <access modifier="private"/> | |
1588 <rename to="replace_private"/> | |
1589 </modify-function> | |
1590 <inject-code> | |
1591 <insert-template name="core.qbytearray_replace"> | |
1592 <replace from="%BEFORE_TYPE" to="QByteArray"/> | |
1593 <replace from="%AFTER_TYPE" to="QByteArray"/> | |
1594 </insert-template> | |
1595 </inject-code> | |
1596 | |
1597 <modify-function signature="replace(QString,QByteArray)"> | |
1598 <access modifier="private"/> | |
1599 <rename to="replace_private"/> | |
1600 </modify-function> | |
1601 <inject-code> | |
1602 <insert-template name="core.qbytearray_replace"> | |
1603 <replace from="%BEFORE_TYPE" to="String"/> | |
1604 <replace from="%AFTER_TYPE" to="QByteArray"/> | |
1605 </insert-template> | |
1606 </inject-code> | |
1607 | |
1608 <modify-function signature="setNum(int,int)"> | |
1609 <access modifier="private"/> | |
1610 <rename to="setNum_private"/> | |
1611 <modify-argument index="2"> | |
1612 <remove-default-expression/> | |
1613 </modify-argument> | |
1614 </modify-function> | |
1615 --> | |
1616 <template name="core.qbytearray_setNum_integer"> | |
1617 <insert-template name="core.private_function_return_self"> | |
1618 <replace from="%RETURN_TYPE" to="QByteArray"/> | |
1619 <replace from="%FUNCTION_NAME" to="setNum"/> | |
1620 <replace from="%ARGUMENTS" to="%INTEGER_TYPE n, int base"/> | |
1621 <replace from="%ARGUMENT_NAMES" to="n, base"/> | |
1622 </insert-template> | |
1623 | |
1624 public QByteArray setNum(%INTEGER_TYPE n) { | |
1625 return setNum(n, 10); | |
1626 } | |
1627 </template> | |
1628 <template name="core.qbytearray_setNum_float"> | |
1629 <insert-template name="core.private_function_return_self"> | |
1630 <replace from="%RETURN_TYPE" to="QByteArray"/> | |
1631 <replace from="%FUNCTION_NAME" to="setNum"/> | |
1632 <replace from="%ARGUMENTS" to="%FLOAT_TYPE n, char f, int prec"/> | |
1633 <replace from="%ARGUMENT_NAMES" to="n, (byte) f, prec"/> | |
1634 </insert-template> | |
1635 | |
1636 public final QByteArray setNum(%FLOAT_TYPE n, char f) { | |
1637 return setNum(n, f, 6); | |
1638 } | |
1639 | |
1640 public final QByteArray setNum(%FLOAT_TYPE n) { | |
1641 return setNum(n, 'g'); | |
1642 } | |
1643 </template> | |
1644 <!-- qtd | |
1645 <inject-code> | |
1646 <insert-template name="core.qbytearray_setNum_integer"> | |
1647 <replace from="%INTEGER_TYPE" to="int"/> | |
1648 </insert-template> | |
1649 </inject-code> | |
1650 | |
1651 <inject-code> | |
1652 <insert-template name="core.qbytearray_setNum_integer"> | |
1653 <replace from="%INTEGER_TYPE" to="char"/> | |
1654 </insert-template> | |
1655 </inject-code> | |
1656 | |
1657 | |
1658 <modify-function signature="setNum(float,char,int)"> | |
1659 <access modifier="private"/> | |
1660 <rename to="setNum_private"/> | |
1661 <modify-argument index="2"> | |
1662 <remove-default-expression/> | |
1663 </modify-argument> | |
1664 <modify-argument index="3"> | |
1665 <remove-default-expression/> | |
1666 </modify-argument> | |
1667 </modify-function> | |
1668 <inject-code> | |
1669 <insert-template name="core.qbytearray_setNum_float"> | |
1670 <replace from="%FLOAT_TYPE" to="float"/> | |
1671 </insert-template> | |
1672 </inject-code> | |
1673 | |
1674 <modify-function signature="setNum(long long,int)"> | |
1675 <access modifier="private"/> | |
1676 <rename to="setNum_private"/> | |
1677 <modify-argument index="2"> | |
1678 <remove-default-expression/> | |
1679 </modify-argument> | |
1680 </modify-function> | |
1681 <inject-code> | |
1682 <insert-template name="core.qbytearray_setNum_integer"> | |
1683 <replace from="%INTEGER_TYPE" to="long"/> | |
1684 </insert-template> | |
1685 </inject-code> | |
1686 | |
1687 <modify-function signature="setNum(double,char,int)"> | |
1688 <access modifier="private"/> | |
1689 <rename to="setNum_private"/> | |
1690 <modify-argument index="2"> | |
1691 <remove-default-expression/> | |
1692 </modify-argument> | |
1693 <modify-argument index="3"> | |
1694 <remove-default-expression/> | |
1695 </modify-argument> | |
1696 </modify-function> | |
1697 <inject-code> | |
1698 <insert-template name="core.qbytearray_setNum_float"> | |
1699 <replace from="%FLOAT_TYPE" to="double"/> | |
1700 </insert-template> | |
1701 </inject-code> | |
1702 | |
1703 <modify-function signature="setNum(short,int)"> | |
1704 <access modifier="private"/> | |
1705 <rename to="setNum_private"/> | |
1706 <modify-argument index="2"> | |
1707 <remove-default-expression/> | |
1708 </modify-argument> | |
1709 </modify-function> | |
1710 <inject-code> | |
1711 <insert-template name="core.qbytearray_setNum_integer"> | |
1712 <replace from="%INTEGER_TYPE" to="short"/> | |
1713 </insert-template> | |
1714 </inject-code> | |
1715 --> | |
1716 <modify-function signature="startsWith(const char*)const"> | |
1717 <remove/> | |
1718 </modify-function> | |
1719 | |
1720 | |
1721 <modify-function signature="fromRawData(const char*,int)"> | |
1722 <remove/> | |
1723 </modify-function> | |
1724 | |
1725 </value-type> | |
1726 | |
1727 <value-type name="QTextBoundaryFinder"> | |
1728 <modify-function signature="QTextBoundaryFinder(QTextBoundaryFinder::BoundaryType,const QChar*,int,unsigned char*,int)" remove="all"/> | |
1729 <modify-function signature="operator=(QTextBoundaryFinder)" remove="all"/> | |
1730 </value-type> | |
1731 | |
1732 <object-type name="QXmlStreamEntityResolver"/> | |
1733 <object-type name="QAbstractEventDispatcher"/> | |
1734 <object-type name="QEventLoop"/> | |
1735 <object-type name="QFile"> | |
1736 <modify-function signature="readLink()const" remove="all"/> <!--### Obsolete in 4.3--> | |
1737 <modify-function signature="readLink(QString)" remove="all"/> <!--### Obsolete in 4.3--> | |
1738 <modify-function signature="map(long long,long long,QFile::MemoryMapFlags)" remove="all"/> <!-- Can't provide same API and performance --> | |
1739 <modify-function signature="unmap(unsigned char*)" remove="all"/> <!-- Can't provide same API and performance --> | |
253 | 1740 |
1 | 1741 <inject-code> |
1742 <import-file name="typesystem_core-java.java" quote-after-line="class QFile___" quote-before-line="}// class"/> | |
1743 </inject-code> | |
1744 <modify-function signature="decodeName(const char*)"> | |
1745 <access modifier="private"/> | |
1746 </modify-function> | |
1747 | |
1748 </object-type> | |
1749 | |
1750 <object-type name="QIODevice"> | |
1751 <inject-code> | |
1752 <import-file name="typesystem_core-java.java" quote-after-line="class QIODevice___" quote-before-line="}// class"/> | |
1753 </inject-code> | |
1754 | |
1755 <modify-function signature="putChar(char)" rename="putByte"/> | |
1756 <modify-function signature="ungetChar(char)" rename="ungetByte"/> | |
1757 <modify-function signature="getChar(char*)"> | |
1758 <access modifier="private"/> | |
1759 <rename to="getByte"/> | |
1760 </modify-function> | |
253 | 1761 |
180 | 1762 <modify-function signature="write(const char*)"> |
1763 <access modifier="private"/> | |
1764 </modify-function> | |
253 | 1765 |
180 | 1766 <modify-function signature="write(const char*,long long)"> |
1767 <access modifier="private"/> | |
1768 </modify-function> | |
1 | 1769 |
1770 <!-- | |
1771 <modify-function signature="peek(char*,long long)"> | |
1772 <access modifier="private"/> | |
1773 </modify-function> | |
1774 <inject-code> | |
1775 <insert-template name="core.read_with_byte[]_instead_of_char*_and_int"> | |
1776 <replace from="%FUNCTION_NAME" to="peek"/> | |
1777 </insert-template> | |
1778 </inject-code> | |
1779 | |
1780 <modify-function signature="read(char*,long long)"> | |
1781 <access modifier="private"/> | |
1782 </modify-function> | |
1783 <inject-code> | |
1784 <insert-template name="core.read_with_byte[]_instead_of_char*_and_int"> | |
1785 <replace from="%FUNCTION_NAME" to="read"/> | |
1786 </insert-template> | |
1787 </inject-code> | |
1788 | |
1789 <modify-function signature="readLine(char*,long long)"> | |
1790 <access modifier="private"/> | |
1791 </modify-function> | |
1792 <inject-code> | |
1793 <insert-template name="core.read_with_byte[]_instead_of_char*_and_int"> | |
1794 <replace from="%FUNCTION_NAME" to="readLine"/> | |
1795 </insert-template> | |
1796 </inject-code> | |
1797 | |
1798 <modify-function signature="write(const char*,long long)"> | |
1799 <access modifier="private"/> | |
1800 </modify-function> | |
1801 <inject-code> | |
1802 <insert-template name="core.write_with_byte[]_instead_of_char*_and_int"> | |
1803 <replace from="%FUNCTION_NAME" to="write"/> | |
1804 </insert-template> | |
1805 </inject-code> | |
1806 --> | |
1807 <template name="core.iodevice_convert_char*_to_byte[]"> | |
1808 <insert-template name="core.convert_primitive_array_to_java"> | |
1809 <replace from="%JNITYPE" to="jbyte"/> | |
1810 <replace from="%JAVATYPE" to="Byte"/> | |
1811 </insert-template> | |
1812 </template> | |
1813 | |
1814 <template name="core.iodevice_cleanup_to_java"> | |
1815 <insert-template name="core.cleanup_convert_primitive_array_to_java"> | |
1816 <replace from="%JNITYPE" to="jbyte"/> | |
1817 <replace from="%JAVATYPE" to="Byte"/> | |
1818 </insert-template> | |
1819 </template> | |
1820 | |
1821 | |
1822 <template name="core.iodevice_cleanup"> | |
1823 jint %out = (jint) %in; | |
1824 <insert-template name="core.cleanup_convert_primitive_array_from_java"> | |
1825 <replace from="%JAVATYPE" to="Byte"/> | |
1826 <replace from="%JNITYPE" to="jbyte"/> | |
1827 </insert-template> | |
1828 | |
1829 </template> | |
1830 | |
1831 <template name="core.iodevice_convert_byte[]_to_char*"> | |
1832 <insert-template name="core.convert_primitive_array_from_java"> | |
1833 <replace from="%CTYPE" to="char"/> | |
1834 <replace from="%JAVATYPE" to="Byte"/> | |
1835 <replace from="%JNITYPE" to="jbyte"/> | |
1836 </insert-template> | |
1837 </template> | |
1838 <!-- | |
1839 <modify-function signature="readData(char*,long long)"> | |
1840 <modify-argument index="0"> | |
1841 <replace-type modified-type="int"/> | |
1842 <conversion-rule class="native"> | |
1843 <insert-template name="core.iodevice_cleanup"/> | |
1844 </conversion-rule> | |
1845 <conversion-rule class="shell"> | |
1846 qint64 %out = %in; | |
1847 <insert-template name="core.iodevice_cleanup_to_java"> | |
1848 <replace from="%len" to="(int) %in"/> | |
1849 </insert-template> | |
1850 </conversion-rule> | |
1851 </modify-argument> | |
1852 | |
1853 <modify-argument index="1"> | |
1854 <replace-type modified-type="byte[]"/> | |
1855 <conversion-rule class="shell"> | |
1856 <insert-template name="core.iodevice_convert_char*_to_byte[]"> | |
1857 <replace from="%len" to="%2"/> | |
1858 </insert-template> | |
1859 </conversion-rule> | |
1860 <conversion-rule class="native"> | |
1861 <insert-template name="core.iodevice_convert_byte[]_to_char*"/> | |
1862 </conversion-rule> | |
1863 </modify-argument> | |
1864 | |
1865 <modify-argument index="2"> | |
1866 <remove-argument/> | |
1867 <conversion-rule class="shell"> | |
1868 // nothing | |
1869 </conversion-rule> | |
1870 <conversion-rule class="native"> | |
1871 <insert-template name="core.get_array_length"> | |
1872 <replace from="%ARRAY" to="%1"/> | |
1873 </insert-template> | |
1874 </conversion-rule> | |
1875 </modify-argument> | |
1876 </modify-function> | |
1877 | |
1878 <modify-function signature="writeData(const char*,long long)"> | |
1879 <modify-argument index="1"> | |
1880 <replace-type modified-type="byte[]"/> | |
1881 <conversion-rule class="shell"> | |
1882 <insert-template name="core.iodevice_convert_char*_to_byte[]"> | |
1883 <replace from="%len" to="%2"/> | |
1884 </insert-template> | |
1885 </conversion-rule> | |
1886 <conversion-rule class="native"> | |
1887 <insert-template name="core.iodevice_convert_byte[]_to_char*"/> | |
1888 </conversion-rule> | |
1889 </modify-argument> | |
1890 | |
1891 <modify-argument index="2"> | |
1892 <remove-argument/> | |
1893 <conversion-rule class="shell"> | |
1894 // nothing | |
1895 </conversion-rule> | |
1896 <conversion-rule class="native"> | |
1897 <insert-template name="core.get_array_length"> | |
1898 <replace from="%ARRAY" to="%1"/> | |
1899 </insert-template> | |
1900 </conversion-rule> | |
1901 </modify-argument> | |
1902 | |
1903 <modify-argument index="0"> | |
1904 <replace-type modified-type="int"/> | |
1905 <conversion-rule class="native"> | |
1906 <insert-template name="core.iodevice_cleanup"/> | |
1907 </conversion-rule> | |
1908 </modify-argument> | |
1909 </modify-function> | |
1910 | |
1911 <modify-function signature="readLineData(char*,long long)"> | |
1912 <modify-argument index="1"> | |
1913 <replace-type modified-type="byte[]"/> | |
1914 <conversion-rule class="shell"> | |
1915 <insert-template name="core.iodevice_convert_char*_to_byte[]"> | |
1916 <replace from="%len" to="%2"/> | |
1917 </insert-template> | |
1918 </conversion-rule> | |
1919 <conversion-rule class="native"> | |
1920 <insert-template name="core.iodevice_convert_byte[]_to_char*"/> | |
1921 </conversion-rule> | |
1922 </modify-argument> | |
1923 | |
1924 <modify-argument index="2"> | |
1925 <remove-argument/> | |
1926 <conversion-rule class="shell"> | |
1927 // nothing | |
1928 </conversion-rule> | |
1929 <conversion-rule class="native"> | |
1930 <insert-template name="core.get_array_length"> | |
1931 <replace from="%ARRAY" to="%1"/> | |
1932 </insert-template> | |
1933 </conversion-rule> | |
1934 </modify-argument> | |
1935 | |
1936 <modify-argument index="0"> | |
1937 <replace-type modified-type="int"/> | |
1938 <conversion-rule class="native"> | |
1939 <insert-template name="core.iodevice_cleanup"/> | |
1940 </conversion-rule> | |
1941 <conversion-rule class="shell"> | |
1942 qint64 %out = %in; | |
1943 <insert-template name="core.iodevice_cleanup_to_java"> | |
1944 <replace from="%len" to="(int) %in"/> | |
1945 </insert-template> | |
1946 </conversion-rule> | |
1947 </modify-argument> | |
1948 </modify-function> | |
1949 --> | |
1950 </object-type> | |
1951 | |
2 | 1952 <value-type name="QLine" wrap="struct"/> |
6 | 1953 <value-type name="QLineF" wrap="struct"> |
1 | 1954 <inject-code> |
1955 <import-file name="typesystem_core-java.java" quote-after-line="class QLineF___" quote-before-line="}// class"/> | |
1956 </inject-code> | |
1957 <modify-function signature="intersect(QLineF,QPointF*)const "> | |
1958 <access modifier="private"/> | |
1959 </modify-function> | |
1960 | |
1961 </value-type> | |
1962 | |
1963 <object-type name="QCryptographicHash"> | |
39 | 1964 <!-- <inject-code> |
1 | 1965 <import-file name="typesystem_core-java.java" quote-after-line="class QCryptographicHash___" quote-before-line="}// class"/> |
1966 </inject-code> | |
1967 <modify-function signature="addData(const char*,int)"> | |
1968 <access modifier="private"/> | |
1969 </modify-function> | |
39 | 1970 --> |
1 | 1971 </object-type> |
1972 <object-type name="QLibraryInfo"/> | |
1973 <object-type name="QMutex"/> | |
1974 <object-type name="QSemaphore"/> | |
1975 <object-type name="QSocketNotifier"/> | |
1976 <object-type name="QSystemLocale"/> | |
1977 <object-type name="QTemporaryFile"> | |
1978 <modify-function signature="fileName()const" rename="uniqueFilename"/> | |
1979 </object-type> | |
1980 <object-type name="QMimeData"> | |
1981 <extra-includes> | |
1982 <include file-name="QStringList" location="global"/> | |
1983 <include file-name="QUrl" location="global"/> | |
1984 </extra-includes> | |
1985 </object-type> | |
1986 <object-type name="QTextCodec"> | |
1987 | |
1988 <modify-function signature="setCodecForTr(QTextCodec*)"> | |
1989 <access modifier="private"/> | |
1990 <modify-argument index="1"> | |
1991 <reference-count action="set" variable-name="__rcCodecForTr"/> | |
1992 </modify-argument> | |
1993 </modify-function> | |
1994 <modify-function signature="setCodecForCStrings(QTextCodec*)"> | |
1995 <modify-argument index="1"> | |
1996 <reference-count action="set" variable-name="__rcCodecForCStrings"/> | |
1997 </modify-argument> | |
1998 </modify-function> | |
1999 <modify-function signature="setCodecForLocale(QTextCodec*)"> | |
2000 <modify-argument index="1"> | |
2001 <reference-count action="set" variable-name="__rcCodecForLocale"/> | |
2002 </modify-argument> | |
2003 </modify-function> | |
2004 | |
2005 | |
2006 <modify-function signature="codecForTr()"> | |
2007 <remove/> | |
2008 </modify-function> | |
2009 | |
2010 <modify-function signature="QTextCodec()"> | |
2011 <modify-argument index="-1"> | |
2012 <define-ownership class="java" owner="c++"/> | |
2013 </modify-argument> | |
2014 </modify-function> | |
2015 | |
2016 <modify-function signature="fromUnicode(const QChar*,int,QTextCodec::ConverterState*)const"> | |
2017 <remove/> | |
2018 </modify-function> | |
2019 | |
2020 <modify-function signature="toUnicode(const char*,int,QTextCodec::ConverterState*)const"> | |
2021 <remove/> | |
2022 </modify-function> | |
2023 | |
2024 <modify-function signature="toUnicode(const char*)const"> | |
2025 <remove/> | |
2026 </modify-function> | |
253 | 2027 |
1 | 2028 <inject-code> |
2029 <import-file name="typesystem_core-java.java" quote-after-line="class QTextCodec___" quote-before-line="}// class"/> | |
2030 </inject-code> | |
2031 | |
2032 <modify-function signature="convertFromUnicode(const QChar*,int,QTextCodec::ConverterState*)const"> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
20
diff
changeset
|
2033 <!-- <modify-argument index="3" invalidate-after-use="yes"/> |
1 | 2034 <modify-argument index="1"> |
2035 <replace-type modified-type="string"/> | |
2036 <conversion-rule class="shell"> | |
2037 // Convert directly QChar * -> ushort * | |
2038 <insert-template name="core.convert_primitive_array_to_java"> | |
2039 <replace from="%JNITYPE" to="jchar"/> | |
2040 <replace from="%JAVATYPE" to="Char"/> | |
2041 <replace from="%len" to="%2"/> | |
2042 </insert-template> | |
2043 </conversion-rule> | |
2044 <conversion-rule class="native"> | |
2045 // Convert directly ushort * -> QChar * | |
2046 <insert-template name="core.convert_primitive_array_from_java"> | |
2047 <replace from="%CTYPE" to="ushort"/> | |
2048 <replace from="%JAVATYPE" to="Char"/> | |
2049 <replace from="%JNITYPE" to="jchar"/> | |
2050 </insert-template> | |
2051 </conversion-rule> | |
2052 </modify-argument> | |
2053 | |
2054 <modify-argument index="0"> | |
2055 <conversion-rule class="native"> | |
2056 jobject %out = qtjambi_from_object(__jni_env, &%in, "QByteArray", "com/trolltech/qt/core/", true); | |
2057 <insert-template name="core.cleanup_convert_primitive_array_from_java"> | |
2058 <replace from="%JNITYPE" to="jchar"/> | |
2059 <replace from="%JAVATYPE" to="Char"/> | |
2060 </insert-template> | |
2061 </conversion-rule> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
20
diff
changeset
|
2062 </modify-argument> --> |
1 | 2063 </modify-function> |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
20
diff
changeset
|
2064 <!-- |
1 | 2065 <modify-function signature="convertToUnicode(const char*,int,QTextCodec::ConverterState*)const"> |
2066 <modify-argument index="3" invalidate-after-use="yes"/> | |
2067 <modify-argument index="1"> | |
2068 <replace-type modified-type="byte[]"/> | |
2069 <conversion-rule class="shell"> | |
2070 <insert-template name="core.convert_primitive_array_to_java"> | |
2071 <replace from="%JNITYPE" to="jbyte"/> | |
2072 <replace from="%JAVATYPE" to="Byte"/> | |
2073 <replace from="%len" to="%2"/> | |
2074 </insert-template> | |
2075 </conversion-rule> | |
2076 <conversion-rule class="native"> | |
2077 <insert-template name="core.convert_primitive_array_from_java"> | |
2078 <replace from="%CTYPE" to="char"/> | |
2079 <replace from="%JAVATYPE" to="Byte"/> | |
2080 <replace from="%JNITYPE" to="jbyte"/> | |
2081 </insert-template> | |
2082 </conversion-rule> | |
2083 </modify-argument> | |
2084 | |
2085 <modify-argument index="0"> | |
2086 <conversion-rule class="native"> | |
2087 jstring %out = qtjambi_from_qstring(__jni_env, %in); | |
2088 <insert-template name="core.cleanup_convert_primitive_array_from_java"> | |
2089 <replace from="%JNITYPE" to="jbyte"/> | |
2090 <replace from="%JAVATYPE" to="Byte"/> | |
2091 </insert-template> | |
2092 </conversion-rule> | |
2093 </modify-argument> | |
2094 </modify-function> | |
33
cf8a415f3f32
gui package is fully wrapped now. lots of fixes in the generator
eldar
parents:
20
diff
changeset
|
2095 --> |
1 | 2096 <modify-function signature="codecForName(const char*) "> |
2097 <access modifier="private"/> | |
2098 </modify-function> | |
2099 | |
2100 </object-type> | |
2101 | |
2102 <object-type name="QTextDecoder"> | |
2103 <modify-function signature="toUnicode(const char*,int)"> | |
2104 <remove/> | |
2105 </modify-function> | |
2106 <modify-function signature="toUnicode(QString*,const char*,int)" remove="all"/> | |
2107 </object-type> | |
2108 <object-type name="QTextEncoder"> | |
2109 <modify-function signature="fromUnicode(const QChar*,int)"> | |
2110 <remove/> | |
2111 </modify-function> | |
2112 </object-type> | |
2113 <object-type name="QTimeLine"/> | |
2114 <object-type name="QTranslator"> | |
2115 <modify-function signature="translate(const char*,const char*,const char*,int)const"> | |
2116 <remove/> | |
2117 </modify-function> | |
253 | 2118 |
1 | 2119 <extra-includes> |
2120 <include file-name="QTextCodec" location="global"/> | |
2121 </extra-includes> | |
2122 <modify-function signature="load(const unsigned char*,int)"> | |
2123 <access modifier="private"/> | |
2124 </modify-function> | |
2125 <inject-code> | |
2126 <import-file name="typesystem_core-java.java" quote-after-line="class QTranslator___" quote-before-line="}// class"/> | |
2127 </inject-code> | |
2128 | |
2129 <modify-function signature="translate(const char*,const char*,const char*)const"> | |
2130 <modify-argument index="1"> | |
2131 <replace-type modified-type="string"/> | |
2132 <conversion-rule class="shell"> | |
2133 QTextCodec *codec = QTextCodec::codecForName("UTF-8"); | |
2134 QByteArray b1; | |
2135 if (%in != 0) | |
2136 b1 = codec->fromUnicode(%in); | |
2137 | |
2138 jobject %out = qtjambi_from_qstring(__jni_env, QString(b1)); | |
2139 </conversion-rule> | |
2140 | |
2141 <conversion-rule class="native"> | |
2142 const char* %out = %in; | |
2143 </conversion-rule> | |
2144 </modify-argument> | |
2145 <modify-argument index="2"> | |
2146 <replace-type modified-type="string"/> | |
2147 <conversion-rule class="shell"> | |
2148 QByteArray b2; | |
2149 if (%in != 0) | |
2150 b2 = codec->fromUnicode(%in); | |
2151 | |
2152 jobject %out = qtjambi_from_qstring(__jni_env, QString(b2)); | |
2153 </conversion-rule> | |
2154 <conversion-rule class="native"> | |
2155 const char* %out = %in; | |
2156 </conversion-rule> | |
2157 | |
2158 </modify-argument> | |
2159 <modify-argument index="3"> | |
2160 <replace-type modified-type="string"/> | |
2161 <conversion-rule class="shell"> | |
2162 QByteArray b3; | |
2163 if (%in != 0) | |
2164 b3 = codec->fromUnicode(%in); | |
2165 | |
2166 jobject %out = qtjambi_from_qstring(__jni_env, QString(b3)); | |
2167 </conversion-rule> | |
2168 <conversion-rule class="native"> | |
2169 const char* %out = %in; | |
2170 </conversion-rule> | |
2171 </modify-argument> | |
2172 </modify-function> | |
2173 </object-type> | |
2174 | |
2175 <object-type name="QWaitCondition"> | |
2176 <modify-function signature="wait(QMutex *, unsigned long)"> | |
2177 <modify-argument index="2"> | |
2178 <replace-default-expression with="0xffffffff"/> | |
2179 </modify-argument> | |
2180 </modify-function> | |
2181 <modify-function signature="wait(QReadWriteLock *, unsigned long)"> | |
2182 <modify-argument index="2"> | |
2183 <replace-default-expression with="0xffffffff"/> | |
2184 </modify-argument> | |
2185 </modify-function> | |
2186 </object-type> | |
2187 | |
2188 <object-type name="QFileSystemWatcher"> | |
2189 <extra-includes> | |
2190 <include file-name="QStringList" location="global"/> | |
2191 </extra-includes> | |
2192 </object-type> | |
2193 | |
2194 <object-type name="QTextCodec::ConverterState"> | |
2195 <include file-name="QTextCodec" location="global"/> | |
2196 </object-type> | |
2197 | |
2198 <object-type name="QBuffer"> | |
188 | 2199 <modify-function signature="buffer()const"> |
1 | 2200 <remove/> |
2201 </modify-function> | |
253 | 2202 |
90 | 2203 |
1 | 2204 <inject-code> |
2205 <import-file name="typesystem_core-java.java" quote-after-line="class QBuffer___" quote-before-line="}// class"/> | |
2206 </inject-code> | |
90 | 2207 <!-- <extra-includes> |
1 | 2208 <include file-name="qt.QNativePointer" location="java"/> |
2209 </extra-includes> | |
2210 | |
2211 | |
2212 <modify-function signature="QBuffer(QByteArray*,QObject*)"> | |
2213 <access modifier="private"/> | |
2214 <modify-argument index="2"> | |
2215 <remove-default-expression/> | |
2216 </modify-argument> | |
2217 </modify-function> | |
2218 | |
90 | 2219 --> |
1 | 2220 <modify-function signature="setBuffer(QByteArray*)"> |
2221 <access modifier="private"/> | |
90 | 2222 <rename to="setBuffer_private"/> |
1 | 2223 </modify-function> |
2224 | |
2225 | |
2226 <modify-function signature="setData(const char*,int)"> | |
2227 <access modifier="private"/> | |
2228 </modify-function> | |
2229 | |
2230 </object-type> | |
2231 | |
2232 <object-type name="QTimer"> | |
2233 <!-- <inject-code class="java"> | |
2234 <import-file name="typesystem_core-java.java" quote-after-line="class QTimer___" quote-before-line="}// class"/> | |
2235 </inject-code>--> | |
2236 </object-type> | |
2237 | |
2238 <object-type name="QAbstractFileEngineHandler"> | |
2239 <modify-function signature="create(const QString &) const"> | |
2240 <modify-argument index="return"> | |
2241 <define-ownership owner="c++" class="shell"/> | |
2242 </modify-argument> | |
2243 </modify-function> | |
2244 </object-type> | |
2245 | |
2246 <object-type name="QAbstractFileEngine::MapExtensionOption"/> | |
2247 <object-type name="QAbstractFileEngine::MapExtensionReturn"> | |
2248 <modify-field name="address"> | |
2249 <access modifier="private"/> | |
2250 <rename to="address_private"/> | |
2251 </modify-field> | |
2252 <inject-code> | |
2253 <import-file name="typesystem_core-java.java" quote-after-line="class QAbstractFileEngine_MapExtensionReturn___" quote-before-line="}// class"/> | |
2254 </inject-code> | |
2255 </object-type> | |
2256 <object-type name="QAbstractFileEngine::UnMapExtensionOption"> | |
2257 <modify-field name="address"> | |
2258 <access modifier="private"/> | |
2259 <rename to="address_private"/> | |
2260 </modify-field> | |
2261 <inject-code> | |
2262 <import-file name="typesystem_core-java.java" quote-after-line="class QAbstractFileEngine_UnMapExtensionOption___" quote-before-line="}// class"/> | |
2263 </inject-code> | |
2264 </object-type> | |
2265 <object-type name="QAbstractFileEngine"> | |
2266 <extra-includes> | |
2267 <include file-name="QDateTime" location="global"/> | |
2268 </extra-includes> | |
2269 <modify-function signature="map(long long,long long,QFile::MemoryMapFlags)" remove="all"/> | |
2270 <modify-function signature="unmap(unsigned char*)" remove="all"/> | |
253 | 2271 |
1 | 2272 <inject-code> |
2273 <import-file name="typesystem_core-java.java" quote-after-line="class QAbstractFileEngine___" quote-before-line="}// class"/> | |
2274 </inject-code> | |
2275 </object-type> | |
2276 | |
2277 <object-type name="QProcess"> | |
2278 <modify-function signature="readChannelMode()const" remove="all"/> <!--### Obsolete in 4.3--> | |
2279 <modify-function signature="setReadChannelMode(QProcess::ProcessChannelMode)" remove="all"/> <!--### Obsolete in 4.3--> | |
90 | 2280 |
2281 <modify-function signature="error()const"> | |
2282 <rename to="lastError"/> | |
2283 </modify-function> | |
288 | 2284 <!-- <modify-function signature="finished(int, QProcess::ExitStatus)"> |
1 | 2285 <rename to="finishedWithStatusCode"/> |
2286 </modify-function> | |
288 | 2287 --> |
1 | 2288 <modify-function signature="setStandardOutputProcess(QProcess*)"> |
2289 <modify-argument index="1"> | |
2290 <reference-count action="set" variable-name="__rcStandardOutputProcess"/> | |
2291 </modify-argument> | |
2292 </modify-function> | |
309 | 2293 <!-- <modify-function signature="startDetached(QString,QStringList,QString,long long*)"> |
1 | 2294 <access modifier="private"/> |
2295 <modify-argument index="4"> | |
2296 <remove-default-expression/> | |
2297 </modify-argument> | |
2298 </modify-function> | |
2299 <inject-code> | |
2300 <import-file name="typesystem_core-java.java" quote-after-line="class QProcess___" quote-before-line="}// class"/> | |
90 | 2301 </inject-code>--> |
1 | 2302 </object-type> |
2303 | |
2304 <object-type name="QSignalMapper"> | |
288 | 2305 <!-- <modify-function signature="mapped(const QString &)"> |
1 | 2306 <rename to="mappedString"/> |
2307 </modify-function> | |
2308 <modify-function signature="mapped(int)"> | |
2309 <rename to="mappedInteger"/> | |
2310 </modify-function> | |
2311 <modify-function signature="mapped(QObject *)"> | |
2312 <rename to="mappedQObject"/> | |
288 | 2313 </modify-function> --> |
1 | 2314 <modify-function signature="mapped(QWidget *)" remove="all"/> |
2315 | |
2316 <modify-function signature="mapping(QWidget*)const" remove="all"/> | |
2317 | |
2318 <modify-function signature="setMapping(QObject*,QWidget*)" remove="all"/> | |
253 | 2319 |
1 | 2320 <inject-code> |
2321 <import-file name="typesystem_core-java.java" quote-after-line="class QSignalMapper___" quote-before-line="}// class"/> | |
2322 </inject-code> | |
2323 | |
2324 | |
2325 <modify-function signature="removeMappings(QObject*)"> | |
2326 <modify-argument index="1"> | |
2327 <reference-count action="remove" variable-name="__rcMappings"/> | |
2328 </modify-argument> | |
2329 <inject-code class="java" position="end"> | |
2330 <argument-map index="1" meta-name="%1"/> | |
2331 if (__rcObjectForObject.containsKey(%1)) __rcObjectForObject.remove(%1); | |
2332 if (__rcWidgetForObject.containsKey(%1)) __rcWidgetForObject.remove(%1); | |
2333 </inject-code> | |
2334 </modify-function> | |
2335 | |
2336 <modify-function signature="setMapping(QObject*,QObject*)"> | |
2337 <modify-argument index="1"> | |
2338 <reference-count action="add" variable-name="__rcMappings"/> | |
2339 </modify-argument> | |
2340 <inject-code class="java" position="end"> | |
2341 <argument-map index="1" meta-name="%1"/> | |
2342 <argument-map index="2" meta-name="%2"/> | |
2343 if (%2 == null) | |
2344 __rcObjectForObject.remove(%1); | |
2345 else | |
2346 __rcObjectForObject.put(%1,%2); | |
2347 </inject-code> | |
2348 </modify-function> | |
2349 | |
2350 <modify-function signature="setMapping(QObject*,QString)"> | |
2351 <modify-argument index="1"> | |
2352 <reference-count action="add" variable-name="__rcMappings"/> | |
2353 </modify-argument> | |
2354 </modify-function> | |
2355 | |
2356 <modify-function signature="setMapping(QObject*,int)"> | |
2357 <modify-argument index="1"> | |
2358 <reference-count action="add" variable-name="__rcMappings"/> | |
2359 </modify-argument> | |
2360 </modify-function> | |
2361 </object-type> | |
2362 | |
2363 <object-type name="QObject"> | |
253 | 2364 <inject-code class="native"> |
2365 | |
2366 #ifdef CPP_SHARED | |
2367 QTD_EXPORT_VAR(qtd_delete_d_qobject); | |
2368 | |
2369 extern "C" DLL_PUBLIC void qtd_QObjectEntity_initCallBacks(pfunc_abstr del_d_qobj) | |
2370 { | |
2371 QTD_EXPORT_VAR_SET(qtd_delete_d_qobject, del_d_qobj); | |
2372 } | |
2373 #endif | |
2374 | |
2375 | |
2376 extern "C" DLL_PUBLIC void* qtd_get_d_qobject(void *nativeId) | |
2377 { | |
2378 QtD_QObjectEntity *entity = QtD_QObjectEntity::getQObjectEntity((QObject*)nativeId); | |
2379 return entity ? entity->dId : NULL; | |
2380 } | |
2381 | |
2382 extern "C" DLL_PUBLIC void qtd_delete_qobject(void *nativeId) | |
2383 { | |
2384 delete (QObject*)nativeId; | |
2385 } | |
2386 | |
2387 extern "C" DLL_PUBLIC void qtd_create_qobject_entity(void* nativeId, void *dId) | |
2388 { | |
2389 new QtD_QObjectEntity((QObject*)nativeId, dId); | |
2390 } | |
2391 | |
2392 extern "C" DLL_PUBLIC void* qtd_QObject_metaObject(void* nativeId) | |
2393 { | |
2394 return (void*)((QObject*)nativeId)->metaObject(); | |
2395 } | |
2396 | |
2397 extern "C" DLL_PUBLIC void qtd_connect(void* nativeId, char* signal, int id, bool dynamicEntity) | |
2398 { | |
2399 QObject *sender = (QObject*)nativeId; | |
2400 QObject *receiver = dynamicEntity ? dynamic_cast<QObject*>(QtD_QObjectEntity::getQObjectEntity(sender)) : sender; | |
2401 const QMetaObject *mo = sender->metaObject(); | |
2402 int nativeSigId = mo->indexOfSignal(signal); | |
2403 QMetaObject::connect(sender, nativeSigId, receiver, receiver->metaObject()->methodCount() + id); | |
2404 } | |
2405 | |
2406 extern "C" DLL_PUBLIC void qtd_disconnect(void* nativeId, char* signal, int id, bool dynamicEntity) | |
2407 { | |
2408 QObject *sender = (QObject*)nativeId; | |
2409 QObject *receiver = dynamicEntity ? dynamic_cast<QObject*>(QtD_QObjectEntity::getQObjectEntity(sender)) : sender; | |
2410 const QMetaObject *mo = sender->metaObject(); | |
2411 int nativeSigId = mo->indexOfSignal(signal); | |
2412 QMetaObject::disconnect(sender, nativeSigId, receiver, receiver->metaObject()->methodCount() + id); | |
2413 } | |
2414 | |
2415 </inject-code> | |
2416 | |
2417 <inject-code class="java-free"> | |
2418 extern(C) void* qtd_get_d_qobject(void* nativeId); | |
2419 extern(C) void qtd_delete_qobject(void* nativeId); | |
2420 extern(C) void* qtd_create_qobject_entity(void* nativeId, void* dId); | |
2421 extern(C) void* qtd_QObject_metaObject(void* nativeId); | |
2422 extern(C) void qtd_connect(void *nativeId, cstringz signal, int id, bool dynamicEntity); | |
2423 extern(C) void qtd_disconnect(void *nativeId, cstringz signal, int id, bool dynamicEntity); | |
2424 | |
2425 extern(C) void qtd_delete_d_qobject(void* dId) | |
2426 { | |
2427 auto obj = cast(QObject)dId; | |
2428 | |
2429 if (!(obj.__flags & QtdObjectFlags.dOwnership)) | |
2430 { | |
2431 // Avoid deleting native object twice | |
2432 obj.__setFlags(QtdObjectFlags.nativeOwnership, true); | |
2433 delete obj; | |
2434 } | |
2435 } | |
2436 </inject-code> | |
2437 | |
1 | 2438 <modify-function signature="childEvent(QChildEvent*)"> |
2439 <modify-argument index="1" invalidate-after-use="yes"/> | |
2440 </modify-function> | |
2441 <modify-function signature="customEvent(QEvent*)"> | |
2442 <modify-argument index="1" invalidate-after-use="yes"/> | |
2443 </modify-function> | |
2444 <modify-function signature="event(QEvent*)"> | |
2445 <modify-argument index="1" invalidate-after-use="yes"/> | |
2446 </modify-function> | |
2447 <modify-function signature="eventFilter(QObject*,QEvent*)"> | |
2448 <modify-argument index="2" invalidate-after-use="yes"/> | |
2449 </modify-function> | |
2450 <modify-function signature="timerEvent(QTimerEvent*)"> | |
2451 <modify-argument index="1" invalidate-after-use="yes"/> | |
2452 </modify-function> | |
2453 | |
2454 <modify-function signature="installEventFilter(QObject*)"> | |
2455 <modify-argument index="1"> | |
2456 <reference-count action="add" variable-name="__rcEventFilters"/> | |
2457 </modify-argument> | |
2458 </modify-function> | |
2459 <modify-function signature="removeEventFilter(QObject*)"> | |
2460 <modify-argument index="1"> | |
2461 <reference-count action="remove" variable-name="__rcEventFilters"/> | |
2462 </modify-argument> | |
2463 </modify-function> | |
2464 <modify-function signature="setParent(QObject*)"> | |
2465 <modify-argument index="1"> | |
2466 <reference-count action="ignore"/> | |
2467 </modify-argument> | |
183 | 2468 <!-- <inject-code class="java" position="beginning"> |
1 | 2469 <argument-map index="1" meta-name="%1"/> |
2470 if (%1 is null && !__gc_managed) { | |
2471 remove(__gc_ref_list, this); | |
2472 __gc_managed = true; | |
2473 } else if (%1 !is null && __gc_managed) { | |
2474 __gc_ref_list ~= this; | |
2475 __gc_managed = false; | |
2476 } | |
183 | 2477 </inject-code> --> |
253 | 2478 |
1 | 2479 </modify-function> |
288 | 2480 <!-- |
1 | 2481 <modify-function signature="deleteLater()"> |
2482 <rename to="disposeLater"/> | |
2483 </modify-function> | |
288 | 2484 --> |
1 | 2485 <modify-function signature="inherits(const char*)const"> |
2486 <remove/> | |
2487 </modify-function> | |
2488 | |
2489 <modify-function signature="property(const char*)const"> | |
2490 <access modifier="private"/> | |
2491 </modify-function> | |
2492 | |
2493 <modify-function signature="setProperty(const char*,QVariant)"> | |
2494 <access modifier="private"/> | |
2495 </modify-function> | |
2496 | |
2497 | |
2498 <extra-includes> | |
2499 <include file-name="QVarLengthArray" location="global"/> | |
2500 </extra-includes> | |
2501 | |
253 | 2502 <inject-code class="java"> |
2503 <import-file name="typesystem_core-java.java" quote-after-line="class QObject___" quote-before-line="}// class"/> | |
2504 </inject-code> | |
1 | 2505 </object-type> |
2506 | |
2507 <object-type name="QCoreApplication"> | |
2508 <extra-includes> | |
2509 <include file-name="QStringList" location="global"/> | |
2510 </extra-includes> | |
2511 | |
2512 <extra-includes> | |
2513 <include file-name="qt.qtd.Str" location="java"/> | |
2514 </extra-includes> | |
2515 | |
2516 <modify-function signature="argv()" remove="all"/> <!-- Obsolete --> | |
2517 <modify-function signature="argc()" remove="all"/> <!-- Obsolete --> | |
2518 | |
2519 <modify-function signature="notify(QObject*,QEvent*)"> | |
2520 <modify-argument index="2" invalidate-after-use="yes"/> | |
2521 </modify-function> | |
2522 | |
2523 | |
2524 <modify-function signature="QCoreApplication(int &, char **)"> | |
2525 <access modifier="private"/> | |
2526 </modify-function> | |
2527 <modify-function signature="removePostedEvents(QObject*)"> | |
2528 <modify-argument index="1"> | |
2529 <reference-count action="ignore"/> | |
2530 </modify-argument> | |
2531 </modify-function> | |
2532 <modify-function signature="removePostedEvents(QObject*,int)"> | |
2533 <modify-argument index="1"> | |
2534 <reference-count action="ignore"/> | |
2535 </modify-argument> | |
2536 </modify-function> | |
2537 | |
2538 <modify-function signature="installTranslator(QTranslator *)"> | |
2539 <modify-argument index="1"> | |
2540 <reference-count action="add" variable-name="__rcTranslators"/> | |
2541 </modify-argument> | |
2542 </modify-function> | |
2543 | |
2544 <modify-function signature="removeTranslator(QTranslator *)"> | |
2545 <modify-argument index="1"> | |
2546 <reference-count action="remove" variable-name="__rcTranslators"/> | |
2547 </modify-argument> | |
2548 </modify-function> | |
2549 | |
2550 | |
2551 <modify-function signature="postEvent(QObject*,QEvent*)"> | |
2552 <modify-argument index="2"> | |
2553 <define-ownership class="java" owner="c++"/> | |
2554 </modify-argument> | |
2555 </modify-function> | |
253 | 2556 |
1 | 2557 <modify-function signature="QCoreApplication(int &, char **)"> |
2558 <inject-code class="shell"> | |
2559 // qtjambi_register_variant_handler(); | |
2560 </inject-code> | |
2561 </modify-function> | |
56
d5a6b6269f44
duic is working now on the first testcase, if there are any issues with it please report
eldar
parents:
39
diff
changeset
|
2562 <!-- <modify-function signature="translate(const char*,const char*,const char*,QCoreApplication::Encoding)"> |
1 | 2563 <access modifier="private"/> |
2564 <modify-argument index="3"> | |
2565 <remove-default-expression/> | |
2566 </modify-argument> | |
2567 <modify-argument index="4"> | |
2568 <remove-default-expression/> | |
2569 </modify-argument> | |
56
d5a6b6269f44
duic is working now on the first testcase, if there are any issues with it please report
eldar
parents:
39
diff
changeset
|
2570 </modify-function> --> |
1 | 2571 <inject-code> |
2572 <import-file name="typesystem_core-java.java" quote-after-line="class QCoreApplication___" quote-before-line="}// class"/> | |
2573 </inject-code> | |
56
d5a6b6269f44
duic is working now on the first testcase, if there are any issues with it please report
eldar
parents:
39
diff
changeset
|
2574 <!-- |
1 | 2575 <modify-function signature="translate(const char*,const char*,const char*,QCoreApplication::Encoding,int)"> |
2576 <access modifier="private"/> | |
56
d5a6b6269f44
duic is working now on the first testcase, if there are any issues with it please report
eldar
parents:
39
diff
changeset
|
2577 </modify-function>--> |
1 | 2578 </object-type> |
2579 | |
2580 <object-type name="QSettings"> | |
2581 <extra-includes> | |
2582 <include file-name="QStringList" location="global"/> | |
2583 </extra-includes> | |
2584 | |
75 | 2585 <modify-function signature="scope() const"> |
2586 <rename to="scope_"/> | |
2587 </modify-function> | |
1 | 2588 <modify-function signature="setSystemIniPath(const QString&)" remove="all"/> <!--### Obsolete in 4.3--> |
2589 <modify-function signature="setUserIniPath(const QString&)" remove="all"/> <!--### Obsolete in 4.3--> | |
2590 </object-type> | |
2591 | |
2592 <object-type name="QEvent" polymorphic-base="yes" polymorphic-id-expression="%1->type() == QEvent::None"/> | |
2593 <object-type name="QChildEvent" polymorphic-id-expression="%1->type() == QEvent::ChildAdded || %1->type() == QEvent::ChildPolished || %1->type() == QEvent::ChildRemoved"> | |
2594 <modify-field name="c" read="false" write="false"/> | |
2595 </object-type> | |
2596 <object-type name="QTimerEvent" polymorphic-id-expression="%1->type() == QEvent::Timer"/> | |
2597 | |
2598 <object-type name="QDynamicPropertyChangeEvent" polymorphic-id-expression="%1->type() == QEvent::DynamicPropertyChange"/> | |
2599 | |
2600 <object-type name="QDataStream"> | |
2601 <!-- qtd2 --> | |
2602 <modify-function signature="device() const" remove="all"/> | |
253 | 2603 |
1 | 2604 <modify-function signature="setDevice(QIODevice*)"> |
2605 <modify-argument index="1"> | |
2606 <reference-count action="set" variable-name="__rcDevice"/> | |
2607 </modify-argument> | |
2608 </modify-function> | |
2609 <modify-function signature="unsetDevice()"> | |
2610 <inject-code position="end"> | |
2611 __rcDevice = null; | |
2612 </inject-code> | |
2613 </modify-function> | |
2614 <modify-function signature="version() const"> | |
2615 <rename to="version_"/> | |
2616 </modify-function> | |
2617 | |
2618 <modify-function signature="operator<<(const char*)"> <remove/> </modify-function> | |
2619 <modify-function signature="operator<<(unsigned char)"> <remove/> </modify-function> | |
2620 <modify-function signature="operator<<(unsigned int)"> <remove/> </modify-function> | |
2621 <modify-function signature="operator<<(unsigned long long)"> <remove/> </modify-function> | |
2622 <modify-function signature="operator<<(unsigned short)"> <remove/> </modify-function> | |
2623 | |
2624 <modify-function signature="operator>>(char &*)"> <remove/> </modify-function> | |
2625 <modify-function signature="operator>>(uint&)"> <remove/> </modify-function> | |
2626 <modify-function signature="operator>>(unsigned char&)"> <remove/> </modify-function> | |
2627 <modify-function signature="operator>>(unsigned long long&)"> <remove/> </modify-function> | |
2628 | |
2629 <modify-function signature="readRawData(char*,int)"> <remove/> </modify-function> | |
2630 <modify-function signature="readBytes(char&*,uint&)"> <remove/> </modify-function> | |
2631 <modify-function signature="writeRawData(const char*,int)"> <remove/> </modify-function> | |
2632 <modify-function signature="writeBytes(const char*,uint)"> <remove/> </modify-function> | |
253 | 2633 |
1 | 2634 <template name="core.datastream_operator_shift_right"> |
2635 <insert-template name="core.stream_operator_shift_right"> | |
2636 <replace from="%STREAM_TYPE" to="QDataStream"/> | |
2637 </insert-template> | |
2638 </template> | |
2639 | |
2640 <template name="core.datastream_operator_shift_right_primitive"> | |
2641 <insert-template name="core.datastream_operator_shift_right"> | |
2642 <replace from="%VALUE_FUNCTION" to="%TYPEValue"/> | |
2643 </insert-template> | |
2644 </template> | |
2645 | |
2646 <modify-function signature="operator<<(bool)"> | |
2647 <rename to="writeBoolean"/> | |
2648 <modify-argument index="0" replace-value="this"/> | |
2649 </modify-function> | |
2650 <modify-function signature="operator<<(signed char)"> | |
2651 <rename to="writeByte"/> | |
2652 <modify-argument index="0" replace-value="this"/> | |
2653 </modify-function> | |
2654 <modify-function signature="operator<<(int)"> | |
2655 <rename to="writeInt"/> | |
2656 <modify-argument index="0" replace-value="this"/> | |
2657 </modify-function> | |
288 | 2658 <modify-function signature="operator<<(qint64)"> |
1 | 2659 <rename to="writeLong"/> |
2660 <modify-argument index="0" replace-value="this"/> | |
2661 </modify-function> | |
2662 <modify-function signature="operator<<(float)"> | |
2663 <rename to="writeFloat"/> | |
2664 <modify-argument index="0" replace-value="this"/> | |
2665 </modify-function> | |
2666 <modify-function signature="operator<<(double)"> | |
2667 <rename to="writeDouble"/> | |
2668 <modify-argument index="0" replace-value="this"/> | |
2669 </modify-function> | |
2670 <modify-function signature="operator<<(short)"> | |
2671 <rename to="writeShort_char"/> | |
2672 <access modifier="private"/> | |
2673 <modify-argument index="0" replace-value="this"/> | |
2674 </modify-function> | |
2675 | |
2676 <modify-function signature="operator>>(int&)"> | |
2677 <rename to="operator_shift_right_int"/> | |
2678 <modify-argument index="0" replace-value="this"/> | |
2679 <access modifier="private"/> | |
2680 </modify-function> | |
2681 | |
2682 <modify-function signature="operator>>(bool&)"> | |
2683 <rename to="operator_shift_right_boolean"/> | |
2684 <modify-argument index="0" replace-value="this"/> | |
2685 <access modifier="private"/> | |
2686 </modify-function> | |
2687 | |
2688 <modify-function signature="operator>>(short&)"> | |
2689 <rename to="operator_shift_right_short"/> | |
2690 <modify-argument index="0" replace-value="this"/> | |
2691 <access modifier="private"/> | |
2692 </modify-function> | |
2693 | |
288 | 2694 <modify-function signature="operator>>(qint64&)"> |
1 | 2695 <rename to="operator_shift_right_long"/> |
2696 <modify-argument index="0" replace-value="this"/> | |
2697 <access modifier="private"/> | |
2698 </modify-function> | |
2699 | |
2700 <modify-function signature="operator>>(signed char&)"> | |
2701 <rename to="operator_shift_right_byte"/> | |
2702 <modify-argument index="0" replace-value="this"/> | |
2703 <access modifier="private"/> | |
2704 </modify-function> | |
2705 | |
2706 <modify-function signature="operator>>(unsigned short&)"> | |
2707 <rename to="operator_shift_right_char"/> | |
2708 <modify-argument index="0" replace-value="this"/> | |
2709 <access modifier="private"/> | |
2710 </modify-function> | |
2711 | |
2712 <modify-function signature="operator>>(float&)"> | |
2713 <rename to="operator_shift_right_float"/> | |
2714 <modify-argument index="0" replace-value="this"/> | |
2715 <access modifier="private"/> | |
2716 </modify-function> | |
2717 | |
2718 <modify-function signature="operator>>(double&)"> | |
2719 <rename to="operator_shift_right_double"/> | |
2720 <modify-argument index="0" replace-value="this"/> | |
2721 <access modifier="private"/> | |
2722 </modify-function> | |
2723 | |
2724 <inject-code> | |
2725 <import-file name="typesystem_core-java.java" quote-after-line="class QDataStream___" quote-before-line="}// class"/> | |
2726 </inject-code> | |
2727 | |
2728 <inject-code class="native"> | |
2729 /* extern "C" jstring qtd_QDataStream_readString_private | |
2730 (void* __this_nativeId) | |
2731 { | |
2732 QTJAMBI_DEBUG_TRACE("(native) entering: QDataStream::%FUNCTION_NAME%_native"); | |
2733 QDataStream *qtStream = (QDataStream *) qtjambi_from_jlong(stream); | |
2734 | |
2735 jstring returned = 0; | |
2736 if (qtStream != 0) { | |
2737 QString qtString; | |
2738 operator>>(*qtStream, qtString); | |
2739 | |
2740 returned = qtjambi_from_qstring(env, qtString); | |
2741 } | |
2742 | |
2743 return returned; | |
2744 } | |
2745 | |
2746 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_core_QDataStream_writeString_1private) | |
2747 (JNIEnv *env, jobject, jlong stream, jstring string) | |
2748 { | |
2749 QTJAMBI_DEBUG_TRACE("(native) entering: QDataStream::%FUNCTION_NAME%_native"); | |
2750 QDataStream *qtStream = (QDataStream *) qtjambi_from_jlong(stream); | |
2751 | |
2752 if (qtStream != 0) { | |
2753 QString qtString = qtjambi_to_qstring(env, string); | |
2754 operator<<(*qtStream, qtString); | |
2755 } | |
2756 } | |
2757 */ | |
2758 </inject-code> | |
99 | 2759 <!-- |
1 | 2760 <template name="core.stream_constructor_bytearray"> |
99 | 2761 // Hold reference to byte array which goes away when the stream dies |
1 | 2762 private QByteArray byteArray = null; |
2763 public %CLASSNAME(QByteArray a, QIODevice.OpenMode mode) { | |
2764 this(a.nativePointer(), mode); | |
2765 byteArray = a; | |
2766 } | |
2767 | |
2768 public %CLASSNAME(QByteArray a, QIODevice.OpenModeFlag ... mode) { | |
2769 this(a.nativePointer(), mode); | |
2770 byteArray = a; | |
99 | 2771 } |
1 | 2772 </template> |
2773 | |
2774 <modify-function signature="QDataStream(QByteArray*,QFlags<QIODevice::OpenModeFlag>)"> | |
2775 <access modifier="private"/> | |
2776 </modify-function> | |
2777 <inject-code> | |
2778 <insert-template name="core.stream_constructor_bytearray"> | |
2779 <replace from="%CLASSNAME" to="QDataStream"/> | |
2780 </insert-template> | |
2781 </inject-code> | |
99 | 2782 --> |
1 | 2783 <template name="core.qdatastream_readorwrite_bytes"> |
2784 extern "C" JNIEXPORT jint JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_core_QDataStream_%FUNCTION_NAME%) | |
2785 (JNIEnv *env, jobject, jlong stream, jbyteArray array, jint length) | |
2786 { | |
2787 QTJAMBI_DEBUG_TRACE("(native) entering: QDataStream::%FUNCTION_NAME%"); | |
2788 char *rawBuffer = (char *) env->GetByteArrayElements(array, 0); | |
2789 | |
2790 QDataStream *qtStream = (QDataStream *) qtjambi_from_jlong(stream); | |
2791 int count = qtStream->%QT_FUNCTION_NAME%(rawBuffer, length); | |
2792 | |
2793 env->ReleaseByteArrayElements(array, (jbyte *) rawBuffer, 0); | |
2794 QTJAMBI_DEBUG_TRACE("(native) -> leaving: QDataStream::%FUNCTION_NAME%"); | |
2795 return qMin(count, (int) length); | |
2796 } | |
2797 </template> | |
2798 <!-- | |
2799 <inject-code class="native"> | |
2800 <insert-template name="core.qdatastream_readorwrite_bytes"> | |
2801 <replace from="%FUNCTION_NAME%" to="readBytes"/> | |
2802 <replace from="%QT_FUNCTION_NAME%" to="readRawData"/> | |
2803 </insert-template> | |
2804 <insert-template name="core.qdatastream_readorwrite_bytes"> | |
2805 <replace from="%FUNCTION_NAME%" to="writeBytes"/> | |
2806 <replace from="%QT_FUNCTION_NAME%" to="writeRawData"/> | |
2807 </insert-template> | |
2808 </inject-code> --> | |
2809 </object-type> | |
2810 | |
2811 <object-type name="QFSFileEngine"> | |
2812 <extra-includes> | |
2813 <include file-name="QDateTime" location="global"/> | |
2814 </extra-includes> | |
2815 </object-type> | |
2816 | |
2817 <object-type name="QTextStream"> | |
253 | 2818 |
1 | 2819 <modify-function signature="setCodec(QTextCodec *)" remove="all"/> |
2820 <modify-function signature="codec() const" remove="all"/> | |
253 | 2821 |
1 | 2822 <modify-function signature="QTextStream(QByteArray *, QFlags<QIODevice::OpenModeFlag>)"> <remove/> </modify-function> |
2823 <modify-function signature="QTextStream(QString*,QFlags<QIODevice::OpenModeFlag>)"> <remove/> </modify-function> | |
2824 <modify-function signature="operator>>(QChar&)"> <remove/> </modify-function> | |
2825 <modify-function signature="operator<<(const void*)"> <remove/> </modify-function> | |
2826 <modify-function signature="operator<<(unsigned int)"> <remove/> </modify-function> | |
2827 <modify-function signature="operator<<(unsigned long long)"> <remove/> </modify-function> | |
2828 <modify-function signature="operator<<(const QChar &)"> <remove/> </modify-function> | |
2829 <modify-function signature="operator<<(unsigned long)"> <remove/> </modify-function> | |
2830 <modify-function signature="operator<<(signed long)"> <remove/> </modify-function> | |
2831 <modify-function signature="operator<<(const char*)"> <remove/> </modify-function> | |
2832 <modify-function signature="operator<<(unsigned short)"> <remove/> </modify-function> | |
2833 <modify-function signature="operator<<(const QByteArray&)"> <remove/> </modify-function> | |
2834 <modify-function signature="operator>>(unsigned long long&)"> <remove/> </modify-function> | |
2835 <modify-function signature="operator>>(uint&)"> <remove/> </modify-function> | |
2836 <modify-function signature="operator>>(ulong&)"> <remove/> </modify-function> | |
2837 <modify-function signature="setString(QString*,QFlags<QIODevice::OpenModeFlag>)"> <remove/> </modify-function> | |
2838 <modify-function signature="string()const"> <remove/> </modify-function> | |
2839 <modify-function signature="operator>>(signed long&)"> <remove/> </modify-function> | |
2840 <modify-function signature="operator>>(char*)"> <remove/> </modify-function> | |
2841 <modify-function signature="operator>>(QByteArray&)"> <remove/> </modify-function> | |
2842 <modify-function signature="operator>>(QString&)"> <remove/> </modify-function> | |
2843 <modify-function signature="operator>>(unsigned short&)"> <remove/> </modify-function> | |
2844 | |
2845 <!-- | |
2846 <modify-function signature="setCodec(QTextCodec *)"> | |
2847 <modify-argument index="1"> | |
2848 <reference-count action="set" variable-name="__rcCodec"/> | |
2849 </modify-argument> | |
2850 </modify-function> | |
2851 --> | |
2852 <modify-function signature="QTextStream(QIODevice *)"> | |
2853 <modify-argument index="1"> | |
2854 <reference-count action="set" variable-name="__rcDevice"/> | |
2855 </modify-argument> | |
2856 </modify-function> | |
2857 <modify-function signature="setDevice(QIODevice *)"> | |
2858 <modify-argument index="1"> | |
2859 <reference-count action="set" variable-name="__rcDevice"/> | |
2860 </modify-argument> | |
2861 </modify-function> | |
2862 | |
2863 <template name="core.textstream_operator_shift_right"> | |
2864 <insert-template name="core.stream_operator_shift_right"> | |
2865 <replace from="%STREAM_TYPE" to="QTextStream"/> | |
2866 </insert-template> | |
2867 </template> | |
2868 | |
2869 <template name="core.textstream_operator_shift_right_primitive"> | |
2870 <insert-template name="core.textstream_operator_shift_right"> | |
2871 <replace from="%VALUE_FUNCTION" to="%TYPEValue"/> | |
2872 </insert-template> | |
2873 </template> | |
2874 | |
2875 <modify-function signature="operator<<(QBool)"> | |
2876 <rename to="writeBoolean"/> | |
2877 <modify-argument index="0" replace-value="this"/> | |
2878 </modify-function> | |
2879 <modify-function signature="operator<<(char)"> | |
2880 <modify-argument index="0" replace-value="this"/> | |
2881 <rename to="writeByte"/> | |
2882 </modify-function> | |
2883 <modify-function signature="operator<<(signed int)"> | |
2884 <rename to="writeInt"/> | |
2885 <modify-argument index="0" replace-value="this"/> | |
2886 </modify-function> | |
2887 <modify-function signature="operator<<(long long)"> | |
2888 <rename to="writeLong"/> | |
2889 <modify-argument index="0" replace-value="this"/> | |
2890 </modify-function> | |
2891 <modify-function signature="operator<<(float)"> | |
2892 <rename to="writeFloat"/> | |
2893 <modify-argument index="0" replace-value="this"/> | |
2894 </modify-function> | |
2895 <modify-function signature="operator<<(double)"> | |
2896 <rename to="writeDouble"/> | |
2897 <modify-argument index="0" replace-value="this"/> | |
2898 </modify-function> | |
2899 <modify-function signature="operator<<(signed short)"> | |
2900 <rename to="writeShort_char"/> | |
2901 <modify-argument index="0" replace-value="this"/> | |
2902 <access modifier="private"/> | |
2903 </modify-function> | |
115 | 2904 <modify-function signature="operator<<(const QString&)"> |
2905 <rename to="writeString"/> | |
2906 <modify-argument index="0" replace-value="this"/> | |
2907 </modify-function> | |
253 | 2908 |
1 | 2909 <modify-function signature="operator>>(char&)"> |
2910 <access modifier="private"/> | |
2911 <modify-argument index="0" replace-value="this"/> | |
2912 <rename to="operator_shift_right_byte"/> | |
2913 </modify-function> | |
2914 <modify-function signature="operator>>(signed short&)"> | |
2915 <access modifier="private"/> | |
2916 <modify-argument index="0" replace-value="this"/> | |
2917 <rename to="operator_shift_right_short"/> | |
2918 </modify-function> | |
2919 <modify-function signature="operator>>(signed int&)"> | |
2920 <access modifier="private"/> | |
2921 <modify-argument index="0" replace-value="this"/> | |
2922 <rename to="operator_shift_right_int"/> | |
2923 </modify-function> | |
2924 <modify-function signature="operator>>(long long&)"> | |
2925 <access modifier="private"/> | |
2926 <modify-argument index="0" replace-value="this"/> | |
2927 <rename to="operator_shift_right_long"/> | |
2928 </modify-function> | |
2929 <modify-function signature="operator>>(float&)"> | |
2930 <access modifier="private"/> | |
2931 <modify-argument index="0" replace-value="this"/> | |
2932 <rename to="operator_shift_right_float"/> | |
2933 </modify-function> | |
2934 <modify-function signature="operator>>(double&)"> | |
2935 <access modifier="private"/> | |
2936 <modify-argument index="0" replace-value="this"/> | |
2937 <rename to="operator_shift_right_double"/> | |
2938 </modify-function> | |
2939 | |
2940 <modify-function signature="setCodec(const char*)"> | |
2941 <access modifier="private"/> | |
2942 </modify-function> | |
2943 <inject-code> | |
2944 <import-file name="typesystem_core-java.java" quote-after-line="class QTextStream___" quote-before-line="}// class"/> | |
2945 </inject-code> | |
2946 <!-- | |
2947 <inject-code class="native"> | |
2948 extern "C" JNIEXPORT jstring JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_core_QTextStream_readString_1native) | |
2949 (JNIEnv *env, jobject, jlong id) | |
2950 { | |
2951 QTJAMBI_DEBUG_TRACE("(native) entering: QTextStream::readString()"); | |
2952 QTextStream *stream = (QTextStream *) qtjambi_from_jlong(id); | |
2953 QString str; | |
2954 (*stream) >> str; | |
2955 jstring s = qtjambi_from_qstring(env, str); | |
2956 QTJAMBI_DEBUG_TRACE("(native) -> leaving: QTextStream::readString()"); | |
2957 return s; | |
2958 } | |
2959 | |
2960 extern "C" JNIEXPORT void JNICALL QTJAMBI_FUNCTION_PREFIX(Java_com_trolltech_qt_core_QTextStream_writeString_1native) | |
2961 (JNIEnv *env, jobject, jlong id, jstring str) | |
2962 { | |
2963 QTJAMBI_DEBUG_TRACE("(native) entering: QTextStream::writeString()"); | |
2964 QString qstr = qtjambi_to_qstring(env, str); | |
2965 QTextStream *stream = (QTextStream *) qtjambi_from_jlong(id); | |
2966 (*stream) << qstr; | |
2967 QTJAMBI_DEBUG_TRACE("(native) -> leaving: QTextStream::readString()"); | |
2968 } | |
2969 </inject-code>--> | |
2970 </object-type> | |
2971 | |
2972 <object-type name="QSystemSemaphore"/> | |
2973 | |
2974 <namespace-type name="QtConcurrent" target-type="class"> | |
2975 <inject-code class="java"> | |
2976 <import-file name="typesystem_core-java.java" quote-after-line="class QtConcurrent___" quote-before-line="}// class"/> | |
2977 </inject-code> | |
2978 </namespace-type> | |
2979 | |
2980 <value-type name="QFuture" generate="no"> | |
2981 <modify-function signature="operator T() const" remove="all"/> | |
2982 <modify-function signature="operator=(const QFuture &)" remove="all"/> | |
253 | 2983 |
1 | 2984 <modify-function signature="operator==(const QFuture &)const"> |
2985 <modify-argument index="1"> | |
2986 <replace-type modified-type="qt.core.QFuture"/> | |
2987 <conversion-rule class="native"> | |
2988 <insert-template name="convert_qtjambifuture_to_native"/> | |
2989 </conversion-rule> | |
2990 </modify-argument> | |
2991 </modify-function> | |
2992 </value-type> | |
2993 <value-type name="QtJambiVoidFuture" java-name="QFutureVoid"> | |
2994 <modify-function signature="resultCount()const" remove="all"/> | |
2995 <modify-function signature="isResultReadyAt(int)const" remove="all"/> | |
253 | 2996 |
1 | 2997 <modify-function signature="QFuture(const QFuture &)"> |
2998 <modify-argument index="1"> | |
2999 <replace-type modified-type="qt.core.QFutureVoid"/> | |
3000 <conversion-rule class="native"> | |
3001 <insert-template name="convert_futurevoid_to_native"/> | |
3002 </conversion-rule> | |
3003 </modify-argument> | |
3004 </modify-function> | |
3005 </value-type> | |
3006 <value-type name="QtJambiFuture" java-name="QFuture" generic-class="yes"> | |
3007 <modify-function signature="QFuture(const QFuture &)"> | |
3008 <modify-argument index="1"> | |
3009 <replace-type modified-type="qt.core.QFuture<T>"/> | |
3010 <conversion-rule class="native"> | |
3011 <insert-template name="convert_qtjambifuture_to_native"/> | |
3012 </conversion-rule> | |
3013 </modify-argument> | |
3014 </modify-function> | |
3015 </value-type> | |
3016 | |
3017 <object-type name="QFutureWatcherBase"> | |
3018 <modify-function signature="connectNotify(const char *)" remove="all"/> | |
3019 <modify-function signature="disconnectNotify(const char *)" remove="all"/> | |
253 | 3020 |
1 | 3021 <inject-code class="shell-declaration"> |
3022 | |
3023 // private, pure virtual and considered internal | |
3024 // we need to reimplement them so it will compile | |
3025 QFutureInterfaceBase dummyBase; | |
3026 virtual const QFutureInterfaceBase &futureInterface() const { return dummyBase; } | |
3027 virtual QFutureInterfaceBase &futureInterface() { return dummyBase; } | |
3028 </inject-code> | |
3029 </object-type> | |
3030 <object-type name="QtJambiVoidFutureWatcher" java-name="QFutureWatcherVoid"> | |
3031 <modify-function signature="setFuture(const QFuture &)"> | |
3032 <modify-argument index="1"> | |
3033 <replace-type modified-type="qt.core.QFutureVoid"/> | |
3034 <conversion-rule class="native"> | |
3035 <insert-template name="convert_futurevoid_to_native"/> | |
3036 </conversion-rule> | |
3037 </modify-argument> | |
3038 </modify-function> | |
3039 <inject-code> | |
3040 <import-file name="typesystem_core-java.java" quote-after-line="class QFutureWatcherVoid___" quote-before-line="}// class"/> | |
3041 </inject-code> | |
3042 <inject-code class="native"> | |
3043 <insert-template name="future_function_in_futurewatcher"> | |
3044 <replace from="QFutureWatcher" to="QFutureWatcherVoid"/> | |
3045 <replace from="QtJambiFuture" to="QtJambiVoidFuture"/> | |
3046 <replace from=""QFuture"" to=""QFutureVoid""/> | |
3047 </insert-template> | |
3048 </inject-code> | |
3049 </object-type> | |
3050 | |
3051 <object-type name="QFutureWatcher" generate="no"> | |
3052 <modify-function signature="future()const" remove="all"/> | |
253 | 3053 |
1 | 3054 <modify-function signature="setFuture(const QFuture &)"> |
3055 <modify-argument index="1"> | |
3056 <replace-type modified-type="qt.core.QFuture<T>"/> | |
3057 <conversion-rule class="native"> | |
3058 <insert-template name="convert_qtjambifuture_to_native"/> | |
3059 </conversion-rule> | |
3060 </modify-argument> | |
3061 </modify-function> | |
3062 </object-type> | |
3063 <object-type name="QtJambiFutureWatcher" java-name="QFutureWatcher" generic-class="yes"> | |
3064 <inject-code> | |
3065 <import-file name="typesystem_core-java.java" quote-after-line="class QFutureWatcher___" quote-before-line="}// class"/> | |
3066 </inject-code> | |
3067 <inject-code class="native"> | |
3068 <insert-template name="future_function_in_futurewatcher"/> | |
3069 </inject-code> | |
3070 </object-type> | |
3071 | |
3072 <object-type name="QFutureSynchronizer" generate="no"/> | |
3073 <object-type name="QtJambiFutureSynchronizer" generic-class="yes" java-name="QFutureSynchronizer"> | |
3074 <modify-function signature="QFutureSynchronizer(const QFuture &)"> | |
3075 <modify-argument index="1"> | |
3076 <replace-type modified-type="qt.core.QFuture<T>"/> | |
3077 <conversion-rule class="native"> | |
3078 <insert-template name="convert_qtjambifuture_to_native"/> | |
3079 </conversion-rule> | |
3080 </modify-argument> | |
3081 </modify-function> | |
3082 <modify-function signature="addFuture(const QFuture &)"> | |
3083 <modify-argument index="1"> | |
3084 <replace-type modified-type="qt.core.QFuture<T>"/> | |
3085 <conversion-rule class="native"> | |
3086 <insert-template name="convert_qtjambifuture_to_native"/> | |
3087 </conversion-rule> | |
3088 </modify-argument> | |
3089 </modify-function> | |
3090 <modify-function signature="setFuture(const QFuture &)"> | |
3091 <modify-argument index="1"> | |
3092 <replace-type modified-type="qt.core.QFuture<T>"/> | |
3093 <conversion-rule class="native"> | |
3094 <insert-template name="convert_qtjambifuture_to_native"/> | |
3095 </conversion-rule> | |
3096 </modify-argument> | |
3097 </modify-function> | |
3098 <modify-function signature="futures()const" remove="all"/> | |
3099 <inject-code class="native"> | |
3100 <insert-template name="futures_function_in_futuresynchronizer"/> | |
3101 </inject-code> | |
3102 <inject-code class="java"> | |
3103 <import-file name="typesystem_core-java.java" quote-after-line="class QFutureSynchronizer___" quote-before-line="}// class"/> | |
3104 </inject-code> | |
3105 </object-type> | |
3106 <object-type name="QtJambiVoidFutureSynchronizer" java-name="QFutureSynchronizerVoid"> | |
3107 <modify-function signature="QFutureSynchronizer(const QFuture &)"> | |
3108 <modify-argument index="1"> | |
3109 <replace-type modified-type="qt.core.QFutureVoid"/> | |
3110 <conversion-rule class="native"> | |
3111 <insert-template name="convert_futurevoid_to_native"/> | |
3112 </conversion-rule> | |
3113 </modify-argument> | |
3114 </modify-function> | |
3115 <modify-function signature="addFuture(const QFuture &)"> | |
3116 <modify-argument index="1"> | |
3117 <replace-type modified-type="qt.core.QFutureVoid"/> | |
3118 <conversion-rule class="native"> | |
3119 <insert-template name="convert_futurevoid_to_native"/> | |
3120 </conversion-rule> | |
3121 </modify-argument> | |
3122 </modify-function> | |
3123 <modify-function signature="setFuture(const QFuture &)"> | |
3124 <modify-argument index="1"> | |
3125 <replace-type modified-type="qt.core.QFutureVoid"/> | |
3126 <conversion-rule class="native"> | |
3127 <insert-template name="convert_futurevoid_to_native"/> | |
3128 </conversion-rule> | |
3129 </modify-argument> | |
3130 </modify-function> | |
3131 <modify-function signature="futures()const" remove="all"/> | |
3132 <inject-code class="native"> | |
3133 <insert-template name="futures_function_in_futuresynchronizer"> | |
3134 <replace from="QFutureSynchronizer" to="QFutureSynchronizerVoid"/> | |
3135 <replace from="QtJambiFutureSynchronizer" to="QtJambiVoidFutureSynchronizer"/> | |
3136 <replace from="QtJambiFuture" to="QtJambiVoidFuture"/> | |
3137 <replace from=""QFuture"" to=""QFutureVoid""/> | |
3138 </insert-template> | |
3139 </inject-code> | |
3140 <inject-code class="java"> | |
3141 <import-file name="typesystem_core-java.java" quote-after-line="class QFutureSynchronizerVoid___" quote-before-line="}// class"/> | |
3142 </inject-code> | |
3143 </object-type> | |
3144 <object-type name="QThreadPool"/> | |
3145 | |
3146 <object-type name="QFutureIterator" generate="no"> | |
3147 <modify-function signature="operator=(const QFuture&)" remove="all"/> | |
3148 </object-type> | |
3149 <object-type name="QtJambiFutureIterator" generic-class="yes" java-name="QFutureIterator"> | |
3150 <modify-function signature="QFutureIterator(const QFuture &)"> | |
3151 <modify-argument index="1"> | |
3152 <replace-type modified-type="qt.core.QFuture<T>"/> | |
3153 <conversion-rule class="native"> | |
3154 <insert-template name="convert_qtjambifuture_to_native"/> | |
3155 </conversion-rule> | |
3156 </modify-argument> | |
3157 </modify-function> | |
3158 </object-type> | |
3159 <object-type name="QRunnable"/> | |
3160 | |
3161 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'std::*'"/> | |
3162 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private\*'"/> | |
3163 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type '*Private&'"/> | |
3164 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QMetaObject'"/> | |
3165 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'FILE\*'"/> | |
3166 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QByteArray::Data\*'"/> | |
3167 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTSMFC'"/> | |
3168 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QTSMFI'"/> | |
3169 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QAbstractFileEngine::ExtensionOption const\*'"/> | |
3170 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QAbstractFileEngine::Iterator\*'"/> | |
3171 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QDataStream::ByteOrder'"/> | |
3172 <suppress-warning text="WARNING(MetaJavaBuilder) :: visibility of function '*' modified in class '*'"/> | |
3173 <suppress-warning text="WARNING(MetaJavaBuilder) :: hiding of function '*' in class '*'"/> | |
3174 <suppress-warning text="WARNING(CppImplGenerator) :: protected function '*' in final class '*'"/> | |
3175 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QPointer<*>'"/> | |
3176 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping * unmatched *type 'QVector<*>'"/> | |
3177 <suppress-warning text="* private virtual function '*' in 'QAbstractListModel'"/> | |
3178 <suppress-warning text="* private virtual function '*' in 'QAbstractTableModel'"/> | |
3179 <suppress-warning text="* private virtual function '*' in 'QListWidget'"/> | |
3180 <suppress-warning text="* private virtual function '*' in 'QTreeWidget'"/> | |
3181 <suppress-warning text="* private virtual function '*' in 'QFontDialog'"/> | |
3182 <suppress-warning text="* private virtual function '*' in 'QTableWidget'"/> | |
3183 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QDateTime' has equals operators but no qHash() function"/> | |
3184 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPersistentModelIndex' has equals operators but no qHash() function"/> | |
3185 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QUuid' has equals operators but no qHash() function"/> | |
3186 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QRect' has equals operators but no qHash() function"/> | |
3187 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QTime' has equals operators but no qHash() function"/> | |
3188 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QLocale' has equals operators but no qHash() function"/> | |
3189 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QDir' has equals operators but no qHash() function"/> | |
3190 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPointF' has equals operators but no qHash() function"/> | |
3191 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QSize' has equals operators but no qHash() function"/> | |
3192 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFileInfo' has equals operators but no qHash() function"/> | |
3193 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QSizeF' has equals operators but no qHash() function"/> | |
3194 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QRegExp' has equals operators but no qHash() function"/> | |
3195 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QRectF' has equals operators but no qHash() function"/> | |
3196 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QDate' has equals operators but no qHash() function"/> | |
3197 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QPoint' has equals operators but no qHash() function"/> | |
3198 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QUrl' has equals operators but no qHash() function"/> | |
3199 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFutureWatcherBase::futureInterface', unmatched return type 'QFutureInterfaceBase&'"/> | |
3200 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFutureWatcherBase::futureInterface', unmatched return type 'QFutureInterfaceBase const&'"/> | |
3201 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFutureWatcher::futureInterface', unmatched return type 'QFutureInterfaceBase&'"/> | |
3202 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFutureWatcher::futureInterface', unmatched return type 'QFutureInterfaceBase const&'"/> | |
3203 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFuture' has equals operators but no qHash() function"/> | |
3204 <suppress-warning text="WARNING(MetaJavaBuilder) :: unknown operator 'T'"/> | |
3205 <suppress-warning text="WARNING(MetaJavaBuilder) :: Class 'QFutureVoid' has equals operators but no qHash() function"/> | |
3206 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::constBegin', unmatched return type 'const_iterator'"/> | |
3207 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::end', unmatched return type 'const_iterator'"/> | |
3208 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::constEnd', unmatched return type 'const_iterator'"/> | |
3209 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::QFuture', unmatched parameter type 'QFutureInterface<T>*'"/> | |
3210 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QFuture::begin', unmatched return type 'const_iterator'"/> | |
3211 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMapped', unmatched return type 'Sequence'"/> | |
3212 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMapped', unmatched return type 'QList<U>'"/> | |
3213 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMapped', unmatched return type 'QList<MapFunctor::result_type>'"/> | |
3214 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMapped', unmatched return type 'OutputSequence'"/> | |
3215 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filtered', unmatched parameter type 'Iterator'"/> | |
3216 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filtered', unmatched parameter type 'Sequence const&'"/> | |
3217 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filter', unmatched parameter type 'Sequence&'"/> | |
3218 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startFiltered', unmatched return type 'ThreadEngineStarter<Sequence::value_type>'"/> | |
3219 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startFiltered', unmatched return type 'ThreadEngineStarter<Iterator::value_type>'"/> | |
3220 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMappedReduced', unmatched return type 'V'"/> | |
3221 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMappedReduced', unmatched return type 'W'"/> | |
3222 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMappedReduced', unmatched return type 'ResultType'"/> | |
3223 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMappedReduced', unmatched return type 'U'"/> | |
3224 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFiltered', unmatched return type 'OutputSequence'"/> | |
3225 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFiltered', unmatched return type 'Sequence'"/> | |
3226 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startMappedReduced', unmatched return type 'ThreadEngineStarter<ResultType>'"/> | |
3227 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFilteredReduced', unmatched return type 'U'"/> | |
3228 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFilteredReduced', unmatched return type 'V'"/> | |
3229 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFilteredReduced', unmatched return type 'ResultType'"/> | |
3230 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startMap', unmatched return type 'ThreadEngineStarter<void>'"/> | |
3231 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startThreadEngine', unmatched return type 'ThreadEngineStarter<ThreadEngine::ResultType>'"/> | |
3232 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::mappedReduced', unmatched parameter type 'Iterator'"/> | |
3233 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::mappedReduced', unmatched parameter type 'Sequence const&'"/> | |
3234 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filteredReduced', unmatched parameter type 'Iterator'"/> | |
3235 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filteredReduced', unmatched parameter type 'Sequence const&'"/> | |
3236 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::map', unmatched parameter type 'Iterator'"/> | |
3237 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::map', unmatched parameter type 'Sequence&'"/> | |
3238 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::filterInternal', unmatched return type 'ThreadEngineStarter<void>'"/> | |
3239 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::createFunctor', unmatched return type 'QtConcurrent::SelectMemberFunctor0lt;T,Class>::type'"/> | |
3240 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::createFunctor', unmatched return type 'SelectFunctor0<T,T>::type'"/> | |
3241 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::mapped', unmatched parameter type 'Iterator'"/> | |
3242 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::mapped', unmatched parameter type 'Sequence const&'"/> | |
3243 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMap', unmatched parameter type 'Iterator'"/> | |
3244 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingMap', unmatched parameter type 'Sequence&'"/> | |
3245 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startMapped', unmatched return type 'QtConcurrent::ThreadEngineStarter<T>'"/> | |
3246 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::startFilteredReduced', unmatched return type 'ThreadEngineStarter<ResultType>'"/> | |
3247 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'Class const*'"/> | |
3248 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'Class*'"/> | |
3249 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'Class const&'"/> | |
3250 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'FunctionObject*'"/> | |
3251 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'FunctionObject'"/> | |
3252 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::run', unmatched parameter type 'T'"/> | |
3253 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::blockingFilter', unmatched parameter type 'Sequence&'"/> | |
3254 <suppress-warning text="WARNING(MetaJavaBuilder) :: skipping function 'QtConcurrent::createFunctor', unmatched return type 'QtConcurrent::SelectMemberFunctor0<T,Class>::type'"/> | |
3255 | |
3256 <suppress-warning text="WARNING(Parser) :: ** WARNING scope not found for function definition:QFuture<void>::operator= - definition *ignored*"/> | |
3257 <suppress-warning text="WARNING(Parser) :: ** WARNING scope not found for function definition:QFutureInterface<void>::future - definition *ignored*"/> | |
3258 <suppress-warning text="WARNING(Parser) :: ** WARNING scope not found for function definition:QFutureWatcher<void>::setFuture - definition *ignored*"/> | |
3259 | |
3260 | |
3261 </typesystem> |