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