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