OpenCoverage

moc_qquicktranslate_p.cpp

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

Generated by Squish Coco 4.2.0