OpenCoverage

moc_qquickpathinterpolator_p.cpp

Absolute File Name:/home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickpathinterpolator_p.cpp
Switch to Source codePreprocessed file
LineSourceCount
1-
2-
3#pragma GCC diagnostic push-
4-
5-
6#pragma GCC diagnostic ignored "-Wdeprecated-declarations"-
7-
8struct qt_meta_stringdata_QQuickPathInterpolator_t {-
9 QByteArrayData data[14];-
10 char stringdata0[134];-
11};-
12-
13-
14-
15-
16-
17static const qt_meta_stringdata_QQuickPathInterpolator_t qt_meta_stringdata_QQuickPathInterpolator = {-
18 {-
19{ { { -1 } }, 22, 0, 0, qptrdiff(-
20__builtin_offsetof (-
21qt_meta_stringdata_QQuickPathInterpolator_t-
22, -
23stringdata0-
24) -
25+ 0 - 0 * sizeof(QByteArrayData)) },-
26{ { { -1 } }, 11, 0, 0, qptrdiff(-
27__builtin_offsetof (-
28qt_meta_stringdata_QQuickPathInterpolator_t-
29, -
30stringdata0-
31) -
32+ 23 - 1 * sizeof(QByteArrayData)) },-
33{ { { -1 } }, 0, 0, 0, qptrdiff(-
34__builtin_offsetof (-
35qt_meta_stringdata_QQuickPathInterpolator_t-
36, -
37stringdata0-
38) -
39+ 35 - 2 * sizeof(QByteArrayData)) },-
40{ { { -1 } }, 15, 0, 0, qptrdiff(-
41__builtin_offsetof (-
42qt_meta_stringdata_QQuickPathInterpolator_t-
43, -
44stringdata0-
45) -
46+ 36 - 3 * sizeof(QByteArrayData)) },-
47{ { { -1 } }, 8, 0, 0, qptrdiff(-
48__builtin_offsetof (-
49qt_meta_stringdata_QQuickPathInterpolator_t-
50, -
51stringdata0-
52) -
53+ 52 - 4 * sizeof(QByteArrayData)) },-
54{ { { -1 } }, 8, 0, 0, qptrdiff(-
55__builtin_offsetof (-
56qt_meta_stringdata_QQuickPathInterpolator_t-
57, -
58stringdata0-
59) -
60+ 61 - 5 * sizeof(QByteArrayData)) },-
61{ { { -1 } }, 12, 0, 0, qptrdiff(-
62__builtin_offsetof (-
63qt_meta_stringdata_QQuickPathInterpolator_t-
64, -
65stringdata0-
66) -
67+ 70 - 6 * sizeof(QByteArrayData)) },-
68{ { { -1 } }, 14, 0, 0, qptrdiff(-
69__builtin_offsetof (-
70qt_meta_stringdata_QQuickPathInterpolator_t-
71, -
72stringdata0-
73) -
74+ 83 - 7 * sizeof(QByteArrayData)) },-
75{ { { -1 } }, 4, 0, 0, qptrdiff(-
76__builtin_offsetof (-
77qt_meta_stringdata_QQuickPathInterpolator_t-
78, -
79stringdata0-
80) -
81+ 98 - 8 * sizeof(QByteArrayData)) },-
82{ { { -1 } }, 11, 0, 0, qptrdiff(-
83__builtin_offsetof (-
84qt_meta_stringdata_QQuickPathInterpolator_t-
85, -
86stringdata0-
87) -
88+ 103 - 9 * sizeof(QByteArrayData)) },-
89{ { { -1 } }, 8, 0, 0, qptrdiff(-
90__builtin_offsetof (-
91qt_meta_stringdata_QQuickPathInterpolator_t-
92, -
93stringdata0-
94) -
95+ 115 - 10 * sizeof(QByteArrayData)) },-
96{ { { -1 } }, 1, 0, 0, qptrdiff(-
97__builtin_offsetof (-
98qt_meta_stringdata_QQuickPathInterpolator_t-
99, -
100stringdata0-
101) -
102+ 124 - 11 * sizeof(QByteArrayData)) },-
103{ { { -1 } }, 1, 0, 0, qptrdiff(-
104__builtin_offsetof (-
105qt_meta_stringdata_QQuickPathInterpolator_t-
106, -
107stringdata0-
108) -
109+ 126 - 12 * sizeof(QByteArrayData)) },-
110{ { { -1 } }, 5, 0, 0, qptrdiff(-
111__builtin_offsetof (-
112qt_meta_stringdata_QQuickPathInterpolator_t-
113, -
114stringdata0-
115) -
116+ 128 - 13 * sizeof(QByteArrayData)) }-
117-
118 },-
119 "QQuickPathInterpolator\0pathChanged\0\0"-
120 "progressChanged\0xChanged\0yChanged\0"-
121 "angleChanged\0_q_pathUpdated\0path\0"-
122 "QQuickPath*\0progress\0x\0y\0angle"-
123};-
124-
125-
126static const uint qt_meta_data_QQuickPathInterpolator[] = {-
127-
128-
129 7,-
130 0,-
131 0, 0,-
132 6, 14,-
133 5, 50,-
134 0, 0,-
135 0, 0,-
136 0,-
137 5,-
138-
139-
140 1, 0, 44, 2, 0x06 ,-
141 3, 0, 45, 2, 0x06 ,-
142 4, 0, 46, 2, 0x06 ,-
143 5, 0, 47, 2, 0x06 ,-
144 6, 0, 48, 2, 0x06 ,-
145-
146-
147 7, 0, 49, 2, 0x08 ,-
148-
149-
150 QMetaType::Void,-
151 QMetaType::Void,-
152 QMetaType::Void,-
153 QMetaType::Void,-
154 QMetaType::Void,-
155-
156-
157 QMetaType::Void,-
158-
159-
160 8, 0x80000000 | 9, 0x0049510b,-
161 10, QMetaType::QReal, 0x00495103,-
162 11, QMetaType::QReal, 0x00495001,-
163 12, QMetaType::QReal, 0x00495001,-
164 13, QMetaType::QReal, 0x00495001,-
165-
166-
167 0,-
168 1,-
169 2,-
170 3,-
171 4,-
172-
173 0-
174};-
175-
176void QQuickPathInterpolator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)-
177{-
178 if (_c == QMetaObject::InvokeMetaMethod) {-
179 QQuickPathInterpolator *_t = static_cast<QQuickPathInterpolator *>(_o);-
180 (void)_t;-
181 switch (_id) {-
182 case 0: _t->pathChanged(); break;-
183 case 1: _t->progressChanged(); break;-
184 case 2: _t->xChanged(); break;-
185 case 3: _t->yChanged(); break;-
186 case 4: _t->angleChanged(); break;-
187 case 5: _t->_q_pathUpdated(); break;-
188 default: ;-
189 }-
190 } else if (_c == QMetaObject::IndexOfMethod) {-
191 int *result = reinterpret_cast<int *>(_a[0]);-
192 {-
193 using _t = void (QQuickPathInterpolator::*)();-
194 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathInterpolator::pathChanged)) {-
195 *result = 0;-
196 return;-
197 }-
198 }-
199 {-
200 using _t = void (QQuickPathInterpolator::*)();-
201 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathInterpolator::progressChanged)) {-
202 *result = 1;-
203 return;-
204 }-
205 }-
206 {-
207 using _t = void (QQuickPathInterpolator::*)();-
208 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathInterpolator::xChanged)) {-
209 *result = 2;-
210 return;-
211 }-
212 }-
213 {-
214 using _t = void (QQuickPathInterpolator::*)();-
215 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathInterpolator::yChanged)) {-
216 *result = 3;-
217 return;-
218 }-
219 }-
220 {-
221 using _t = void (QQuickPathInterpolator::*)();-
222 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickPathInterpolator::angleChanged)) {-
223 *result = 4;-
224 return;-
225 }-
226 }-
227 }-
228-
229 else if (_c == QMetaObject::ReadProperty) {-
230 QQuickPathInterpolator *_t = static_cast<QQuickPathInterpolator *>(_o);-
231 (void)_t;-
232 void *_v = _a[0];-
233 switch (_id) {-
234 case 0: *reinterpret_cast< QQuickPath**>(_v) = _t->path(); break;-
235 case 1: *reinterpret_cast< qreal*>(_v) = _t->progress(); break;-
236 case 2: *reinterpret_cast< qreal*>(_v) = _t->x(); break;-
237 case 3: *reinterpret_cast< qreal*>(_v) = _t->y(); break;-
238 case 4: *reinterpret_cast< qreal*>(_v) = _t->angle(); break;-
239 default: break;-
240 }-
241 } else if (_c == QMetaObject::WriteProperty) {-
242 QQuickPathInterpolator *_t = static_cast<QQuickPathInterpolator *>(_o);-
243 (void)_t;-
244 void *_v = _a[0];-
245 switch (_id) {-
246 case 0: _t->setPath(*reinterpret_cast< QQuickPath**>(_v)); break;-
247 case 1: _t->setProgress(*reinterpret_cast< qreal*>(_v)); break;-
248 default: break;-
249 }-
250 } else if (_c == QMetaObject::ResetProperty) {-
251 }-
252-
253 (void)_a;;-
254}-
255-
256 const QMetaObject QQuickPathInterpolator::staticMetaObject = {-
257 { &QObject::staticMetaObject, qt_meta_stringdata_QQuickPathInterpolator.data,-
258 qt_meta_data_QQuickPathInterpolator, qt_static_metacall, nullptr, nullptr}-
259};-
260-
261-
262const QMetaObject *QQuickPathInterpolator::metaObject() const-
263{-
264 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;-
265}-
266-
267void *QQuickPathInterpolator::qt_metacast(const char *_clname)-
268{-
269 if (!_clname) return nullptr;-
270 if (!strcmp(_clname, qt_meta_stringdata_QQuickPathInterpolator.stringdata0))-
271 return static_cast<void*>(this);-
272 return QObject::qt_metacast(_clname);-
273}-
274-
275int QQuickPathInterpolator::qt_metacall(QMetaObject::Call _c, int _id, void **_a)-
276{-
277 _id = QObject::qt_metacall(_c, _id, _a);-
278 if (_id < 0)-
279 return _id;-
280 if (_c == QMetaObject::InvokeMetaMethod) {-
281 if (_id < 6)-
282 qt_static_metacall(this, _c, _id, _a);-
283 _id -= 6;-
284 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {-
285 if (_id < 6)-
286 *reinterpret_cast<int*>(_a[0]) = -1;-
287 _id -= 6;-
288 }-
289-
290 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty-
291 || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {-
292 qt_static_metacall(this, _c, _id, _a);-
293 _id -= 5;-
294 } else if (_c == QMetaObject::QueryPropertyDesignable) {-
295 _id -= 5;-
296 } else if (_c == QMetaObject::QueryPropertyScriptable) {-
297 _id -= 5;-
298 } else if (_c == QMetaObject::QueryPropertyStored) {-
299 _id -= 5;-
300 } else if (_c == QMetaObject::QueryPropertyEditable) {-
301 _id -= 5;-
302 } else if (_c == QMetaObject::QueryPropertyUser) {-
303 _id -= 5;-
304 }-
305-
306 return _id;-
307}-
308-
309-
310void QQuickPathInterpolator::pathChanged()-
311{-
312 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);-
313}
executed 10 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
10
314-
315-
316void QQuickPathInterpolator::progressChanged()-
317{-
318 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);-
319}
executed 16 times by 1 test: end of block
Executed by:
  • tst_qquickanimations
16
320-
321-
322void QQuickPathInterpolator::xChanged()-
323{-
324 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);-
325}
executed 24 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
24
326-
327-
328void QQuickPathInterpolator::yChanged()-
329{-
330 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);-
331}
executed 22 times by 2 tests: end of block
Executed by:
  • tst_examples
  • tst_qquickanimations
22
332-
333-
334void QQuickPathInterpolator::angleChanged()-
335{-
336 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);-
337}
executed 18 times by 1 test: end of block
Executed by:
  • tst_qquickanimations
18
338-
339#pragma GCC diagnostic pop-
340-
341-
Switch to Source codePreprocessed file

Generated by Squish Coco 4.2.0