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