OpenCoverage

moc_qquicklistview_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicklistview_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_QQuickViewSection_t {-
9 QByteArrayData data[19];-
10 char stringdata0[273];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickViewSection_t qt_meta_stringdata_QQuickViewSection = {-
18 {-
19{ { { -1 } }, 17, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickViewSection_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 15, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickViewSection_t-
29, -
30stringdata0-
31) -
32+ 18 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickViewSection_t-
36, -
37stringdata0-
38) -
39+ 34 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 15, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickViewSection_t-
43, -
44stringdata0-
45) -
46+ 35 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 15, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickViewSection_t-
50, -
51stringdata0-
52) -
53+ 51 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 15, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickViewSection_t-
57, -
58stringdata0-
59) -
60+ 67 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 23, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickViewSection_t-
64, -
65stringdata0-
66) -
67+ 83 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 8, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickViewSection_t-
71, -
72stringdata0-
73) -
74+ 107 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 8, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickViewSection_t-
78, -
79stringdata0-
80) -
81+ 116 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 15, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickViewSection_t-
85, -
86stringdata0-
87) -
88+ 125 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 8, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickViewSection_t-
92, -
93stringdata0-
94) -
95+ 141 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 14, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickViewSection_t-
99, -
100stringdata0-
101) -
102+ 150 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 16, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickViewSection_t-
106, -
107stringdata0-
108) -
109+ 165 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 10, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickViewSection_t-
113, -
114stringdata0-
115) -
116+ 182 - 13 * sizeof(QByteArrayData)) },-
117{ { { -1 } }, 14, 0, 0, qptrdiff(-
118__builtin_offsetof (-
119qt_meta_stringdata_QQuickViewSection_t-
120, -
121stringdata0-
122) -
123+ 193 - 14 * sizeof(QByteArrayData)) },-
124{ { { -1 } }, 16, 0, 0, qptrdiff(-
125__builtin_offsetof (-
126qt_meta_stringdata_QQuickViewSection_t-
127, -
128stringdata0-
129) -
130+ 208 - 15 * sizeof(QByteArrayData)) },-
131{ { { -1 } }, 12, 0, 0, qptrdiff(-
132__builtin_offsetof (-
133qt_meta_stringdata_QQuickViewSection_t-
134, -
135stringdata0-
136) -
137+ 225 - 16 * sizeof(QByteArrayData)) },-
138{ { { -1 } }, 19, 0, 0, qptrdiff(-
139__builtin_offsetof (-
140qt_meta_stringdata_QQuickViewSection_t-
141, -
142stringdata0-
143) -
144+ 238 - 17 * sizeof(QByteArrayData)) },-
145{ { { -1 } }, 14, 0, 0, qptrdiff(-
146__builtin_offsetof (-
147qt_meta_stringdata_QQuickViewSection_t-
148, -
149stringdata0-
150) -
151+ 258 - 18 * sizeof(QByteArrayData)) }-
152-
153 },-
154 "QQuickViewSection\0sectionsChanged\0\0"-
155 "propertyChanged\0criteriaChanged\0"-
156 "delegateChanged\0labelPositioningChanged\0"-
157 "property\0criteria\0SectionCriteria\0"-
158 "delegate\0QQmlComponent*\0labelPositioning\0"-
159 "FullString\0FirstCharacter\0LabelPositioning\0"-
160 "InlineLabels\0CurrentLabelAtStart\0"-
161 "NextLabelAtEnd"-
162};-
163-
164-
165static const uint qt_meta_data_QQuickViewSection[] = {-
166-
167-
168 7,-
169 0,-
170 0, 0,-
171 5, 14,-
172 4, 44,-
173 2, 60,-
174 0, 0,-
175 0,-
176 5,-
177-
178-
179 1, 0, 39, 2, 0x06 ,-
180 3, 0, 40, 2, 0x06 ,-
181 4, 0, 41, 2, 0x06 ,-
182 5, 0, 42, 2, 0x06 ,-
183 6, 0, 43, 2, 0x06 ,-
184-
185-
186 QMetaType::Void,-
187 QMetaType::Void,-
188 QMetaType::Void,-
189 QMetaType::Void,-
190 QMetaType::Void,-
191-
192-
193 7, QMetaType::QString, 0x00495103,-
194 8, 0x80000000 | 9, 0x0049510b,-
195 10, 0x80000000 | 11, 0x0049510b,-
196 12, QMetaType::Int, 0x00495103,-
197-
198-
199 1,-
200 2,-
201 3,-
202 4,-
203-
204-
205 9, 0x0, 2, 68,-
206 15, 0x0, 3, 72,-
207-
208-
209 13, uint(QQuickViewSection::FullString),-
210 14, uint(QQuickViewSection::FirstCharacter),-
211 16, uint(QQuickViewSection::InlineLabels),-
212 17, uint(QQuickViewSection::CurrentLabelAtStart),-
213 18, uint(QQuickViewSection::NextLabelAtEnd),-
214-
215 0-
216};-
217-
218void QQuickViewSection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
219{-
220 if (_c == QMetaObject::InvokeMetaMethod) {-
221 QQuickViewSection *_t = static_cast<QQuickViewSection *>(_o);-
222 (void)_t;-
223 switch (_id) {-
224 case 0: _t->sectionsChanged(); break;-
225 case 1: _t->propertyChanged(); break;-
226 case 2: _t->criteriaChanged(); break;-
227 case 3: _t->delegateChanged(); break;-
228 case 4: _t->labelPositioningChanged(); break;-
229 default: ;-
230 }-
231 } else if (_c == QMetaObject::IndexOfMethod) {-
232 int *result = reinterpret_cast<int *>(_a[0]);-
233 {-
234 using _t = void (QQuickViewSection::*)();-
235 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickViewSection::sectionsChanged)) {-
236 *result = 0;-
237 return;-
238 }-
239 }-
240 {-
241 using _t = void (QQuickViewSection::*)();-
242 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickViewSection::propertyChanged)) {-
243 *result = 1;-
244 return;-
245 }-
246 }-
247 {-
248 using _t = void (QQuickViewSection::*)();-
249 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickViewSection::criteriaChanged)) {-
250 *result = 2;-
251 return;-
252 }-
253 }-
254 {-
255 using _t = void (QQuickViewSection::*)();-
256 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickViewSection::delegateChanged)) {-
257 *result = 3;-
258 return;-
259 }-
260 }-
261 {-
262 using _t = void (QQuickViewSection::*)();-
263 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickViewSection::labelPositioningChanged)) {-
264 *result = 4;-
265 return;-
266 }-
267 }-
268 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
269 switch (_id) {-
270 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
271 case 2:-
272 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break;-
273 }-
274 }-
275-
276-
277 else if (_c == QMetaObject::ReadProperty) {-
278 QQuickViewSection *_t = static_cast<QQuickViewSection *>(_o);-
279 (void)_t;-
280 void *_v = _a[0];-
281 switch (_id) {-
282 case 0: *reinterpret_cast< QString*>(_v) = _t->property(); break;-
283 case 1: *reinterpret_cast< SectionCriteria*>(_v) = _t->criteria(); break;-
284 case 2: *reinterpret_cast< QQmlComponent**>(_v) = _t->delegate(); break;-
285 case 3: *reinterpret_cast< int*>(_v) = _t->labelPositioning(); break;-
286 default: break;-
287 }-
288 } else if (_c == QMetaObject::WriteProperty) {-
289 QQuickViewSection *_t = static_cast<QQuickViewSection *>(_o);-
290 (void)_t;-
291 void *_v = _a[0];-
292 switch (_id) {-
293 case 0: _t->setProperty(*reinterpret_cast< QString*>(_v)); break;-
294 case 1: _t->setCriteria(*reinterpret_cast< SectionCriteria*>(_v)); break;-
295 case 2: _t->setDelegate(*reinterpret_cast< QQmlComponent**>(_v)); break;-
296 case 3: _t->setLabelPositioning(*reinterpret_cast< int*>(_v)); break;-
297 default: break;-
298 }-
299 } else if (_c == QMetaObject::ResetProperty) {-
300 }-
301-
302}-
303-
304 const QMetaObject QQuickViewSection::staticMetaObject = {-
305 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickViewSection.data,-
306 qt_meta_data_QQuickViewSection, qt_static_metacall, nullptr, nullptr}-
307};-
308-
309-
310const QMetaObject *QQuickViewSection::metaObject() const-
311{-
312 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
313}-
314-
315void *QQuickViewSection::qt_metacast(const char *_clname)-
316{-
317 if (!_clname) return nullptr;-
318 if (!strcmp(_clname, qt_meta_stringdata_QQuickViewSection.stringdata0))-
319 return static_cast<void*>(this);-
320 return QObject::qt_metacast(_clname);-
321}-
322-
323int QQuickViewSection::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
324{-
325 _id = QObject::qt_metacall(_c, _id, _a);-
326 if (_id < 0)-
327 return _id;-
328 if (_c == QMetaObject::InvokeMetaMethod) {-
329 if (_id < 5)-
330 qt_static_metacall(this, _c, _id, _a);-
331 _id -= 5;-
332 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
333 if (_id < 5)-
334 *reinterpret_cast<int*>(_a[0]) = -1;-
335 _id -= 5;-
336 }-
337-
338 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
339 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
340 qt_static_metacall(this, _c, _id, _a);-
341 _id -= 4;-
342 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
343 _id -= 4;-
344 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
345 _id -= 4;-
346 } else if (_c == QMetaObject::QueryPropertyStored) {-
347 _id -= 4;-
348 } else if (_c == QMetaObject::QueryPropertyEditable) {-
349 _id -= 4;-
350 } else if (_c == QMetaObject::QueryPropertyUser) {-
351 _id -= 4;-
352 }-
353-
354 return _id;-
355}-
356-
357-
358void QQuickViewSection::sectionsChanged()-
359{-
360 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
361}
never executed: end of block
0
362-
363-
364void QQuickViewSection::propertyChanged()-
365{-
366 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
367}
executed 58 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
58
368-
369-
370void QQuickViewSection::criteriaChanged()-
371{-
372 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
373}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquicklistview
2
374-
375-
376void QQuickViewSection::delegateChanged()-
377{-
378 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
379}
executed 42 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
42
380-
381-
382void QQuickViewSection::labelPositioningChanged()-
383{-
384 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
385}
executed 8 times by 1 test: end of block
Executed by:
  • tst_qquicklistview
8
386struct qt_meta_stringdata_QQuickListView_t {-
387 QByteArrayData data[41];-
388 char stringdata0[662];-
389};-
390-
391-
392-
393-
394-
395static const qt_meta_stringdata_QQuickListView_t qt_meta_stringdata_QQuickListView = {-
396 {-
397{ { { -1 } }, 14, 0, 0, qptrdiff(-
398__builtin_offsetof (-
399qt_meta_stringdata_QQuickListView_t-
400, -
401stringdata0-
402) -
403+ 0 - 0 * sizeof(QByteArrayData)) },-
404{ { { -1 } }, 15, 0, 0, qptrdiff(-
405__builtin_offsetof (-
406qt_meta_stringdata_QQuickListView_t-
407, -
408stringdata0-
409) -
410+ 15 - 1 * sizeof(QByteArrayData)) },-
411{ { { -1 } }, 4, 0, 0, qptrdiff(-
412__builtin_offsetof (-
413qt_meta_stringdata_QQuickListView_t-
414, -
415stringdata0-
416) -
417+ 31 - 2 * sizeof(QByteArrayData)) },-
418{ { { -1 } }, 14, 0, 0, qptrdiff(-
419__builtin_offsetof (-
420qt_meta_stringdata_QQuickListView_t-
421, -
422stringdata0-
423) -
424+ 36 - 3 * sizeof(QByteArrayData)) },-
425{ { { -1 } }, 0, 0, 0, qptrdiff(-
426__builtin_offsetof (-
427qt_meta_stringdata_QQuickListView_t-
428, -
429stringdata0-
430) -
431+ 51 - 4 * sizeof(QByteArrayData)) },-
432{ { { -1 } }, 18, 0, 0, qptrdiff(-
433__builtin_offsetof (-
434qt_meta_stringdata_QQuickListView_t-
435, -
436stringdata0-
437) -
438+ 52 - 5 * sizeof(QByteArrayData)) },-
439{ { { -1 } }, 21, 0, 0, qptrdiff(-
440__builtin_offsetof (-
441qt_meta_stringdata_QQuickListView_t-
442, -
443stringdata0-
444) -
445+ 71 - 6 * sizeof(QByteArrayData)) },-
446{ { { -1 } }, 28, 0, 0, qptrdiff(-
447__builtin_offsetof (-
448qt_meta_stringdata_QQuickListView_t-
449, -
450stringdata0-
451) -
452+ 93 - 7 * sizeof(QByteArrayData)) },-
453{ { { -1 } }, 30, 0, 0, qptrdiff(-
454__builtin_offsetof (-
455qt_meta_stringdata_QQuickListView_t-
456, -
457stringdata0-
458) -
459+ 122 - 8 * sizeof(QByteArrayData)) },-
460{ { { -1 } }, 30, 0, 0, qptrdiff(-
461__builtin_offsetof (-
462qt_meta_stringdata_QQuickListView_t-
463, -
464stringdata0-
465) -
466+ 153 - 9 * sizeof(QByteArrayData)) },-
467{ { { -1 } }, 15, 0, 0, qptrdiff(-
468__builtin_offsetof (-
469qt_meta_stringdata_QQuickListView_t-
470, -
471stringdata0-
472) -
473+ 184 - 10 * sizeof(QByteArrayData)) },-
474{ { { -1 } }, 24, 0, 0, qptrdiff(-
475__builtin_offsetof (-
476qt_meta_stringdata_QQuickListView_t-
477, -
478stringdata0-
479) -
480+ 200 - 11 * sizeof(QByteArrayData)) },-
481{ { { -1 } }, 24, 0, 0, qptrdiff(-
482__builtin_offsetof (-
483qt_meta_stringdata_QQuickListView_t-
484, -
485stringdata0-
486) -
487+ 225 - 12 * sizeof(QByteArrayData)) },-
488{ { { -1 } }, 21, 0, 0, qptrdiff(-
489__builtin_offsetof (-
490qt_meta_stringdata_QQuickListView_t-
491, -
492stringdata0-
493) -
494+ 250 - 13 * sizeof(QByteArrayData)) },-
495{ { { -1 } }, 21, 0, 0, qptrdiff(-
496__builtin_offsetof (-
497qt_meta_stringdata_QQuickListView_t-
498, -
499stringdata0-
500) -
501+ 272 - 14 * sizeof(QByteArrayData)) },-
502{ { { -1 } }, 21, 0, 0, qptrdiff(-
503__builtin_offsetof (-
504qt_meta_stringdata_QQuickListView_t-
505, -
506stringdata0-
507) -
508+ 294 - 15 * sizeof(QByteArrayData)) },-
509{ { { -1 } }, 23, 0, 0, qptrdiff(-
510__builtin_offsetof (-
511qt_meta_stringdata_QQuickListView_t-
512, -
513stringdata0-
514) -
515+ 316 - 16 * sizeof(QByteArrayData)) },-
516{ { { -1 } }, 23, 0, 0, qptrdiff(-
517__builtin_offsetof (-
518qt_meta_stringdata_QQuickListView_t-
519, -
520stringdata0-
521) -
522+ 340 - 17 * sizeof(QByteArrayData)) },-
523{ { { -1 } }, 7, 0, 0, qptrdiff(-
524__builtin_offsetof (-
525qt_meta_stringdata_QQuickListView_t-
526, -
527stringdata0-
528) -
529+ 364 - 18 * sizeof(QByteArrayData)) },-
530{ { { -1 } }, 11, 0, 0, qptrdiff(-
531__builtin_offsetof (-
532qt_meta_stringdata_QQuickListView_t-
533, -
534stringdata0-
535) -
536+ 372 - 19 * sizeof(QByteArrayData)) },-
537{ { { -1 } }, 11, 0, 0, qptrdiff(-
538__builtin_offsetof (-
539qt_meta_stringdata_QQuickListView_t-
540, -
541stringdata0-
542) -
543+ 384 - 20 * sizeof(QByteArrayData)) },-
544{ { { -1 } }, 7, 0, 0, qptrdiff(-
545__builtin_offsetof (-
546qt_meta_stringdata_QQuickListView_t-
547, -
548stringdata0-
549) -
550+ 396 - 21 * sizeof(QByteArrayData)) },-
551{ { { -1 } }, 18, 0, 0, qptrdiff(-
552__builtin_offsetof (-
553qt_meta_stringdata_QQuickListView_t-
554, -
555stringdata0-
556) -
557+ 404 - 22 * sizeof(QByteArrayData)) },-
558{ { { -1 } }, 14, 0, 0, qptrdiff(-
559__builtin_offsetof (-
560qt_meta_stringdata_QQuickListView_t-
561, -
562stringdata0-
563) -
564+ 423 - 23 * sizeof(QByteArrayData)) },-
565{ { { -1 } }, 8, 0, 0, qptrdiff(-
566__builtin_offsetof (-
567qt_meta_stringdata_QQuickListView_t-
568, -
569stringdata0-
570) -
571+ 438 - 24 * sizeof(QByteArrayData)) },-
572{ { { -1 } }, 8, 0, 0, qptrdiff(-
573__builtin_offsetof (-
574qt_meta_stringdata_QQuickListView_t-
575, -
576stringdata0-
577) -
578+ 447 - 25 * sizeof(QByteArrayData)) },-
579{ { { -1 } }, 17, 0, 0, qptrdiff(-
580__builtin_offsetof (-
581qt_meta_stringdata_QQuickListView_t-
582, -
583stringdata0-
584) -
585+ 456 - 26 * sizeof(QByteArrayData)) },-
586{ { { -1 } }, 17, 0, 0, qptrdiff(-
587__builtin_offsetof (-
588qt_meta_stringdata_QQuickListView_t-
589, -
590stringdata0-
591) -
592+ 474 - 27 * sizeof(QByteArrayData)) },-
593{ { { -1 } }, 17, 0, 0, qptrdiff(-
594__builtin_offsetof (-
595qt_meta_stringdata_QQuickListView_t-
596, -
597stringdata0-
598) -
599+ 492 - 28 * sizeof(QByteArrayData)) },-
600{ { { -1 } }, 17, 0, 0, qptrdiff(-
601__builtin_offsetof (-
602qt_meta_stringdata_QQuickListView_t-
603, -
604stringdata0-
605) -
606+ 510 - 29 * sizeof(QByteArrayData)) },-
607{ { { -1 } }, 10, 0, 0, qptrdiff(-
608__builtin_offsetof (-
609qt_meta_stringdata_QQuickListView_t-
610, -
611stringdata0-
612) -
613+ 528 - 30 * sizeof(QByteArrayData)) },-
614{ { { -1 } }, 8, 0, 0, qptrdiff(-
615__builtin_offsetof (-
616qt_meta_stringdata_QQuickListView_t-
617, -
618stringdata0-
619) -
620+ 539 - 31 * sizeof(QByteArrayData)) },-
621{ { { -1 } }, 6, 0, 0, qptrdiff(-
622__builtin_offsetof (-
623qt_meta_stringdata_QQuickListView_t-
624, -
625stringdata0-
626) -
627+ 548 - 32 * sizeof(QByteArrayData)) },-
628{ { { -1 } }, 10, 0, 0, qptrdiff(-
629__builtin_offsetof (-
630qt_meta_stringdata_QQuickListView_t-
631, -
632stringdata0-
633) -
634+ 555 - 33 * sizeof(QByteArrayData)) },-
635{ { { -1 } }, 11, 0, 0, qptrdiff(-
636__builtin_offsetof (-
637qt_meta_stringdata_QQuickListView_t-
638, -
639stringdata0-
640) -
641+ 566 - 34 * sizeof(QByteArrayData)) },-
642{ { { -1 } }, 12, 0, 0, qptrdiff(-
643__builtin_offsetof (-
644qt_meta_stringdata_QQuickListView_t-
645, -
646stringdata0-
647) -
648+ 578 - 35 * sizeof(QByteArrayData)) },-
649{ { { -1 } }, 13, 0, 0, qptrdiff(-
650__builtin_offsetof (-
651qt_meta_stringdata_QQuickListView_t-
652, -
653stringdata0-
654) -
655+ 591 - 36 * sizeof(QByteArrayData)) },-
656{ { { -1 } }, 14, 0, 0, qptrdiff(-
657__builtin_offsetof (-
658qt_meta_stringdata_QQuickListView_t-
659, -
660stringdata0-
661) -
662+ 605 - 37 * sizeof(QByteArrayData)) },-
663{ { { -1 } }, 12, 0, 0, qptrdiff(-
664__builtin_offsetof (-
665qt_meta_stringdata_QQuickListView_t-
666, -
667stringdata0-
668) -
669+ 620 - 38 * sizeof(QByteArrayData)) },-
670{ { { -1 } }, 13, 0, 0, qptrdiff(-
671__builtin_offsetof (-
672qt_meta_stringdata_QQuickListView_t-
673, -
674stringdata0-
675) -
676+ 633 - 39 * sizeof(QByteArrayData)) },-
677{ { { -1 } }, 14, 0, 0, qptrdiff(-
678__builtin_offsetof (-
679qt_meta_stringdata_QQuickListView_t-
680, -
681stringdata0-
682) -
683+ 647 - 40 * sizeof(QByteArrayData)) }-
684-
685 },-
686 "QQuickListView\0DefaultProperty\0data\0"-
687 "spacingChanged\0\0orientationChanged\0"-
688 "currentSectionChanged\0"-
689 "highlightMoveVelocityChanged\0"-
690 "highlightResizeVelocityChanged\0"-
691 "highlightResizeDurationChanged\0"-
692 "snapModeChanged\0headerPositioningChanged\0"-
693 "footerPositioningChanged\0incrementCurrentIndex\0"-
694 "decrementCurrentIndex\0highlightMoveVelocity\0"-
695 "highlightResizeVelocity\0highlightResizeDuration\0"-
696 "spacing\0orientation\0Orientation\0section\0"-
697 "QQuickViewSection*\0currentSection\0"-
698 "snapMode\0SnapMode\0headerPositioning\0"-
699 "HeaderPositioning\0footerPositioning\0"-
700 "FooterPositioning\0Horizontal\0Vertical\0"-
701 "NoSnap\0SnapToItem\0SnapOneItem\0"-
702 "InlineHeader\0OverlayHeader\0PullBackHeader\0"-
703 "InlineFooter\0OverlayFooter\0PullBackFooter"-
704};-
705-
706-
707static const uint qt_meta_data_QQuickListView[] = {-
708-
709-
710 7,-
711 0,-
712 1, 14,-
713 11, 16,-
714 10, 93,-
715 4, 143,-
716 0, 0,-
717 0,-
718 9,-
719-
720-
721 1, 2,-
722-
723-
724 3, 0, 82, 4, 0x06 ,-
725 5, 0, 83, 4, 0x06 ,-
726 6, 0, 84, 4, 0x06 ,-
727 7, 0, 85, 4, 0x06 ,-
728 8, 0, 86, 4, 0x06 ,-
729 9, 0, 87, 4, 0x06 ,-
730 10, 0, 88, 4, 0x06 ,-
731 11, 0, 89, 4, 0x86 ,-
732 12, 0, 90, 4, 0x86 ,-
733-
734-
735 13, 0, 91, 4, 0x0a ,-
736 14, 0, 92, 4, 0x0a ,-
737-
738-
739 0,-
740 0,-
741 0,-
742 0,-
743 0,-
744 0,-
745 0,-
746 2,-
747 2,-
748-
749-
750 0,-
751 0,-
752-
753-
754 QMetaType::Void,-
755 QMetaType::Void,-
756 QMetaType::Void,-
757 QMetaType::Void,-
758 QMetaType::Void,-
759 QMetaType::Void,-
760 QMetaType::Void,-
761 QMetaType::Void,-
762 QMetaType::Void,-
763-
764-
765 QMetaType::Void,-
766 QMetaType::Void,-
767-
768-
769 15, QMetaType::QReal, 0x00495103,-
770 16, QMetaType::QReal, 0x00495103,-
771 17, QMetaType::Int, 0x00495103,-
772 18, QMetaType::QReal, 0x00495103,-
773 19, 0x80000000 | 20, 0x0049510b,-
774 21, 0x80000000 | 22, 0x00095409,-
775 23, QMetaType::QString, 0x00495001,-
776 24, 0x80000000 | 25, 0x0049510b,-
777 26, 0x80000000 | 27, 0x00c9510b,-
778 28, 0x80000000 | 29, 0x00c9510b,-
779-
780-
781 3,-
782 4,-
783 5,-
784 0,-
785 1,-
786 0,-
787 2,-
788 6,-
789 7,-
790 8,-
791-
792-
793 0,-
794 0,-
795 0,-
796 0,-
797 0,-
798 0,-
799 0,-
800 0,-
801 2,-
802 2,-
803-
804-
805 20, 0x0, 2, 159,-
806 25, 0x0, 3, 163,-
807 27, 0x0, 3, 169,-
808 29, 0x0, 3, 175,-
809-
810-
811 30, uint(QQuickListView::Horizontal),-
812 31, uint(QQuickListView::Vertical),-
813 32, uint(QQuickListView::NoSnap),-
814 33, uint(QQuickListView::SnapToItem),-
815 34, uint(QQuickListView::SnapOneItem),-
816 35, uint(QQuickListView::InlineHeader),-
817 36, uint(QQuickListView::OverlayHeader),-
818 37, uint(QQuickListView::PullBackHeader),-
819 38, uint(QQuickListView::InlineFooter),-
820 39, uint(QQuickListView::OverlayFooter),-
821 40, uint(QQuickListView::PullBackFooter),-
822-
823 0-
824};-
825-
826void QQuickListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
827{-
828 if (_c == QMetaObject::InvokeMetaMethod) {-
829 QQuickListView *_t = static_cast<QQuickListView *>(_o);-
830 (void)_t;-
831 switch (_id) {-
832 case 0: _t->spacingChanged(); break;-
833 case 1: _t->orientationChanged(); break;-
834 case 2: _t->currentSectionChanged(); break;-
835 case 3: _t->highlightMoveVelocityChanged(); break;-
836 case 4: _t->highlightResizeVelocityChanged(); break;-
837 case 5: _t->highlightResizeDurationChanged(); break;-
838 case 6: _t->snapModeChanged(); break;-
839 case 7: _t->headerPositioningChanged(); break;-
840 case 8: _t->footerPositioningChanged(); break;-
841 case 9: _t->incrementCurrentIndex(); break;-
842 case 10: _t->decrementCurrentIndex(); break;-
843 default: ;-
844 }-
845 } else if (_c == QMetaObject::IndexOfMethod) {-
846 int *result = reinterpret_cast<int *>(_a[0]);-
847 {-
848 using _t = void (QQuickListView::*)();-
849 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::spacingChanged)) {-
850 *result = 0;-
851 return;-
852 }-
853 }-
854 {-
855 using _t = void (QQuickListView::*)();-
856 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::orientationChanged)) {-
857 *result = 1;-
858 return;-
859 }-
860 }-
861 {-
862 using _t = void (QQuickListView::*)();-
863 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::currentSectionChanged)) {-
864 *result = 2;-
865 return;-
866 }-
867 }-
868 {-
869 using _t = void (QQuickListView::*)();-
870 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::highlightMoveVelocityChanged)) {-
871 *result = 3;-
872 return;-
873 }-
874 }-
875 {-
876 using _t = void (QQuickListView::*)();-
877 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::highlightResizeVelocityChanged)) {-
878 *result = 4;-
879 return;-
880 }-
881 }-
882 {-
883 using _t = void (QQuickListView::*)();-
884 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::highlightResizeDurationChanged)) {-
885 *result = 5;-
886 return;-
887 }-
888 }-
889 {-
890 using _t = void (QQuickListView::*)();-
891 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::snapModeChanged)) {-
892 *result = 6;-
893 return;-
894 }-
895 }-
896 {-
897 using _t = void (QQuickListView::*)();-
898 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::headerPositioningChanged)) {-
899 *result = 7;-
900 return;-
901 }-
902 }-
903 {-
904 using _t = void (QQuickListView::*)();-
905 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::footerPositioningChanged)) {-
906 *result = 8;-
907 return;-
908 }-
909 }-
910 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
911 switch (_id) {-
912 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
913 case 5:-
914 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickViewSection* >(); break;-
915 }-
916 }-
917-
918-
919 else if (_c == QMetaObject::ReadProperty) {-
920 QQuickListView *_t = static_cast<QQuickListView *>(_o);-
921 (void)_t;-
922 void *_v = _a[0];-
923 switch (_id) {-
924 case 0: *reinterpret_cast< qreal*>(_v) = _t->highlightMoveVelocity(); break;-
925 case 1: *reinterpret_cast< qreal*>(_v) = _t->highlightResizeVelocity(); break;-
926 case 2: *reinterpret_cast< int*>(_v) = _t->highlightResizeDuration(); break;-
927 case 3: *reinterpret_cast< qreal*>(_v) = _t->spacing(); break;-
928 case 4: *reinterpret_cast< Orientation*>(_v) = _t->orientation(); break;-
929 case 5: *reinterpret_cast< QQuickViewSection**>(_v) = _t->sectionCriteria(); break;-
930 case 6: *reinterpret_cast< QString*>(_v) = _t->currentSection(); break;-
931 case 7: *reinterpret_cast< SnapMode*>(_v) = _t->snapMode(); break;-
932 case 8: *reinterpret_cast< HeaderPositioning*>(_v) = _t->headerPositioning(); break;-
933 case 9: *reinterpret_cast< FooterPositioning*>(_v) = _t->footerPositioning(); break;-
934 default: break;-
935 }-
936 } else if (_c == QMetaObject::WriteProperty) {-
937 QQuickListView *_t = static_cast<QQuickListView *>(_o);-
938 (void)_t;-
939 void *_v = _a[0];-
940 switch (_id) {-
941 case 0: _t->setHighlightMoveVelocity(*reinterpret_cast< qreal*>(_v)); break;-
942 case 1: _t->setHighlightResizeVelocity(*reinterpret_cast< qreal*>(_v)); break;-
943 case 2: _t->setHighlightResizeDuration(*reinterpret_cast< int*>(_v)); break;-
944 case 3: _t->setSpacing(*reinterpret_cast< qreal*>(_v)); break;-
945 case 4: _t->setOrientation(*reinterpret_cast< Orientation*>(_v)); break;-
946 case 7: _t->setSnapMode(*reinterpret_cast< SnapMode*>(_v)); break;-
947 case 8: _t->setHeaderPositioning(*reinterpret_cast< HeaderPositioning*>(_v)); break;-
948 case 9: _t->setFooterPositioning(*reinterpret_cast< FooterPositioning*>(_v)); break;-
949 default: break;-
950 }-
951 } else if (_c == QMetaObject::ResetProperty) {-
952 }-
953-
954}-
955-
956 const QMetaObject QQuickListView::staticMetaObject = {-
957 { &QQuickItemView::staticMetaObject, qt_meta_stringdata_QQuickListView.data,-
958 qt_meta_data_QQuickListView, qt_static_metacall, nullptr, nullptr}-
959};-
960-
961-
962const QMetaObject *QQuickListView::metaObject() const-
963{-
964 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
965}-
966-
967void *QQuickListView::qt_metacast(const char *_clname)-
968{-
969 if (!_clname) return nullptr;-
970 if (!strcmp(_clname, qt_meta_stringdata_QQuickListView.stringdata0))-
971 return static_cast<void*>(this);-
972 return QQuickItemView::qt_metacast(_clname);-
973}-
974-
975int QQuickListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
976{-
977 _id = QQuickItemView::qt_metacall(_c, _id, _a);-
978 if (_id < 0)-
979 return _id;-
980 if (_c == QMetaObject::InvokeMetaMethod) {-
981 if (_id < 11)-
982 qt_static_metacall(this, _c, _id, _a);-
983 _id -= 11;-
984 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
985 if (_id < 11)-
986 *reinterpret_cast<int*>(_a[0]) = -1;-
987 _id -= 11;-
988 }-
989-
990 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
991 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
992 qt_static_metacall(this, _c, _id, _a);-
993 _id -= 10;-
994 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
995 _id -= 10;-
996 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
997 _id -= 10;-
998 } else if (_c == QMetaObject::QueryPropertyStored) {-
999 _id -= 10;-
1000 } else if (_c == QMetaObject::QueryPropertyEditable) {-
1001 _id -= 10;-
1002 } else if (_c == QMetaObject::QueryPropertyUser) {-
1003 _id -= 10;-
1004 }-
1005-
1006 return _id;-
1007}-
1008-
1009-
1010void QQuickListView::spacingChanged()-
1011{-
1012 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
1013}
executed 22 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquicklistview
22
1014-
1015-
1016void QQuickListView::orientationChanged()-
1017{-
1018 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
1019}
executed 194 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquicklistview
194
1020-
1021-
1022void QQuickListView::currentSectionChanged()-
1023{-
1024 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
1025}
executed 144 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
144
1026-
1027-
1028void QQuickListView::highlightMoveVelocityChanged()-
1029{-
1030 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
1031}
executed 582 times by 1 test: end of block
Executed by:
  • tst_qquicklistview
582
1032-
1033-
1034void QQuickListView::highlightResizeVelocityChanged()-
1035{-
1036 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
1037}
executed 566 times by 1 test: end of block
Executed by:
  • tst_qquicklistview
566
1038-
1039-
1040void QQuickListView::highlightResizeDurationChanged()-
1041{-
1042 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
1043}
never executed: end of block
0
1044-
1045-
1046void QQuickListView::snapModeChanged()-
1047{-
1048 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
1049}
executed 88 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquicklistview
88
1050-
1051-
1052void QQuickListView::headerPositioningChanged()-
1053{-
1054 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);-
1055}
executed 86 times by 1 test: end of block
Executed by:
  • tst_qquicklistview
86
1056-
1057-
1058void QQuickListView::footerPositioningChanged()-
1059{-
1060 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);-
1061}
executed 82 times by 1 test: end of block
Executed by:
  • tst_qquicklistview
82
1062struct qt_meta_stringdata_QQuickListViewAttached_t {-
1063 QByteArrayData data[1];-
1064 char stringdata0[23];-
1065};-
1066-
1067-
1068-
1069-
1070-
1071static const qt_meta_stringdata_QQuickListViewAttached_t qt_meta_stringdata_QQuickListViewAttached = {-
1072 {-
1073{ { { -1 } }, 22, 0, 0, qptrdiff(-
1074__builtin_offsetof (-
1075qt_meta_stringdata_QQuickListViewAttached_t-
1076, -
1077stringdata0-
1078) -
1079+ 0 - 0 * sizeof(QByteArrayData)) }-
1080-
1081 },-
1082 "QQuickListViewAttached"-
1083};-
1084-
1085-
1086static const uint qt_meta_data_QQuickListViewAttached[] = {-
1087-
1088-
1089 7,-
1090 0,-
1091 0, 0,-
1092 0, 0,-
1093 0, 0,-
1094 0, 0,-
1095 0, 0,-
1096 0,-
1097 0,-
1098-
1099 0-
1100};-
1101-
1102void QQuickListViewAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
1103{-
1104 (void)_o;;-
1105 (void)_id;;-
1106 (void)_c;;-
1107 (void)_a;;-
1108}-
1109-
1110 const QMetaObject QQuickListViewAttached::staticMetaObject = {-
1111 { &QQuickItemViewAttached::staticMetaObject, qt_meta_stringdata_QQuickListViewAttached.data,-
1112 qt_meta_data_QQuickListViewAttached, qt_static_metacall, nullptr, nullptr}-
1113};-
1114-
1115-
1116const QMetaObject *QQuickListViewAttached::metaObject() const-
1117{-
1118 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
1119}-
1120-
1121void *QQuickListViewAttached::qt_metacast(const char *_clname)-
1122{-
1123 if (!_clname) return nullptr;-
1124 if (!strcmp(_clname, qt_meta_stringdata_QQuickListViewAttached.stringdata0))-
1125 return static_cast<void*>(this);-
1126 return QQuickItemViewAttached::qt_metacast(_clname);-
1127}-
1128-
1129int QQuickListViewAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
1130{-
1131 _id = QQuickItemViewAttached::qt_metacall(_c, _id, _a);-
1132 return _id;-
1133}-
1134-
1135#pragma GCC diagnostic pop-
1136-
1137-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0