Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/particles/.moc/moc_qquicktargetdirection_p.cpp |
Source code | Switch to Preprocessed file |
Line | Source | Count |
---|---|---|
1 | /**************************************************************************** | - |
2 | ** Meta object code from reading C++ file 'qquicktargetdirection_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 "../qquicktargetdirection_p.h" | - |
10 | #include <QtCore/qbytearray.h> | - |
11 | #include <QtCore/qmetatype.h> | - |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
13 | #error "The header file 'qquicktargetdirection_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_QQuickTargetDirection_t { | - |
24 | QByteArrayData data[25]; | - |
25 | char stringdata0[391]; | - |
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_QQuickTargetDirection_t, stringdata0) + ofs \ | - |
30 | - idx * sizeof(QByteArrayData)) \ | - |
31 | ) | - |
32 | static const qt_meta_stringdata_QQuickTargetDirection_t qt_meta_stringdata_QQuickTargetDirection = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 21), // "QQuickTargetDirection" | - |
35 | QT_MOC_LITERAL(1, 22, 14), // "targetXChanged" | - |
36 | QT_MOC_LITERAL(2, 37, 0), // "" | - |
37 | QT_MOC_LITERAL(3, 38, 3), // "arg" | - |
38 | QT_MOC_LITERAL(4, 42, 14), // "targetYChanged" | - |
39 | QT_MOC_LITERAL(5, 57, 22), // "targetVariationChanged" | - |
40 | QT_MOC_LITERAL(6, 80, 16), // "magnitudeChanged" | - |
41 | QT_MOC_LITERAL(7, 97, 28), // "proprotionalMagnitudeChanged" | - |
42 | QT_MOC_LITERAL(8, 126, 25), // "magnitudeVariationChanged" | - |
43 | QT_MOC_LITERAL(9, 152, 17), // "targetItemChanged" | - |
44 | QT_MOC_LITERAL(10, 170, 11), // "QQuickItem*" | - |
45 | QT_MOC_LITERAL(11, 182, 10), // "setTargetX" | - |
46 | QT_MOC_LITERAL(12, 193, 10), // "setTargetY" | - |
47 | QT_MOC_LITERAL(13, 204, 18), // "setTargetVariation" | - |
48 | QT_MOC_LITERAL(14, 223, 12), // "setMagnitude" | - |
49 | QT_MOC_LITERAL(15, 236, 24), // "setProportionalMagnitude" | - |
50 | QT_MOC_LITERAL(16, 261, 21), // "setMagnitudeVariation" | - |
51 | QT_MOC_LITERAL(17, 283, 13), // "setTargetItem" | - |
52 | QT_MOC_LITERAL(18, 297, 7), // "targetX" | - |
53 | QT_MOC_LITERAL(19, 305, 7), // "targetY" | - |
54 | QT_MOC_LITERAL(20, 313, 10), // "targetItem" | - |
55 | QT_MOC_LITERAL(21, 324, 15), // "targetVariation" | - |
56 | QT_MOC_LITERAL(22, 340, 21), // "proportionalMagnitude" | - |
57 | QT_MOC_LITERAL(23, 362, 9), // "magnitude" | - |
58 | QT_MOC_LITERAL(24, 372, 18) // "magnitudeVariation" | - |
59 | - | |
60 | }, | - |
61 | "QQuickTargetDirection\0targetXChanged\0" | - |
62 | "\0arg\0targetYChanged\0targetVariationChanged\0" | - |
63 | "magnitudeChanged\0proprotionalMagnitudeChanged\0" | - |
64 | "magnitudeVariationChanged\0targetItemChanged\0" | - |
65 | "QQuickItem*\0setTargetX\0setTargetY\0" | - |
66 | "setTargetVariation\0setMagnitude\0" | - |
67 | "setProportionalMagnitude\0setMagnitudeVariation\0" | - |
68 | "setTargetItem\0targetX\0targetY\0targetItem\0" | - |
69 | "targetVariation\0proportionalMagnitude\0" | - |
70 | "magnitude\0magnitudeVariation" | - |
71 | }; | - |
72 | #undef QT_MOC_LITERAL | - |
73 | - | |
74 | static const uint qt_meta_data_QQuickTargetDirection[] = { | - |
75 | - | |
76 | // content: | - |
77 | 7, // revision | - |
78 | 0, // classname | - |
79 | 0, 0, // classinfo | - |
80 | 14, 14, // methods | - |
81 | 7, 126, // properties | - |
82 | 0, 0, // enums/sets | - |
83 | 0, 0, // constructors | - |
84 | 0, // flags | - |
85 | 7, // signalCount | - |
86 | - | |
87 | // signals: name, argc, parameters, tag, flags | - |
88 | 1, 1, 84, 2, 0x06 /* Public */, | - |
89 | 4, 1, 87, 2, 0x06 /* Public */, | - |
90 | 5, 1, 90, 2, 0x06 /* Public */, | - |
91 | 6, 1, 93, 2, 0x06 /* Public */, | - |
92 | 7, 1, 96, 2, 0x06 /* Public */, | - |
93 | 8, 1, 99, 2, 0x06 /* Public */, | - |
94 | 9, 1, 102, 2, 0x06 /* Public */, | - |
95 | - | |
96 | // slots: name, argc, parameters, tag, flags | - |
97 | 11, 1, 105, 2, 0x0a /* Public */, | - |
98 | 12, 1, 108, 2, 0x0a /* Public */, | - |
99 | 13, 1, 111, 2, 0x0a /* Public */, | - |
100 | 14, 1, 114, 2, 0x0a /* Public */, | - |
101 | 15, 1, 117, 2, 0x0a /* Public */, | - |
102 | 16, 1, 120, 2, 0x0a /* Public */, | - |
103 | 17, 1, 123, 2, 0x0a /* Public */, | - |
104 | - | |
105 | // signals: parameters | - |
106 | QMetaType::Void, QMetaType::QReal, 3, | - |
107 | QMetaType::Void, QMetaType::QReal, 3, | - |
108 | QMetaType::Void, QMetaType::QReal, 3, | - |
109 | QMetaType::Void, QMetaType::QReal, 3, | - |
110 | QMetaType::Void, QMetaType::Bool, 3, | - |
111 | QMetaType::Void, QMetaType::QReal, 3, | - |
112 | QMetaType::Void, 0x80000000 | 10, 3, | - |
113 | - | |
114 | // slots: parameters | - |
115 | QMetaType::Void, QMetaType::QReal, 3, | - |
116 | QMetaType::Void, QMetaType::QReal, 3, | - |
117 | QMetaType::Void, QMetaType::QReal, 3, | - |
118 | QMetaType::Void, QMetaType::QReal, 3, | - |
119 | QMetaType::Void, QMetaType::Bool, 3, | - |
120 | QMetaType::Void, QMetaType::QReal, 3, | - |
121 | QMetaType::Void, 0x80000000 | 10, 3, | - |
122 | - | |
123 | // properties: name, type, flags | - |
124 | 18, QMetaType::QReal, 0x00495103, | - |
125 | 19, QMetaType::QReal, 0x00495103, | - |
126 | 20, 0x80000000 | 10, 0x0049510b, | - |
127 | 21, QMetaType::QReal, 0x00495103, | - |
128 | 22, QMetaType::Bool, 0x00495103, | - |
129 | 23, QMetaType::QReal, 0x00495103, | - |
130 | 24, QMetaType::QReal, 0x00495103, | - |
131 | - | |
132 | // properties: notify_signal_id | - |
133 | 0, | - |
134 | 1, | - |
135 | 6, | - |
136 | 2, | - |
137 | 4, | - |
138 | 3, | - |
139 | 5, | - |
140 | - | |
141 | 0 // eod | - |
142 | }; | - |
143 | - | |
144 | void QQuickTargetDirection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
145 | { | - |
146 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
147 | QQuickTargetDirection *_t = static_cast<QQuickTargetDirection *>(_o); | - |
148 | Q_UNUSED(_t) | - |
149 | switch (_id) { | - |
150 | case 0: _t->targetXChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
151 | case 1: _t->targetYChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
152 | case 2: _t->targetVariationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
153 | case 3: _t->magnitudeChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
154 | case 4: _t->proprotionalMagnitudeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
155 | case 5: _t->magnitudeVariationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
156 | case 6: _t->targetItemChanged((*reinterpret_cast< QQuickItem*(*)>(_a[1]))); break; | - |
157 | case 7: _t->setTargetX((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
158 | case 8: _t->setTargetY((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
159 | case 9: _t->setTargetVariation((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
160 | case 10: _t->setMagnitude((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
161 | case 11: _t->setProportionalMagnitude((*reinterpret_cast< bool(*)>(_a[1]))); break; | - |
162 | case 12: _t->setMagnitudeVariation((*reinterpret_cast< qreal(*)>(_a[1]))); break; | - |
163 | case 13: _t->setTargetItem((*reinterpret_cast< QQuickItem*(*)>(_a[1]))); break; | - |
164 | default: ; | - |
165 | } | - |
166 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
167 | int *result = reinterpret_cast<int *>(_a[0]); | - |
168 | { | - |
169 | using _t = void (QQuickTargetDirection::*)(qreal ); | - |
170 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTargetDirection::targetXChanged)) { | - |
171 | *result = 0; | - |
172 | return; | - |
173 | } | - |
174 | } | - |
175 | { | - |
176 | using _t = void (QQuickTargetDirection::*)(qreal ); | - |
177 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTargetDirection::targetYChanged)) { | - |
178 | *result = 1; | - |
179 | return; | - |
180 | } | - |
181 | } | - |
182 | { | - |
183 | using _t = void (QQuickTargetDirection::*)(qreal ); | - |
184 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTargetDirection::targetVariationChanged)) { | - |
185 | *result = 2; | - |
186 | return; | - |
187 | } | - |
188 | } | - |
189 | { | - |
190 | using _t = void (QQuickTargetDirection::*)(qreal ); | - |
191 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTargetDirection::magnitudeChanged)) { | - |
192 | *result = 3; | - |
193 | return; | - |
194 | } | - |
195 | } | - |
196 | { | - |
197 | using _t = void (QQuickTargetDirection::*)(bool ); | - |
198 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTargetDirection::proprotionalMagnitudeChanged)) { | - |
199 | *result = 4; | - |
200 | return; | - |
201 | } | - |
202 | } | - |
203 | { | - |
204 | using _t = void (QQuickTargetDirection::*)(qreal ); | - |
205 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTargetDirection::magnitudeVariationChanged)) { | - |
206 | *result = 5; | - |
207 | return; | - |
208 | } | - |
209 | } | - |
210 | { | - |
211 | using _t = void (QQuickTargetDirection::*)(QQuickItem * ); | - |
212 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickTargetDirection::targetItemChanged)) { | - |
213 | *result = 6; | - |
214 | return; | - |
215 | } | - |
216 | } | - |
217 | } | - |
218 | #ifndef QT_NO_PROPERTIES | - |
219 | else if (_c == QMetaObject::ReadProperty) { | - |
220 | QQuickTargetDirection *_t = static_cast<QQuickTargetDirection *>(_o); | - |
221 | Q_UNUSED(_t) | - |
222 | void *_v = _a[0]; | - |
223 | switch (_id) { | - |
224 | case 0: *reinterpret_cast< qreal*>(_v) = _t->targetX(); break; | - |
225 | case 1: *reinterpret_cast< qreal*>(_v) = _t->targetY(); break; | - |
226 | case 2: *reinterpret_cast< QQuickItem**>(_v) = _t->targetItem(); break; | - |
227 | case 3: *reinterpret_cast< qreal*>(_v) = _t->targetVariation(); break; | - |
228 | case 4: *reinterpret_cast< bool*>(_v) = _t->proportionalMagnitude(); break; | - |
229 | case 5: *reinterpret_cast< qreal*>(_v) = _t->magnitude(); break; | - |
230 | case 6: *reinterpret_cast< qreal*>(_v) = _t->magnitudeVariation(); break; | - |
231 | default: break; | - |
232 | } | - |
233 | } else if (_c == QMetaObject::WriteProperty) { | - |
234 | QQuickTargetDirection *_t = static_cast<QQuickTargetDirection *>(_o); | - |
235 | Q_UNUSED(_t) | - |
236 | void *_v = _a[0]; | - |
237 | switch (_id) { | - |
238 | case 0: _t->setTargetX(*reinterpret_cast< qreal*>(_v)); break; | - |
239 | case 1: _t->setTargetY(*reinterpret_cast< qreal*>(_v)); break; | - |
240 | case 2: _t->setTargetItem(*reinterpret_cast< QQuickItem**>(_v)); break; | - |
241 | case 3: _t->setTargetVariation(*reinterpret_cast< qreal*>(_v)); break; | - |
242 | case 4: _t->setProportionalMagnitude(*reinterpret_cast< bool*>(_v)); break; | - |
243 | case 5: _t->setMagnitude(*reinterpret_cast< qreal*>(_v)); break; | - |
244 | case 6: _t->setMagnitudeVariation(*reinterpret_cast< qreal*>(_v)); break; | - |
245 | default: break; | - |
246 | } | - |
247 | } else if (_c == QMetaObject::ResetProperty) { | - |
248 | } | - |
249 | #endif // QT_NO_PROPERTIES | - |
250 | } | - |
251 | - | |
252 | QT_INIT_METAOBJECT const QMetaObject QQuickTargetDirection::staticMetaObject = { | - |
253 | { &QQuickDirection::staticMetaObject, qt_meta_stringdata_QQuickTargetDirection.data, | - |
254 | qt_meta_data_QQuickTargetDirection, qt_static_metacall, nullptr, nullptr} | - |
255 | }; | - |
256 | - | |
257 | - | |
258 | const QMetaObject *QQuickTargetDirection::metaObject() const | - |
259 | { | - |
260 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
261 | } | - |
262 | - | |
263 | void *QQuickTargetDirection::qt_metacast(const char *_clname) | - |
264 | { | - |
265 | if (!_clname) return nullptr; | - |
266 | if (!strcmp(_clname, qt_meta_stringdata_QQuickTargetDirection.stringdata0)) | - |
267 | return static_cast<void*>(this); | - |
268 | return QQuickDirection::qt_metacast(_clname); | - |
269 | } | - |
270 | - | |
271 | int QQuickTargetDirection::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
272 | { | - |
273 | _id = QQuickDirection::qt_metacall(_c, _id, _a); | - |
274 | if (_id < 0) | - |
275 | return _id; | - |
276 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
277 | if (_id < 14) | - |
278 | qt_static_metacall(this, _c, _id, _a); | - |
279 | _id -= 14; | - |
280 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
281 | if (_id < 14) | - |
282 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
283 | _id -= 14; | - |
284 | } | - |
285 | #ifndef QT_NO_PROPERTIES | - |
286 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
287 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
288 | qt_static_metacall(this, _c, _id, _a); | - |
289 | _id -= 7; | - |
290 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
291 | _id -= 7; | - |
292 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
293 | _id -= 7; | - |
294 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
295 | _id -= 7; | - |
296 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
297 | _id -= 7; | - |
298 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
299 | _id -= 7; | - |
300 | } | - |
301 | #endif // QT_NO_PROPERTIES | - |
302 | return _id; | - |
303 | } | - |
304 | - | |
305 | // SIGNAL 0 | - |
306 | void QQuickTargetDirection::targetXChanged(qreal _t1) | - |
307 | { | - |
308 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
309 | QMetaObject::activate(this, &staticMetaObject, 0, _a); | - |
310 | } executed 14 times by 1 test: end of block Executed by:
| 14 |
311 | - | |
312 | // SIGNAL 1 | - |
313 | void QQuickTargetDirection::targetYChanged(qreal _t1) | - |
314 | { | - |
315 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
316 | QMetaObject::activate(this, &staticMetaObject, 1, _a); | - |
317 | } executed 14 times by 1 test: end of block Executed by:
| 14 |
318 | - | |
319 | // SIGNAL 2 | - |
320 | void QQuickTargetDirection::targetVariationChanged(qreal _t1) | - |
321 | { | - |
322 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
323 | QMetaObject::activate(this, &staticMetaObject, 2, _a); | - |
324 | } executed 2 times by 1 test: end of block Executed by:
| 2 |
325 | - | |
326 | // SIGNAL 3 | - |
327 | void QQuickTargetDirection::magnitudeChanged(qreal _t1) | - |
328 | { | - |
329 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
330 | QMetaObject::activate(this, &staticMetaObject, 3, _a); | - |
331 | } executed 16 times by 2 tests: end of block Executed by:
| 16 |
332 | - | |
333 | // SIGNAL 4 | - |
334 | void QQuickTargetDirection::proprotionalMagnitudeChanged(bool _t1) | - |
335 | { | - |
336 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
337 | QMetaObject::activate(this, &staticMetaObject, 4, _a); | - |
338 | } executed 8 times by 2 tests: end of block Executed by:
| 8 |
339 | - | |
340 | // SIGNAL 5 | - |
341 | void QQuickTargetDirection::magnitudeVariationChanged(qreal _t1) | - |
342 | { | - |
343 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
344 | QMetaObject::activate(this, &staticMetaObject, 5, _a); | - |
345 | } executed 8 times by 1 test: end of block Executed by:
| 8 |
346 | - | |
347 | // SIGNAL 6 | - |
348 | void QQuickTargetDirection::targetItemChanged(QQuickItem * _t1) | - |
349 | { | - |
350 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) }; | - |
351 | QMetaObject::activate(this, &staticMetaObject, 6, _a); | - |
352 | } executed 2 times by 1 test: end of block Executed by:
| 2 |
353 | QT_WARNING_POP | - |
354 | QT_END_MOC_NAMESPACE | - |
Source code | Switch to Preprocessed file |