Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicklistview_p.cpp |
Source code | Switch to Preprocessed file |
Line | Source | Count |
---|---|---|
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 | - | |
20 | QT_BEGIN_MOC_NAMESPACE | - |
21 | QT_WARNING_PUSH | - |
22 | QT_WARNING_DISABLE_DEPRECATED | - |
23 | struct 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 | ) | - |
32 | static const qt_meta_stringdata_QQuickViewSection_t qt_meta_stringdata_QQuickViewSection = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 17), // "QQuickViewSection" | - |
35 | QT_MOC_LITERAL(1, 18, 15), // "sectionsChanged" | - |
36 | QT_MOC_LITERAL(2, 34, 0), // "" | - |
37 | QT_MOC_LITERAL(3, 35, 15), // "propertyChanged" | - |
38 | QT_MOC_LITERAL(4, 51, 15), // "criteriaChanged" | - |
39 | QT_MOC_LITERAL(5, 67, 15), // "delegateChanged" | - |
40 | QT_MOC_LITERAL(6, 83, 23), // "labelPositioningChanged" | - |
41 | QT_MOC_LITERAL(7, 107, 8), // "property" | - |
42 | QT_MOC_LITERAL(8, 116, 8), // "criteria" | - |
43 | QT_MOC_LITERAL(9, 125, 15), // "SectionCriteria" | - |
44 | QT_MOC_LITERAL(10, 141, 8), // "delegate" | - |
45 | QT_MOC_LITERAL(11, 150, 14), // "QQmlComponent*" | - |
46 | QT_MOC_LITERAL(12, 165, 16), // "labelPositioning" | - |
47 | QT_MOC_LITERAL(13, 182, 10), // "FullString" | - |
48 | QT_MOC_LITERAL(14, 193, 14), // "FirstCharacter" | - |
49 | QT_MOC_LITERAL(15, 208, 16), // "LabelPositioning" | - |
50 | QT_MOC_LITERAL(16, 225, 12), // "InlineLabels" | - |
51 | QT_MOC_LITERAL(17, 238, 19), // "CurrentLabelAtStart" | - |
52 | QT_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 | - | |
66 | static 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 | - | |
119 | void 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 | - | |
205 | QT_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 | - | |
211 | const QMetaObject *QQuickViewSection::metaObject() const | - |
212 | { | - |
213 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
214 | } | - |
215 | - | |
216 | void *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 | - | |
224 | int 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 | - |
259 | void QQuickViewSection::sectionsChanged() | - |
260 | { | - |
261 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
262 | } never executed: end of block | 0 |
263 | - | |
264 | // SIGNAL 1 | - |
265 | void QQuickViewSection::propertyChanged() | - |
266 | { | - |
267 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
268 | } executed 58 times by 4 tests: end of block Executed by:
| 58 |
269 | - | |
270 | // SIGNAL 2 | - |
271 | void QQuickViewSection::criteriaChanged() | - |
272 | { | - |
273 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
274 | } executed 2 times by 1 test: end of block Executed by:
| 2 |
275 | - | |
276 | // SIGNAL 3 | - |
277 | void QQuickViewSection::delegateChanged() | - |
278 | { | - |
279 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
280 | } executed 42 times by 3 tests: end of block Executed by:
| 42 |
281 | - | |
282 | // SIGNAL 4 | - |
283 | void QQuickViewSection::labelPositioningChanged() | - |
284 | { | - |
285 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
286 | } executed 8 times by 1 test: end of block Executed by:
| 8 |
287 | struct 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 | ) | - |
296 | static const qt_meta_stringdata_QQuickListView_t qt_meta_stringdata_QQuickListView = { | - |
297 | { | - |
298 | QT_MOC_LITERAL(0, 0, 14), // "QQuickListView" | - |
299 | QT_MOC_LITERAL(1, 15, 15), // "DefaultProperty" | - |
300 | QT_MOC_LITERAL(2, 31, 4), // "data" | - |
301 | QT_MOC_LITERAL(3, 36, 14), // "spacingChanged" | - |
302 | QT_MOC_LITERAL(4, 51, 0), // "" | - |
303 | QT_MOC_LITERAL(5, 52, 18), // "orientationChanged" | - |
304 | QT_MOC_LITERAL(6, 71, 21), // "currentSectionChanged" | - |
305 | QT_MOC_LITERAL(7, 93, 28), // "highlightMoveVelocityChanged" | - |
306 | QT_MOC_LITERAL(8, 122, 30), // "highlightResizeVelocityChanged" | - |
307 | QT_MOC_LITERAL(9, 153, 30), // "highlightResizeDurationChanged" | - |
308 | QT_MOC_LITERAL(10, 184, 15), // "snapModeChanged" | - |
309 | QT_MOC_LITERAL(11, 200, 24), // "headerPositioningChanged" | - |
310 | QT_MOC_LITERAL(12, 225, 24), // "footerPositioningChanged" | - |
311 | QT_MOC_LITERAL(13, 250, 21), // "incrementCurrentIndex" | - |
312 | QT_MOC_LITERAL(14, 272, 21), // "decrementCurrentIndex" | - |
313 | QT_MOC_LITERAL(15, 294, 21), // "highlightMoveVelocity" | - |
314 | QT_MOC_LITERAL(16, 316, 23), // "highlightResizeVelocity" | - |
315 | QT_MOC_LITERAL(17, 340, 23), // "highlightResizeDuration" | - |
316 | QT_MOC_LITERAL(18, 364, 7), // "spacing" | - |
317 | QT_MOC_LITERAL(19, 372, 11), // "orientation" | - |
318 | QT_MOC_LITERAL(20, 384, 11), // "Orientation" | - |
319 | QT_MOC_LITERAL(21, 396, 7), // "section" | - |
320 | QT_MOC_LITERAL(22, 404, 18), // "QQuickViewSection*" | - |
321 | QT_MOC_LITERAL(23, 423, 14), // "currentSection" | - |
322 | QT_MOC_LITERAL(24, 438, 8), // "snapMode" | - |
323 | QT_MOC_LITERAL(25, 447, 8), // "SnapMode" | - |
324 | QT_MOC_LITERAL(26, 456, 17), // "headerPositioning" | - |
325 | QT_MOC_LITERAL(27, 474, 17), // "HeaderPositioning" | - |
326 | QT_MOC_LITERAL(28, 492, 17), // "footerPositioning" | - |
327 | QT_MOC_LITERAL(29, 510, 17), // "FooterPositioning" | - |
328 | QT_MOC_LITERAL(30, 528, 10), // "Horizontal" | - |
329 | QT_MOC_LITERAL(31, 539, 8), // "Vertical" | - |
330 | QT_MOC_LITERAL(32, 548, 6), // "NoSnap" | - |
331 | QT_MOC_LITERAL(33, 555, 10), // "SnapToItem" | - |
332 | QT_MOC_LITERAL(34, 566, 11), // "SnapOneItem" | - |
333 | QT_MOC_LITERAL(35, 578, 12), // "InlineHeader" | - |
334 | QT_MOC_LITERAL(36, 591, 13), // "OverlayHeader" | - |
335 | QT_MOC_LITERAL(37, 605, 14), // "PullBackHeader" | - |
336 | QT_MOC_LITERAL(38, 620, 12), // "InlineFooter" | - |
337 | QT_MOC_LITERAL(39, 633, 13), // "OverlayFooter" | - |
338 | QT_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 | - | |
362 | static 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 | - | |
481 | void 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 | - | |
611 | QT_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 | - | |
617 | const QMetaObject *QQuickListView::metaObject() const | - |
618 | { | - |
619 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
620 | } | - |
621 | - | |
622 | void *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 | - | |
630 | int 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 | - |
665 | void QQuickListView::spacingChanged() | - |
666 | { | - |
667 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
668 | } executed 22 times by 2 tests: end of block Executed by:
| 22 |
669 | - | |
670 | // SIGNAL 1 | - |
671 | void QQuickListView::orientationChanged() | - |
672 | { | - |
673 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
674 | } executed 194 times by 2 tests: end of block Executed by:
| 194 |
675 | - | |
676 | // SIGNAL 2 | - |
677 | void QQuickListView::currentSectionChanged() | - |
678 | { | - |
679 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
680 | } executed 144 times by 4 tests: end of block Executed by:
| 144 |
681 | - | |
682 | // SIGNAL 3 | - |
683 | void QQuickListView::highlightMoveVelocityChanged() | - |
684 | { | - |
685 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
686 | } executed 582 times by 1 test: end of block Executed by:
| 582 |
687 | - | |
688 | // SIGNAL 4 | - |
689 | void QQuickListView::highlightResizeVelocityChanged() | - |
690 | { | - |
691 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
692 | } executed 566 times by 1 test: end of block Executed by:
| 566 |
693 | - | |
694 | // SIGNAL 5 | - |
695 | void QQuickListView::highlightResizeDurationChanged() | - |
696 | { | - |
697 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | - |
698 | } never executed: end of block | 0 |
699 | - | |
700 | // SIGNAL 6 | - |
701 | void QQuickListView::snapModeChanged() | - |
702 | { | - |
703 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | - |
704 | } executed 88 times by 2 tests: end of block Executed by:
| 88 |
705 | - | |
706 | // SIGNAL 7 | - |
707 | void QQuickListView::headerPositioningChanged() | - |
708 | { | - |
709 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | - |
710 | } executed 86 times by 1 test: end of block Executed by:
| 86 |
711 | - | |
712 | // SIGNAL 8 | - |
713 | void QQuickListView::footerPositioningChanged() | - |
714 | { | - |
715 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); | - |
716 | } executed 82 times by 1 test: end of block Executed by:
| 82 |
717 | struct 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 | ) | - |
726 | static const qt_meta_stringdata_QQuickListViewAttached_t qt_meta_stringdata_QQuickListViewAttached = { | - |
727 | { | - |
728 | QT_MOC_LITERAL(0, 0, 22) // "QQuickListViewAttached" | - |
729 | - | |
730 | }, | - |
731 | "QQuickListViewAttached" | - |
732 | }; | - |
733 | #undef QT_MOC_LITERAL | - |
734 | - | |
735 | static 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 | - | |
751 | void 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 | - | |
759 | QT_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 | - | |
765 | const QMetaObject *QQuickListViewAttached::metaObject() const | - |
766 | { | - |
767 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
768 | } | - |
769 | - | |
770 | void *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 | - | |
778 | int QQuickListViewAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
779 | { | - |
780 | _id = QQuickItemViewAttached::qt_metacall(_c, _id, _a); | - |
781 | return _id; | - |
782 | } | - |
783 | QT_WARNING_POP | - |
784 | QT_END_MOC_NAMESPACE | - |
Source code | Switch to Preprocessed file |