OpenCoverage

moc_conf.cpp

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

Generated by Squish Coco 4.2.0