OpenCoverage

moc_qquickpositioners_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickpositioners_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickpositioners_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/qquickpositioners_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickpositioners_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_QQuickPositionerAttached_t {-
24 QByteArrayData data[8];-
25 char stringdata0[105];-
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_QQuickPositionerAttached_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickPositionerAttached_t qt_meta_stringdata_QQuickPositionerAttached = {-
33 {-
34QT_MOC_LITERAL(0, 0, 24), // "QQuickPositionerAttached"-
35QT_MOC_LITERAL(1, 25, 12), // "indexChanged"-
36QT_MOC_LITERAL(2, 38, 0), // ""-
37QT_MOC_LITERAL(3, 39, 18), // "isFirstItemChanged"-
38QT_MOC_LITERAL(4, 58, 17), // "isLastItemChanged"-
39QT_MOC_LITERAL(5, 76, 5), // "index"-
40QT_MOC_LITERAL(6, 82, 11), // "isFirstItem"-
41QT_MOC_LITERAL(7, 94, 10) // "isLastItem"-
42-
43 },-
44 "QQuickPositionerAttached\0indexChanged\0"-
45 "\0isFirstItemChanged\0isLastItemChanged\0"-
46 "index\0isFirstItem\0isLastItem"-
47};-
48#undef QT_MOC_LITERAL-
49-
50static const uint qt_meta_data_QQuickPositionerAttached[] = {-
51-
52 // content:-
53 7, // revision-
54 0, // classname-
55 0, 0, // classinfo-
56 3, 14, // methods-
57 3, 32, // properties-
58 0, 0, // enums/sets-
59 0, 0, // constructors-
60 0, // flags-
61 3, // signalCount-
62-
63 // signals: name, argc, parameters, tag, flags-
64 1, 0, 29, 2, 0x06 /* Public */,-
65 3, 0, 30, 2, 0x06 /* Public */,-
66 4, 0, 31, 2, 0x06 /* Public */,-
67-
68 // signals: parameters-
69 QMetaType::Void,-
70 QMetaType::Void,-
71 QMetaType::Void,-
72-
73 // properties: name, type, flags-
74 5, QMetaType::Int, 0x00495001,-
75 6, QMetaType::Bool, 0x00495001,-
76 7, QMetaType::Bool, 0x00495001,-
77-
78 // properties: notify_signal_id-
79 0,-
80 1,-
81 2,-
82-
83 0 // eod-
84};-
85-
86void QQuickPositionerAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
87{-
88 if (_c == QMetaObject::InvokeMetaMethod) {-
89 QQuickPositionerAttached *_t = static_cast<QQuickPositionerAttached *>(_o);-
90 Q_UNUSED(_t)-
91 switch (_id) {-
92 case 0: _t->indexChanged(); break;-
93 case 1: _t->isFirstItemChanged(); break;-
94 case 2: _t->isLastItemChanged(); break;-
95 default: ;-
96 }-
97 } else if (_c == QMetaObject::IndexOfMethod) {-
98 int *result = reinterpret_cast<int *>(_a[0]);-
99 {-
100 using _t = void (QQuickPositionerAttached::*)();-
101 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPositionerAttached::indexChanged)) {-
102 *result = 0;-
103 return;-
104 }-
105 }-
106 {-
107 using _t = void (QQuickPositionerAttached::*)();-
108 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPositionerAttached::isFirstItemChanged)) {-
109 *result = 1;-
110 return;-
111 }-
112 }-
113 {-
114 using _t = void (QQuickPositionerAttached::*)();-
115 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPositionerAttached::isLastItemChanged)) {-
116 *result = 2;-
117 return;-
118 }-
119 }-
120 }-
121#ifndef QT_NO_PROPERTIES-
122 else if (_c == QMetaObject::ReadProperty) {-
123 QQuickPositionerAttached *_t = static_cast<QQuickPositionerAttached *>(_o);-
124 Q_UNUSED(_t)-
125 void *_v = _a[0];-
126 switch (_id) {-
127 case 0: *reinterpret_cast< int*>(_v) = _t->index(); break;-
128 case 1: *reinterpret_cast< bool*>(_v) = _t->isFirstItem(); break;-
129 case 2: *reinterpret_cast< bool*>(_v) = _t->isLastItem(); break;-
130 default: break;-
131 }-
132 } else if (_c == QMetaObject::WriteProperty) {-
133 } else if (_c == QMetaObject::ResetProperty) {-
134 }-
135#endif // QT_NO_PROPERTIES-
136 Q_UNUSED(_a);-
137}-
138-
139QT_INIT_METAOBJECT const QMetaObject QQuickPositionerAttached::staticMetaObject = {-
140 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickPositionerAttached.data,-
141 qt_meta_data_QQuickPositionerAttached, qt_static_metacall, nullptr, nullptr}-
142};-
143-
144-
145const QMetaObject *QQuickPositionerAttached::metaObject() const-
146{-
147 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
148}-
149-
150void *QQuickPositionerAttached::qt_metacast(const char *_clname)-
151{-
152 if (!_clname) return nullptr;-
153 if (!strcmp(_clname, qt_meta_stringdata_QQuickPositionerAttached.stringdata0))-
154 return static_cast<void*>(this);-
155 return QObject::qt_metacast(_clname);-
156}-
157-
158int QQuickPositionerAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
159{-
160 _id = QObject::qt_metacall(_c, _id, _a);-
161 if (_id < 0)-
162 return _id;-
163 if (_c == QMetaObject::InvokeMetaMethod) {-
164 if (_id < 3)-
165 qt_static_metacall(this, _c, _id, _a);-
166 _id -= 3;-
167 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
168 if (_id < 3)-
169 *reinterpret_cast<int*>(_a[0]) = -1;-
170 _id -= 3;-
171 }-
172#ifndef QT_NO_PROPERTIES-
173 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
174 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
175 qt_static_metacall(this, _c, _id, _a);-
176 _id -= 3;-
177 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
178 _id -= 3;-
179 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
180 _id -= 3;-
181 } else if (_c == QMetaObject::QueryPropertyStored) {-
182 _id -= 3;-
183 } else if (_c == QMetaObject::QueryPropertyEditable) {-
184 _id -= 3;-
185 } else if (_c == QMetaObject::QueryPropertyUser) {-
186 _id -= 3;-
187 }-
188#endif // QT_NO_PROPERTIES-
189 return _id;-
190}-
191-
192// SIGNAL 0-
193void QQuickPositionerAttached::indexChanged()-
194{-
195 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
196}
executed 22 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
22
197-
198// SIGNAL 1-
199void QQuickPositionerAttached::isFirstItemChanged()-
200{-
201 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
202}
executed 10 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
10
203-
204// SIGNAL 2-
205void QQuickPositionerAttached::isLastItemChanged()-
206{-
207 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
208}
executed 16 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
16
209struct qt_meta_stringdata_QQuickBasePositioner_t {-
210 QByteArrayData data[24];-
211 char stringdata0[318];-
212};-
213#define QT_MOC_LITERAL(idx, ofs, len) \-
214 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
215 qptrdiff(offsetof(qt_meta_stringdata_QQuickBasePositioner_t, stringdata0) + ofs \-
216 - idx * sizeof(QByteArrayData)) \-
217 )-
218static const qt_meta_stringdata_QQuickBasePositioner_t qt_meta_stringdata_QQuickBasePositioner = {-
219 {-
220QT_MOC_LITERAL(0, 0, 20), // "QQuickBasePositioner"-
221QT_MOC_LITERAL(1, 21, 14), // "spacingChanged"-
222QT_MOC_LITERAL(2, 36, 0), // ""-
223QT_MOC_LITERAL(3, 37, 15), // "populateChanged"-
224QT_MOC_LITERAL(4, 53, 11), // "moveChanged"-
225QT_MOC_LITERAL(5, 65, 10), // "addChanged"-
226QT_MOC_LITERAL(6, 76, 14), // "paddingChanged"-
227QT_MOC_LITERAL(7, 91, 17), // "topPaddingChanged"-
228QT_MOC_LITERAL(8, 109, 18), // "leftPaddingChanged"-
229QT_MOC_LITERAL(9, 128, 19), // "rightPaddingChanged"-
230QT_MOC_LITERAL(10, 148, 20), // "bottomPaddingChanged"-
231QT_MOC_LITERAL(11, 169, 19), // "positioningComplete"-
232QT_MOC_LITERAL(12, 189, 14), // "prePositioning"-
233QT_MOC_LITERAL(13, 204, 11), // "forceLayout"-
234QT_MOC_LITERAL(14, 216, 7), // "spacing"-
235QT_MOC_LITERAL(15, 224, 8), // "populate"-
236QT_MOC_LITERAL(16, 233, 17), // "QQuickTransition*"-
237QT_MOC_LITERAL(17, 251, 4), // "move"-
238QT_MOC_LITERAL(18, 256, 3), // "add"-
239QT_MOC_LITERAL(19, 260, 7), // "padding"-
240QT_MOC_LITERAL(20, 268, 10), // "topPadding"-
241QT_MOC_LITERAL(21, 279, 11), // "leftPadding"-
242QT_MOC_LITERAL(22, 291, 12), // "rightPadding"-
243QT_MOC_LITERAL(23, 304, 13) // "bottomPadding"-
244-
245 },-
246 "QQuickBasePositioner\0spacingChanged\0"-
247 "\0populateChanged\0moveChanged\0addChanged\0"-
248 "paddingChanged\0topPaddingChanged\0"-
249 "leftPaddingChanged\0rightPaddingChanged\0"-
250 "bottomPaddingChanged\0positioningComplete\0"-
251 "prePositioning\0forceLayout\0spacing\0"-
252 "populate\0QQuickTransition*\0move\0add\0"-
253 "padding\0topPadding\0leftPadding\0"-
254 "rightPadding\0bottomPadding"-
255};-
256#undef QT_MOC_LITERAL-
257-
258static const uint qt_meta_data_QQuickBasePositioner[] = {-
259-
260 // content:-
261 7, // revision-
262 0, // classname-
263 0, 0, // classinfo-
264 12, 14, // methods-
265 9, 98, // properties-
266 0, 0, // enums/sets-
267 0, 0, // constructors-
268 0, // flags-
269 10, // signalCount-
270-
271 // signals: name, argc, parameters, tag, flags-
272 1, 0, 86, 2, 0x06 /* Public */,-
273 3, 0, 87, 2, 0x06 /* Public */,-
274 4, 0, 88, 2, 0x06 /* Public */,-
275 5, 0, 89, 2, 0x06 /* Public */,-
276 6, 0, 90, 2, 0x86 /* Public | MethodRevisioned */,-
277 7, 0, 91, 2, 0x86 /* Public | MethodRevisioned */,-
278 8, 0, 92, 2, 0x86 /* Public | MethodRevisioned */,-
279 9, 0, 93, 2, 0x86 /* Public | MethodRevisioned */,-
280 10, 0, 94, 2, 0x86 /* Public | MethodRevisioned */,-
281 11, 0, 95, 2, 0x86 /* Public | MethodRevisioned */,-
282-
283 // slots: name, argc, parameters, tag, flags-
284 12, 0, 96, 2, 0x09 /* Protected */,-
285-
286 // methods: name, argc, parameters, tag, flags-
287 13, 0, 97, 2, 0x82 /* Public | MethodRevisioned */,-
288-
289 // signals: revision-
290 0,-
291 0,-
292 0,-
293 0,-
294 6,-
295 6,-
296 6,-
297 6,-
298 6,-
299 9,-
300-
301 // slots: revision-
302 0,-
303-
304 // methods: revision-
305 9,-
306-
307 // signals: parameters-
308 QMetaType::Void,-
309 QMetaType::Void,-
310 QMetaType::Void,-
311 QMetaType::Void,-
312 QMetaType::Void,-
313 QMetaType::Void,-
314 QMetaType::Void,-
315 QMetaType::Void,-
316 QMetaType::Void,-
317 QMetaType::Void,-
318-
319 // slots: parameters-
320 QMetaType::Void,-
321-
322 // methods: parameters-
323 QMetaType::Void,-
324-
325 // properties: name, type, flags-
326 14, QMetaType::QReal, 0x00495103,-
327 15, 0x80000000 | 16, 0x0049510b,-
328 17, 0x80000000 | 16, 0x0049510b,-
329 18, 0x80000000 | 16, 0x0049510b,-
330 19, QMetaType::QReal, 0x00c95107,-
331 20, QMetaType::QReal, 0x00c95107,-
332 21, QMetaType::QReal, 0x00c95107,-
333 22, QMetaType::QReal, 0x00c95107,-
334 23, QMetaType::QReal, 0x00c95107,-
335-
336 // properties: notify_signal_id-
337 0,-
338 1,-
339 2,-
340 3,-
341 4,-
342 5,-
343 6,-
344 7,-
345 8,-
346-
347 // properties: revision-
348 0,-
349 0,-
350 0,-
351 0,-
352 6,-
353 6,-
354 6,-
355 6,-
356 6,-
357-
358 0 // eod-
359};-
360-
361void QQuickBasePositioner::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
362{-
363 if (_c == QMetaObject::InvokeMetaMethod) {-
364 QQuickBasePositioner *_t = static_cast<QQuickBasePositioner *>(_o);-
365 Q_UNUSED(_t)-
366 switch (_id) {-
367 case 0: _t->spacingChanged(); break;-
368 case 1: _t->populateChanged(); break;-
369 case 2: _t->moveChanged(); break;-
370 case 3: _t->addChanged(); break;-
371 case 4: _t->paddingChanged(); break;-
372 case 5: _t->topPaddingChanged(); break;-
373 case 6: _t->leftPaddingChanged(); break;-
374 case 7: _t->rightPaddingChanged(); break;-
375 case 8: _t->bottomPaddingChanged(); break;-
376 case 9: _t->positioningComplete(); break;-
377 case 10: _t->prePositioning(); break;-
378 case 11: _t->forceLayout(); break;-
379 default: ;-
380 }-
381 } else if (_c == QMetaObject::IndexOfMethod) {-
382 int *result = reinterpret_cast<int *>(_a[0]);-
383 {-
384 using _t = void (QQuickBasePositioner::*)();-
385 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickBasePositioner::spacingChanged)) {-
386 *result = 0;-
387 return;-
388 }-
389 }-
390 {-
391 using _t = void (QQuickBasePositioner::*)();-
392 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickBasePositioner::populateChanged)) {-
393 *result = 1;-
394 return;-
395 }-
396 }-
397 {-
398 using _t = void (QQuickBasePositioner::*)();-
399 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickBasePositioner::moveChanged)) {-
400 *result = 2;-
401 return;-
402 }-
403 }-
404 {-
405 using _t = void (QQuickBasePositioner::*)();-
406 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickBasePositioner::addChanged)) {-
407 *result = 3;-
408 return;-
409 }-
410 }-
411 {-
412 using _t = void (QQuickBasePositioner::*)();-
413 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickBasePositioner::paddingChanged)) {-
414 *result = 4;-
415 return;-
416 }-
417 }-
418 {-
419 using _t = void (QQuickBasePositioner::*)();-
420 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickBasePositioner::topPaddingChanged)) {-
421 *result = 5;-
422 return;-
423 }-
424 }-
425 {-
426 using _t = void (QQuickBasePositioner::*)();-
427 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickBasePositioner::leftPaddingChanged)) {-
428 *result = 6;-
429 return;-
430 }-
431 }-
432 {-
433 using _t = void (QQuickBasePositioner::*)();-
434 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickBasePositioner::rightPaddingChanged)) {-
435 *result = 7;-
436 return;-
437 }-
438 }-
439 {-
440 using _t = void (QQuickBasePositioner::*)();-
441 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickBasePositioner::bottomPaddingChanged)) {-
442 *result = 8;-
443 return;-
444 }-
445 }-
446 {-
447 using _t = void (QQuickBasePositioner::*)();-
448 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickBasePositioner::positioningComplete)) {-
449 *result = 9;-
450 return;-
451 }-
452 }-
453 } else if (_c == QMetaObject::RegisterPropertyMetaType) {-
454 switch (_id) {-
455 default: *reinterpret_cast<int*>(_a[0]) = -1; break;-
456 case 3:-
457 case 2:-
458 case 1:-
459 *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickTransition* >(); break;-
460 }-
461 }-
462-
463#ifndef QT_NO_PROPERTIES-
464 else if (_c == QMetaObject::ReadProperty) {-
465 QQuickBasePositioner *_t = static_cast<QQuickBasePositioner *>(_o);-
466 Q_UNUSED(_t)-
467 void *_v = _a[0];-
468 switch (_id) {-
469 case 0: *reinterpret_cast< qreal*>(_v) = _t->spacing(); break;-
470 case 1: *reinterpret_cast< QQuickTransition**>(_v) = _t->populate(); break;-
471 case 2: *reinterpret_cast< QQuickTransition**>(_v) = _t->move(); break;-
472 case 3: *reinterpret_cast< QQuickTransition**>(_v) = _t->add(); break;-
473 case 4: *reinterpret_cast< qreal*>(_v) = _t->padding(); break;-
474 case 5: *reinterpret_cast< qreal*>(_v) = _t->topPadding(); break;-
475 case 6: *reinterpret_cast< qreal*>(_v) = _t->leftPadding(); break;-
476 case 7: *reinterpret_cast< qreal*>(_v) = _t->rightPadding(); break;-
477 case 8: *reinterpret_cast< qreal*>(_v) = _t->bottomPadding(); break;-
478 default: break;-
479 }-
480 } else if (_c == QMetaObject::WriteProperty) {-
481 QQuickBasePositioner *_t = static_cast<QQuickBasePositioner *>(_o);-
482 Q_UNUSED(_t)-
483 void *_v = _a[0];-
484 switch (_id) {-
485 case 0: _t->setSpacing(*reinterpret_cast< qreal*>(_v)); break;-
486 case 1: _t->setPopulate(*reinterpret_cast< QQuickTransition**>(_v)); break;-
487 case 2: _t->setMove(*reinterpret_cast< QQuickTransition**>(_v)); break;-
488 case 3: _t->setAdd(*reinterpret_cast< QQuickTransition**>(_v)); break;-
489 case 4: _t->setPadding(*reinterpret_cast< qreal*>(_v)); break;-
490 case 5: _t->setTopPadding(*reinterpret_cast< qreal*>(_v)); break;-
491 case 6: _t->setLeftPadding(*reinterpret_cast< qreal*>(_v)); break;-
492 case 7: _t->setRightPadding(*reinterpret_cast< qreal*>(_v)); break;-
493 case 8: _t->setBottomPadding(*reinterpret_cast< qreal*>(_v)); break;-
494 default: break;-
495 }-
496 } else if (_c == QMetaObject::ResetProperty) {-
497 QQuickBasePositioner *_t = static_cast<QQuickBasePositioner *>(_o);-
498 Q_UNUSED(_t)-
499 switch (_id) {-
500 case 4: _t->resetPadding(); break;-
501 case 5: _t->resetTopPadding(); break;-
502 case 6: _t->resetLeftPadding(); break;-
503 case 7: _t->resetRightPadding(); break;-
504 case 8: _t->resetBottomPadding(); break;-
505 default: break;-
506 }-
507 }-
508#endif // QT_NO_PROPERTIES-
509}-
510-
511QT_INIT_METAOBJECT const QMetaObject QQuickBasePositioner::staticMetaObject = {-
512 { &QQuickImplicitSizeItem::staticMetaObject, qt_meta_stringdata_QQuickBasePositioner.data,-
513 qt_meta_data_QQuickBasePositioner, qt_static_metacall, nullptr, nullptr}-
514};-
515-
516-
517const QMetaObject *QQuickBasePositioner::metaObject() const-
518{-
519 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
520}-
521-
522void *QQuickBasePositioner::qt_metacast(const char *_clname)-
523{-
524 if (!_clname) return nullptr;-
525 if (!strcmp(_clname, qt_meta_stringdata_QQuickBasePositioner.stringdata0))-
526 return static_cast<void*>(this);-
527 return QQuickImplicitSizeItem::qt_metacast(_clname);-
528}-
529-
530int QQuickBasePositioner::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
531{-
532 _id = QQuickImplicitSizeItem::qt_metacall(_c, _id, _a);-
533 if (_id < 0)-
534 return _id;-
535 if (_c == QMetaObject::InvokeMetaMethod) {-
536 if (_id < 12)-
537 qt_static_metacall(this, _c, _id, _a);-
538 _id -= 12;-
539 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
540 if (_id < 12)-
541 *reinterpret_cast<int*>(_a[0]) = -1;-
542 _id -= 12;-
543 }-
544#ifndef QT_NO_PROPERTIES-
545 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
546 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
547 qt_static_metacall(this, _c, _id, _a);-
548 _id -= 9;-
549 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
550 _id -= 9;-
551 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
552 _id -= 9;-
553 } else if (_c == QMetaObject::QueryPropertyStored) {-
554 _id -= 9;-
555 } else if (_c == QMetaObject::QueryPropertyEditable) {-
556 _id -= 9;-
557 } else if (_c == QMetaObject::QueryPropertyUser) {-
558 _id -= 9;-
559 }-
560#endif // QT_NO_PROPERTIES-
561 return _id;-
562}-
563-
564// SIGNAL 0-
565void QQuickBasePositioner::spacingChanged()-
566{-
567 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
568}
executed 432 times by 9 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquicktextinput
432
569-
570// SIGNAL 1-
571void QQuickBasePositioner::populateChanged()-
572{-
573 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
574}
executed 1044 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
1044
575-
576// SIGNAL 2-
577void QQuickBasePositioner::moveChanged()-
578{-
579 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
580}
executed 1062 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpositioners
1062
581-
582// SIGNAL 3-
583void QQuickBasePositioner::addChanged()-
584{-
585 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
586}
executed 1054 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
1054
587-
588// SIGNAL 4-
589void QQuickBasePositioner::paddingChanged()-
590{-
591 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
592}
executed 610 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
610
593-
594// SIGNAL 5-
595void QQuickBasePositioner::topPaddingChanged()-
596{-
597 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
598}
executed 682 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
682
599-
600// SIGNAL 6-
601void QQuickBasePositioner::leftPaddingChanged()-
602{-
603 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
604}
executed 682 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
682
605-
606// SIGNAL 7-
607void QQuickBasePositioner::rightPaddingChanged()-
608{-
609 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);-
610}
executed 682 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
682
611-
612// SIGNAL 8-
613void QQuickBasePositioner::bottomPaddingChanged()-
614{-
615 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);-
616}
executed 682 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
682
617-
618// SIGNAL 9-
619void QQuickBasePositioner::positioningComplete()-
620{-
621 QMetaObject::activate(this, &staticMetaObject, 9, nullptr);-
622}
executed 39652 times by 23 tests: end of block
Executed by:
  • tst_examples
  • tst_flickableinterop
  • tst_qqmlqt
  • tst_qquickanchors
  • tst_qquickanimations
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickfocusscope
  • tst_qquickgridview
  • tst_qquickitem2
  • tst_qquickitemlayer
  • tst_qquicklayouts
  • tst_qquicklistview
  • tst_qquickmultipointtoucharea
  • tst_qquickpathview
  • tst_qquickpositioners
  • tst_qquickrepeater
  • tst_qquickstates
  • tst_qquicktext
  • tst_qquicktextedit
  • tst_qquicktextinput
  • tst_qquickvisualdatamodel
  • tst_scenegraph
39652
623struct qt_meta_stringdata_QQuickColumn_t {-
624 QByteArrayData data[1];-
625 char stringdata0[13];-
626};-
627#define QT_MOC_LITERAL(idx, ofs, len) \-
628 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
629 qptrdiff(offsetof(qt_meta_stringdata_QQuickColumn_t, stringdata0) + ofs \-
630 - idx * sizeof(QByteArrayData)) \-
631 )-
632static const qt_meta_stringdata_QQuickColumn_t qt_meta_stringdata_QQuickColumn = {-
633 {-
634QT_MOC_LITERAL(0, 0, 12) // "QQuickColumn"-
635-
636 },-
637 "QQuickColumn"-
638};-
639#undef QT_MOC_LITERAL-
640-
641static const uint qt_meta_data_QQuickColumn[] = {-
642-
643 // content:-
644 7, // revision-
645 0, // classname-
646 0, 0, // classinfo-
647 0, 0, // methods-
648 0, 0, // properties-
649 0, 0, // enums/sets-
650 0, 0, // constructors-
651 0, // flags-
652 0, // signalCount-
653-
654 0 // eod-
655};-
656-
657void QQuickColumn::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
658{-
659 Q_UNUSED(_o);-
660 Q_UNUSED(_id);-
661 Q_UNUSED(_c);-
662 Q_UNUSED(_a);-
663}-
664-
665QT_INIT_METAOBJECT const QMetaObject QQuickColumn::staticMetaObject = {-
666 { &QQuickBasePositioner::staticMetaObject, qt_meta_stringdata_QQuickColumn.data,-
667 qt_meta_data_QQuickColumn, qt_static_metacall, nullptr, nullptr}-
668};-
669-
670-
671const QMetaObject *QQuickColumn::metaObject() const-
672{-
673 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
674}-
675-
676void *QQuickColumn::qt_metacast(const char *_clname)-
677{-
678 if (!_clname) return nullptr;-
679 if (!strcmp(_clname, qt_meta_stringdata_QQuickColumn.stringdata0))-
680 return static_cast<void*>(this);-
681 return QQuickBasePositioner::qt_metacast(_clname);-
682}-
683-
684int QQuickColumn::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
685{-
686 _id = QQuickBasePositioner::qt_metacall(_c, _id, _a);-
687 return _id;-
688}-
689struct qt_meta_stringdata_QQuickRow_t {-
690 QByteArrayData data[7];-
691 char stringdata0[127];-
692};-
693#define QT_MOC_LITERAL(idx, ofs, len) \-
694 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
695 qptrdiff(offsetof(qt_meta_stringdata_QQuickRow_t, stringdata0) + ofs \-
696 - idx * sizeof(QByteArrayData)) \-
697 )-
698static const qt_meta_stringdata_QQuickRow_t qt_meta_stringdata_QQuickRow = {-
699 {-
700QT_MOC_LITERAL(0, 0, 9), // "QQuickRow"-
701QT_MOC_LITERAL(1, 10, 22), // "layoutDirectionChanged"-
702QT_MOC_LITERAL(2, 33, 0), // ""-
703QT_MOC_LITERAL(3, 34, 31), // "effectiveLayoutDirectionChanged"-
704QT_MOC_LITERAL(4, 66, 15), // "layoutDirection"-
705QT_MOC_LITERAL(5, 82, 19), // "Qt::LayoutDirection"-
706QT_MOC_LITERAL(6, 102, 24) // "effectiveLayoutDirection"-
707-
708 },-
709 "QQuickRow\0layoutDirectionChanged\0\0"-
710 "effectiveLayoutDirectionChanged\0"-
711 "layoutDirection\0Qt::LayoutDirection\0"-
712 "effectiveLayoutDirection"-
713};-
714#undef QT_MOC_LITERAL-
715-
716static const uint qt_meta_data_QQuickRow[] = {-
717-
718 // content:-
719 7, // revision-
720 0, // classname-
721 0, 0, // classinfo-
722 2, 14, // methods-
723 2, 26, // properties-
724 0, 0, // enums/sets-
725 0, 0, // constructors-
726 0, // flags-
727 2, // signalCount-
728-
729 // signals: name, argc, parameters, tag, flags-
730 1, 0, 24, 2, 0x06 /* Public */,-
731 3, 0, 25, 2, 0x06 /* Public */,-
732-
733 // signals: parameters-
734 QMetaType::Void,-
735 QMetaType::Void,-
736-
737 // properties: name, type, flags-
738 4, 0x80000000 | 5, 0x0049510b,-
739 6, 0x80000000 | 5, 0x00495009,-
740-
741 // properties: notify_signal_id-
742 0,-
743 1,-
744-
745 0 // eod-
746};-
747-
748void QQuickRow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
749{-
750 if (_c == QMetaObject::InvokeMetaMethod) {-
751 QQuickRow *_t = static_cast<QQuickRow *>(_o);-
752 Q_UNUSED(_t)-
753 switch (_id) {-
754 case 0: _t->layoutDirectionChanged(); break;-
755 case 1: _t->effectiveLayoutDirectionChanged(); break;-
756 default: ;-
757 }-
758 } else if (_c == QMetaObject::IndexOfMethod) {-
759 int *result = reinterpret_cast<int *>(_a[0]);-
760 {-
761 using _t = void (QQuickRow::*)();-
762 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickRow::layoutDirectionChanged)) {-
763 *result = 0;-
764 return;-
765 }-
766 }-
767 {-
768 using _t = void (QQuickRow::*)();-
769 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickRow::effectiveLayoutDirectionChanged)) {-
770 *result = 1;-
771 return;-
772 }-
773 }-
774 }-
775#ifndef QT_NO_PROPERTIES-
776 else if (_c == QMetaObject::ReadProperty) {-
777 QQuickRow *_t = static_cast<QQuickRow *>(_o);-
778 Q_UNUSED(_t)-
779 void *_v = _a[0];-
780 switch (_id) {-
781 case 0: *reinterpret_cast< Qt::LayoutDirection*>(_v) = _t->layoutDirection(); break;-
782 case 1: *reinterpret_cast< Qt::LayoutDirection*>(_v) = _t->effectiveLayoutDirection(); break;-
783 default: break;-
784 }-
785 } else if (_c == QMetaObject::WriteProperty) {-
786 QQuickRow *_t = static_cast<QQuickRow *>(_o);-
787 Q_UNUSED(_t)-
788 void *_v = _a[0];-
789 switch (_id) {-
790 case 0: _t->setLayoutDirection(*reinterpret_cast< Qt::LayoutDirection*>(_v)); break;-
791 default: break;-
792 }-
793 } else if (_c == QMetaObject::ResetProperty) {-
794 }-
795#endif // QT_NO_PROPERTIES-
796 Q_UNUSED(_a);-
797}-
798-
799QT_INIT_METAOBJECT const QMetaObject QQuickRow::staticMetaObject = {-
800 { &QQuickBasePositioner::staticMetaObject, qt_meta_stringdata_QQuickRow.data,-
801 qt_meta_data_QQuickRow, qt_static_metacall, nullptr, nullptr}-
802};-
803-
804-
805const QMetaObject *QQuickRow::metaObject() const-
806{-
807 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
808}-
809-
810void *QQuickRow::qt_metacast(const char *_clname)-
811{-
812 if (!_clname) return nullptr;-
813 if (!strcmp(_clname, qt_meta_stringdata_QQuickRow.stringdata0))-
814 return static_cast<void*>(this);-
815 return QQuickBasePositioner::qt_metacast(_clname);-
816}-
817-
818int QQuickRow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
819{-
820 _id = QQuickBasePositioner::qt_metacall(_c, _id, _a);-
821 if (_id < 0)-
822 return _id;-
823 if (_c == QMetaObject::InvokeMetaMethod) {-
824 if (_id < 2)-
825 qt_static_metacall(this, _c, _id, _a);-
826 _id -= 2;-
827 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
828 if (_id < 2)-
829 *reinterpret_cast<int*>(_a[0]) = -1;-
830 _id -= 2;-
831 }-
832#ifndef QT_NO_PROPERTIES-
833 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
834 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
835 qt_static_metacall(this, _c, _id, _a);-
836 _id -= 2;-
837 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
838 _id -= 2;-
839 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
840 _id -= 2;-
841 } else if (_c == QMetaObject::QueryPropertyStored) {-
842 _id -= 2;-
843 } else if (_c == QMetaObject::QueryPropertyEditable) {-
844 _id -= 2;-
845 } else if (_c == QMetaObject::QueryPropertyUser) {-
846 _id -= 2;-
847 }-
848#endif // QT_NO_PROPERTIES-
849 return _id;-
850}-
851-
852// SIGNAL 0-
853void QQuickRow::layoutDirectionChanged()-
854{-
855 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
856}
executed 24 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpositioners
24
857-
858// SIGNAL 1-
859void QQuickRow::effectiveLayoutDirectionChanged()-
860{-
861 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
862}
executed 34 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpositioners
34
863struct qt_meta_stringdata_QQuickGrid_t {-
864 QByteArrayData data[35];-
865 char stringdata0[545];-
866};-
867#define QT_MOC_LITERAL(idx, ofs, len) \-
868 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
869 qptrdiff(offsetof(qt_meta_stringdata_QQuickGrid_t, stringdata0) + ofs \-
870 - idx * sizeof(QByteArrayData)) \-
871 )-
872static const qt_meta_stringdata_QQuickGrid_t qt_meta_stringdata_QQuickGrid = {-
873 {-
874QT_MOC_LITERAL(0, 0, 10), // "QQuickGrid"-
875QT_MOC_LITERAL(1, 11, 11), // "rowsChanged"-
876QT_MOC_LITERAL(2, 23, 0), // ""-
877QT_MOC_LITERAL(3, 24, 14), // "columnsChanged"-
878QT_MOC_LITERAL(4, 39, 11), // "flowChanged"-
879QT_MOC_LITERAL(5, 51, 22), // "layoutDirectionChanged"-
880QT_MOC_LITERAL(6, 74, 31), // "effectiveLayoutDirectionChanged"-
881QT_MOC_LITERAL(7, 106, 17), // "rowSpacingChanged"-
882QT_MOC_LITERAL(8, 124, 20), // "columnSpacingChanged"-
883QT_MOC_LITERAL(9, 145, 26), // "horizontalAlignmentChanged"-
884QT_MOC_LITERAL(10, 172, 10), // "HAlignment"-
885QT_MOC_LITERAL(11, 183, 9), // "alignment"-
886QT_MOC_LITERAL(12, 193, 35), // "effectiveHorizontalAlignmentC..."-
887QT_MOC_LITERAL(13, 229, 24), // "verticalAlignmentChanged"-
888QT_MOC_LITERAL(14, 254, 10), // "VAlignment"-
889QT_MOC_LITERAL(15, 265, 4), // "rows"-
890QT_MOC_LITERAL(16, 270, 7), // "columns"-
891QT_MOC_LITERAL(17, 278, 10), // "rowSpacing"-
892QT_MOC_LITERAL(18, 289, 13), // "columnSpacing"-
893QT_MOC_LITERAL(19, 303, 4), // "flow"-
894QT_MOC_LITERAL(20, 308, 4), // "Flow"-
895QT_MOC_LITERAL(21, 313, 15), // "layoutDirection"-
896QT_MOC_LITERAL(22, 329, 19), // "Qt::LayoutDirection"-
897QT_MOC_LITERAL(23, 349, 24), // "effectiveLayoutDirection"-
898QT_MOC_LITERAL(24, 374, 23), // "horizontalItemAlignment"-
899QT_MOC_LITERAL(25, 398, 32), // "effectiveHorizontalItemAlignment"-
900QT_MOC_LITERAL(26, 431, 21), // "verticalItemAlignment"-
901QT_MOC_LITERAL(27, 453, 11), // "LeftToRight"-
902QT_MOC_LITERAL(28, 465, 11), // "TopToBottom"-
903QT_MOC_LITERAL(29, 477, 9), // "AlignLeft"-
904QT_MOC_LITERAL(30, 487, 10), // "AlignRight"-
905QT_MOC_LITERAL(31, 498, 12), // "AlignHCenter"-
906QT_MOC_LITERAL(32, 511, 8), // "AlignTop"-
907QT_MOC_LITERAL(33, 520, 11), // "AlignBottom"-
908QT_MOC_LITERAL(34, 532, 12) // "AlignVCenter"-
909-
910 },-
911 "QQuickGrid\0rowsChanged\0\0columnsChanged\0"-
912 "flowChanged\0layoutDirectionChanged\0"-
913 "effectiveLayoutDirectionChanged\0"-
914 "rowSpacingChanged\0columnSpacingChanged\0"-
915 "horizontalAlignmentChanged\0HAlignment\0"-
916 "alignment\0effectiveHorizontalAlignmentChanged\0"-
917 "verticalAlignmentChanged\0VAlignment\0"-
918 "rows\0columns\0rowSpacing\0columnSpacing\0"-
919 "flow\0Flow\0layoutDirection\0Qt::LayoutDirection\0"-
920 "effectiveLayoutDirection\0"-
921 "horizontalItemAlignment\0"-
922 "effectiveHorizontalItemAlignment\0"-
923 "verticalItemAlignment\0LeftToRight\0"-
924 "TopToBottom\0AlignLeft\0AlignRight\0"-
925 "AlignHCenter\0AlignTop\0AlignBottom\0"-
926 "AlignVCenter"-
927};-
928#undef QT_MOC_LITERAL-
929-
930static const uint qt_meta_data_QQuickGrid[] = {-
931-
932 // content:-
933 7, // revision-
934 0, // classname-
935 0, 0, // classinfo-
936 10, 14, // methods-
937 10, 90, // properties-
938 3, 140, // enums/sets-
939 0, 0, // constructors-
940 0, // flags-
941 10, // signalCount-
942-
943 // signals: name, argc, parameters, tag, flags-
944 1, 0, 74, 2, 0x06 /* Public */,-
945 3, 0, 75, 2, 0x06 /* Public */,-
946 4, 0, 76, 2, 0x06 /* Public */,-
947 5, 0, 77, 2, 0x06 /* Public */,-
948 6, 0, 78, 2, 0x06 /* Public */,-
949 7, 0, 79, 2, 0x06 /* Public */,-
950 8, 0, 80, 2, 0x06 /* Public */,-
951 9, 1, 81, 2, 0x86 /* Public | MethodRevisioned */,-
952 12, 1, 84, 2, 0x86 /* Public | MethodRevisioned */,-
953 13, 1, 87, 2, 0x86 /* Public | MethodRevisioned */,-
954-
955 // signals: revision-
956 0,-
957 0,-
958 0,-
959 0,-
960 0,-
961 0,-
962 0,-
963 1,-
964 1,-
965 1,-
966-
967 // signals: parameters-
968 QMetaType::Void,-
969 QMetaType::Void,-
970 QMetaType::Void,-
971 QMetaType::Void,-
972 QMetaType::Void,-
973 QMetaType::Void,-
974 QMetaType::Void,-
975 QMetaType::Void, 0x80000000 | 10, 11,-
976 QMetaType::Void, 0x80000000 | 10, 11,-
977 QMetaType::Void, 0x80000000 | 14, 11,-
978-
979 // properties: name, type, flags-
980 15, QMetaType::Int, 0x00495103,-
981 16, QMetaType::Int, 0x00495103,-
982 17, QMetaType::QReal, 0x00495107,-
983 18, QMetaType::QReal, 0x00495107,-
984 19, 0x80000000 | 20, 0x0049510b,-
985 21, 0x80000000 | 22, 0x0049510b,-
986 23, 0x80000000 | 22, 0x00495009,-
987 24, 0x80000000 | 10, 0x00c9500b,-
988 25, 0x80000000 | 10, 0x00c95009,-
989 26, 0x80000000 | 14, 0x00c9500b,-
990-
991 // properties: notify_signal_id-
992 0,-
993 1,-
994 5,-
995 6,-
996 2,-
997 3,-
998 4,-
999 7,-
1000 8,-
1001 9,-
1002-
1003 // properties: revision-
1004 0,-
1005 0,-
1006 0,-
1007 0,-
1008 0,-
1009 0,-
1010 0,-
1011 1,-
1012 1,-
1013 1,-
1014-
1015 // enums: name, flags, count, data-
1016 20, 0x0, 2, 152,-
1017 10, 0x0, 3, 156,-
1018 14, 0x0, 3, 162,-
1019-
1020 // enum data: key, value-
1021 27, uint(QQuickGrid::LeftToRight),-
1022 28, uint(QQuickGrid::TopToBottom),-
1023 29, uint(QQuickGrid::AlignLeft),-
1024 30, uint(QQuickGrid::AlignRight),-
1025 31, uint(QQuickGrid::AlignHCenter),-
1026 32, uint(QQuickGrid::AlignTop),-
1027 33, uint(QQuickGrid::AlignBottom),-
1028 34, uint(QQuickGrid::AlignVCenter),-
1029-
1030 0 // eod-
1031};-
1032-
1033void QQuickGrid::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
1034{-
1035 if (_c == QMetaObject::InvokeMetaMethod) {-
1036 QQuickGrid *_t = static_cast<QQuickGrid *>(_o);-
1037 Q_UNUSED(_t)-
1038 switch (_id) {-
1039 case 0: _t->rowsChanged(); break;-
1040 case 1: _t->columnsChanged(); break;-
1041 case 2: _t->flowChanged(); break;-
1042 case 3: _t->layoutDirectionChanged(); break;-
1043 case 4: _t->effectiveLayoutDirectionChanged(); break;-
1044 case 5: _t->rowSpacingChanged(); break;-
1045 case 6: _t->columnSpacingChanged(); break;-
1046 case 7: _t->horizontalAlignmentChanged((*reinterpret_cast< HAlignment(*)>(_a[1]))); break;-
1047 case 8: _t->effectiveHorizontalAlignmentChanged((*reinterpret_cast< HAlignment(*)>(_a[1]))); break;-
1048 case 9: _t->verticalAlignmentChanged((*reinterpret_cast< VAlignment(*)>(_a[1]))); break;-
1049 default: ;-
1050 }-
1051 } else if (_c == QMetaObject::IndexOfMethod) {-
1052 int *result = reinterpret_cast<int *>(_a[0]);-
1053 {-
1054 using _t = void (QQuickGrid::*)();-
1055 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGrid::rowsChanged)) {-
1056 *result = 0;-
1057 return;-
1058 }-
1059 }-
1060 {-
1061 using _t = void (QQuickGrid::*)();-
1062 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGrid::columnsChanged)) {-
1063 *result = 1;-
1064 return;-
1065 }-
1066 }-
1067 {-
1068 using _t = void (QQuickGrid::*)();-
1069 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGrid::flowChanged)) {-
1070 *result = 2;-
1071 return;-
1072 }-
1073 }-
1074 {-
1075 using _t = void (QQuickGrid::*)();-
1076 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGrid::layoutDirectionChanged)) {-
1077 *result = 3;-
1078 return;-
1079 }-
1080 }-
1081 {-
1082 using _t = void (QQuickGrid::*)();-
1083 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGrid::effectiveLayoutDirectionChanged)) {-
1084 *result = 4;-
1085 return;-
1086 }-
1087 }-
1088 {-
1089 using _t = void (QQuickGrid::*)();-
1090 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGrid::rowSpacingChanged)) {-
1091 *result = 5;-
1092 return;-
1093 }-
1094 }-
1095 {-
1096 using _t = void (QQuickGrid::*)();-
1097 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGrid::columnSpacingChanged)) {-
1098 *result = 6;-
1099 return;-
1100 }-
1101 }-
1102 {-
1103 using _t = void (QQuickGrid::*)(HAlignment );-
1104 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGrid::horizontalAlignmentChanged)) {-
1105 *result = 7;-
1106 return;-
1107 }-
1108 }-
1109 {-
1110 using _t = void (QQuickGrid::*)(HAlignment );-
1111 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGrid::effectiveHorizontalAlignmentChanged)) {-
1112 *result = 8;-
1113 return;-
1114 }-
1115 }-
1116 {-
1117 using _t = void (QQuickGrid::*)(VAlignment );-
1118 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickGrid::verticalAlignmentChanged)) {-
1119 *result = 9;-
1120 return;-
1121 }-
1122 }-
1123 }-
1124#ifndef QT_NO_PROPERTIES-
1125 else if (_c == QMetaObject::ReadProperty) {-
1126 QQuickGrid *_t = static_cast<QQuickGrid *>(_o);-
1127 Q_UNUSED(_t)-
1128 void *_v = _a[0];-
1129 switch (_id) {-
1130 case 0: *reinterpret_cast< int*>(_v) = _t->rows(); break;-
1131 case 1: *reinterpret_cast< int*>(_v) = _t->columns(); break;-
1132 case 2: *reinterpret_cast< qreal*>(_v) = _t->rowSpacing(); break;-
1133 case 3: *reinterpret_cast< qreal*>(_v) = _t->columnSpacing(); break;-
1134 case 4: *reinterpret_cast< Flow*>(_v) = _t->flow(); break;-
1135 case 5: *reinterpret_cast< Qt::LayoutDirection*>(_v) = _t->layoutDirection(); break;-
1136 case 6: *reinterpret_cast< Qt::LayoutDirection*>(_v) = _t->effectiveLayoutDirection(); break;-
1137 case 7: *reinterpret_cast< HAlignment*>(_v) = _t->hItemAlign(); break;-
1138 case 8: *reinterpret_cast< HAlignment*>(_v) = _t->effectiveHAlign(); break;-
1139 case 9: *reinterpret_cast< VAlignment*>(_v) = _t->vItemAlign(); break;-
1140 default: break;-
1141 }-
1142 } else if (_c == QMetaObject::WriteProperty) {-
1143 QQuickGrid *_t = static_cast<QQuickGrid *>(_o);-
1144 Q_UNUSED(_t)-
1145 void *_v = _a[0];-
1146 switch (_id) {-
1147 case 0: _t->setRows(*reinterpret_cast< int*>(_v)); break;-
1148 case 1: _t->setColumns(*reinterpret_cast< int*>(_v)); break;-
1149 case 2: _t->setRowSpacing(*reinterpret_cast< qreal*>(_v)); break;-
1150 case 3: _t->setColumnSpacing(*reinterpret_cast< qreal*>(_v)); break;-
1151 case 4: _t->setFlow(*reinterpret_cast< Flow*>(_v)); break;-
1152 case 5: _t->setLayoutDirection(*reinterpret_cast< Qt::LayoutDirection*>(_v)); break;-
1153 case 7: _t->setHItemAlign(*reinterpret_cast< HAlignment*>(_v)); break;-
1154 case 9: _t->setVItemAlign(*reinterpret_cast< VAlignment*>(_v)); break;-
1155 default: break;-
1156 }-
1157 } else if (_c == QMetaObject::ResetProperty) {-
1158 QQuickGrid *_t = static_cast<QQuickGrid *>(_o);-
1159 Q_UNUSED(_t)-
1160 switch (_id) {-
1161 case 2: _t->resetRowSpacing(); break;-
1162 case 3: _t->resetColumnSpacing(); break;-
1163 default: break;-
1164 }-
1165 }-
1166#endif // QT_NO_PROPERTIES-
1167}-
1168-
1169QT_INIT_METAOBJECT const QMetaObject QQuickGrid::staticMetaObject = {-
1170 { &QQuickBasePositioner::staticMetaObject, qt_meta_stringdata_QQuickGrid.data,-
1171 qt_meta_data_QQuickGrid, qt_static_metacall, nullptr, nullptr}-
1172};-
1173-
1174-
1175const QMetaObject *QQuickGrid::metaObject() const-
1176{-
1177 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
1178}-
1179-
1180void *QQuickGrid::qt_metacast(const char *_clname)-
1181{-
1182 if (!_clname) return nullptr;-
1183 if (!strcmp(_clname, qt_meta_stringdata_QQuickGrid.stringdata0))-
1184 return static_cast<void*>(this);-
1185 return QQuickBasePositioner::qt_metacast(_clname);-
1186}-
1187-
1188int QQuickGrid::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
1189{-
1190 _id = QQuickBasePositioner::qt_metacall(_c, _id, _a);-
1191 if (_id < 0)-
1192 return _id;-
1193 if (_c == QMetaObject::InvokeMetaMethod) {-
1194 if (_id < 10)-
1195 qt_static_metacall(this, _c, _id, _a);-
1196 _id -= 10;-
1197 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
1198 if (_id < 10)-
1199 *reinterpret_cast<int*>(_a[0]) = -1;-
1200 _id -= 10;-
1201 }-
1202#ifndef QT_NO_PROPERTIES-
1203 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
1204 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
1205 qt_static_metacall(this, _c, _id, _a);-
1206 _id -= 10;-
1207 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
1208 _id -= 10;-
1209 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
1210 _id -= 10;-
1211 } else if (_c == QMetaObject::QueryPropertyStored) {-
1212 _id -= 10;-
1213 } else if (_c == QMetaObject::QueryPropertyEditable) {-
1214 _id -= 10;-
1215 } else if (_c == QMetaObject::QueryPropertyUser) {-
1216 _id -= 10;-
1217 }-
1218#endif // QT_NO_PROPERTIES-
1219 return _id;-
1220}-
1221-
1222// SIGNAL 0-
1223void QQuickGrid::rowsChanged()-
1224{-
1225 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
1226}
executed 18 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpositioners
18
1227-
1228// SIGNAL 1-
1229void QQuickGrid::columnsChanged()-
1230{-
1231 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
1232}
executed 98 times by 6 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickdraghandler
  • tst_qquickflickable
  • tst_qquickitem2
  • tst_qquicklistview
  • tst_qquickpositioners
98
1233-
1234// SIGNAL 2-
1235void QQuickGrid::flowChanged()-
1236{-
1237 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
1238}
executed 6 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
6
1239-
1240// SIGNAL 3-
1241void QQuickGrid::layoutDirectionChanged()-
1242{-
1243 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
1244}
executed 30 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
30
1245-
1246// SIGNAL 4-
1247void QQuickGrid::effectiveLayoutDirectionChanged()-
1248{-
1249 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
1250}
executed 34 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
34
1251-
1252// SIGNAL 5-
1253void QQuickGrid::rowSpacingChanged()-
1254{-
1255 QMetaObject::activate(this, &staticMetaObject, 5, nullptr);-
1256}
executed 4 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpositioners
4
1257-
1258// SIGNAL 6-
1259void QQuickGrid::columnSpacingChanged()-
1260{-
1261 QMetaObject::activate(this, &staticMetaObject, 6, nullptr);-
1262}
executed 4 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickpositioners
4
1263-
1264// SIGNAL 7-
1265void QQuickGrid::horizontalAlignmentChanged(HAlignment _t1)-
1266{-
1267 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
1268 QMetaObject::activate(this, &staticMetaObject, 7, _a);-
1269}
executed 12 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
12
1270-
1271// SIGNAL 8-
1272void QQuickGrid::effectiveHorizontalAlignmentChanged(HAlignment _t1)-
1273{-
1274 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
1275 QMetaObject::activate(this, &staticMetaObject, 8, _a);-
1276}
executed 46 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
46
1277-
1278// SIGNAL 9-
1279void QQuickGrid::verticalAlignmentChanged(VAlignment _t1)-
1280{-
1281 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
1282 QMetaObject::activate(this, &staticMetaObject, 9, _a);-
1283}
executed 8 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
8
1284struct qt_meta_stringdata_QQuickFlow_t {-
1285 QByteArrayData data[12];-
1286 char stringdata0[174];-
1287};-
1288#define QT_MOC_LITERAL(idx, ofs, len) \-
1289 Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \-
1290 qptrdiff(offsetof(qt_meta_stringdata_QQuickFlow_t, stringdata0) + ofs \-
1291 - idx * sizeof(QByteArrayData)) \-
1292 )-
1293static const qt_meta_stringdata_QQuickFlow_t qt_meta_stringdata_QQuickFlow = {-
1294 {-
1295QT_MOC_LITERAL(0, 0, 10), // "QQuickFlow"-
1296QT_MOC_LITERAL(1, 11, 11), // "flowChanged"-
1297QT_MOC_LITERAL(2, 23, 0), // ""-
1298QT_MOC_LITERAL(3, 24, 22), // "layoutDirectionChanged"-
1299QT_MOC_LITERAL(4, 47, 31), // "effectiveLayoutDirectionChanged"-
1300QT_MOC_LITERAL(5, 79, 4), // "flow"-
1301QT_MOC_LITERAL(6, 84, 4), // "Flow"-
1302QT_MOC_LITERAL(7, 89, 15), // "layoutDirection"-
1303QT_MOC_LITERAL(8, 105, 19), // "Qt::LayoutDirection"-
1304QT_MOC_LITERAL(9, 125, 24), // "effectiveLayoutDirection"-
1305QT_MOC_LITERAL(10, 150, 11), // "LeftToRight"-
1306QT_MOC_LITERAL(11, 162, 11) // "TopToBottom"-
1307-
1308 },-
1309 "QQuickFlow\0flowChanged\0\0layoutDirectionChanged\0"-
1310 "effectiveLayoutDirectionChanged\0flow\0"-
1311 "Flow\0layoutDirection\0Qt::LayoutDirection\0"-
1312 "effectiveLayoutDirection\0LeftToRight\0"-
1313 "TopToBottom"-
1314};-
1315#undef QT_MOC_LITERAL-
1316-
1317static const uint qt_meta_data_QQuickFlow[] = {-
1318-
1319 // content:-
1320 7, // revision-
1321 0, // classname-
1322 0, 0, // classinfo-
1323 3, 14, // methods-
1324 3, 32, // properties-
1325 1, 44, // enums/sets-
1326 0, 0, // constructors-
1327 0, // flags-
1328 3, // signalCount-
1329-
1330 // signals: name, argc, parameters, tag, flags-
1331 1, 0, 29, 2, 0x06 /* Public */,-
1332 3, 0, 30, 2, 0x06 /* Public */,-
1333 4, 0, 31, 2, 0x06 /* Public */,-
1334-
1335 // signals: parameters-
1336 QMetaType::Void,-
1337 QMetaType::Void,-
1338 QMetaType::Void,-
1339-
1340 // properties: name, type, flags-
1341 5, 0x80000000 | 6, 0x0049510b,-
1342 7, 0x80000000 | 8, 0x0049510b,-
1343 9, 0x80000000 | 8, 0x00495009,-
1344-
1345 // properties: notify_signal_id-
1346 0,-
1347 1,-
1348 2,-
1349-
1350 // enums: name, flags, count, data-
1351 6, 0x0, 2, 48,-
1352-
1353 // enum data: key, value-
1354 10, uint(QQuickFlow::LeftToRight),-
1355 11, uint(QQuickFlow::TopToBottom),-
1356-
1357 0 // eod-
1358};-
1359-
1360void QQuickFlow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
1361{-
1362 if (_c == QMetaObject::InvokeMetaMethod) {-
1363 QQuickFlow *_t = static_cast<QQuickFlow *>(_o);-
1364 Q_UNUSED(_t)-
1365 switch (_id) {-
1366 case 0: _t->flowChanged(); break;-
1367 case 1: _t->layoutDirectionChanged(); break;-
1368 case 2: _t->effectiveLayoutDirectionChanged(); break;-
1369 default: ;-
1370 }-
1371 } else if (_c == QMetaObject::IndexOfMethod) {-
1372 int *result = reinterpret_cast<int *>(_a[0]);-
1373 {-
1374 using _t = void (QQuickFlow::*)();-
1375 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickFlow::flowChanged)) {-
1376 *result = 0;-
1377 return;-
1378 }-
1379 }-
1380 {-
1381 using _t = void (QQuickFlow::*)();-
1382 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickFlow::layoutDirectionChanged)) {-
1383 *result = 1;-
1384 return;-
1385 }-
1386 }-
1387 {-
1388 using _t = void (QQuickFlow::*)();-
1389 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickFlow::effectiveLayoutDirectionChanged)) {-
1390 *result = 2;-
1391 return;-
1392 }-
1393 }-
1394 }-
1395#ifndef QT_NO_PROPERTIES-
1396 else if (_c == QMetaObject::ReadProperty) {-
1397 QQuickFlow *_t = static_cast<QQuickFlow *>(_o);-
1398 Q_UNUSED(_t)-
1399 void *_v = _a[0];-
1400 switch (_id) {-
1401 case 0: *reinterpret_cast< Flow*>(_v) = _t->flow(); break;-
1402 case 1: *reinterpret_cast< Qt::LayoutDirection*>(_v) = _t->layoutDirection(); break;-
1403 case 2: *reinterpret_cast< Qt::LayoutDirection*>(_v) = _t->effectiveLayoutDirection(); break;-
1404 default: break;-
1405 }-
1406 } else if (_c == QMetaObject::WriteProperty) {-
1407 QQuickFlow *_t = static_cast<QQuickFlow *>(_o);-
1408 Q_UNUSED(_t)-
1409 void *_v = _a[0];-
1410 switch (_id) {-
1411 case 0: _t->setFlow(*reinterpret_cast< Flow*>(_v)); break;-
1412 case 1: _t->setLayoutDirection(*reinterpret_cast< Qt::LayoutDirection*>(_v)); break;-
1413 default: break;-
1414 }-
1415 } else if (_c == QMetaObject::ResetProperty) {-
1416 }-
1417#endif // QT_NO_PROPERTIES-
1418 Q_UNUSED(_a);-
1419}-
1420-
1421QT_INIT_METAOBJECT const QMetaObject QQuickFlow::staticMetaObject = {-
1422 { &QQuickBasePositioner::staticMetaObject, qt_meta_stringdata_QQuickFlow.data,-
1423 qt_meta_data_QQuickFlow, qt_static_metacall, nullptr, nullptr}-
1424};-
1425-
1426-
1427const QMetaObject *QQuickFlow::metaObject() const-
1428{-
1429 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
1430}-
1431-
1432void *QQuickFlow::qt_metacast(const char *_clname)-
1433{-
1434 if (!_clname) return nullptr;-
1435 if (!strcmp(_clname, qt_meta_stringdata_QQuickFlow.stringdata0))-
1436 return static_cast<void*>(this);-
1437 return QQuickBasePositioner::qt_metacast(_clname);-
1438}-
1439-
1440int QQuickFlow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
1441{-
1442 _id = QQuickBasePositioner::qt_metacall(_c, _id, _a);-
1443 if (_id < 0)-
1444 return _id;-
1445 if (_c == QMetaObject::InvokeMetaMethod) {-
1446 if (_id < 3)-
1447 qt_static_metacall(this, _c, _id, _a);-
1448 _id -= 3;-
1449 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
1450 if (_id < 3)-
1451 *reinterpret_cast<int*>(_a[0]) = -1;-
1452 _id -= 3;-
1453 }-
1454#ifndef QT_NO_PROPERTIES-
1455 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
1456 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
1457 qt_static_metacall(this, _c, _id, _a);-
1458 _id -= 3;-
1459 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
1460 _id -= 3;-
1461 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
1462 _id -= 3;-
1463 } else if (_c == QMetaObject::QueryPropertyStored) {-
1464 _id -= 3;-
1465 } else if (_c == QMetaObject::QueryPropertyEditable) {-
1466 _id -= 3;-
1467 } else if (_c == QMetaObject::QueryPropertyUser) {-
1468 _id -= 3;-
1469 }-
1470#endif // QT_NO_PROPERTIES-
1471 return _id;-
1472}-
1473-
1474// SIGNAL 0-
1475void QQuickFlow::flowChanged()-
1476{-
1477 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
1478}
executed 20 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
20
1479-
1480// SIGNAL 1-
1481void QQuickFlow::layoutDirectionChanged()-
1482{-
1483 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
1484}
executed 26 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
26
1485-
1486// SIGNAL 2-
1487void QQuickFlow::effectiveLayoutDirectionChanged()-
1488{-
1489 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
1490}
executed 30 times by 1 test: end of block
Executed by:
  • tst_qquickpositioners
30
1491QT_WARNING_POP-
1492QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0