OpenCoverage

moc_qqmldelegatemodel_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/qml/.moc/moc_qqmldelegatemodel_p.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3#pragma GCC diagnostic push-
4-
5-
6#pragma GCC diagnostic ignored "-Wdeprecated-declarations"-
7-
8struct qt_meta_stringdata_QQmlDelegateModel_t {-
9 QByteArrayData data[47];-
10 char stringdata0[628];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQmlDelegateModel_t qt_meta_stringdata_QQmlDelegateModel = {-
18 {-
19{ { { -1 } }, 17, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQmlDelegateModel_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 15, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQmlDelegateModel_t-
29, -
30stringdata0-
31) -
32+ 18 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 8, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQmlDelegateModel_t-
36, -
37stringdata0-
38) -
39+ 34 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 18, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQmlDelegateModel_t-
43, -
44stringdata0-
45) -
46+ 43 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 0, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQmlDelegateModel_t-
50, -
51stringdata0-
52) -
53+ 62 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 20, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQmlDelegateModel_t-
57, -
58stringdata0-
59) -
60+ 63 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 16, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQmlDelegateModel_t-
64, -
65stringdata0-
66) -
67+ 84 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 11, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQmlDelegateModel_t-
71, -
72stringdata0-
73) -
74+ 101 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 14, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQmlDelegateModel_t-
78, -
79stringdata0-
80) -
81+ 113 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 15, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQmlDelegateModel_t-
85, -
86stringdata0-
87) -
88+ 128 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 5, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQmlDelegateModel_t-
92, -
93stringdata0-
94) -
95+ 144 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 5, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQmlDelegateModel_t-
99, -
100stringdata0-
101) -
102+ 150 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 12, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQmlDelegateModel_t-
106, -
107stringdata0-
108) -
109+ 156 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 5, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQmlDelegateModel_t-
113, -
114stringdata0-
115) -
116+ 169 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 16, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQmlDelegateModel_t-
120, -
121stringdata0-
122) -
123+ 175 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 15, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQmlDelegateModel_t-
127, -
128stringdata0-
129) -
130+ 192 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 13, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQmlDelegateModel_t-
134, -
135stringdata0-
136) -
137+ 208 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 4, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQmlDelegateModel_t-
141, -
142stringdata0-
143) -
144+ 222 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 2, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQmlDelegateModel_t-
148, -
149stringdata0-
150) -
151+ 227 - 18 * sizeof(QByteArrayData)) },-
152{ { { -1 } }, 13, 0, 0, qptrdiff(-
153__builtin_offsetof (-
154qt_meta_stringdata_QQmlDelegateModel_t-
155, -
156stringdata0-
157) -
158+ 230 - 19 * sizeof(QByteArrayData)) },-
159{ { { -1 } }, 15, 0, 0, qptrdiff(-
160__builtin_offsetof (-
161qt_meta_stringdata_QQmlDelegateModel_t-
162, -
163stringdata0-
164) -
165+ 244 - 20 * sizeof(QByteArrayData)) },-
166{ { { -1 } }, 11, 0, 0, qptrdiff(-
167__builtin_offsetof (-
168qt_meta_stringdata_QQmlDelegateModel_t-
169, -
170stringdata0-
171) -
172+ 260 - 21 * sizeof(QByteArrayData)) },-
173{ { { -1 } }, 23, 0, 0, qptrdiff(-
174__builtin_offsetof (-
175qt_meta_stringdata_QQmlDelegateModel_t-
176, -
177stringdata0-
178) -
179+ 272 - 22 * sizeof(QByteArrayData)) },-
180{ { { -1 } }, 6, 0, 0, qptrdiff(-
181__builtin_offsetof (-
182qt_meta_stringdata_QQmlDelegateModel_t-
183, -
184stringdata0-
185) -
186+ 296 - 23 * sizeof(QByteArrayData)) },-
187{ { { -1 } }, 5, 0, 0, qptrdiff(-
188__builtin_offsetof (-
189qt_meta_stringdata_QQmlDelegateModel_t-
190, -
191stringdata0-
192) -
193+ 303 - 24 * sizeof(QByteArrayData)) },-
194{ { { -1 } }, 3, 0, 0, qptrdiff(-
195__builtin_offsetof (-
196qt_meta_stringdata_QQmlDelegateModel_t-
197, -
198stringdata0-
199) -
200+ 309 - 25 * sizeof(QByteArrayData)) },-
201{ { { -1 } }, 14, 0, 0, qptrdiff(-
202__builtin_offsetof (-
203qt_meta_stringdata_QQmlDelegateModel_t-
204, -
205stringdata0-
206) -
207+ 313 - 26 * sizeof(QByteArrayData)) },-
208{ { { -1 } }, 12, 0, 0, qptrdiff(-
209__builtin_offsetof (-
210qt_meta_stringdata_QQmlDelegateModel_t-
211, -
212stringdata0-
213) -
214+ 328 - 27 * sizeof(QByteArrayData)) },-
215{ { { -1 } }, 14, 0, 0, qptrdiff(-
216__builtin_offsetof (-
217qt_meta_stringdata_QQmlDelegateModel_t-
218, -
219stringdata0-
220) -
221+ 341 - 28 * sizeof(QByteArrayData)) },-
222{ { { -1 } }, 16, 0, 0, qptrdiff(-
223__builtin_offsetof (-
224qt_meta_stringdata_QQmlDelegateModel_t-
225, -
226stringdata0-
227) -
228+ 356 - 29 * sizeof(QByteArrayData)) },-
229{ { { -1 } }, 28, 0, 0, qptrdiff(-
230__builtin_offsetof (-
231qt_meta_stringdata_QQmlDelegateModel_t-
232, -
233stringdata0-
234) -
235+ 373 - 30 * sizeof(QByteArrayData)) },-
236{ { { -1 } }, 36, 0, 0, qptrdiff(-
237__builtin_offsetof (-
238qt_meta_stringdata_QQmlDelegateModel_t-
239, -
240stringdata0-
241) -
242+ 402 - 31 * sizeof(QByteArrayData)) },-
243{ { { -1 } }, 10, 0, 0, qptrdiff(-
244__builtin_offsetof (-
245qt_meta_stringdata_QQmlDelegateModel_t-
246, -
247stringdata0-
248) -
249+ 439 - 32 * sizeof(QByteArrayData)) },-
250{ { { -1 } }, 3, 0, 0, qptrdiff(-
251__builtin_offsetof (-
252qt_meta_stringdata_QQmlDelegateModel_t-
253, -
254stringdata0-
255) -
256+ 450 - 33 * sizeof(QByteArrayData)) },-
257{ { { -1 } }, 16, 0, 0, qptrdiff(-
258__builtin_offsetof (-
259qt_meta_stringdata_QQmlDelegateModel_t-
260, -
261stringdata0-
262) -
263+ 454 - 34 * sizeof(QByteArrayData)) },-
264{ { { -1 } }, 5, 0, 0, qptrdiff(-
265__builtin_offsetof (-
266qt_meta_stringdata_QQmlDelegateModel_t-
267, -
268stringdata0-
269) -
270+ 471 - 35 * sizeof(QByteArrayData)) },-
271{ { { -1 } }, 14, 0, 0, qptrdiff(-
272__builtin_offsetof (-
273qt_meta_stringdata_QQmlDelegateModel_t-
274, -
275stringdata0-
276) -
277+ 477 - 36 * sizeof(QByteArrayData)) },-
278{ { { -1 } }, 13, 0, 0, qptrdiff(-
279__builtin_offsetof (-
280qt_meta_stringdata_QQmlDelegateModel_t-
281, -
282stringdata0-
283) -
284+ 492 - 37 * sizeof(QByteArrayData)) },-
285{ { { -1 } }, 5, 0, 0, qptrdiff(-
286__builtin_offsetof (-
287qt_meta_stringdata_QQmlDelegateModel_t-
288, -
289stringdata0-
290) -
291+ 506 - 38 * sizeof(QByteArrayData)) },-
292{ { { -1 } }, 23, 0, 0, qptrdiff(-
293__builtin_offsetof (-
294qt_meta_stringdata_QQmlDelegateModel_t-
295, -
296stringdata0-
297) -
298+ 512 - 39 * sizeof(QByteArrayData)) },-
299{ { { -1 } }, 14, 0, 0, qptrdiff(-
300__builtin_offsetof (-
301qt_meta_stringdata_QQmlDelegateModel_t-
302, -
303stringdata0-
304) -
305+ 536 - 40 * sizeof(QByteArrayData)) },-
306{ { { -1 } }, 6, 0, 0, qptrdiff(-
307__builtin_offsetof (-
308qt_meta_stringdata_QQmlDelegateModel_t-
309, -
310stringdata0-
311) -
312+ 551 - 41 * sizeof(QByteArrayData)) },-
313{ { { -1 } }, 40, 0, 0, qptrdiff(-
314__builtin_offsetof (-
315qt_meta_stringdata_QQmlDelegateModel_t-
316, -
317stringdata0-
318) -
319+ 558 - 42 * sizeof(QByteArrayData)) },-
320{ { { -1 } }, 5, 0, 0, qptrdiff(-
321__builtin_offsetof (-
322qt_meta_stringdata_QQmlDelegateModel_t-
323, -
324stringdata0-
325) -
326+ 599 - 43 * sizeof(QByteArrayData)) },-
327{ { { -1 } }, 9, 0, 0, qptrdiff(-
328__builtin_offsetof (-
329qt_meta_stringdata_QQmlDelegateModel_t-
330, -
331stringdata0-
332) -
333+ 605 - 44 * sizeof(QByteArrayData)) },-
334{ { { -1 } }, 4, 0, 0, qptrdiff(-
335__builtin_offsetof (-
336qt_meta_stringdata_QQmlDelegateModel_t-
337, -
338stringdata0-
339) -
340+ 615 - 45 * sizeof(QByteArrayData)) },-
341{ { { -1 } }, 7, 0, 0, qptrdiff(-
342__builtin_offsetof (-
343qt_meta_stringdata_QQmlDelegateModel_t-
344, -
345stringdata0-
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-
371static 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-
498void 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-
638const QMetaObject *QQmlDelegateModel::metaObject() const-
639{-
640 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
641}-
642-
643void *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-
655int 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-
690void QQmlDelegateModel::filterGroupChanged()-
691{-
692 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
693}
executed 6 times by 1 test: end of block
Executed by:
  • tst_qquickvisualdatamodel
6
694-
695-
696void QQmlDelegateModel::defaultGroupsChanged()-
697{-
698 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
699}
never executed: end of block
0
700-
701-
702void QQmlDelegateModel::rootIndexChanged()-
703{-
704 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
705}
executed 78 times by 5 tests: end of block
Executed by:
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickpathview
  • tst_qquickrepeater
  • tst_qquickvisualdatamodel
78
706-
707-
708void QQmlDelegateModel::rowsChanged()-
709{-
710 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
711}
never executed: end of block
0
712-
713-
714void QQmlDelegateModel::columnsChanged()-
715{-
716 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
717}
never executed: end of block
0
718struct qt_meta_stringdata_QQmlDelegateModelGroup_t {-
719 QByteArrayData data[23];-
720 char stringdata0[230];-
721};-
722-
723-
724-
725-
726-
727static const qt_meta_stringdata_QQmlDelegateModelGroup_t qt_meta_stringdata_QQmlDelegateModelGroup = {-
728 {-
729{ { { -1 } }, 22, 0, 0, qptrdiff(-
730__builtin_offsetof (-
731qt_meta_stringdata_QQmlDelegateModelGroup_t-
732, -
733stringdata0-
734) -
735+ 0 - 0 * sizeof(QByteArrayData)) },-
736{ { { -1 } }, 12, 0, 0, qptrdiff(-
737__builtin_offsetof (-
738qt_meta_stringdata_QQmlDelegateModelGroup_t-
739, -
740stringdata0-
741) -
742+ 23 - 1 * sizeof(QByteArrayData)) },-
743{ { { -1 } }, 0, 0, 0, qptrdiff(-
744__builtin_offsetof (-
745qt_meta_stringdata_QQmlDelegateModelGroup_t-
746, -
747stringdata0-
748) -
749+ 36 - 2 * sizeof(QByteArrayData)) },-
750{ { { -1 } }, 11, 0, 0, qptrdiff(-
751__builtin_offsetof (-
752qt_meta_stringdata_QQmlDelegateModelGroup_t-
753, -
754stringdata0-
755) -
756+ 37 - 3 * sizeof(QByteArrayData)) },-
757{ { { -1 } }, 21, 0, 0, qptrdiff(-
758__builtin_offsetof (-
759qt_meta_stringdata_QQmlDelegateModelGroup_t-
760, -
761stringdata0-
762) -
763+ 49 - 4 * sizeof(QByteArrayData)) },-
764{ { { -1 } }, 7, 0, 0, qptrdiff(-
765__builtin_offsetof (-
766qt_meta_stringdata_QQmlDelegateModelGroup_t-
767, -
768stringdata0-
769) -
770+ 71 - 5 * sizeof(QByteArrayData)) },-
771{ { { -1 } }, 12, 0, 0, qptrdiff(-
772__builtin_offsetof (-
773qt_meta_stringdata_QQmlDelegateModelGroup_t-
774, -
775stringdata0-
776) -
777+ 79 - 6 * sizeof(QByteArrayData)) },-
778{ { { -1 } }, 7, 0, 0, qptrdiff(-
779__builtin_offsetof (-
780qt_meta_stringdata_QQmlDelegateModelGroup_t-
781, -
782stringdata0-
783) -
784+ 92 - 7 * sizeof(QByteArrayData)) },-
785{ { { -1 } }, 8, 0, 0, qptrdiff(-
786__builtin_offsetof (-
787qt_meta_stringdata_QQmlDelegateModelGroup_t-
788, -
789stringdata0-
790) -
791+ 100 - 8 * sizeof(QByteArrayData)) },-
792{ { { -1 } }, 6, 0, 0, qptrdiff(-
793__builtin_offsetof (-
794qt_meta_stringdata_QQmlDelegateModelGroup_t-
795, -
796stringdata0-
797) -
798+ 109 - 9 * sizeof(QByteArrayData)) },-
799{ { { -1 } }, 15, 0, 0, qptrdiff(-
800__builtin_offsetof (-
801qt_meta_stringdata_QQmlDelegateModelGroup_t-
802, -
803stringdata0-
804) -
805+ 116 - 10 * sizeof(QByteArrayData)) },-
806{ { { -1 } }, 6, 0, 0, qptrdiff(-
807__builtin_offsetof (-
808qt_meta_stringdata_QQmlDelegateModelGroup_t-
809, -
810stringdata0-
811) -
812+ 132 - 11 * sizeof(QByteArrayData)) },-
813{ { { -1 } }, 7, 0, 0, qptrdiff(-
814__builtin_offsetof (-
815qt_meta_stringdata_QQmlDelegateModelGroup_t-
816, -
817stringdata0-
818) -
819+ 139 - 12 * sizeof(QByteArrayData)) },-
820{ { { -1 } }, 6, 0, 0, qptrdiff(-
821__builtin_offsetof (-
822qt_meta_stringdata_QQmlDelegateModelGroup_t-
823, -
824stringdata0-
825) -
826+ 147 - 13 * sizeof(QByteArrayData)) },-
827{ { { -1 } }, 9, 0, 0, qptrdiff(-
828__builtin_offsetof (-
829qt_meta_stringdata_QQmlDelegateModelGroup_t-
830, -
831stringdata0-
832) -
833+ 154 - 14 * sizeof(QByteArrayData)) },-
834{ { { -1 } }, 12, 0, 0, qptrdiff(-
835__builtin_offsetof (-
836qt_meta_stringdata_QQmlDelegateModelGroup_t-
837, -
838stringdata0-
839) -
840+ 164 - 15 * sizeof(QByteArrayData)) },-
841{ { { -1 } }, 9, 0, 0, qptrdiff(-
842__builtin_offsetof (-
843qt_meta_stringdata_QQmlDelegateModelGroup_t-
844, -
845stringdata0-
846) -
847+ 177 - 16 * sizeof(QByteArrayData)) },-
848{ { { -1 } }, 4, 0, 0, qptrdiff(-
849__builtin_offsetof (-
850qt_meta_stringdata_QQmlDelegateModelGroup_t-
851, -
852stringdata0-
853) -
854+ 187 - 17 * sizeof(QByteArrayData)) },-
855{ { { -1 } }, 3, 0, 0, qptrdiff(-
856__builtin_offsetof (-
857qt_meta_stringdata_QQmlDelegateModelGroup_t-
858, -
859stringdata0-
860) -
861+ 192 - 18 * sizeof(QByteArrayData)) },-
862{ { { -1 } }, 5, 0, 0, qptrdiff(-
863__builtin_offsetof (-
864qt_meta_stringdata_QQmlDelegateModelGroup_t-
865, -
866stringdata0-
867) -
868+ 196 - 19 * sizeof(QByteArrayData)) },-
869{ { { -1 } }, 5, 0, 0, qptrdiff(-
870__builtin_offsetof (-
871qt_meta_stringdata_QQmlDelegateModelGroup_t-
872, -
873stringdata0-
874) -
875+ 202 - 20 * sizeof(QByteArrayData)) },-
876{ { { -1 } }, 4, 0, 0, qptrdiff(-
877__builtin_offsetof (-
878qt_meta_stringdata_QQmlDelegateModelGroup_t-
879, -
880stringdata0-
881) -
882+ 208 - 21 * sizeof(QByteArrayData)) },-
883{ { { -1 } }, 16, 0, 0, qptrdiff(-
884__builtin_offsetof (-
885qt_meta_stringdata_QQmlDelegateModelGroup_t-
886, -
887stringdata0-
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-
901static 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-
965void 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-
1061const QMetaObject *QQmlDelegateModelGroup::metaObject() const-
1062{-
1063 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
1064}-
1065-
1066void *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-
1074int 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-
1109void QQmlDelegateModelGroup::countChanged()-
1110{-
1111 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
1112}
executed 16458 times by 25 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquickspringanimation
  • tst_qquickvisualdatamodel
  • tst_scenegraph
16458
1113-
1114-
1115void QQmlDelegateModelGroup::nameChanged()-
1116{-
1117 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
1118}
executed 1074 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickvisualdatamodel
1074
1119-
1120-
1121void QQmlDelegateModelGroup::defaultIncludeChanged()-
1122{-
1123 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
1124}
executed 6164 times by 27 tests: end of block
Executed by:
  • tst_examples
  • tst_multipointtoucharea_interop
  • tst_qqmlecmascript
  • tst_qqmlinstantiator
  • tst_qqmllistmodel
  • tst_qqmlqt
  • tst_qqmltypeloader
  • tst_qqmlvaluetypes
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickgridview
  • tst_qquickimage
  • tst_qquickitem2
  • tst_qquickitemparticle
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmousearea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickshortcut
  • tst_qquickspringanimation
  • tst_qquicktableview
  • tst_qquickvisualdatamodel
  • ...
6164
1125-
1126-
1127void 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:
  • tst_examples
  • tst_qquickvisualdatamodel
82
1132struct qt_meta_stringdata_QQmlDelegateModelAttached_t {-
1133 QByteArrayData data[8];-
1134 char stringdata0[104];-
1135};-
1136-
1137-
1138-
1139-
1140-
1141static const qt_meta_stringdata_QQmlDelegateModelAttached_t qt_meta_stringdata_QQmlDelegateModelAttached = {-
1142 {-
1143{ { { -1 } }, 25, 0, 0, qptrdiff(-
1144__builtin_offsetof (-
1145qt_meta_stringdata_QQmlDelegateModelAttached_t-
1146, -
1147stringdata0-
1148) -
1149+ 0 - 0 * sizeof(QByteArrayData)) },-
1150{ { { -1 } }, 13, 0, 0, qptrdiff(-
1151__builtin_offsetof (-
1152qt_meta_stringdata_QQmlDelegateModelAttached_t-
1153, -
1154stringdata0-
1155) -
1156+ 26 - 1 * sizeof(QByteArrayData)) },-
1157{ { { -1 } }, 0, 0, 0, qptrdiff(-
1158__builtin_offsetof (-
1159qt_meta_stringdata_QQmlDelegateModelAttached_t-
1160, -
1161stringdata0-
1162) -
1163+ 40 - 2 * sizeof(QByteArrayData)) },-
1164{ { { -1 } }, 17, 0, 0, qptrdiff(-
1165__builtin_offsetof (-
1166qt_meta_stringdata_QQmlDelegateModelAttached_t-
1167, -
1168stringdata0-
1169) -
1170+ 41 - 3 * sizeof(QByteArrayData)) },-
1171{ { { -1 } }, 5, 0, 0, qptrdiff(-
1172__builtin_offsetof (-
1173qt_meta_stringdata_QQmlDelegateModelAttached_t-
1174, -
1175stringdata0-
1176) -
1177+ 59 - 4 * sizeof(QByteArrayData)) },-
1178{ { { -1 } }, 18, 0, 0, qptrdiff(-
1179__builtin_offsetof (-
1180qt_meta_stringdata_QQmlDelegateModelAttached_t-
1181, -
1182stringdata0-
1183) -
1184+ 65 - 5 * sizeof(QByteArrayData)) },-
1185{ { { -1 } }, 6, 0, 0, qptrdiff(-
1186__builtin_offsetof (-
1187qt_meta_stringdata_QQmlDelegateModelAttached_t-
1188, -
1189stringdata0-
1190) -
1191+ 84 - 6 * sizeof(QByteArrayData)) },-
1192{ { { -1 } }, 12, 0, 0, qptrdiff(-
1193__builtin_offsetof (-
1194qt_meta_stringdata_QQmlDelegateModelAttached_t-
1195, -
1196stringdata0-
1197) -
1198+ 91 - 7 * sizeof(QByteArrayData)) }-
1199-
1200 },-
1201 "QQmlDelegateModelAttached\0groupsChanged\0"-
1202 "\0unresolvedChanged\0model\0QQmlDelegateModel*\0"-
1203 "groups\0isUnresolved"-
1204};-
1205-
1206-
1207static 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-
1241void 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-
1305const QMetaObject *QQmlDelegateModelAttached::metaObject() const-
1306{-
1307 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
1308}-
1309-
1310void *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-
1318int 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-
1353void QQmlDelegateModelAttached::groupsChanged()-
1354{-
1355 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
1356}
executed 92 times by 1 test: end of block
Executed by:
  • tst_qquickvisualdatamodel
92
1357-
1358-
1359void 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 codePreprocessed file

Generated by Squish Coco 4.2.0