OpenCoverage

moc_qquickshapegenericrenderer_p.cpp

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

Generated by Squish Coco 4.2.0