OpenCoverage

moc_qquicklistview_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicklistview_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquicklistview_p.h'-
3**-
4** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0)-
5**-
6** WARNING! All changes made in this file will be lost!-
7*****************************************************************************/-
8-
9#include "../items/qquicklistview_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquicklistview_p.h' doesn't include <QObject>."-
14#elif Q_MOC_OUTPUT_REVISION != 67-
15#error "This file was generated using the moc from 5.12.0. It"-
16#error "cannot be used with the include files from this version of Qt."-
17#error "(The moc has changed too much.)"-
18#endif-
19-
20QT_BEGIN_MOC_NAMESPACE-
21QT_WARNING_PUSH-
22QT_WARNING_DISABLE_DEPRECATED-
23struct qt_meta_stringdata_QQuickViewSection_t {-
24 QByteArrayData data[19];-
25 char stringdata0[273];-
26};-
27#define QT_MOC_LITERAL(idx, ofs, len) \-
28 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
29 qptrdiff(offsetof(qt_meta_stringdata_QQuickViewSection_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickViewSection_t qt_meta_stringdata_QQuickViewSection = {-
33 {-
34QT_MOC_LITERAL(0, 0, 17), // "QQuickViewSection"-
35QT_MOC_LITERAL(1, 18, 15), // "sectionsChanged"-
36QT_MOC_LITERAL(2, 34, 0), // ""-
37QT_MOC_LITERAL(3, 35, 15), // "propertyChanged"-
38QT_MOC_LITERAL(4, 51, 15), // "criteriaChanged"-
39QT_MOC_LITERAL(5, 67, 15), // "delegateChanged"-
40QT_MOC_LITERAL(6, 83, 23), // "labelPositioningChanged"-
41QT_MOC_LITERAL(7, 107, 8), // "property"-
42QT_MOC_LITERAL(8, 116, 8), // "criteria"-
43QT_MOC_LITERAL(9, 125, 15), // "SectionCriteria"-
44QT_MOC_LITERAL(10, 141, 8), // "delegate"-
45QT_MOC_LITERAL(11, 150, 14), // "QQmlComponent*"-
46QT_MOC_LITERAL(12, 165, 16), // "labelPositioning"-
47QT_MOC_LITERAL(13, 182, 10), // "FullString"-
48QT_MOC_LITERAL(14, 193, 14), // "FirstCharacter"-
49QT_MOC_LITERAL(15, 208, 16), // "LabelPositioning"-
50QT_MOC_LITERAL(16, 225, 12), // "InlineLabels"-
51QT_MOC_LITERAL(17, 238, 19), // "CurrentLabelAtStart"-
52QT_MOC_LITERAL(18, 258, 14) // "NextLabelAtEnd"-
53-
54 },-
55 "QQuickViewSection\0sectionsChanged\0\0"-
56 "propertyChanged\0criteriaChanged\0"-
57 "delegateChanged\0labelPositioningChanged\0"-
58 "property\0criteria\0SectionCriteria\0"-
59 "delegate\0QQmlComponent*\0labelPositioning\0"-
60 "FullString\0FirstCharacter\0LabelPositioning\0"-
61 "InlineLabels\0CurrentLabelAtStart\0"-
62 "NextLabelAtEnd"-
63};-
64#undef QT_MOC_LITERAL-
65-
66static const uint qt_meta_data_QQuickViewSection[] = {-
67-
68 // content:-
69 7, // revision-
70 0, // classname-
71 0, 0, // classinfo-
72 5, 14, // methods-
73 4, 44, // properties-
74 2, 60, // enums/sets-
75 0, 0, // constructors-
76 0, // flags-
77 5, // signalCount-
78-
79 // signals: name, argc, parameters, tag, flags-
80 1, 0, 39, 2, 0x06 /* Public */,-
81 3, 0, 40, 2, 0x06 /* Public */,-
82 4, 0, 41, 2, 0x06 /* Public */,-
83 5, 0, 42, 2, 0x06 /* Public */,-
84 6, 0, 43, 2, 0x06 /* Public */,-
85-
86 // signals: parameters-
87 QMetaType::Void,-
88 QMetaType::Void,-
89 QMetaType::Void,-
90 QMetaType::Void,-
91 QMetaType::Void,-
92-
93 // properties: name, type, flags-
94 7, QMetaType::QString, 0x00495103,-
95 8, 0x80000000 | 9, 0x0049510b,-
96 10, 0x80000000 | 11, 0x0049510b,-
97 12, QMetaType::Int, 0x00495103,-
98-
99 // properties: notify_signal_id-
100 1,-
101 2,-
102 3,-
103 4,-
104-
105 // enums: name, flags, count, data-
106 9, 0x0, 2, 68,-
107 15, 0x0, 3, 72,-
108-
109 // enum data: key, value-
110 13, uint(QQuickViewSection::FullString),-
111 14, uint(QQuickViewSection::FirstCharacter),-
112 16, uint(QQuickViewSection::InlineLabels),-
113 17, uint(QQuickViewSection::CurrentLabelAtStart),-
114 18, uint(QQuickViewSection::NextLabelAtEnd),-
115-
116 0 // eod-
117};-
118-
119void QQuickViewSection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
120{-
121 if (_c == QMetaObject::InvokeMetaMethod) {-
122 QQuickViewSection *_t = static_cast<QQuickViewSection *>(_o);-
123 Q_UNUSED(_t)-
124 switch (_id) {-
125 case 0: _t->sectionsChanged(); break;-
126 case 1: _t->propertyChanged(); break;-
127 case 2: _t->criteriaChanged(); break;-
128 case 3: _t->delegateChanged(); break;-
129 case 4: _t->labelPositioningChanged(); break;-
130 default: ;-
131 }-
132 } else if (_c == QMetaObject::IndexOfMethod) {-
133 int *result = reinterpret_cast<int *>(_a[0]);-
134 {-
135 using _t = void (QQuickViewSection::*)();-
136 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickViewSection::sectionsChanged)) {-
137 *result = 0;-
138 return;-
139 }-
140 }-
141 {-
142 using _t = void (QQuickViewSection::*)();-
143 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickViewSection::propertyChanged)) {-
144 *result = 1;-
145 return;-
146 }-
147 }-
148 {-
149 using _t = void (QQuickViewSection::*)();-
150 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickViewSection::criteriaChanged)) {-
151 *result = 2;-
152 return;-
153 }-
154 }-
155 {-
156 using _t = void (QQuickViewSection::*)();-
157 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickViewSection::delegateChanged)) {-
158 *result = 3;-
159 return;-
160 }-
161 }-
162 {-
163 using _t = void (QQuickViewSection::*)();-
164 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickViewSection::labelPositioningChanged)) {-
165 *result = 4;-
166 return;-
167 }-
168 }-
169 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
170 switch (_id) {-
171 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
172 case 2:-
173 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break;-
174 }-
175 }-
176-
177#ifndef QT_NO_PROPERTIES-
178 else if (_c == QMetaObject::ReadProperty) {-
179 QQuickViewSection *_t = static_cast<QQuickViewSection *>(_o);-
180 Q_UNUSED(_t)-
181 void *_v = _a[0];-
182 switch (_id) {-
183 case 0: *reinterpret_cast< QString*>(_v) = _t->property(); break;-
184 case 1: *reinterpret_cast< SectionCriteria*>(_v) = _t->criteria(); break;-
185 case 2: *reinterpret_cast< QQmlComponent**>(_v) = _t->delegate(); break;-
186 case 3: *reinterpret_cast< int*>(_v) = _t->labelPositioning(); break;-
187 default: break;-
188 }-
189 } else if (_c == QMetaObject::WriteProperty) {-
190 QQuickViewSection *_t = static_cast<QQuickViewSection *>(_o);-
191 Q_UNUSED(_t)-
192 void *_v = _a[0];-
193 switch (_id) {-
194 case 0: _t->setProperty(*reinterpret_cast< QString*>(_v)); break;-
195 case 1: _t->setCriteria(*reinterpret_cast< SectionCriteria*>(_v)); break;-
196 case 2: _t->setDelegate(*reinterpret_cast< QQmlComponent**>(_v)); break;-
197 case 3: _t->setLabelPositioning(*reinterpret_cast< int*>(_v)); break;-
198 default: break;-
199 }-
200 } else if (_c == QMetaObject::ResetProperty) {-
201 }-
202#endif // QT_NO_PROPERTIES-
203}-
204-
205QT_INIT_METAOBJECT const QMetaObject QQuickViewSection::staticMetaObject = {-
206 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickViewSection.data,-
207 qt_meta_data_QQuickViewSection, qt_static_metacall, nullptr, nullptr}-
208};-
209-
210-
211const QMetaObject *QQuickViewSection::metaObject() const-
212{-
213 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
214}-
215-
216void *QQuickViewSection::qt_metacast(const char *_clname)-
217{-
218 if (!_clname) return nullptr;-
219 if (!strcmp(_clname, qt_meta_stringdata_QQuickViewSection.stringdata0))-
220 return static_cast<void*>(this);-
221 return QObject::qt_metacast(_clname);-
222}-
223-
224int QQuickViewSection::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
225{-
226 _id = QObject::qt_metacall(_c, _id, _a);-
227 if (_id < 0)-
228 return _id;-
229 if (_c == QMetaObject::InvokeMetaMethod) {-
230 if (_id < 5)-
231 qt_static_metacall(this, _c, _id, _a);-
232 _id -= 5;-
233 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
234 if (_id < 5)-
235 *reinterpret_cast<int*>(_a[0]) = -1;-
236 _id -= 5;-
237 }-
238#ifndef QT_NO_PROPERTIES-
239 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
240 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
241 qt_static_metacall(this, _c, _id, _a);-
242 _id -= 4;-
243 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
244 _id -= 4;-
245 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
246 _id -= 4;-
247 } else if (_c == QMetaObject::QueryPropertyStored) {-
248 _id -= 4;-
249 } else if (_c == QMetaObject::QueryPropertyEditable) {-
250 _id -= 4;-
251 } else if (_c == QMetaObject::QueryPropertyUser) {-
252 _id -= 4;-
253 }-
254#endif // QT_NO_PROPERTIES-
255 return _id;-
256}-
257-
258// SIGNAL 0-
259void QQuickViewSection::sectionsChanged()-
260{-
261 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
262}
never executed: end of block
0
263-
264// SIGNAL 1-
265void QQuickViewSection::propertyChanged()-
266{-
267 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
268}
executed 58 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
58
269-
270// SIGNAL 2-
271void QQuickViewSection::criteriaChanged()-
272{-
273 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
274}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquicklistview
2
275-
276// SIGNAL 3-
277void QQuickViewSection::delegateChanged()-
278{-
279 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
280}
executed 42 times by 3 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
42
281-
282// SIGNAL 4-
283void QQuickViewSection::labelPositioningChanged()-
284{-
285 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
286}
executed 8 times by 1 test: end of block
Executed by:
  • tst_qquicklistview
8
287struct qt_meta_stringdata_QQuickListView_t {-
288 QByteArrayData data[41];-
289 char stringdata0[662];-
290};-
291#define QT_MOC_LITERAL(idx, ofs, len) \-
292 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
293 qptrdiff(offsetof(qt_meta_stringdata_QQuickListView_t, stringdata0) + ofs \-
294 - idx * sizeof(QByteArrayData)) \-
295 )-
296static const qt_meta_stringdata_QQuickListView_t qt_meta_stringdata_QQuickListView = {-
297 {-
298QT_MOC_LITERAL(0, 0, 14), // "QQuickListView"-
299QT_MOC_LITERAL(1, 15, 15), // "DefaultProperty"-
300QT_MOC_LITERAL(2, 31, 4), // "data"-
301QT_MOC_LITERAL(3, 36, 14), // "spacingChanged"-
302QT_MOC_LITERAL(4, 51, 0), // ""-
303QT_MOC_LITERAL(5, 52, 18), // "orientationChanged"-
304QT_MOC_LITERAL(6, 71, 21), // "currentSectionChanged"-
305QT_MOC_LITERAL(7, 93, 28), // "highlightMoveVelocityChanged"-
306QT_MOC_LITERAL(8, 122, 30), // "highlightResizeVelocityChanged"-
307QT_MOC_LITERAL(9, 153, 30), // "highlightResizeDurationChanged"-
308QT_MOC_LITERAL(10, 184, 15), // "snapModeChanged"-
309QT_MOC_LITERAL(11, 200, 24), // "headerPositioningChanged"-
310QT_MOC_LITERAL(12, 225, 24), // "footerPositioningChanged"-
311QT_MOC_LITERAL(13, 250, 21), // "incrementCurrentIndex"-
312QT_MOC_LITERAL(14, 272, 21), // "decrementCurrentIndex"-
313QT_MOC_LITERAL(15, 294, 21), // "highlightMoveVelocity"-
314QT_MOC_LITERAL(16, 316, 23), // "highlightResizeVelocity"-
315QT_MOC_LITERAL(17, 340, 23), // "highlightResizeDuration"-
316QT_MOC_LITERAL(18, 364, 7), // "spacing"-
317QT_MOC_LITERAL(19, 372, 11), // "orientation"-
318QT_MOC_LITERAL(20, 384, 11), // "Orientation"-
319QT_MOC_LITERAL(21, 396, 7), // "section"-
320QT_MOC_LITERAL(22, 404, 18), // "QQuickViewSection*"-
321QT_MOC_LITERAL(23, 423, 14), // "currentSection"-
322QT_MOC_LITERAL(24, 438, 8), // "snapMode"-
323QT_MOC_LITERAL(25, 447, 8), // "SnapMode"-
324QT_MOC_LITERAL(26, 456, 17), // "headerPositioning"-
325QT_MOC_LITERAL(27, 474, 17), // "HeaderPositioning"-
326QT_MOC_LITERAL(28, 492, 17), // "footerPositioning"-
327QT_MOC_LITERAL(29, 510, 17), // "FooterPositioning"-
328QT_MOC_LITERAL(30, 528, 10), // "Horizontal"-
329QT_MOC_LITERAL(31, 539, 8), // "Vertical"-
330QT_MOC_LITERAL(32, 548, 6), // "NoSnap"-
331QT_MOC_LITERAL(33, 555, 10), // "SnapToItem"-
332QT_MOC_LITERAL(34, 566, 11), // "SnapOneItem"-
333QT_MOC_LITERAL(35, 578, 12), // "InlineHeader"-
334QT_MOC_LITERAL(36, 591, 13), // "OverlayHeader"-
335QT_MOC_LITERAL(37, 605, 14), // "PullBackHeader"-
336QT_MOC_LITERAL(38, 620, 12), // "InlineFooter"-
337QT_MOC_LITERAL(39, 633, 13), // "OverlayFooter"-
338QT_MOC_LITERAL(40, 647, 14) // "PullBackFooter"-
339-
340 },-
341 "QQuickListView\0DefaultProperty\0data\0"-
342 "spacingChanged\0\0orientationChanged\0"-
343 "currentSectionChanged\0"-
344 "highlightMoveVelocityChanged\0"-
345 "highlightResizeVelocityChanged\0"-
346 "highlightResizeDurationChanged\0"-
347 "snapModeChanged\0headerPositioningChanged\0"-
348 "footerPositioningChanged\0incrementCurrentIndex\0"-
349 "decrementCurrentIndex\0highlightMoveVelocity\0"-
350 "highlightResizeVelocity\0highlightResizeDuration\0"-
351 "spacing\0orientation\0Orientation\0section\0"-
352 "QQuickViewSection*\0currentSection\0"-
353 "snapMode\0SnapMode\0headerPositioning\0"-
354 "HeaderPositioning\0footerPositioning\0"-
355 "FooterPositioning\0Horizontal\0Vertical\0"-
356 "NoSnap\0SnapToItem\0SnapOneItem\0"-
357 "InlineHeader\0OverlayHeader\0PullBackHeader\0"-
358 "InlineFooter\0OverlayFooter\0PullBackFooter"-
359};-
360#undef QT_MOC_LITERAL-
361-
362static const uint qt_meta_data_QQuickListView[] = {-
363-
364 // content:-
365 7, // revision-
366 0, // classname-
367 1, 14, // classinfo-
368 11, 16, // methods-
369 10, 93, // properties-
370 4, 143, // enums/sets-
371 0, 0, // constructors-
372 0, // flags-
373 9, // signalCount-
374-
375 // classinfo: key, value-
376 1, 2,-
377-
378 // signals: name, argc, parameters, tag, flags-
379 3, 0, 82, 4, 0x06 /* Public */,-
380 5, 0, 83, 4, 0x06 /* Public */,-
381 6, 0, 84, 4, 0x06 /* Public */,-
382 7, 0, 85, 4, 0x06 /* Public */,-
383 8, 0, 86, 4, 0x06 /* Public */,-
384 9, 0, 87, 4, 0x06 /* Public */,-
385 10, 0, 88, 4, 0x06 /* Public */,-
386 11, 0, 89, 4, 0x86 /* Public | MethodRevisioned */,-
387 12, 0, 90, 4, 0x86 /* Public | MethodRevisioned */,-
388-
389 // slots: name, argc, parameters, tag, flags-
390 13, 0, 91, 4, 0x0a /* Public */,-
391 14, 0, 92, 4, 0x0a /* Public */,-
392-
393 // signals: revision-
394 0,-
395 0,-
396 0,-
397 0,-
398 0,-
399 0,-
400 0,-
401 2,-
402 2,-
403-
404 // slots: revision-
405 0,-
406 0,-
407-
408 // signals: parameters-
409 QMetaType::Void,-
410 QMetaType::Void,-
411 QMetaType::Void,-
412 QMetaType::Void,-
413 QMetaType::Void,-
414 QMetaType::Void,-
415 QMetaType::Void,-
416 QMetaType::Void,-
417 QMetaType::Void,-
418-
419 // slots: parameters-
420 QMetaType::Void,-
421 QMetaType::Void,-
422-
423 // properties: name, type, flags-
424 15, QMetaType::QReal, 0x00495103,-
425 16, QMetaType::QReal, 0x00495103,-
426 17, QMetaType::Int, 0x00495103,-
427 18, QMetaType::QReal, 0x00495103,-
428 19, 0x80000000 | 20, 0x0049510b,-
429 21, 0x80000000 | 22, 0x00095409,-
430 23, QMetaType::QString, 0x00495001,-
431 24, 0x80000000 | 25, 0x0049510b,-
432 26, 0x80000000 | 27, 0x00c9510b,-
433 28, 0x80000000 | 29, 0x00c9510b,-
434-
435 // properties: notify_signal_id-
436 3,-
437 4,-
438 5,-
439 0,-
440 1,-
441 0,-
442 2,-
443 6,-
444 7,-
445 8,-
446-
447 // properties: revision-
448 0,-
449 0,-
450 0,-
451 0,-
452 0,-
453 0,-
454 0,-
455 0,-
456 2,-
457 2,-
458-
459 // enums: name, flags, count, data-
460 20, 0x0, 2, 159,-
461 25, 0x0, 3, 163,-
462 27, 0x0, 3, 169,-
463 29, 0x0, 3, 175,-
464-
465 // enum data: key, value-
466 30, uint(QQuickListView::Horizontal),-
467 31, uint(QQuickListView::Vertical),-
468 32, uint(QQuickListView::NoSnap),-
469 33, uint(QQuickListView::SnapToItem),-
470 34, uint(QQuickListView::SnapOneItem),-
471 35, uint(QQuickListView::InlineHeader),-
472 36, uint(QQuickListView::OverlayHeader),-
473 37, uint(QQuickListView::PullBackHeader),-
474 38, uint(QQuickListView::InlineFooter),-
475 39, uint(QQuickListView::OverlayFooter),-
476 40, uint(QQuickListView::PullBackFooter),-
477-
478 0 // eod-
479};-
480-
481void QQuickListView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
482{-
483 if (_c == QMetaObject::InvokeMetaMethod) {-
484 QQuickListView *_t = static_cast<QQuickListView *>(_o);-
485 Q_UNUSED(_t)-
486 switch (_id) {-
487 case 0: _t->spacingChanged(); break;-
488 case 1: _t->orientationChanged(); break;-
489 case 2: _t->currentSectionChanged(); break;-
490 case 3: _t->highlightMoveVelocityChanged(); break;-
491 case 4: _t->highlightResizeVelocityChanged(); break;-
492 case 5: _t->highlightResizeDurationChanged(); break;-
493 case 6: _t->snapModeChanged(); break;-
494 case 7: _t->headerPositioningChanged(); break;-
495 case 8: _t->footerPositioningChanged(); break;-
496 case 9: _t->incrementCurrentIndex(); break;-
497 case 10: _t->decrementCurrentIndex(); break;-
498 default: ;-
499 }-
500 } else if (_c == QMetaObject::IndexOfMethod) {-
501 int *result = reinterpret_cast<int *>(_a[0]);-
502 {-
503 using _t = void (QQuickListView::*)();-
504 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::spacingChanged)) {-
505 *result = 0;-
506 return;-
507 }-
508 }-
509 {-
510 using _t = void (QQuickListView::*)();-
511 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::orientationChanged)) {-
512 *result = 1;-
513 return;-
514 }-
515 }-
516 {-
517 using _t = void (QQuickListView::*)();-
518 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::currentSectionChanged)) {-
519 *result = 2;-
520 return;-
521 }-
522 }-
523 {-
524 using _t = void (QQuickListView::*)();-
525 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::highlightMoveVelocityChanged)) {-
526 *result = 3;-
527 return;-
528 }-
529 }-
530 {-
531 using _t = void (QQuickListView::*)();-
532 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::highlightResizeVelocityChanged)) {-
533 *result = 4;-
534 return;-
535 }-
536 }-
537 {-
538 using _t = void (QQuickListView::*)();-
539 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::highlightResizeDurationChanged)) {-
540 *result = 5;-
541 return;-
542 }-
543 }-
544 {-
545 using _t = void (QQuickListView::*)();-
546 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::snapModeChanged)) {-
547 *result = 6;-
548 return;-
549 }-
550 }-
551 {-
552 using _t = void (QQuickListView::*)();-
553 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::headerPositioningChanged)) {-
554 *result = 7;-
555 return;-
556 }-
557 }-
558 {-
559 using _t = void (QQuickListView::*)();-
560 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickListView::footerPositioningChanged)) {-
561 *result = 8;-
562 return;-
563 }-
564 }-
565 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
566 switch (_id) {-
567 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
568 case 5:-
569 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickViewSection* >(); break;-
570 }-
571 }-
572-
573#ifndef QT_NO_PROPERTIES-
574 else if (_c == QMetaObject::ReadProperty) {-
575 QQuickListView *_t = static_cast<QQuickListView *>(_o);-
576 Q_UNUSED(_t)-
577 void *_v = _a[0];-
578 switch (_id) {-
579 case 0: *reinterpret_cast< qreal*>(_v) = _t->highlightMoveVelocity(); break;-
580 case 1: *reinterpret_cast< qreal*>(_v) = _t->highlightResizeVelocity(); break;-
581 case 2: *reinterpret_cast< int*>(_v) = _t->highlightResizeDuration(); break;-
582 case 3: *reinterpret_cast< qreal*>(_v) = _t->spacing(); break;-
583 case 4: *reinterpret_cast< Orientation*>(_v) = _t->orientation(); break;-
584 case 5: *reinterpret_cast< QQuickViewSection**>(_v) = _t->sectionCriteria(); break;-
585 case 6: *reinterpret_cast< QString*>(_v) = _t->currentSection(); break;-
586 case 7: *reinterpret_cast< SnapMode*>(_v) = _t->snapMode(); break;-
587 case 8: *reinterpret_cast< HeaderPositioning*>(_v) = _t->headerPositioning(); break;-
588 case 9: *reinterpret_cast< FooterPositioning*>(_v) = _t->footerPositioning(); break;-
589 default: break;-
590 }-
591 } else if (_c == QMetaObject::WriteProperty) {-
592 QQuickListView *_t = static_cast<QQuickListView *>(_o);-
593 Q_UNUSED(_t)-
594 void *_v = _a[0];-
595 switch (_id) {-
596 case 0: _t->setHighlightMoveVelocity(*reinterpret_cast< qreal*>(_v)); break;-
597 case 1: _t->setHighlightResizeVelocity(*reinterpret_cast< qreal*>(_v)); break;-
598 case 2: _t->setHighlightResizeDuration(*reinterpret_cast< int*>(_v)); break;-
599 case 3: _t->setSpacing(*reinterpret_cast< qreal*>(_v)); break;-
600 case 4: _t->setOrientation(*reinterpret_cast< Orientation*>(_v)); break;-
601 case 7: _t->setSnapMode(*reinterpret_cast< SnapMode*>(_v)); break;-
602 case 8: _t->setHeaderPositioning(*reinterpret_cast< HeaderPositioning*>(_v)); break;-
603 case 9: _t->setFooterPositioning(*reinterpret_cast< FooterPositioning*>(_v)); break;-
604 default: break;-
605 }-
606 } else if (_c == QMetaObject::ResetProperty) {-
607 }-
608#endif // QT_NO_PROPERTIES-
609}-
610-
611QT_INIT_METAOBJECT const QMetaObject QQuickListView::staticMetaObject = {-
612 { &QQuickItemView::staticMetaObject, qt_meta_stringdata_QQuickListView.data,-
613 qt_meta_data_QQuickListView, qt_static_metacall, nullptr, nullptr}-
614};-
615-
616-
617const QMetaObject *QQuickListView::metaObject() const-
618{-
619 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
620}-
621-
622void *QQuickListView::qt_metacast(const char *_clname)-
623{-
624 if (!_clname) return nullptr;-
625 if (!strcmp(_clname, qt_meta_stringdata_QQuickListView.stringdata0))-
626 return static_cast<void*>(this);-
627 return QQuickItemView::qt_metacast(_clname);-
628}-
629-
630int QQuickListView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
631{-
632 _id = QQuickItemView::qt_metacall(_c, _id, _a);-
633 if (_id < 0)-
634 return _id;-
635 if (_c == QMetaObject::InvokeMetaMethod) {-
636 if (_id < 11)-
637 qt_static_metacall(this, _c, _id, _a);-
638 _id -= 11;-
639 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
640 if (_id < 11)-
641 *reinterpret_cast<int*>(_a[0]) = -1;-
642 _id -= 11;-
643 }-
644#ifndef QT_NO_PROPERTIES-
645 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
646 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
647 qt_static_metacall(this, _c, _id, _a);-
648 _id -= 10;-
649 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
650 _id -= 10;-
651 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
652 _id -= 10;-
653 } else if (_c == QMetaObject::QueryPropertyStored) {-
654 _id -= 10;-
655 } else if (_c == QMetaObject::QueryPropertyEditable) {-
656 _id -= 10;-
657 } else if (_c == QMetaObject::QueryPropertyUser) {-
658 _id -= 10;-
659 }-
660#endif // QT_NO_PROPERTIES-
661 return _id;-
662}-
663-
664// SIGNAL 0-
665void QQuickListView::spacingChanged()-
666{-
667 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
668}
executed 22 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquicklistview
22
669-
670// SIGNAL 1-
671void QQuickListView::orientationChanged()-
672{-
673 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
674}
executed 194 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquicklistview
194
675-
676// SIGNAL 2-
677void QQuickListView::currentSectionChanged()-
678{-
679 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
680}
executed 144 times by 4 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickgridview
  • tst_qquicklistview
  • tst_qquickvisualdatamodel
144
681-
682// SIGNAL 3-
683void QQuickListView::highlightMoveVelocityChanged()-
684{-
685 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
686}
executed 582 times by 1 test: end of block
Executed by:
  • tst_qquicklistview
582
687-
688// SIGNAL 4-
689void QQuickListView::highlightResizeVelocityChanged()-
690{-
691 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
692}
executed 566 times by 1 test: end of block
Executed by:
  • tst_qquicklistview
566
693-
694// SIGNAL 5-
695void QQuickListView::highlightResizeDurationChanged()-
696{-
697 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
698}
never executed: end of block
0
699-
700// SIGNAL 6-
701void QQuickListView::snapModeChanged()-
702{-
703 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
704}
executed 88 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquicklistview
88
705-
706// SIGNAL 7-
707void QQuickListView::headerPositioningChanged()-
708{-
709 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);-
710}
executed 86 times by 1 test: end of block
Executed by:
  • tst_qquicklistview
86
711-
712// SIGNAL 8-
713void QQuickListView::footerPositioningChanged()-
714{-
715 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);-
716}
executed 82 times by 1 test: end of block
Executed by:
  • tst_qquicklistview
82
717struct qt_meta_stringdata_QQuickListViewAttached_t {-
718 QByteArrayData data[1];-
719 char stringdata0[23];-
720};-
721#define QT_MOC_LITERAL(idx, ofs, len) \-
722 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
723 qptrdiff(offsetof(qt_meta_stringdata_QQuickListViewAttached_t, stringdata0) + ofs \-
724 - idx * sizeof(QByteArrayData)) \-
725 )-
726static const qt_meta_stringdata_QQuickListViewAttached_t qt_meta_stringdata_QQuickListViewAttached = {-
727 {-
728QT_MOC_LITERAL(0, 0, 22) // "QQuickListViewAttached"-
729-
730 },-
731 "QQuickListViewAttached"-
732};-
733#undef QT_MOC_LITERAL-
734-
735static const uint qt_meta_data_QQuickListViewAttached[] = {-
736-
737 // content:-
738 7, // revision-
739 0, // classname-
740 0, 0, // classinfo-
741 0, 0, // methods-
742 0, 0, // properties-
743 0, 0, // enums/sets-
744 0, 0, // constructors-
745 0, // flags-
746 0, // signalCount-
747-
748 0 // eod-
749};-
750-
751void QQuickListViewAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
752{-
753 Q_UNUSED(_o);-
754 Q_UNUSED(_id);-
755 Q_UNUSED(_c);-
756 Q_UNUSED(_a);-
757}-
758-
759QT_INIT_METAOBJECT const QMetaObject QQuickListViewAttached::staticMetaObject = {-
760 { &QQuickItemViewAttached::staticMetaObject, qt_meta_stringdata_QQuickListViewAttached.data,-
761 qt_meta_data_QQuickListViewAttached, qt_static_metacall, nullptr, nullptr}-
762};-
763-
764-
765const QMetaObject *QQuickListViewAttached::metaObject() const-
766{-
767 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
768}-
769-
770void *QQuickListViewAttached::qt_metacast(const char *_clname)-
771{-
772 if (!_clname) return nullptr;-
773 if (!strcmp(_clname, qt_meta_stringdata_QQuickListViewAttached.stringdata0))-
774 return static_cast<void*>(this);-
775 return QQuickItemViewAttached::qt_metacast(_clname);-
776}-
777-
778int QQuickListViewAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
779{-
780 _id = QQuickItemViewAttached::qt_metacall(_c, _id, _a);-
781 return _id;-
782}-
783QT_WARNING_POP-
784QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0