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