Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/.moc/moc_qqmldelegatemodel_p.cpp |
Switch to Source code | Preprocessed file |
Line | Source | Count |
---|---|---|
1 | - | |
2 | - | |
3 | #pragma GCC diagnostic push | - |
4 | - | |
5 | - | |
6 | #pragma GCC diagnostic ignored "-Wdeprecated-declarations" | - |
7 | - | |
8 | struct qt_meta_stringdata_QQmlDelegateModel_t { | - |
9 | QByteArrayData data[47]; | - |
10 | char stringdata0[628]; | - |
11 | }; | - |
12 | - | |
13 | - | |
14 | - | |
15 | - | |
16 | - | |
17 | static const qt_meta_stringdata_QQmlDelegateModel_t qt_meta_stringdata_QQmlDelegateModel = { | - |
18 | { | - |
19 | { { { -1 } }, 17, 0, 0, qptrdiff( | - |
20 | __builtin_offsetof ( | - |
21 | qt_meta_stringdata_QQmlDelegateModel_t | - |
22 | , | - |
23 | stringdata0 | - |
24 | ) | - |
25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
26 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
27 | __builtin_offsetof ( | - |
28 | qt_meta_stringdata_QQmlDelegateModel_t | - |
29 | , | - |
30 | stringdata0 | - |
31 | ) | - |
32 | + 18 - 1 * sizeof(QByteArrayData)) }, | - |
33 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
34 | __builtin_offsetof ( | - |
35 | qt_meta_stringdata_QQmlDelegateModel_t | - |
36 | , | - |
37 | stringdata0 | - |
38 | ) | - |
39 | + 34 - 2 * sizeof(QByteArrayData)) }, | - |
40 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
41 | __builtin_offsetof ( | - |
42 | qt_meta_stringdata_QQmlDelegateModel_t | - |
43 | , | - |
44 | stringdata0 | - |
45 | ) | - |
46 | + 43 - 3 * sizeof(QByteArrayData)) }, | - |
47 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
48 | __builtin_offsetof ( | - |
49 | qt_meta_stringdata_QQmlDelegateModel_t | - |
50 | , | - |
51 | stringdata0 | - |
52 | ) | - |
53 | + 62 - 4 * sizeof(QByteArrayData)) }, | - |
54 | { { { -1 } }, 20, 0, 0, qptrdiff( | - |
55 | __builtin_offsetof ( | - |
56 | qt_meta_stringdata_QQmlDelegateModel_t | - |
57 | , | - |
58 | stringdata0 | - |
59 | ) | - |
60 | + 63 - 5 * sizeof(QByteArrayData)) }, | - |
61 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
62 | __builtin_offsetof ( | - |
63 | qt_meta_stringdata_QQmlDelegateModel_t | - |
64 | , | - |
65 | stringdata0 | - |
66 | ) | - |
67 | + 84 - 6 * sizeof(QByteArrayData)) }, | - |
68 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
69 | __builtin_offsetof ( | - |
70 | qt_meta_stringdata_QQmlDelegateModel_t | - |
71 | , | - |
72 | stringdata0 | - |
73 | ) | - |
74 | + 101 - 7 * sizeof(QByteArrayData)) }, | - |
75 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
76 | __builtin_offsetof ( | - |
77 | qt_meta_stringdata_QQmlDelegateModel_t | - |
78 | , | - |
79 | stringdata0 | - |
80 | ) | - |
81 | + 113 - 8 * sizeof(QByteArrayData)) }, | - |
82 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
83 | __builtin_offsetof ( | - |
84 | qt_meta_stringdata_QQmlDelegateModel_t | - |
85 | , | - |
86 | stringdata0 | - |
87 | ) | - |
88 | + 128 - 9 * sizeof(QByteArrayData)) }, | - |
89 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
90 | __builtin_offsetof ( | - |
91 | qt_meta_stringdata_QQmlDelegateModel_t | - |
92 | , | - |
93 | stringdata0 | - |
94 | ) | - |
95 | + 144 - 10 * sizeof(QByteArrayData)) }, | - |
96 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
97 | __builtin_offsetof ( | - |
98 | qt_meta_stringdata_QQmlDelegateModel_t | - |
99 | , | - |
100 | stringdata0 | - |
101 | ) | - |
102 | + 150 - 11 * sizeof(QByteArrayData)) }, | - |
103 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
104 | __builtin_offsetof ( | - |
105 | qt_meta_stringdata_QQmlDelegateModel_t | - |
106 | , | - |
107 | stringdata0 | - |
108 | ) | - |
109 | + 156 - 12 * sizeof(QByteArrayData)) }, | - |
110 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
111 | __builtin_offsetof ( | - |
112 | qt_meta_stringdata_QQmlDelegateModel_t | - |
113 | , | - |
114 | stringdata0 | - |
115 | ) | - |
116 | + 169 - 13 * sizeof(QByteArrayData)) }, | - |
117 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
118 | __builtin_offsetof ( | - |
119 | qt_meta_stringdata_QQmlDelegateModel_t | - |
120 | , | - |
121 | stringdata0 | - |
122 | ) | - |
123 | + 175 - 14 * sizeof(QByteArrayData)) }, | - |
124 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
125 | __builtin_offsetof ( | - |
126 | qt_meta_stringdata_QQmlDelegateModel_t | - |
127 | , | - |
128 | stringdata0 | - |
129 | ) | - |
130 | + 192 - 15 * sizeof(QByteArrayData)) }, | - |
131 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
132 | __builtin_offsetof ( | - |
133 | qt_meta_stringdata_QQmlDelegateModel_t | - |
134 | , | - |
135 | stringdata0 | - |
136 | ) | - |
137 | + 208 - 16 * sizeof(QByteArrayData)) }, | - |
138 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
139 | __builtin_offsetof ( | - |
140 | qt_meta_stringdata_QQmlDelegateModel_t | - |
141 | , | - |
142 | stringdata0 | - |
143 | ) | - |
144 | + 222 - 17 * sizeof(QByteArrayData)) }, | - |
145 | { { { -1 } }, 2, 0, 0, qptrdiff( | - |
146 | __builtin_offsetof ( | - |
147 | qt_meta_stringdata_QQmlDelegateModel_t | - |
148 | , | - |
149 | stringdata0 | - |
150 | ) | - |
151 | + 227 - 18 * sizeof(QByteArrayData)) }, | - |
152 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
153 | __builtin_offsetof ( | - |
154 | qt_meta_stringdata_QQmlDelegateModel_t | - |
155 | , | - |
156 | stringdata0 | - |
157 | ) | - |
158 | + 230 - 19 * sizeof(QByteArrayData)) }, | - |
159 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
160 | __builtin_offsetof ( | - |
161 | qt_meta_stringdata_QQmlDelegateModel_t | - |
162 | , | - |
163 | stringdata0 | - |
164 | ) | - |
165 | + 244 - 20 * sizeof(QByteArrayData)) }, | - |
166 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
167 | __builtin_offsetof ( | - |
168 | qt_meta_stringdata_QQmlDelegateModel_t | - |
169 | , | - |
170 | stringdata0 | - |
171 | ) | - |
172 | + 260 - 21 * sizeof(QByteArrayData)) }, | - |
173 | { { { -1 } }, 23, 0, 0, qptrdiff( | - |
174 | __builtin_offsetof ( | - |
175 | qt_meta_stringdata_QQmlDelegateModel_t | - |
176 | , | - |
177 | stringdata0 | - |
178 | ) | - |
179 | + 272 - 22 * sizeof(QByteArrayData)) }, | - |
180 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
181 | __builtin_offsetof ( | - |
182 | qt_meta_stringdata_QQmlDelegateModel_t | - |
183 | , | - |
184 | stringdata0 | - |
185 | ) | - |
186 | + 296 - 23 * sizeof(QByteArrayData)) }, | - |
187 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
188 | __builtin_offsetof ( | - |
189 | qt_meta_stringdata_QQmlDelegateModel_t | - |
190 | , | - |
191 | stringdata0 | - |
192 | ) | - |
193 | + 303 - 24 * sizeof(QByteArrayData)) }, | - |
194 | { { { -1 } }, 3, 0, 0, qptrdiff( | - |
195 | __builtin_offsetof ( | - |
196 | qt_meta_stringdata_QQmlDelegateModel_t | - |
197 | , | - |
198 | stringdata0 | - |
199 | ) | - |
200 | + 309 - 25 * sizeof(QByteArrayData)) }, | - |
201 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
202 | __builtin_offsetof ( | - |
203 | qt_meta_stringdata_QQmlDelegateModel_t | - |
204 | , | - |
205 | stringdata0 | - |
206 | ) | - |
207 | + 313 - 26 * sizeof(QByteArrayData)) }, | - |
208 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
209 | __builtin_offsetof ( | - |
210 | qt_meta_stringdata_QQmlDelegateModel_t | - |
211 | , | - |
212 | stringdata0 | - |
213 | ) | - |
214 | + 328 - 27 * sizeof(QByteArrayData)) }, | - |
215 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
216 | __builtin_offsetof ( | - |
217 | qt_meta_stringdata_QQmlDelegateModel_t | - |
218 | , | - |
219 | stringdata0 | - |
220 | ) | - |
221 | + 341 - 28 * sizeof(QByteArrayData)) }, | - |
222 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
223 | __builtin_offsetof ( | - |
224 | qt_meta_stringdata_QQmlDelegateModel_t | - |
225 | , | - |
226 | stringdata0 | - |
227 | ) | - |
228 | + 356 - 29 * sizeof(QByteArrayData)) }, | - |
229 | { { { -1 } }, 28, 0, 0, qptrdiff( | - |
230 | __builtin_offsetof ( | - |
231 | qt_meta_stringdata_QQmlDelegateModel_t | - |
232 | , | - |
233 | stringdata0 | - |
234 | ) | - |
235 | + 373 - 30 * sizeof(QByteArrayData)) }, | - |
236 | { { { -1 } }, 36, 0, 0, qptrdiff( | - |
237 | __builtin_offsetof ( | - |
238 | qt_meta_stringdata_QQmlDelegateModel_t | - |
239 | , | - |
240 | stringdata0 | - |
241 | ) | - |
242 | + 402 - 31 * sizeof(QByteArrayData)) }, | - |
243 | { { { -1 } }, 10, 0, 0, qptrdiff( | - |
244 | __builtin_offsetof ( | - |
245 | qt_meta_stringdata_QQmlDelegateModel_t | - |
246 | , | - |
247 | stringdata0 | - |
248 | ) | - |
249 | + 439 - 32 * sizeof(QByteArrayData)) }, | - |
250 | { { { -1 } }, 3, 0, 0, qptrdiff( | - |
251 | __builtin_offsetof ( | - |
252 | qt_meta_stringdata_QQmlDelegateModel_t | - |
253 | , | - |
254 | stringdata0 | - |
255 | ) | - |
256 | + 450 - 33 * sizeof(QByteArrayData)) }, | - |
257 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
258 | __builtin_offsetof ( | - |
259 | qt_meta_stringdata_QQmlDelegateModel_t | - |
260 | , | - |
261 | stringdata0 | - |
262 | ) | - |
263 | + 454 - 34 * sizeof(QByteArrayData)) }, | - |
264 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
265 | __builtin_offsetof ( | - |
266 | qt_meta_stringdata_QQmlDelegateModel_t | - |
267 | , | - |
268 | stringdata0 | - |
269 | ) | - |
270 | + 471 - 35 * sizeof(QByteArrayData)) }, | - |
271 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
272 | __builtin_offsetof ( | - |
273 | qt_meta_stringdata_QQmlDelegateModel_t | - |
274 | , | - |
275 | stringdata0 | - |
276 | ) | - |
277 | + 477 - 36 * sizeof(QByteArrayData)) }, | - |
278 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
279 | __builtin_offsetof ( | - |
280 | qt_meta_stringdata_QQmlDelegateModel_t | - |
281 | , | - |
282 | stringdata0 | - |
283 | ) | - |
284 | + 492 - 37 * sizeof(QByteArrayData)) }, | - |
285 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
286 | __builtin_offsetof ( | - |
287 | qt_meta_stringdata_QQmlDelegateModel_t | - |
288 | , | - |
289 | stringdata0 | - |
290 | ) | - |
291 | + 506 - 38 * sizeof(QByteArrayData)) }, | - |
292 | { { { -1 } }, 23, 0, 0, qptrdiff( | - |
293 | __builtin_offsetof ( | - |
294 | qt_meta_stringdata_QQmlDelegateModel_t | - |
295 | , | - |
296 | stringdata0 | - |
297 | ) | - |
298 | + 512 - 39 * sizeof(QByteArrayData)) }, | - |
299 | { { { -1 } }, 14, 0, 0, qptrdiff( | - |
300 | __builtin_offsetof ( | - |
301 | qt_meta_stringdata_QQmlDelegateModel_t | - |
302 | , | - |
303 | stringdata0 | - |
304 | ) | - |
305 | + 536 - 40 * sizeof(QByteArrayData)) }, | - |
306 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
307 | __builtin_offsetof ( | - |
308 | qt_meta_stringdata_QQmlDelegateModel_t | - |
309 | , | - |
310 | stringdata0 | - |
311 | ) | - |
312 | + 551 - 41 * sizeof(QByteArrayData)) }, | - |
313 | { { { -1 } }, 40, 0, 0, qptrdiff( | - |
314 | __builtin_offsetof ( | - |
315 | qt_meta_stringdata_QQmlDelegateModel_t | - |
316 | , | - |
317 | stringdata0 | - |
318 | ) | - |
319 | + 558 - 42 * sizeof(QByteArrayData)) }, | - |
320 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
321 | __builtin_offsetof ( | - |
322 | qt_meta_stringdata_QQmlDelegateModel_t | - |
323 | , | - |
324 | stringdata0 | - |
325 | ) | - |
326 | + 599 - 43 * sizeof(QByteArrayData)) }, | - |
327 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
328 | __builtin_offsetof ( | - |
329 | qt_meta_stringdata_QQmlDelegateModel_t | - |
330 | , | - |
331 | stringdata0 | - |
332 | ) | - |
333 | + 605 - 44 * sizeof(QByteArrayData)) }, | - |
334 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
335 | __builtin_offsetof ( | - |
336 | qt_meta_stringdata_QQmlDelegateModel_t | - |
337 | , | - |
338 | stringdata0 | - |
339 | ) | - |
340 | + 615 - 45 * sizeof(QByteArrayData)) }, | - |
341 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
342 | __builtin_offsetof ( | - |
343 | qt_meta_stringdata_QQmlDelegateModel_t | - |
344 | , | - |
345 | stringdata0 | - |
346 | ) | - |
347 | + 620 - 46 * sizeof(QByteArrayData)) } | - |
348 | - | |
349 | }, | - |
350 | "QQmlDelegateModel\0DefaultProperty\0" | - |
351 | "delegate\0filterGroupChanged\0\0" | - |
352 | "defaultGroupsChanged\0rootIndexChanged\0" | - |
353 | "rowsChanged\0columnsChanged\0_q_itemsChanged\0" | - |
354 | "index\0count\0QVector<int>\0roles\0" | - |
355 | "_q_itemsInserted\0_q_itemsRemoved\0" | - |
356 | "_q_itemsMoved\0from\0to\0_q_modelReset\0" | - |
357 | "_q_rowsInserted\0QModelIndex\0" | - |
358 | "_q_rowsAboutToBeRemoved\0parent\0begin\0" | - |
359 | "end\0_q_rowsRemoved\0_q_rowsMoved\0" | - |
360 | "_q_dataChanged\0_q_layoutChanged\0" | - |
361 | "QList<QPersistentModelIndex>\0" | - |
362 | "QAbstractItemModel::LayoutChangeHint\0" | - |
363 | "modelIndex\0idx\0parentModelIndex\0model\0" | - |
364 | "QQmlComponent*\0filterOnGroup\0items\0" | - |
365 | "QQmlDelegateModelGroup*\0persistedItems\0" | - |
366 | "groups\0QQmlListProperty<QQmlDelegateModelGroup>\0" | - |
367 | "parts\0rootIndex\0rows\0columns" | - |
368 | }; | - |
369 | - | |
370 | - | |
371 | static const uint qt_meta_data_QQmlDelegateModel[] = { | - |
372 | - | |
373 | - | |
374 | 7, | - |
375 | 0, | - |
376 | 1, 14, | - |
377 | 18, 16, | - |
378 | 10, 202, | - |
379 | 0, 0, | - |
380 | 0, 0, | - |
381 | 0, | - |
382 | 5, | - |
383 | - | |
384 | - | |
385 | 1, 2, | - |
386 | - | |
387 | - | |
388 | 3, 0, 124, 4, 0x06 , | - |
389 | 5, 0, 125, 4, 0x06 , | - |
390 | 6, 0, 126, 4, 0x06 , | - |
391 | 7, 0, 127, 4, 0x86 , | - |
392 | 8, 0, 128, 4, 0x86 , | - |
393 | - | |
394 | - | |
395 | 9, 3, 129, 4, 0x08 , | - |
396 | 14, 2, 136, 4, 0x08 , | - |
397 | 15, 2, 141, 4, 0x08 , | - |
398 | 16, 3, 146, 4, 0x08 , | - |
399 | 19, 0, 153, 4, 0x08 , | - |
400 | 20, 3, 154, 4, 0x08 , | - |
401 | 22, 3, 161, 4, 0x08 , | - |
402 | 26, 3, 168, 4, 0x08 , | - |
403 | 27, 5, 175, 4, 0x08 , | - |
404 | 28, 3, 186, 4, 0x08 , | - |
405 | 29, 2, 193, 4, 0x08 , | - |
406 | - | |
407 | - | |
408 | 32, 1, 198, 4, 0x02 , | - |
409 | 34, 0, 201, 4, 0x02 , | - |
410 | - | |
411 | - | |
412 | 0, | - |
413 | 0, | - |
414 | 0, | - |
415 | 12, | - |
416 | 12, | - |
417 | - | |
418 | - | |
419 | 0, | - |
420 | 0, | - |
421 | 0, | - |
422 | 0, | - |
423 | 0, | - |
424 | 0, | - |
425 | 0, | - |
426 | 0, | - |
427 | 0, | - |
428 | 0, | - |
429 | 0, | - |
430 | - | |
431 | - | |
432 | 0, | - |
433 | 0, | - |
434 | - | |
435 | - | |
436 | QMetaType::Void, | - |
437 | QMetaType::Void, | - |
438 | QMetaType::Void, | - |
439 | QMetaType::Void, | - |
440 | QMetaType::Void, | - |
441 | - | |
442 | - | |
443 | QMetaType::Void, QMetaType::Int, QMetaType::Int, 0x80000000 | 12, 10, 11, 13, | - |
444 | QMetaType::Void, QMetaType::Int, QMetaType::Int, 10, 11, | - |
445 | QMetaType::Void, QMetaType::Int, QMetaType::Int, 10, 11, | - |
446 | QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 17, 18, 11, | - |
447 | QMetaType::Void, | - |
448 | QMetaType::Void, 0x80000000 | 21, QMetaType::Int, QMetaType::Int, 4, 4, 4, | - |
449 | QMetaType::Void, 0x80000000 | 21, QMetaType::Int, QMetaType::Int, 23, 24, 25, | - |
450 | QMetaType::Void, 0x80000000 | 21, QMetaType::Int, QMetaType::Int, 4, 4, 4, | - |
451 | QMetaType::Void, 0x80000000 | 21, QMetaType::Int, QMetaType::Int, 0x80000000 | 21, QMetaType::Int, 4, 4, 4, 4, 4, | - |
452 | QMetaType::Void, 0x80000000 | 21, 0x80000000 | 21, 0x80000000 | 12, 4, 4, 4, | - |
453 | QMetaType::Void, 0x80000000 | 30, 0x80000000 | 31, 4, 4, | - |
454 | - | |
455 | - | |
456 | QMetaType::QVariant, QMetaType::Int, 33, | - |
457 | QMetaType::QVariant, | - |
458 | - | |
459 | - | |
460 | 35, QMetaType::QVariant, 0x00095103, | - |
461 | 2, 0x80000000 | 36, 0x0009510b, | - |
462 | 37, QMetaType::QString, 0x00495007, | - |
463 | 38, 0x80000000 | 39, 0x00095409, | - |
464 | 40, 0x80000000 | 39, 0x00095409, | - |
465 | 41, 0x80000000 | 42, 0x00095409, | - |
466 | 43, QMetaType::QObjectStar, 0x00095401, | - |
467 | 44, QMetaType::QVariant, 0x00495103, | - |
468 | 45, QMetaType::Int, 0x00c95001, | - |
469 | 46, QMetaType::Int, 0x00c95001, | - |
470 | - | |
471 | - | |
472 | 0, | - |
473 | 0, | - |
474 | 0, | - |
475 | 0, | - |
476 | 0, | - |
477 | 0, | - |
478 | 0, | - |
479 | 2, | - |
480 | 3, | - |
481 | 4, | - |
482 | - | |
483 | - | |
484 | 0, | - |
485 | 0, | - |
486 | 0, | - |
487 | 0, | - |
488 | 0, | - |
489 | 0, | - |
490 | 0, | - |
491 | 0, | - |
492 | 12, | - |
493 | 12, | - |
494 | - | |
495 | 0 | - |
496 | }; | - |
497 | - | |
498 | void QQmlDelegateModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
499 | { | - |
500 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
501 | QQmlDelegateModel *_t = static_cast<QQmlDelegateModel *>(_o); | - |
502 | (void)_t; | - |
503 | switch (_id) { | - |
504 | case 0: _t->filterGroupChanged(); break; | - |
505 | case 1: _t->defaultGroupsChanged(); break; | - |
506 | case 2: _t->rootIndexChanged(); break; | - |
507 | case 3: _t->rowsChanged(); break; | - |
508 | case 4: _t->columnsChanged(); break; | - |
509 | case 5: _t->_q_itemsChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QVector<int>(*)>(_a[3]))); break; | - |
510 | case 6: _t->_q_itemsInserted((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | - |
511 | case 7: _t->_q_itemsRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break; | - |
512 | case 8: _t->_q_itemsMoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | - |
513 | case 9: _t->_q_modelReset(); break; | - |
514 | case 10: _t->_q_rowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | - |
515 | case 11: _t->_q_rowsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | - |
516 | case 12: _t->_q_rowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break; | - |
517 | case 13: _t->_q_rowsMoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QModelIndex(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break; | - |
518 | case 14: _t->_q_dataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])),(*reinterpret_cast< const QVector<int>(*)>(_a[3]))); break; | - |
519 | case 15: _t->_q_layoutChanged((*reinterpret_cast< const QList<QPersistentModelIndex>(*)>(_a[1])),(*reinterpret_cast< QAbstractItemModel::LayoutChangeHint(*)>(_a[2]))); break; | - |
520 | case 16: { QVariant _r = _t->modelIndex((*reinterpret_cast< int(*)>(_a[1]))); | - |
521 | if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); } break; | - |
522 | case 17: { QVariant _r = _t->parentModelIndex(); | - |
523 | if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); } break; | - |
524 | default: ; | - |
525 | } | - |
526 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
527 | switch (_id) { | - |
528 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
529 | case 5: | - |
530 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
531 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
532 | case 2: | - |
533 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<int> >(); break; | - |
534 | } | - |
535 | break; | - |
536 | case 14: | - |
537 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
538 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
539 | case 2: | - |
540 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<int> >(); break; | - |
541 | } | - |
542 | break; | - |
543 | } | - |
544 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
545 | int *result = reinterpret_cast<int *>(_a[0]); | - |
546 | { | - |
547 | using _t = void (QQmlDelegateModel::*)(); | - |
548 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDelegateModel::filterGroupChanged)) { | - |
549 | *result = 0; | - |
550 | return; | - |
551 | } | - |
552 | } | - |
553 | { | - |
554 | using _t = void (QQmlDelegateModel::*)(); | - |
555 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDelegateModel::defaultGroupsChanged)) { | - |
556 | *result = 1; | - |
557 | return; | - |
558 | } | - |
559 | } | - |
560 | { | - |
561 | using _t = void (QQmlDelegateModel::*)(); | - |
562 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDelegateModel::rootIndexChanged)) { | - |
563 | *result = 2; | - |
564 | return; | - |
565 | } | - |
566 | } | - |
567 | { | - |
568 | using _t = void (QQmlDelegateModel::*)(); | - |
569 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDelegateModel::rowsChanged)) { | - |
570 | *result = 3; | - |
571 | return; | - |
572 | } | - |
573 | } | - |
574 | { | - |
575 | using _t = void (QQmlDelegateModel::*)(); | - |
576 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDelegateModel::columnsChanged)) { | - |
577 | *result = 4; | - |
578 | return; | - |
579 | } | - |
580 | } | - |
581 | } else if (_c == QMetaObject::RegisterPropertyMetaType) { | - |
582 | switch (_id) { | - |
583 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
584 | case 4: | - |
585 | case 3: | - |
586 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlDelegateModelGroup* >(); break; | - |
587 | case 5: | - |
588 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QQmlDelegateModelGroup> >(); break; | - |
589 | } | - |
590 | } | - |
591 | - | |
592 | - | |
593 | else if (_c == QMetaObject::ReadProperty) { | - |
594 | QQmlDelegateModel *_t = static_cast<QQmlDelegateModel *>(_o); | - |
595 | (void)_t; | - |
596 | void *_v = _a[0]; | - |
597 | switch (_id) { | - |
598 | case 0: *reinterpret_cast< QVariant*>(_v) = _t->model(); break; | - |
599 | case 1: *reinterpret_cast< QQmlComponent**>(_v) = _t->delegate(); break; | - |
600 | case 2: *reinterpret_cast< QString*>(_v) = _t->filterGroup(); break; | - |
601 | case 3: *reinterpret_cast< QQmlDelegateModelGroup**>(_v) = _t->items(); break; | - |
602 | case 4: *reinterpret_cast< QQmlDelegateModelGroup**>(_v) = _t->persistedItems(); break; | - |
603 | case 5: *reinterpret_cast< QQmlListProperty<QQmlDelegateModelGroup>*>(_v) = _t->groups(); break; | - |
604 | case 6: *reinterpret_cast< QObject**>(_v) = _t->parts(); break; | - |
605 | case 7: *reinterpret_cast< QVariant*>(_v) = _t->rootIndex(); break; | - |
606 | case 8: *reinterpret_cast< int*>(_v) = _t->rows(); break; | - |
607 | case 9: *reinterpret_cast< int*>(_v) = _t->columns(); break; | - |
608 | default: break; | - |
609 | } | - |
610 | } else if (_c == QMetaObject::WriteProperty) { | - |
611 | QQmlDelegateModel *_t = static_cast<QQmlDelegateModel *>(_o); | - |
612 | (void)_t; | - |
613 | void *_v = _a[0]; | - |
614 | switch (_id) { | - |
615 | case 0: _t->setModel(*reinterpret_cast< QVariant*>(_v)); break; | - |
616 | case 1: _t->setDelegate(*reinterpret_cast< QQmlComponent**>(_v)); break; | - |
617 | case 2: _t->setFilterGroup(*reinterpret_cast< QString*>(_v)); break; | - |
618 | case 7: _t->setRootIndex(*reinterpret_cast< QVariant*>(_v)); break; | - |
619 | default: break; | - |
620 | } | - |
621 | } else if (_c == QMetaObject::ResetProperty) { | - |
622 | QQmlDelegateModel *_t = static_cast<QQmlDelegateModel *>(_o); | - |
623 | (void)_t; | - |
624 | switch (_id) { | - |
625 | case 2: _t->resetFilterGroup(); break; | - |
626 | default: break; | - |
627 | } | - |
628 | } | - |
629 | - | |
630 | } | - |
631 | - | |
632 | const QMetaObject QQmlDelegateModel::staticMetaObject = { | - |
633 | { &QQmlInstanceModel::staticMetaObject, qt_meta_stringdata_QQmlDelegateModel.data, | - |
634 | qt_meta_data_QQmlDelegateModel, qt_static_metacall, nullptr, nullptr} | - |
635 | }; | - |
636 | - | |
637 | - | |
638 | const QMetaObject *QQmlDelegateModel::metaObject() const | - |
639 | { | - |
640 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
641 | } | - |
642 | - | |
643 | void *QQmlDelegateModel::qt_metacast(const char *_clname) | - |
644 | { | - |
645 | if (!_clname) return nullptr; | - |
646 | if (!strcmp(_clname, qt_meta_stringdata_QQmlDelegateModel.stringdata0)) | - |
647 | return static_cast<void*>(this); | - |
648 | if (!strcmp(_clname, "QQmlParserStatus")) | - |
649 | return static_cast< QQmlParserStatus*>(this); | - |
650 | if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus")) | - |
651 | return static_cast< QQmlParserStatus*>(this); | - |
652 | return QQmlInstanceModel::qt_metacast(_clname); | - |
653 | } | - |
654 | - | |
655 | int QQmlDelegateModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
656 | { | - |
657 | _id = QQmlInstanceModel::qt_metacall(_c, _id, _a); | - |
658 | if (_id < 0) | - |
659 | return _id; | - |
660 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
661 | if (_id < 18) | - |
662 | qt_static_metacall(this, _c, _id, _a); | - |
663 | _id -= 18; | - |
664 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
665 | if (_id < 18) | - |
666 | qt_static_metacall(this, _c, _id, _a); | - |
667 | _id -= 18; | - |
668 | } | - |
669 | - | |
670 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
671 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
672 | qt_static_metacall(this, _c, _id, _a); | - |
673 | _id -= 10; | - |
674 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
675 | _id -= 10; | - |
676 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
677 | _id -= 10; | - |
678 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
679 | _id -= 10; | - |
680 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
681 | _id -= 10; | - |
682 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
683 | _id -= 10; | - |
684 | } | - |
685 | - | |
686 | return _id; | - |
687 | } | - |
688 | - | |
689 | - | |
690 | void QQmlDelegateModel::filterGroupChanged() | - |
691 | { | - |
692 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
693 | } executed 6 times by 1 test: end of block Executed by:
| 6 |
694 | - | |
695 | - | |
696 | void QQmlDelegateModel::defaultGroupsChanged() | - |
697 | { | - |
698 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
699 | } never executed: end of block | 0 |
700 | - | |
701 | - | |
702 | void QQmlDelegateModel::rootIndexChanged() | - |
703 | { | - |
704 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
705 | } executed 78 times by 5 tests: end of block Executed by:
| 78 |
706 | - | |
707 | - | |
708 | void QQmlDelegateModel::rowsChanged() | - |
709 | { | - |
710 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
711 | } never executed: end of block | 0 |
712 | - | |
713 | - | |
714 | void QQmlDelegateModel::columnsChanged() | - |
715 | { | - |
716 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
717 | } never executed: end of block | 0 |
718 | struct qt_meta_stringdata_QQmlDelegateModelGroup_t { | - |
719 | QByteArrayData data[23]; | - |
720 | char stringdata0[230]; | - |
721 | }; | - |
722 | - | |
723 | - | |
724 | - | |
725 | - | |
726 | - | |
727 | static const qt_meta_stringdata_QQmlDelegateModelGroup_t qt_meta_stringdata_QQmlDelegateModelGroup = { | - |
728 | { | - |
729 | { { { -1 } }, 22, 0, 0, qptrdiff( | - |
730 | __builtin_offsetof ( | - |
731 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
732 | , | - |
733 | stringdata0 | - |
734 | ) | - |
735 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
736 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
737 | __builtin_offsetof ( | - |
738 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
739 | , | - |
740 | stringdata0 | - |
741 | ) | - |
742 | + 23 - 1 * sizeof(QByteArrayData)) }, | - |
743 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
744 | __builtin_offsetof ( | - |
745 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
746 | , | - |
747 | stringdata0 | - |
748 | ) | - |
749 | + 36 - 2 * sizeof(QByteArrayData)) }, | - |
750 | { { { -1 } }, 11, 0, 0, qptrdiff( | - |
751 | __builtin_offsetof ( | - |
752 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
753 | , | - |
754 | stringdata0 | - |
755 | ) | - |
756 | + 37 - 3 * sizeof(QByteArrayData)) }, | - |
757 | { { { -1 } }, 21, 0, 0, qptrdiff( | - |
758 | __builtin_offsetof ( | - |
759 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
760 | , | - |
761 | stringdata0 | - |
762 | ) | - |
763 | + 49 - 4 * sizeof(QByteArrayData)) }, | - |
764 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
765 | __builtin_offsetof ( | - |
766 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
767 | , | - |
768 | stringdata0 | - |
769 | ) | - |
770 | + 71 - 5 * sizeof(QByteArrayData)) }, | - |
771 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
772 | __builtin_offsetof ( | - |
773 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
774 | , | - |
775 | stringdata0 | - |
776 | ) | - |
777 | + 79 - 6 * sizeof(QByteArrayData)) }, | - |
778 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
779 | __builtin_offsetof ( | - |
780 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
781 | , | - |
782 | stringdata0 | - |
783 | ) | - |
784 | + 92 - 7 * sizeof(QByteArrayData)) }, | - |
785 | { { { -1 } }, 8, 0, 0, qptrdiff( | - |
786 | __builtin_offsetof ( | - |
787 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
788 | , | - |
789 | stringdata0 | - |
790 | ) | - |
791 | + 100 - 8 * sizeof(QByteArrayData)) }, | - |
792 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
793 | __builtin_offsetof ( | - |
794 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
795 | , | - |
796 | stringdata0 | - |
797 | ) | - |
798 | + 109 - 9 * sizeof(QByteArrayData)) }, | - |
799 | { { { -1 } }, 15, 0, 0, qptrdiff( | - |
800 | __builtin_offsetof ( | - |
801 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
802 | , | - |
803 | stringdata0 | - |
804 | ) | - |
805 | + 116 - 10 * sizeof(QByteArrayData)) }, | - |
806 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
807 | __builtin_offsetof ( | - |
808 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
809 | , | - |
810 | stringdata0 | - |
811 | ) | - |
812 | + 132 - 11 * sizeof(QByteArrayData)) }, | - |
813 | { { { -1 } }, 7, 0, 0, qptrdiff( | - |
814 | __builtin_offsetof ( | - |
815 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
816 | , | - |
817 | stringdata0 | - |
818 | ) | - |
819 | + 139 - 12 * sizeof(QByteArrayData)) }, | - |
820 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
821 | __builtin_offsetof ( | - |
822 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
823 | , | - |
824 | stringdata0 | - |
825 | ) | - |
826 | + 147 - 13 * sizeof(QByteArrayData)) }, | - |
827 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
828 | __builtin_offsetof ( | - |
829 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
830 | , | - |
831 | stringdata0 | - |
832 | ) | - |
833 | + 154 - 14 * sizeof(QByteArrayData)) }, | - |
834 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
835 | __builtin_offsetof ( | - |
836 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
837 | , | - |
838 | stringdata0 | - |
839 | ) | - |
840 | + 164 - 15 * sizeof(QByteArrayData)) }, | - |
841 | { { { -1 } }, 9, 0, 0, qptrdiff( | - |
842 | __builtin_offsetof ( | - |
843 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
844 | , | - |
845 | stringdata0 | - |
846 | ) | - |
847 | + 177 - 16 * sizeof(QByteArrayData)) }, | - |
848 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
849 | __builtin_offsetof ( | - |
850 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
851 | , | - |
852 | stringdata0 | - |
853 | ) | - |
854 | + 187 - 17 * sizeof(QByteArrayData)) }, | - |
855 | { { { -1 } }, 3, 0, 0, qptrdiff( | - |
856 | __builtin_offsetof ( | - |
857 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
858 | , | - |
859 | stringdata0 | - |
860 | ) | - |
861 | + 192 - 18 * sizeof(QByteArrayData)) }, | - |
862 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
863 | __builtin_offsetof ( | - |
864 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
865 | , | - |
866 | stringdata0 | - |
867 | ) | - |
868 | + 196 - 19 * sizeof(QByteArrayData)) }, | - |
869 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
870 | __builtin_offsetof ( | - |
871 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
872 | , | - |
873 | stringdata0 | - |
874 | ) | - |
875 | + 202 - 20 * sizeof(QByteArrayData)) }, | - |
876 | { { { -1 } }, 4, 0, 0, qptrdiff( | - |
877 | __builtin_offsetof ( | - |
878 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
879 | , | - |
880 | stringdata0 | - |
881 | ) | - |
882 | + 208 - 21 * sizeof(QByteArrayData)) }, | - |
883 | { { { -1 } }, 16, 0, 0, qptrdiff( | - |
884 | __builtin_offsetof ( | - |
885 | qt_meta_stringdata_QQmlDelegateModelGroup_t | - |
886 | , | - |
887 | stringdata0 | - |
888 | ) | - |
889 | + 213 - 22 * sizeof(QByteArrayData)) } | - |
890 | - | |
891 | }, | - |
892 | "QQmlDelegateModelGroup\0countChanged\0" | - |
893 | "\0nameChanged\0defaultIncludeChanged\0" | - |
894 | "changed\0QQmlV4Handle\0removed\0inserted\0" | - |
895 | "insert\0QQmlV4Function*\0create\0resolve\0" | - |
896 | "remove\0addGroups\0removeGroups\0setGroups\0" | - |
897 | "move\0get\0index\0count\0name\0includeByDefault" | - |
898 | }; | - |
899 | - | |
900 | - | |
901 | static const uint qt_meta_data_QQmlDelegateModelGroup[] = { | - |
902 | - | |
903 | - | |
904 | 7, | - |
905 | 0, | - |
906 | 0, 0, | - |
907 | 13, 14, | - |
908 | 3, 114, | - |
909 | 0, 0, | - |
910 | 0, 0, | - |
911 | 0, | - |
912 | 4, | - |
913 | - | |
914 | - | |
915 | 1, 0, 79, 2, 0x06 , | - |
916 | 3, 0, 80, 2, 0x06 , | - |
917 | 4, 0, 81, 2, 0x06 , | - |
918 | 5, 2, 82, 2, 0x06 , | - |
919 | - | |
920 | - | |
921 | 9, 1, 87, 2, 0x0a , | - |
922 | 11, 1, 90, 2, 0x0a , | - |
923 | 12, 1, 93, 2, 0x0a , | - |
924 | 13, 1, 96, 2, 0x0a , | - |
925 | 14, 1, 99, 2, 0x0a , | - |
926 | 15, 1, 102, 2, 0x0a , | - |
927 | 16, 1, 105, 2, 0x0a , | - |
928 | 17, 1, 108, 2, 0x0a , | - |
929 | - | |
930 | - | |
931 | 18, 1, 111, 2, 0x02 , | - |
932 | - | |
933 | - | |
934 | QMetaType::Void, | - |
935 | QMetaType::Void, | - |
936 | QMetaType::Void, | - |
937 | QMetaType::Void, 0x80000000 | 6, 0x80000000 | 6, 7, 8, | - |
938 | - | |
939 | - | |
940 | QMetaType::Void, 0x80000000 | 10, 2, | - |
941 | QMetaType::Void, 0x80000000 | 10, 2, | - |
942 | QMetaType::Void, 0x80000000 | 10, 2, | - |
943 | QMetaType::Void, 0x80000000 | 10, 2, | - |
944 | QMetaType::Void, 0x80000000 | 10, 2, | - |
945 | QMetaType::Void, 0x80000000 | 10, 2, | - |
946 | QMetaType::Void, 0x80000000 | 10, 2, | - |
947 | QMetaType::Void, 0x80000000 | 10, 2, | - |
948 | - | |
949 | - | |
950 | 0x80000000 | 6, QMetaType::Int, 19, | - |
951 | - | |
952 | - | |
953 | 20, QMetaType::Int, 0x00495001, | - |
954 | 21, QMetaType::QString, 0x00495103, | - |
955 | 22, QMetaType::Bool, 0x00495003, | - |
956 | - | |
957 | - | |
958 | 0, | - |
959 | 1, | - |
960 | 2, | - |
961 | - | |
962 | 0 | - |
963 | }; | - |
964 | - | |
965 | void QQmlDelegateModelGroup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
966 | { | - |
967 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
968 | QQmlDelegateModelGroup *_t = static_cast<QQmlDelegateModelGroup *>(_o); | - |
969 | (void)_t; | - |
970 | switch (_id) { | - |
971 | case 0: _t->countChanged(); break; | - |
972 | case 1: _t->nameChanged(); break; | - |
973 | case 2: _t->defaultIncludeChanged(); break; | - |
974 | case 3: _t->changed((*reinterpret_cast< const QQmlV4Handle(*)>(_a[1])),(*reinterpret_cast< const QQmlV4Handle(*)>(_a[2]))); break; | - |
975 | case 4: _t->insert((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
976 | case 5: _t->create((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
977 | case 6: _t->resolve((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
978 | case 7: _t->remove((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
979 | case 8: _t->addGroups((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
980 | case 9: _t->removeGroups((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
981 | case 10: _t->setGroups((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
982 | case 11: _t->move((*reinterpret_cast< QQmlV4Function*(*)>(_a[1]))); break; | - |
983 | case 12: { QQmlV4Handle _r = _t->get((*reinterpret_cast< int(*)>(_a[1]))); | - |
984 | if (_a[0]) *reinterpret_cast< QQmlV4Handle*>(_a[0]) = std::move(_r); } break; | - |
985 | default: ; | - |
986 | } | - |
987 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
988 | switch (_id) { | - |
989 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
990 | case 3: | - |
991 | switch (*reinterpret_cast<int*>(_a[1])) { | - |
992 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
993 | case 1: | - |
994 | case 0: | - |
995 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlV4Handle >(); break; | - |
996 | } | - |
997 | break; | - |
998 | } | - |
999 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
1000 | int *result = reinterpret_cast<int *>(_a[0]); | - |
1001 | { | - |
1002 | using _t = void (QQmlDelegateModelGroup::*)(); | - |
1003 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDelegateModelGroup::countChanged)) { | - |
1004 | *result = 0; | - |
1005 | return; | - |
1006 | } | - |
1007 | } | - |
1008 | { | - |
1009 | using _t = void (QQmlDelegateModelGroup::*)(); | - |
1010 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDelegateModelGroup::nameChanged)) { | - |
1011 | *result = 1; | - |
1012 | return; | - |
1013 | } | - |
1014 | } | - |
1015 | { | - |
1016 | using _t = void (QQmlDelegateModelGroup::*)(); | - |
1017 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDelegateModelGroup::defaultIncludeChanged)) { | - |
1018 | *result = 2; | - |
1019 | return; | - |
1020 | } | - |
1021 | } | - |
1022 | { | - |
1023 | using _t = void (QQmlDelegateModelGroup::*)(const QQmlV4Handle & , const QQmlV4Handle & ); | - |
1024 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDelegateModelGroup::changed)) { | - |
1025 | *result = 3; | - |
1026 | return; | - |
1027 | } | - |
1028 | } | - |
1029 | } | - |
1030 | - | |
1031 | else if (_c == QMetaObject::ReadProperty) { | - |
1032 | QQmlDelegateModelGroup *_t = static_cast<QQmlDelegateModelGroup *>(_o); | - |
1033 | (void)_t; | - |
1034 | void *_v = _a[0]; | - |
1035 | switch (_id) { | - |
1036 | case 0: *reinterpret_cast< int*>(_v) = _t->count(); break; | - |
1037 | case 1: *reinterpret_cast< QString*>(_v) = _t->name(); break; | - |
1038 | case 2: *reinterpret_cast< bool*>(_v) = _t->defaultInclude(); break; | - |
1039 | default: break; | - |
1040 | } | - |
1041 | } else if (_c == QMetaObject::WriteProperty) { | - |
1042 | QQmlDelegateModelGroup *_t = static_cast<QQmlDelegateModelGroup *>(_o); | - |
1043 | (void)_t; | - |
1044 | void *_v = _a[0]; | - |
1045 | switch (_id) { | - |
1046 | case 1: _t->setName(*reinterpret_cast< QString*>(_v)); break; | - |
1047 | case 2: _t->setDefaultInclude(*reinterpret_cast< bool*>(_v)); break; | - |
1048 | default: break; | - |
1049 | } | - |
1050 | } else if (_c == QMetaObject::ResetProperty) { | - |
1051 | } | - |
1052 | - | |
1053 | } | - |
1054 | - | |
1055 | const QMetaObject QQmlDelegateModelGroup::staticMetaObject = { | - |
1056 | { &QObject::staticMetaObject, qt_meta_stringdata_QQmlDelegateModelGroup.data, | - |
1057 | qt_meta_data_QQmlDelegateModelGroup, qt_static_metacall, nullptr, nullptr} | - |
1058 | }; | - |
1059 | - | |
1060 | - | |
1061 | const QMetaObject *QQmlDelegateModelGroup::metaObject() const | - |
1062 | { | - |
1063 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
1064 | } | - |
1065 | - | |
1066 | void *QQmlDelegateModelGroup::qt_metacast(const char *_clname) | - |
1067 | { | - |
1068 | if (!_clname) return nullptr; | - |
1069 | if (!strcmp(_clname, qt_meta_stringdata_QQmlDelegateModelGroup.stringdata0)) | - |
1070 | return static_cast<void*>(this); | - |
1071 | return QObject::qt_metacast(_clname); | - |
1072 | } | - |
1073 | - | |
1074 | int QQmlDelegateModelGroup::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
1075 | { | - |
1076 | _id = QObject::qt_metacall(_c, _id, _a); | - |
1077 | if (_id < 0) | - |
1078 | return _id; | - |
1079 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
1080 | if (_id < 13) | - |
1081 | qt_static_metacall(this, _c, _id, _a); | - |
1082 | _id -= 13; | - |
1083 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
1084 | if (_id < 13) | - |
1085 | qt_static_metacall(this, _c, _id, _a); | - |
1086 | _id -= 13; | - |
1087 | } | - |
1088 | - | |
1089 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
1090 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
1091 | qt_static_metacall(this, _c, _id, _a); | - |
1092 | _id -= 3; | - |
1093 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
1094 | _id -= 3; | - |
1095 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
1096 | _id -= 3; | - |
1097 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
1098 | _id -= 3; | - |
1099 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
1100 | _id -= 3; | - |
1101 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
1102 | _id -= 3; | - |
1103 | } | - |
1104 | - | |
1105 | return _id; | - |
1106 | } | - |
1107 | - | |
1108 | - | |
1109 | void QQmlDelegateModelGroup::countChanged() | - |
1110 | { | - |
1111 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
1112 | } executed 16458 times by 25 tests: end of block Executed by:
| 16458 |
1113 | - | |
1114 | - | |
1115 | void QQmlDelegateModelGroup::nameChanged() | - |
1116 | { | - |
1117 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
1118 | } executed 1074 times by 2 tests: end of block Executed by:
| 1074 |
1119 | - | |
1120 | - | |
1121 | void QQmlDelegateModelGroup::defaultIncludeChanged() | - |
1122 | { | - |
1123 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
1124 | } executed 6164 times by 27 tests: end of block Executed by:
| 6164 |
1125 | - | |
1126 | - | |
1127 | void QQmlDelegateModelGroup::changed(const QQmlV4Handle & _t1, const QQmlV4Handle & _t2) | - |
1128 | { | - |
1129 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) }; | - |
1130 | QMetaObject::activate(this, &staticMetaObject, 3, _a); | - |
1131 | } executed 82 times by 2 tests: end of block Executed by:
| 82 |
1132 | struct qt_meta_stringdata_QQmlDelegateModelAttached_t { | - |
1133 | QByteArrayData data[8]; | - |
1134 | char stringdata0[104]; | - |
1135 | }; | - |
1136 | - | |
1137 | - | |
1138 | - | |
1139 | - | |
1140 | - | |
1141 | static const qt_meta_stringdata_QQmlDelegateModelAttached_t qt_meta_stringdata_QQmlDelegateModelAttached = { | - |
1142 | { | - |
1143 | { { { -1 } }, 25, 0, 0, qptrdiff( | - |
1144 | __builtin_offsetof ( | - |
1145 | qt_meta_stringdata_QQmlDelegateModelAttached_t | - |
1146 | , | - |
1147 | stringdata0 | - |
1148 | ) | - |
1149 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
1150 | { { { -1 } }, 13, 0, 0, qptrdiff( | - |
1151 | __builtin_offsetof ( | - |
1152 | qt_meta_stringdata_QQmlDelegateModelAttached_t | - |
1153 | , | - |
1154 | stringdata0 | - |
1155 | ) | - |
1156 | + 26 - 1 * sizeof(QByteArrayData)) }, | - |
1157 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
1158 | __builtin_offsetof ( | - |
1159 | qt_meta_stringdata_QQmlDelegateModelAttached_t | - |
1160 | , | - |
1161 | stringdata0 | - |
1162 | ) | - |
1163 | + 40 - 2 * sizeof(QByteArrayData)) }, | - |
1164 | { { { -1 } }, 17, 0, 0, qptrdiff( | - |
1165 | __builtin_offsetof ( | - |
1166 | qt_meta_stringdata_QQmlDelegateModelAttached_t | - |
1167 | , | - |
1168 | stringdata0 | - |
1169 | ) | - |
1170 | + 41 - 3 * sizeof(QByteArrayData)) }, | - |
1171 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
1172 | __builtin_offsetof ( | - |
1173 | qt_meta_stringdata_QQmlDelegateModelAttached_t | - |
1174 | , | - |
1175 | stringdata0 | - |
1176 | ) | - |
1177 | + 59 - 4 * sizeof(QByteArrayData)) }, | - |
1178 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
1179 | __builtin_offsetof ( | - |
1180 | qt_meta_stringdata_QQmlDelegateModelAttached_t | - |
1181 | , | - |
1182 | stringdata0 | - |
1183 | ) | - |
1184 | + 65 - 5 * sizeof(QByteArrayData)) }, | - |
1185 | { { { -1 } }, 6, 0, 0, qptrdiff( | - |
1186 | __builtin_offsetof ( | - |
1187 | qt_meta_stringdata_QQmlDelegateModelAttached_t | - |
1188 | , | - |
1189 | stringdata0 | - |
1190 | ) | - |
1191 | + 84 - 6 * sizeof(QByteArrayData)) }, | - |
1192 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
1193 | __builtin_offsetof ( | - |
1194 | qt_meta_stringdata_QQmlDelegateModelAttached_t | - |
1195 | , | - |
1196 | stringdata0 | - |
1197 | ) | - |
1198 | + 91 - 7 * sizeof(QByteArrayData)) } | - |
1199 | - | |
1200 | }, | - |
1201 | "QQmlDelegateModelAttached\0groupsChanged\0" | - |
1202 | "\0unresolvedChanged\0model\0QQmlDelegateModel*\0" | - |
1203 | "groups\0isUnresolved" | - |
1204 | }; | - |
1205 | - | |
1206 | - | |
1207 | static const uint qt_meta_data_QQmlDelegateModelAttached[] = { | - |
1208 | - | |
1209 | - | |
1210 | 7, | - |
1211 | 0, | - |
1212 | 0, 0, | - |
1213 | 2, 14, | - |
1214 | 3, 26, | - |
1215 | 0, 0, | - |
1216 | 0, 0, | - |
1217 | 0, | - |
1218 | 2, | - |
1219 | - | |
1220 | - | |
1221 | 1, 0, 24, 2, 0x06 , | - |
1222 | 3, 0, 25, 2, 0x06 , | - |
1223 | - | |
1224 | - | |
1225 | QMetaType::Void, | - |
1226 | QMetaType::Void, | - |
1227 | - | |
1228 | - | |
1229 | 4, 0x80000000 | 5, 0x00095409, | - |
1230 | 6, QMetaType::QStringList, 0x00495103, | - |
1231 | 7, QMetaType::Bool, 0x00495001, | - |
1232 | - | |
1233 | - | |
1234 | 0, | - |
1235 | 0, | - |
1236 | 1, | - |
1237 | - | |
1238 | 0 | - |
1239 | }; | - |
1240 | - | |
1241 | void QQmlDelegateModelAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
1242 | { | - |
1243 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
1244 | QQmlDelegateModelAttached *_t = static_cast<QQmlDelegateModelAttached *>(_o); | - |
1245 | (void)_t; | - |
1246 | switch (_id) { | - |
1247 | case 0: _t->groupsChanged(); break; | - |
1248 | case 1: _t->unresolvedChanged(); break; | - |
1249 | default: ; | - |
1250 | } | - |
1251 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
1252 | int *result = reinterpret_cast<int *>(_a[0]); | - |
1253 | { | - |
1254 | using _t = void (QQmlDelegateModelAttached::*)(); | - |
1255 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDelegateModelAttached::groupsChanged)) { | - |
1256 | *result = 0; | - |
1257 | return; | - |
1258 | } | - |
1259 | } | - |
1260 | { | - |
1261 | using _t = void (QQmlDelegateModelAttached::*)(); | - |
1262 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQmlDelegateModelAttached::unresolvedChanged)) { | - |
1263 | *result = 1; | - |
1264 | return; | - |
1265 | } | - |
1266 | } | - |
1267 | } else if (_c == QMetaObject::RegisterPropertyMetaType) { | - |
1268 | switch (_id) { | - |
1269 | default: *reinterpret_cast<int*>(_a[0]) = -1; break; | - |
1270 | case 0: | - |
1271 | *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlDelegateModel* >(); break; | - |
1272 | } | - |
1273 | } | - |
1274 | - | |
1275 | - | |
1276 | else if (_c == QMetaObject::ReadProperty) { | - |
1277 | QQmlDelegateModelAttached *_t = static_cast<QQmlDelegateModelAttached *>(_o); | - |
1278 | (void)_t; | - |
1279 | void *_v = _a[0]; | - |
1280 | switch (_id) { | - |
1281 | case 0: *reinterpret_cast< QQmlDelegateModel**>(_v) = _t->model(); break; | - |
1282 | case 1: *reinterpret_cast< QStringList*>(_v) = _t->groups(); break; | - |
1283 | case 2: *reinterpret_cast< bool*>(_v) = _t->isUnresolved(); break; | - |
1284 | default: break; | - |
1285 | } | - |
1286 | } else if (_c == QMetaObject::WriteProperty) { | - |
1287 | QQmlDelegateModelAttached *_t = static_cast<QQmlDelegateModelAttached *>(_o); | - |
1288 | (void)_t; | - |
1289 | void *_v = _a[0]; | - |
1290 | switch (_id) { | - |
1291 | case 1: _t->setGroups(*reinterpret_cast< QStringList*>(_v)); break; | - |
1292 | default: break; | - |
1293 | } | - |
1294 | } else if (_c == QMetaObject::ResetProperty) { | - |
1295 | } | - |
1296 | - | |
1297 | } | - |
1298 | - | |
1299 | const QMetaObject QQmlDelegateModelAttached::staticMetaObject = { | - |
1300 | { &QObject::staticMetaObject, qt_meta_stringdata_QQmlDelegateModelAttached.data, | - |
1301 | qt_meta_data_QQmlDelegateModelAttached, qt_static_metacall, nullptr, nullptr} | - |
1302 | }; | - |
1303 | - | |
1304 | - | |
1305 | const QMetaObject *QQmlDelegateModelAttached::metaObject() const | - |
1306 | { | - |
1307 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
1308 | } | - |
1309 | - | |
1310 | void *QQmlDelegateModelAttached::qt_metacast(const char *_clname) | - |
1311 | { | - |
1312 | if (!_clname) return nullptr; | - |
1313 | if (!strcmp(_clname, qt_meta_stringdata_QQmlDelegateModelAttached.stringdata0)) | - |
1314 | return static_cast<void*>(this); | - |
1315 | return QObject::qt_metacast(_clname); | - |
1316 | } | - |
1317 | - | |
1318 | int QQmlDelegateModelAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
1319 | { | - |
1320 | _id = QObject::qt_metacall(_c, _id, _a); | - |
1321 | if (_id < 0) | - |
1322 | return _id; | - |
1323 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
1324 | if (_id < 2) | - |
1325 | qt_static_metacall(this, _c, _id, _a); | - |
1326 | _id -= 2; | - |
1327 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
1328 | if (_id < 2) | - |
1329 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
1330 | _id -= 2; | - |
1331 | } | - |
1332 | - | |
1333 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
1334 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
1335 | qt_static_metacall(this, _c, _id, _a); | - |
1336 | _id -= 3; | - |
1337 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
1338 | _id -= 3; | - |
1339 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
1340 | _id -= 3; | - |
1341 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
1342 | _id -= 3; | - |
1343 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
1344 | _id -= 3; | - |
1345 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
1346 | _id -= 3; | - |
1347 | } | - |
1348 | - | |
1349 | return _id; | - |
1350 | } | - |
1351 | - | |
1352 | - | |
1353 | void QQmlDelegateModelAttached::groupsChanged() | - |
1354 | { | - |
1355 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
1356 | } executed 92 times by 1 test: end of block Executed by:
| 92 |
1357 | - | |
1358 | - | |
1359 | void QQmlDelegateModelAttached::unresolvedChanged() | - |
1360 | { | - |
1361 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
1362 | } never executed: end of block | 0 |
1363 | - | |
1364 | #pragma GCC diagnostic pop | - |
1365 | - | |
1366 | - | |
Switch to Source code | Preprocessed file |