Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquickscreen_p.cpp |
Source code | Switch to Preprocessed file |
Line | Source | Count |
---|---|---|
1 | /**************************************************************************** | - |
2 | ** Meta object code from reading C++ file 'qquickscreen_p.h' | - |
3 | ** | - |
4 | ** Created by: The Qt Meta Object Compiler version 67 (Qt 5.12.0) | - |
5 | ** | - |
6 | ** WARNING! All changes made in this file will be lost! | - |
7 | *****************************************************************************/ | - |
8 | - | |
9 | #include "../items/qquickscreen_p.h" | - |
10 | #include <QtCore/qbytearray.h> | - |
11 | #include <QtCore/qmetatype.h> | - |
12 | #if !defined(Q_MOC_OUTPUT_REVISION) | - |
13 | #error "The header file 'qquickscreen_p.h' doesn't include <QObject>." | - |
14 | #elif Q_MOC_OUTPUT_REVISION != 67 | - |
15 | #error "This file was generated using the moc from 5.12.0. It" | - |
16 | #error "cannot be used with the include files from this version of Qt." | - |
17 | #error "(The moc has changed too much.)" | - |
18 | #endif | - |
19 | - | |
20 | QT_BEGIN_MOC_NAMESPACE | - |
21 | QT_WARNING_PUSH | - |
22 | QT_WARNING_DISABLE_DEPRECATED | - |
23 | struct qt_meta_stringdata_QQuickScreenInfo_t { | - |
24 | QByteArrayData data[32]; | - |
25 | char stringdata0[497]; | - |
26 | }; | - |
27 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
28 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
29 | qptrdiff(offsetof(qt_meta_stringdata_QQuickScreenInfo_t, stringdata0) + ofs \ | - |
30 | - idx * sizeof(QByteArrayData)) \ | - |
31 | ) | - |
32 | static const qt_meta_stringdata_QQuickScreenInfo_t qt_meta_stringdata_QQuickScreenInfo = { | - |
33 | { | - |
34 | QT_MOC_LITERAL(0, 0, 16), // "QQuickScreenInfo" | - |
35 | QT_MOC_LITERAL(1, 17, 11), // "nameChanged" | - |
36 | QT_MOC_LITERAL(2, 29, 0), // "" | - |
37 | QT_MOC_LITERAL(3, 30, 19), // "manufacturerChanged" | - |
38 | QT_MOC_LITERAL(4, 50, 12), // "modelChanged" | - |
39 | QT_MOC_LITERAL(5, 63, 19), // "serialNumberChanged" | - |
40 | QT_MOC_LITERAL(6, 83, 12), // "widthChanged" | - |
41 | QT_MOC_LITERAL(7, 96, 13), // "heightChanged" | - |
42 | QT_MOC_LITERAL(8, 110, 22), // "desktopGeometryChanged" | - |
43 | QT_MOC_LITERAL(9, 133, 26), // "logicalPixelDensityChanged" | - |
44 | QT_MOC_LITERAL(10, 160, 19), // "pixelDensityChanged" | - |
45 | QT_MOC_LITERAL(11, 180, 23), // "devicePixelRatioChanged" | - |
46 | QT_MOC_LITERAL(12, 204, 25), // "primaryOrientationChanged" | - |
47 | QT_MOC_LITERAL(13, 230, 18), // "orientationChanged" | - |
48 | QT_MOC_LITERAL(14, 249, 15), // "virtualXChanged" | - |
49 | QT_MOC_LITERAL(15, 265, 15), // "virtualYChanged" | - |
50 | QT_MOC_LITERAL(16, 281, 4), // "name" | - |
51 | QT_MOC_LITERAL(17, 286, 12), // "manufacturer" | - |
52 | QT_MOC_LITERAL(18, 299, 5), // "model" | - |
53 | QT_MOC_LITERAL(19, 305, 12), // "serialNumber" | - |
54 | QT_MOC_LITERAL(20, 318, 5), // "width" | - |
55 | QT_MOC_LITERAL(21, 324, 6), // "height" | - |
56 | QT_MOC_LITERAL(22, 331, 21), // "desktopAvailableWidth" | - |
57 | QT_MOC_LITERAL(23, 353, 22), // "desktopAvailableHeight" | - |
58 | QT_MOC_LITERAL(24, 376, 19), // "logicalPixelDensity" | - |
59 | QT_MOC_LITERAL(25, 396, 12), // "pixelDensity" | - |
60 | QT_MOC_LITERAL(26, 409, 16), // "devicePixelRatio" | - |
61 | QT_MOC_LITERAL(27, 426, 18), // "primaryOrientation" | - |
62 | QT_MOC_LITERAL(28, 445, 21), // "Qt::ScreenOrientation" | - |
63 | QT_MOC_LITERAL(29, 467, 11), // "orientation" | - |
64 | QT_MOC_LITERAL(30, 479, 8), // "virtualX" | - |
65 | QT_MOC_LITERAL(31, 488, 8) // "virtualY" | - |
66 | - | |
67 | }, | - |
68 | "QQuickScreenInfo\0nameChanged\0\0" | - |
69 | "manufacturerChanged\0modelChanged\0" | - |
70 | "serialNumberChanged\0widthChanged\0" | - |
71 | "heightChanged\0desktopGeometryChanged\0" | - |
72 | "logicalPixelDensityChanged\0" | - |
73 | "pixelDensityChanged\0devicePixelRatioChanged\0" | - |
74 | "primaryOrientationChanged\0orientationChanged\0" | - |
75 | "virtualXChanged\0virtualYChanged\0name\0" | - |
76 | "manufacturer\0model\0serialNumber\0width\0" | - |
77 | "height\0desktopAvailableWidth\0" | - |
78 | "desktopAvailableHeight\0logicalPixelDensity\0" | - |
79 | "pixelDensity\0devicePixelRatio\0" | - |
80 | "primaryOrientation\0Qt::ScreenOrientation\0" | - |
81 | "orientation\0virtualX\0virtualY" | - |
82 | }; | - |
83 | #undef QT_MOC_LITERAL | - |
84 | - | |
85 | static const uint qt_meta_data_QQuickScreenInfo[] = { | - |
86 | - | |
87 | // content: | - |
88 | 7, // revision | - |
89 | 0, // classname | - |
90 | 0, 0, // classinfo | - |
91 | 14, 14, // methods | - |
92 | 15, 112, // properties | - |
93 | 0, 0, // enums/sets | - |
94 | 0, 0, // constructors | - |
95 | 0, // flags | - |
96 | 14, // signalCount | - |
97 | - | |
98 | // signals: name, argc, parameters, tag, flags | - |
99 | 1, 0, 98, 2, 0x06 /* Public */, | - |
100 | 3, 0, 99, 2, 0x86 /* Public | MethodRevisioned */, | - |
101 | 4, 0, 100, 2, 0x86 /* Public | MethodRevisioned */, | - |
102 | 5, 0, 101, 2, 0x86 /* Public | MethodRevisioned */, | - |
103 | 6, 0, 102, 2, 0x06 /* Public */, | - |
104 | 7, 0, 103, 2, 0x06 /* Public */, | - |
105 | 8, 0, 104, 2, 0x06 /* Public */, | - |
106 | 9, 0, 105, 2, 0x06 /* Public */, | - |
107 | 10, 0, 106, 2, 0x06 /* Public */, | - |
108 | 11, 0, 107, 2, 0x06 /* Public */, | - |
109 | 12, 0, 108, 2, 0x06 /* Public */, | - |
110 | 13, 0, 109, 2, 0x06 /* Public */, | - |
111 | 14, 0, 110, 2, 0x86 /* Public | MethodRevisioned */, | - |
112 | 15, 0, 111, 2, 0x86 /* Public | MethodRevisioned */, | - |
113 | - | |
114 | // signals: revision | - |
115 | 0, | - |
116 | 10, | - |
117 | 10, | - |
118 | 10, | - |
119 | 0, | - |
120 | 0, | - |
121 | 0, | - |
122 | 0, | - |
123 | 0, | - |
124 | 0, | - |
125 | 0, | - |
126 | 0, | - |
127 | 1, | - |
128 | 1, | - |
129 | - | |
130 | // signals: parameters | - |
131 | QMetaType::Void, | - |
132 | QMetaType::Void, | - |
133 | QMetaType::Void, | - |
134 | QMetaType::Void, | - |
135 | QMetaType::Void, | - |
136 | QMetaType::Void, | - |
137 | QMetaType::Void, | - |
138 | QMetaType::Void, | - |
139 | QMetaType::Void, | - |
140 | QMetaType::Void, | - |
141 | QMetaType::Void, | - |
142 | QMetaType::Void, | - |
143 | QMetaType::Void, | - |
144 | QMetaType::Void, | - |
145 | - | |
146 | // properties: name, type, flags | - |
147 | 16, QMetaType::QString, 0x00495001, | - |
148 | 17, QMetaType::QString, 0x00c95001, | - |
149 | 18, QMetaType::QString, 0x00c95001, | - |
150 | 19, QMetaType::QString, 0x00c95001, | - |
151 | 20, QMetaType::Int, 0x00495001, | - |
152 | 21, QMetaType::Int, 0x00495001, | - |
153 | 22, QMetaType::Int, 0x00495001, | - |
154 | 23, QMetaType::Int, 0x00495001, | - |
155 | 24, QMetaType::QReal, 0x00495001, | - |
156 | 25, QMetaType::QReal, 0x00495001, | - |
157 | 26, QMetaType::QReal, 0x00495001, | - |
158 | 27, 0x80000000 | 28, 0x00495009, | - |
159 | 29, 0x80000000 | 28, 0x00495009, | - |
160 | 30, QMetaType::Int, 0x00c95001, | - |
161 | 31, QMetaType::Int, 0x00c95001, | - |
162 | - | |
163 | // properties: notify_signal_id | - |
164 | 0, | - |
165 | 1, | - |
166 | 2, | - |
167 | 3, | - |
168 | 4, | - |
169 | 5, | - |
170 | 6, | - |
171 | 6, | - |
172 | 7, | - |
173 | 8, | - |
174 | 9, | - |
175 | 10, | - |
176 | 11, | - |
177 | 12, | - |
178 | 13, | - |
179 | - | |
180 | // properties: revision | - |
181 | 0, | - |
182 | 10, | - |
183 | 10, | - |
184 | 10, | - |
185 | 0, | - |
186 | 0, | - |
187 | 0, | - |
188 | 0, | - |
189 | 0, | - |
190 | 0, | - |
191 | 0, | - |
192 | 0, | - |
193 | 0, | - |
194 | 1, | - |
195 | 1, | - |
196 | - | |
197 | 0 // eod | - |
198 | }; | - |
199 | - | |
200 | void QQuickScreenInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
201 | { | - |
202 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
203 | QQuickScreenInfo *_t = static_cast<QQuickScreenInfo *>(_o); | - |
204 | Q_UNUSED(_t) | - |
205 | switch (_id) { | - |
206 | case 0: _t->nameChanged(); break; | - |
207 | case 1: _t->manufacturerChanged(); break; | - |
208 | case 2: _t->modelChanged(); break; | - |
209 | case 3: _t->serialNumberChanged(); break; | - |
210 | case 4: _t->widthChanged(); break; | - |
211 | case 5: _t->heightChanged(); break; | - |
212 | case 6: _t->desktopGeometryChanged(); break; | - |
213 | case 7: _t->logicalPixelDensityChanged(); break; | - |
214 | case 8: _t->pixelDensityChanged(); break; | - |
215 | case 9: _t->devicePixelRatioChanged(); break; | - |
216 | case 10: _t->primaryOrientationChanged(); break; | - |
217 | case 11: _t->orientationChanged(); break; | - |
218 | case 12: _t->virtualXChanged(); break; | - |
219 | case 13: _t->virtualYChanged(); break; | - |
220 | default: ; | - |
221 | } | - |
222 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
223 | int *result = reinterpret_cast<int *>(_a[0]); | - |
224 | { | - |
225 | using _t = void (QQuickScreenInfo::*)(); | - |
226 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::nameChanged)) { | - |
227 | *result = 0; | - |
228 | return; | - |
229 | } | - |
230 | } | - |
231 | { | - |
232 | using _t = void (QQuickScreenInfo::*)(); | - |
233 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::manufacturerChanged)) { | - |
234 | *result = 1; | - |
235 | return; | - |
236 | } | - |
237 | } | - |
238 | { | - |
239 | using _t = void (QQuickScreenInfo::*)(); | - |
240 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::modelChanged)) { | - |
241 | *result = 2; | - |
242 | return; | - |
243 | } | - |
244 | } | - |
245 | { | - |
246 | using _t = void (QQuickScreenInfo::*)(); | - |
247 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::serialNumberChanged)) { | - |
248 | *result = 3; | - |
249 | return; | - |
250 | } | - |
251 | } | - |
252 | { | - |
253 | using _t = void (QQuickScreenInfo::*)(); | - |
254 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::widthChanged)) { | - |
255 | *result = 4; | - |
256 | return; | - |
257 | } | - |
258 | } | - |
259 | { | - |
260 | using _t = void (QQuickScreenInfo::*)(); | - |
261 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::heightChanged)) { | - |
262 | *result = 5; | - |
263 | return; | - |
264 | } | - |
265 | } | - |
266 | { | - |
267 | using _t = void (QQuickScreenInfo::*)(); | - |
268 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::desktopGeometryChanged)) { | - |
269 | *result = 6; | - |
270 | return; | - |
271 | } | - |
272 | } | - |
273 | { | - |
274 | using _t = void (QQuickScreenInfo::*)(); | - |
275 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::logicalPixelDensityChanged)) { | - |
276 | *result = 7; | - |
277 | return; | - |
278 | } | - |
279 | } | - |
280 | { | - |
281 | using _t = void (QQuickScreenInfo::*)(); | - |
282 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::pixelDensityChanged)) { | - |
283 | *result = 8; | - |
284 | return; | - |
285 | } | - |
286 | } | - |
287 | { | - |
288 | using _t = void (QQuickScreenInfo::*)(); | - |
289 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::devicePixelRatioChanged)) { | - |
290 | *result = 9; | - |
291 | return; | - |
292 | } | - |
293 | } | - |
294 | { | - |
295 | using _t = void (QQuickScreenInfo::*)(); | - |
296 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::primaryOrientationChanged)) { | - |
297 | *result = 10; | - |
298 | return; | - |
299 | } | - |
300 | } | - |
301 | { | - |
302 | using _t = void (QQuickScreenInfo::*)(); | - |
303 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::orientationChanged)) { | - |
304 | *result = 11; | - |
305 | return; | - |
306 | } | - |
307 | } | - |
308 | { | - |
309 | using _t = void (QQuickScreenInfo::*)(); | - |
310 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::virtualXChanged)) { | - |
311 | *result = 12; | - |
312 | return; | - |
313 | } | - |
314 | } | - |
315 | { | - |
316 | using _t = void (QQuickScreenInfo::*)(); | - |
317 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenInfo::virtualYChanged)) { | - |
318 | *result = 13; | - |
319 | return; | - |
320 | } | - |
321 | } | - |
322 | } | - |
323 | #ifndef QT_NO_PROPERTIES | - |
324 | else if (_c == QMetaObject::ReadProperty) { | - |
325 | QQuickScreenInfo *_t = static_cast<QQuickScreenInfo *>(_o); | - |
326 | Q_UNUSED(_t) | - |
327 | void *_v = _a[0]; | - |
328 | switch (_id) { | - |
329 | case 0: *reinterpret_cast< QString*>(_v) = _t->name(); break; | - |
330 | case 1: *reinterpret_cast< QString*>(_v) = _t->manufacturer(); break; | - |
331 | case 2: *reinterpret_cast< QString*>(_v) = _t->model(); break; | - |
332 | case 3: *reinterpret_cast< QString*>(_v) = _t->serialNumber(); break; | - |
333 | case 4: *reinterpret_cast< int*>(_v) = _t->width(); break; | - |
334 | case 5: *reinterpret_cast< int*>(_v) = _t->height(); break; | - |
335 | case 6: *reinterpret_cast< int*>(_v) = _t->desktopAvailableWidth(); break; | - |
336 | case 7: *reinterpret_cast< int*>(_v) = _t->desktopAvailableHeight(); break; | - |
337 | case 8: *reinterpret_cast< qreal*>(_v) = _t->logicalPixelDensity(); break; | - |
338 | case 9: *reinterpret_cast< qreal*>(_v) = _t->pixelDensity(); break; | - |
339 | case 10: *reinterpret_cast< qreal*>(_v) = _t->devicePixelRatio(); break; | - |
340 | case 11: *reinterpret_cast< Qt::ScreenOrientation*>(_v) = _t->primaryOrientation(); break; | - |
341 | case 12: *reinterpret_cast< Qt::ScreenOrientation*>(_v) = _t->orientation(); break; | - |
342 | case 13: *reinterpret_cast< int*>(_v) = _t->virtualX(); break; | - |
343 | case 14: *reinterpret_cast< int*>(_v) = _t->virtualY(); break; | - |
344 | default: break; | - |
345 | } | - |
346 | } else if (_c == QMetaObject::WriteProperty) { | - |
347 | } else if (_c == QMetaObject::ResetProperty) { | - |
348 | } | - |
349 | #endif // QT_NO_PROPERTIES | - |
350 | Q_UNUSED(_a); | - |
351 | } | - |
352 | - | |
353 | QT_INIT_METAOBJECT const QMetaObject QQuickScreenInfo::staticMetaObject = { | - |
354 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickScreenInfo.data, | - |
355 | qt_meta_data_QQuickScreenInfo, qt_static_metacall, nullptr, nullptr} | - |
356 | }; | - |
357 | - | |
358 | - | |
359 | const QMetaObject *QQuickScreenInfo::metaObject() const | - |
360 | { | - |
361 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
362 | } | - |
363 | - | |
364 | void *QQuickScreenInfo::qt_metacast(const char *_clname) | - |
365 | { | - |
366 | if (!_clname) return nullptr; | - |
367 | if (!strcmp(_clname, qt_meta_stringdata_QQuickScreenInfo.stringdata0)) | - |
368 | return static_cast<void*>(this); | - |
369 | return QObject::qt_metacast(_clname); | - |
370 | } | - |
371 | - | |
372 | int QQuickScreenInfo::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
373 | { | - |
374 | _id = QObject::qt_metacall(_c, _id, _a); | - |
375 | if (_id < 0) | - |
376 | return _id; | - |
377 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
378 | if (_id < 14) | - |
379 | qt_static_metacall(this, _c, _id, _a); | - |
380 | _id -= 14; | - |
381 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
382 | if (_id < 14) | - |
383 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
384 | _id -= 14; | - |
385 | } | - |
386 | #ifndef QT_NO_PROPERTIES | - |
387 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
388 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
389 | qt_static_metacall(this, _c, _id, _a); | - |
390 | _id -= 15; | - |
391 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
392 | _id -= 15; | - |
393 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
394 | _id -= 15; | - |
395 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
396 | _id -= 15; | - |
397 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
398 | _id -= 15; | - |
399 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
400 | _id -= 15; | - |
401 | } | - |
402 | #endif // QT_NO_PROPERTIES | - |
403 | return _id; | - |
404 | } | - |
405 | - | |
406 | // SIGNAL 0 | - |
407 | void QQuickScreenInfo::nameChanged() | - |
408 | { | - |
409 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
410 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
411 | - | |
412 | // SIGNAL 1 | - |
413 | void QQuickScreenInfo::manufacturerChanged() | - |
414 | { | - |
415 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
416 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
417 | - | |
418 | // SIGNAL 2 | - |
419 | void QQuickScreenInfo::modelChanged() | - |
420 | { | - |
421 | QMetaObject::activate(this, &staticMetaObject, 2, nullptr); | - |
422 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
423 | - | |
424 | // SIGNAL 3 | - |
425 | void QQuickScreenInfo::serialNumberChanged() | - |
426 | { | - |
427 | QMetaObject::activate(this, &staticMetaObject, 3, nullptr); | - |
428 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
429 | - | |
430 | // SIGNAL 4 | - |
431 | void QQuickScreenInfo::widthChanged() | - |
432 | { | - |
433 | QMetaObject::activate(this, &staticMetaObject, 4, nullptr); | - |
434 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
435 | - | |
436 | // SIGNAL 5 | - |
437 | void QQuickScreenInfo::heightChanged() | - |
438 | { | - |
439 | QMetaObject::activate(this, &staticMetaObject, 5, nullptr); | - |
440 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
441 | - | |
442 | // SIGNAL 6 | - |
443 | void QQuickScreenInfo::desktopGeometryChanged() | - |
444 | { | - |
445 | QMetaObject::activate(this, &staticMetaObject, 6, nullptr); | - |
446 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
447 | - | |
448 | // SIGNAL 7 | - |
449 | void QQuickScreenInfo::logicalPixelDensityChanged() | - |
450 | { | - |
451 | QMetaObject::activate(this, &staticMetaObject, 7, nullptr); | - |
452 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
453 | - | |
454 | // SIGNAL 8 | - |
455 | void QQuickScreenInfo::pixelDensityChanged() | - |
456 | { | - |
457 | QMetaObject::activate(this, &staticMetaObject, 8, nullptr); | - |
458 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
459 | - | |
460 | // SIGNAL 9 | - |
461 | void QQuickScreenInfo::devicePixelRatioChanged() | - |
462 | { | - |
463 | QMetaObject::activate(this, &staticMetaObject, 9, nullptr); | - |
464 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
465 | - | |
466 | // SIGNAL 10 | - |
467 | void QQuickScreenInfo::primaryOrientationChanged() | - |
468 | { | - |
469 | QMetaObject::activate(this, &staticMetaObject, 10, nullptr); | - |
470 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
471 | - | |
472 | // SIGNAL 11 | - |
473 | void QQuickScreenInfo::orientationChanged() | - |
474 | { | - |
475 | QMetaObject::activate(this, &staticMetaObject, 11, nullptr); | - |
476 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
477 | - | |
478 | // SIGNAL 12 | - |
479 | void QQuickScreenInfo::virtualXChanged() | - |
480 | { | - |
481 | QMetaObject::activate(this, &staticMetaObject, 12, nullptr); | - |
482 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
483 | - | |
484 | // SIGNAL 13 | - |
485 | void QQuickScreenInfo::virtualYChanged() | - |
486 | { | - |
487 | QMetaObject::activate(this, &staticMetaObject, 13, nullptr); | - |
488 | } executed 52 times by 5 tests: end of block Executed by:
| 52 |
489 | struct qt_meta_stringdata_QQuickScreenAttached_t { | - |
490 | QByteArrayData data[10]; | - |
491 | char stringdata0[136]; | - |
492 | }; | - |
493 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
494 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
495 | qptrdiff(offsetof(qt_meta_stringdata_QQuickScreenAttached_t, stringdata0) + ofs \ | - |
496 | - idx * sizeof(QByteArrayData)) \ | - |
497 | ) | - |
498 | static const qt_meta_stringdata_QQuickScreenAttached_t qt_meta_stringdata_QQuickScreenAttached = { | - |
499 | { | - |
500 | QT_MOC_LITERAL(0, 0, 20), // "QQuickScreenAttached" | - |
501 | QT_MOC_LITERAL(1, 21, 28), // "orientationUpdateMaskChanged" | - |
502 | QT_MOC_LITERAL(2, 50, 0), // "" | - |
503 | QT_MOC_LITERAL(3, 51, 13), // "screenChanged" | - |
504 | QT_MOC_LITERAL(4, 65, 8), // "QScreen*" | - |
505 | QT_MOC_LITERAL(5, 74, 12), // "angleBetween" | - |
506 | QT_MOC_LITERAL(6, 87, 1), // "a" | - |
507 | QT_MOC_LITERAL(7, 89, 1), // "b" | - |
508 | QT_MOC_LITERAL(8, 91, 21), // "orientationUpdateMask" | - |
509 | QT_MOC_LITERAL(9, 113, 22) // "Qt::ScreenOrientations" | - |
510 | - | |
511 | }, | - |
512 | "QQuickScreenAttached\0orientationUpdateMaskChanged\0" | - |
513 | "\0screenChanged\0QScreen*\0angleBetween\0" | - |
514 | "a\0b\0orientationUpdateMask\0" | - |
515 | "Qt::ScreenOrientations" | - |
516 | }; | - |
517 | #undef QT_MOC_LITERAL | - |
518 | - | |
519 | static const uint qt_meta_data_QQuickScreenAttached[] = { | - |
520 | - | |
521 | // content: | - |
522 | 7, // revision | - |
523 | 0, // classname | - |
524 | 0, 0, // classinfo | - |
525 | 3, 14, // methods | - |
526 | 1, 38, // properties | - |
527 | 0, 0, // enums/sets | - |
528 | 0, 0, // constructors | - |
529 | 0, // flags | - |
530 | 1, // signalCount | - |
531 | - | |
532 | // signals: name, argc, parameters, tag, flags | - |
533 | 1, 0, 29, 2, 0x06 /* Public */, | - |
534 | - | |
535 | // slots: name, argc, parameters, tag, flags | - |
536 | 3, 1, 30, 2, 0x09 /* Protected */, | - |
537 | - | |
538 | // methods: name, argc, parameters, tag, flags | - |
539 | 5, 2, 33, 2, 0x02 /* Public */, | - |
540 | - | |
541 | // signals: parameters | - |
542 | QMetaType::Void, | - |
543 | - | |
544 | // slots: parameters | - |
545 | QMetaType::Void, 0x80000000 | 4, 2, | - |
546 | - | |
547 | // methods: parameters | - |
548 | QMetaType::Int, QMetaType::Int, QMetaType::Int, 6, 7, | - |
549 | - | |
550 | // properties: name, type, flags | - |
551 | 8, 0x80000000 | 9, 0x0049510b, | - |
552 | - | |
553 | // properties: notify_signal_id | - |
554 | 0, | - |
555 | - | |
556 | 0 // eod | - |
557 | }; | - |
558 | - | |
559 | void QQuickScreenAttached::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
560 | { | - |
561 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
562 | QQuickScreenAttached *_t = static_cast<QQuickScreenAttached *>(_o); | - |
563 | Q_UNUSED(_t) | - |
564 | switch (_id) { | - |
565 | case 0: _t->orientationUpdateMaskChanged(); break; | - |
566 | case 1: _t->screenChanged((*reinterpret_cast< QScreen*(*)>(_a[1]))); break; | - |
567 | case 2: { int _r = _t->angleBetween((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); | - |
568 | if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break; | - |
569 | default: ; | - |
570 | } | - |
571 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
572 | int *result = reinterpret_cast<int *>(_a[0]); | - |
573 | { | - |
574 | using _t = void (QQuickScreenAttached::*)(); | - |
575 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickScreenAttached::orientationUpdateMaskChanged)) { | - |
576 | *result = 0; | - |
577 | return; | - |
578 | } | - |
579 | } | - |
580 | } | - |
581 | #ifndef QT_NO_PROPERTIES | - |
582 | else if (_c == QMetaObject::ReadProperty) { | - |
583 | QQuickScreenAttached *_t = static_cast<QQuickScreenAttached *>(_o); | - |
584 | Q_UNUSED(_t) | - |
585 | void *_v = _a[0]; | - |
586 | switch (_id) { | - |
587 | case 0: *reinterpret_cast< Qt::ScreenOrientations*>(_v) = _t->orientationUpdateMask(); break; | - |
588 | default: break; | - |
589 | } | - |
590 | } else if (_c == QMetaObject::WriteProperty) { | - |
591 | QQuickScreenAttached *_t = static_cast<QQuickScreenAttached *>(_o); | - |
592 | Q_UNUSED(_t) | - |
593 | void *_v = _a[0]; | - |
594 | switch (_id) { | - |
595 | case 0: _t->setOrientationUpdateMask(*reinterpret_cast< Qt::ScreenOrientations*>(_v)); break; | - |
596 | default: break; | - |
597 | } | - |
598 | } else if (_c == QMetaObject::ResetProperty) { | - |
599 | } | - |
600 | #endif // QT_NO_PROPERTIES | - |
601 | } | - |
602 | - | |
603 | QT_INIT_METAOBJECT const QMetaObject QQuickScreenAttached::staticMetaObject = { | - |
604 | { &QQuickScreenInfo::staticMetaObject, qt_meta_stringdata_QQuickScreenAttached.data, | - |
605 | qt_meta_data_QQuickScreenAttached, qt_static_metacall, nullptr, nullptr} | - |
606 | }; | - |
607 | - | |
608 | - | |
609 | const QMetaObject *QQuickScreenAttached::metaObject() const | - |
610 | { | - |
611 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
612 | } | - |
613 | - | |
614 | void *QQuickScreenAttached::qt_metacast(const char *_clname) | - |
615 | { | - |
616 | if (!_clname) return nullptr; | - |
617 | if (!strcmp(_clname, qt_meta_stringdata_QQuickScreenAttached.stringdata0)) | - |
618 | return static_cast<void*>(this); | - |
619 | return QQuickScreenInfo::qt_metacast(_clname); | - |
620 | } | - |
621 | - | |
622 | int QQuickScreenAttached::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
623 | { | - |
624 | _id = QQuickScreenInfo::qt_metacall(_c, _id, _a); | - |
625 | if (_id < 0) | - |
626 | return _id; | - |
627 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
628 | if (_id < 3) | - |
629 | qt_static_metacall(this, _c, _id, _a); | - |
630 | _id -= 3; | - |
631 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
632 | if (_id < 3) | - |
633 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
634 | _id -= 3; | - |
635 | } | - |
636 | #ifndef QT_NO_PROPERTIES | - |
637 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
638 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
639 | qt_static_metacall(this, _c, _id, _a); | - |
640 | _id -= 1; | - |
641 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
642 | _id -= 1; | - |
643 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
644 | _id -= 1; | - |
645 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
646 | _id -= 1; | - |
647 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
648 | _id -= 1; | - |
649 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
650 | _id -= 1; | - |
651 | } | - |
652 | #endif // QT_NO_PROPERTIES | - |
653 | return _id; | - |
654 | } | - |
655 | - | |
656 | // SIGNAL 0 | - |
657 | void QQuickScreenAttached::orientationUpdateMaskChanged() | - |
658 | { | - |
659 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
660 | } executed 6 times by 1 test: end of block Executed by:
| 6 |
661 | struct qt_meta_stringdata_QQuickScreen_t { | - |
662 | QByteArrayData data[1]; | - |
663 | char stringdata0[13]; | - |
664 | }; | - |
665 | #define QT_MOC_LITERAL(idx, ofs, len) \ | - |
666 | Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \ | - |
667 | qptrdiff(offsetof(qt_meta_stringdata_QQuickScreen_t, stringdata0) + ofs \ | - |
668 | - idx * sizeof(QByteArrayData)) \ | - |
669 | ) | - |
670 | static const qt_meta_stringdata_QQuickScreen_t qt_meta_stringdata_QQuickScreen = { | - |
671 | { | - |
672 | QT_MOC_LITERAL(0, 0, 12) // "QQuickScreen" | - |
673 | - | |
674 | }, | - |
675 | "QQuickScreen" | - |
676 | }; | - |
677 | #undef QT_MOC_LITERAL | - |
678 | - | |
679 | static const uint qt_meta_data_QQuickScreen[] = { | - |
680 | - | |
681 | // content: | - |
682 | 7, // revision | - |
683 | 0, // classname | - |
684 | 0, 0, // classinfo | - |
685 | 0, 0, // methods | - |
686 | 0, 0, // properties | - |
687 | 0, 0, // enums/sets | - |
688 | 0, 0, // constructors | - |
689 | 0, // flags | - |
690 | 0, // signalCount | - |
691 | - | |
692 | 0 // eod | - |
693 | }; | - |
694 | - | |
695 | void QQuickScreen::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
696 | { | - |
697 | Q_UNUSED(_o); | - |
698 | Q_UNUSED(_id); | - |
699 | Q_UNUSED(_c); | - |
700 | Q_UNUSED(_a); | - |
701 | } | - |
702 | - | |
703 | QT_INIT_METAOBJECT const QMetaObject QQuickScreen::staticMetaObject = { | - |
704 | { &QObject::staticMetaObject, qt_meta_stringdata_QQuickScreen.data, | - |
705 | qt_meta_data_QQuickScreen, qt_static_metacall, nullptr, nullptr} | - |
706 | }; | - |
707 | - | |
708 | - | |
709 | const QMetaObject *QQuickScreen::metaObject() const | - |
710 | { | - |
711 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
712 | } | - |
713 | - | |
714 | void *QQuickScreen::qt_metacast(const char *_clname) | - |
715 | { | - |
716 | if (!_clname) return nullptr; | - |
717 | if (!strcmp(_clname, qt_meta_stringdata_QQuickScreen.stringdata0)) | - |
718 | return static_cast<void*>(this); | - |
719 | return QObject::qt_metacast(_clname); | - |
720 | } | - |
721 | - | |
722 | int QQuickScreen::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
723 | { | - |
724 | _id = QObject::qt_metacall(_c, _id, _a); | - |
725 | return _id; | - |
726 | } | - |
727 | QT_WARNING_POP | - |
728 | QT_END_MOC_NAMESPACE | - |
Source code | Switch to Preprocessed file |