OpenCoverage

moc_qquickwander_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquickwander_p.cpp
Source codeSwitch to Preprocessed file
LineSourceCount
1/****************************************************************************-
2** Meta object code from reading C++ file 'qquickwander_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 "../qquickwander_p.h"-
10#include <QtCore/qbytearray.h>-
11#include <QtCore/qmetatype.h>-
12#if !defined(Q_MOC_OUTPUT_REVISION)-
13#error "The header file 'qquickwander_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_QQuickWanderAffector_t {-
24 QByteArrayData data[19];-
25 char stringdata0[247];-
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_QQuickWanderAffector_t, stringdata0) + ofs \-
30 - idx * sizeof(QByteArrayData)) \-
31 )-
32static const qt_meta_stringdata_QQuickWanderAffector_t qt_meta_stringdata_QQuickWanderAffector = {-
33 {-
34QT_MOC_LITERAL(0, 0, 20), // "QQuickWanderAffector"-
35QT_MOC_LITERAL(1, 21, 16), // "xVarianceChanged"-
36QT_MOC_LITERAL(2, 38, 0), // ""-
37QT_MOC_LITERAL(3, 39, 3), // "arg"-
38QT_MOC_LITERAL(4, 43, 16), // "yVarianceChanged"-
39QT_MOC_LITERAL(5, 60, 11), // "paceChanged"-
40QT_MOC_LITERAL(6, 72, 24), // "affectedParameterChanged"-
41QT_MOC_LITERAL(7, 97, 20), // "AffectableParameters"-
42QT_MOC_LITERAL(8, 118, 12), // "setXVariance"-
43QT_MOC_LITERAL(9, 131, 12), // "setYVariance"-
44QT_MOC_LITERAL(10, 144, 7), // "setPace"-
45QT_MOC_LITERAL(11, 152, 20), // "setAffectedParameter"-
46QT_MOC_LITERAL(12, 173, 4), // "pace"-
47QT_MOC_LITERAL(13, 178, 9), // "xVariance"-
48QT_MOC_LITERAL(14, 188, 9), // "yVariance"-
49QT_MOC_LITERAL(15, 198, 17), // "affectedParameter"-
50QT_MOC_LITERAL(16, 216, 8), // "Position"-
51QT_MOC_LITERAL(17, 225, 8), // "Velocity"-
52QT_MOC_LITERAL(18, 234, 12) // "Acceleration"-
53-
54 },-
55 "QQuickWanderAffector\0xVarianceChanged\0"-
56 "\0arg\0yVarianceChanged\0paceChanged\0"-
57 "affectedParameterChanged\0AffectableParameters\0"-
58 "setXVariance\0setYVariance\0setPace\0"-
59 "setAffectedParameter\0pace\0xVariance\0"-
60 "yVariance\0affectedParameter\0Position\0"-
61 "Velocity\0Acceleration"-
62};-
63#undef QT_MOC_LITERAL-
64-
65static const uint qt_meta_data_QQuickWanderAffector[] = {-
66-
67 // content:-
68 7, // revision-
69 0, // classname-
70 0, 0, // classinfo-
71 8, 14, // methods-
72 4, 78, // properties-
73 1, 94, // enums/sets-
74 0, 0, // constructors-
75 0, // flags-
76 4, // signalCount-
77-
78 // signals: name, argc, parameters, tag, flags-
79 1, 1, 54, 2, 0x06 /* Public */,-
80 4, 1, 57, 2, 0x06 /* Public */,-
81 5, 1, 60, 2, 0x06 /* Public */,-
82 6, 1, 63, 2, 0x06 /* Public */,-
83-
84 // slots: name, argc, parameters, tag, flags-
85 8, 1, 66, 2, 0x0a /* Public */,-
86 9, 1, 69, 2, 0x0a /* Public */,-
87 10, 1, 72, 2, 0x0a /* Public */,-
88 11, 1, 75, 2, 0x0a /* Public */,-
89-
90 // signals: parameters-
91 QMetaType::Void, QMetaType::QReal, 3,-
92 QMetaType::Void, QMetaType::QReal, 3,-
93 QMetaType::Void, QMetaType::QReal, 3,-
94 QMetaType::Void, 0x80000000 | 7, 3,-
95-
96 // slots: parameters-
97 QMetaType::Void, QMetaType::QReal, 3,-
98 QMetaType::Void, QMetaType::QReal, 3,-
99 QMetaType::Void, QMetaType::QReal, 3,-
100 QMetaType::Void, 0x80000000 | 7, 3,-
101-
102 // properties: name, type, flags-
103 12, QMetaType::QReal, 0x00495103,-
104 13, QMetaType::QReal, 0x00495103,-
105 14, QMetaType::QReal, 0x00495103,-
106 15, 0x80000000 | 7, 0x0049510b,-
107-
108 // properties: notify_signal_id-
109 2,-
110 0,-
111 1,-
112 3,-
113-
114 // enums: name, flags, count, data-
115 7, 0x0, 3, 98,-
116-
117 // enum data: key, value-
118 16, uint(QQuickWanderAffector::Position),-
119 17, uint(QQuickWanderAffector::Velocity),-
120 18, uint(QQuickWanderAffector::Acceleration),-
121-
122 0 // eod-
123};-
124-
125void QQuickWanderAffector::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
126{-
127 if (_c == QMetaObject::InvokeMetaMethod) {-
128 QQuickWanderAffector *_t = static_cast<QQuickWanderAffector *>(_o);-
129 Q_UNUSED(_t)-
130 switch (_id) {-
131 case 0: _t->xVarianceChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
132 case 1: _t->yVarianceChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
133 case 2: _t->paceChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
134 case 3: _t->affectedParameterChanged((*reinterpret_cast< AffectableParameters(*)>(_a[1]))); break;-
135 case 4: _t->setXVariance((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
136 case 5: _t->setYVariance((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
137 case 6: _t->setPace((*reinterpret_cast< qreal(*)>(_a[1]))); break;-
138 case 7: _t->setAffectedParameter((*reinterpret_cast< AffectableParameters(*)>(_a[1]))); break;-
139 default: ;-
140 }-
141 } else if (_c == QMetaObject::IndexOfMethod) {-
142 int *result = reinterpret_cast<int *>(_a[0]);-
143 {-
144 using _t = void (QQuickWanderAffector::*)(qreal );-
145 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWanderAffector::xVarianceChanged)) {-
146 *result = 0;-
147 return;-
148 }-
149 }-
150 {-
151 using _t = void (QQuickWanderAffector::*)(qreal );-
152 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWanderAffector::yVarianceChanged)) {-
153 *result = 1;-
154 return;-
155 }-
156 }-
157 {-
158 using _t = void (QQuickWanderAffector::*)(qreal );-
159 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWanderAffector::paceChanged)) {-
160 *result = 2;-
161 return;-
162 }-
163 }-
164 {-
165 using _t = void (QQuickWanderAffector::*)(AffectableParameters );-
166 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickWanderAffector::affectedParameterChanged)) {-
167 *result = 3;-
168 return;-
169 }-
170 }-
171 }-
172#ifndef QT_NO_PROPERTIES-
173 else if (_c == QMetaObject::ReadProperty) {-
174 QQuickWanderAffector *_t = static_cast<QQuickWanderAffector *>(_o);-
175 Q_UNUSED(_t)-
176 void *_v = _a[0];-
177 switch (_id) {-
178 case 0: *reinterpret_cast< qreal*>(_v) = _t->pace(); break;-
179 case 1: *reinterpret_cast< qreal*>(_v) = _t->xVariance(); break;-
180 case 2: *reinterpret_cast< qreal*>(_v) = _t->yVariance(); break;-
181 case 3: *reinterpret_cast< AffectableParameters*>(_v) = _t->affectedParameter(); break;-
182 default: break;-
183 }-
184 } else if (_c == QMetaObject::WriteProperty) {-
185 QQuickWanderAffector *_t = static_cast<QQuickWanderAffector *>(_o);-
186 Q_UNUSED(_t)-
187 void *_v = _a[0];-
188 switch (_id) {-
189 case 0: _t->setPace(*reinterpret_cast< qreal*>(_v)); break;-
190 case 1: _t->setXVariance(*reinterpret_cast< qreal*>(_v)); break;-
191 case 2: _t->setYVariance(*reinterpret_cast< qreal*>(_v)); break;-
192 case 3: _t->setAffectedParameter(*reinterpret_cast< AffectableParameters*>(_v)); break;-
193 default: break;-
194 }-
195 } else if (_c == QMetaObject::ResetProperty) {-
196 }-
197#endif // QT_NO_PROPERTIES-
198}-
199-
200QT_INIT_METAOBJECT const QMetaObject QQuickWanderAffector::staticMetaObject = {-
201 { &QQuickParticleAffector::staticMetaObject, qt_meta_stringdata_QQuickWanderAffector.data,-
202 qt_meta_data_QQuickWanderAffector, qt_static_metacall, nullptr, nullptr}-
203};-
204-
205-
206const QMetaObject *QQuickWanderAffector::metaObject() const-
207{-
208 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
209}-
210-
211void *QQuickWanderAffector::qt_metacast(const char *_clname)-
212{-
213 if (!_clname) return nullptr;-
214 if (!strcmp(_clname, qt_meta_stringdata_QQuickWanderAffector.stringdata0))-
215 return static_cast<void*>(this);-
216 return QQuickParticleAffector::qt_metacast(_clname);-
217}-
218-
219int QQuickWanderAffector::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
220{-
221 _id = QQuickParticleAffector::qt_metacall(_c, _id, _a);-
222 if (_id < 0)-
223 return _id;-
224 if (_c == QMetaObject::InvokeMetaMethod) {-
225 if (_id < 8)-
226 qt_static_metacall(this, _c, _id, _a);-
227 _id -= 8;-
228 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
229 if (_id < 8)-
230 *reinterpret_cast<int*>(_a[0]) = -1;-
231 _id -= 8;-
232 }-
233#ifndef QT_NO_PROPERTIES-
234 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
235 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
236 qt_static_metacall(this, _c, _id, _a);-
237 _id -= 4;-
238 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
239 _id -= 4;-
240 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
241 _id -= 4;-
242 } else if (_c == QMetaObject::QueryPropertyStored) {-
243 _id -= 4;-
244 } else if (_c == QMetaObject::QueryPropertyEditable) {-
245 _id -= 4;-
246 } else if (_c == QMetaObject::QueryPropertyUser) {-
247 _id -= 4;-
248 }-
249#endif // QT_NO_PROPERTIES-
250 return _id;-
251}-
252-
253// SIGNAL 0-
254void QQuickWanderAffector::xVarianceChanged(qreal _t1)-
255{-
256 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
257 QMetaObject::activate(this, &staticMetaObject, 0, _a);-
258}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickwander
6
259-
260// SIGNAL 1-
261void QQuickWanderAffector::yVarianceChanged(qreal _t1)-
262{-
263 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
264 QMetaObject::activate(this, &staticMetaObject, 1, _a);-
265}
executed 2 times by 1 test: end of block
Executed by:
  • tst_qquickwander
2
266-
267// SIGNAL 2-
268void QQuickWanderAffector::paceChanged(qreal _t1)-
269{-
270 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
271 QMetaObject::activate(this, &staticMetaObject, 2, _a);-
272}
executed 6 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickwander
6
273-
274// SIGNAL 3-
275void QQuickWanderAffector::affectedParameterChanged(AffectableParameters _t1)-
276{-
277 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };-
278 QMetaObject::activate(this, &staticMetaObject, 3, _a);-
279}
never executed: end of block
0
280QT_WARNING_POP-
281QT_END_MOC_NAMESPACE-
Source codeSwitch to Preprocessed file

Generated by Squish Coco 4.2.0