OpenCoverage

moc_qquickpointerdevicehandler_p.cpp

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

Generated by Squish Coco 4.2.0