OpenCoverage

moc_qqmlglobal_p.cpp

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

Generated by Squish Coco 4.2.0