Absolute File Name: | /home/opencoverage/opencoverage/guest-scripts/qtdeclarative/src/qtdeclarative/src/quick/.moc/moc_qquicksinglepointhandler_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_QQuickSinglePointHandler_t { | - |
9 | QByteArrayData data[6]; | - |
10 | char stringdata0[87]; | - |
11 | }; | - |
12 | - | |
13 | - | |
14 | - | |
15 | - | |
16 | - | |
17 | static const qt_meta_stringdata_QQuickSinglePointHandler_t qt_meta_stringdata_QQuickSinglePointHandler = { | - |
18 | { | - |
19 | { { { -1 } }, 24, 0, 0, qptrdiff( | - |
20 | __builtin_offsetof ( | - |
21 | qt_meta_stringdata_QQuickSinglePointHandler_t | - |
22 | , | - |
23 | stringdata0 | - |
24 | ) | - |
25 | + 0 - 0 * sizeof(QByteArrayData)) }, | - |
26 | { { { -1 } }, 12, 0, 0, qptrdiff( | - |
27 | __builtin_offsetof ( | - |
28 | qt_meta_stringdata_QQuickSinglePointHandler_t | - |
29 | , | - |
30 | stringdata0 | - |
31 | ) | - |
32 | + 25 - 1 * sizeof(QByteArrayData)) }, | - |
33 | { { { -1 } }, 0, 0, 0, qptrdiff( | - |
34 | __builtin_offsetof ( | - |
35 | qt_meta_stringdata_QQuickSinglePointHandler_t | - |
36 | , | - |
37 | stringdata0 | - |
38 | ) | - |
39 | + 38 - 2 * sizeof(QByteArrayData)) }, | - |
40 | { { { -1 } }, 22, 0, 0, qptrdiff( | - |
41 | __builtin_offsetof ( | - |
42 | qt_meta_stringdata_QQuickSinglePointHandler_t | - |
43 | , | - |
44 | stringdata0 | - |
45 | ) | - |
46 | + 39 - 3 * sizeof(QByteArrayData)) }, | - |
47 | { { { -1 } }, 5, 0, 0, qptrdiff( | - |
48 | __builtin_offsetof ( | - |
49 | qt_meta_stringdata_QQuickSinglePointHandler_t | - |
50 | , | - |
51 | stringdata0 | - |
52 | ) | - |
53 | + 62 - 4 * sizeof(QByteArrayData)) }, | - |
54 | { { { -1 } }, 18, 0, 0, qptrdiff( | - |
55 | __builtin_offsetof ( | - |
56 | qt_meta_stringdata_QQuickSinglePointHandler_t | - |
57 | , | - |
58 | stringdata0 | - |
59 | ) | - |
60 | + 68 - 5 * sizeof(QByteArrayData)) } | - |
61 | - | |
62 | }, | - |
63 | "QQuickSinglePointHandler\0pointChanged\0" | - |
64 | "\0singlePointGrabChanged\0point\0" | - |
65 | "QQuickHandlerPoint" | - |
66 | }; | - |
67 | - | |
68 | - | |
69 | static const uint qt_meta_data_QQuickSinglePointHandler[] = { | - |
70 | - | |
71 | - | |
72 | 7, | - |
73 | 0, | - |
74 | 0, 0, | - |
75 | 2, 14, | - |
76 | 1, 26, | - |
77 | 0, 0, | - |
78 | 0, 0, | - |
79 | 0, | - |
80 | 2, | - |
81 | - | |
82 | - | |
83 | 1, 0, 24, 2, 0x06 , | - |
84 | 3, 0, 25, 2, 0x06 , | - |
85 | - | |
86 | - | |
87 | QMetaType::Void, | - |
88 | QMetaType::Void, | - |
89 | - | |
90 | - | |
91 | 4, 0x80000000 | 5, 0x00495009, | - |
92 | - | |
93 | - | |
94 | 0, | - |
95 | - | |
96 | 0 | - |
97 | }; | - |
98 | - | |
99 | void QQuickSinglePointHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) | - |
100 | { | - |
101 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
102 | QQuickSinglePointHandler *_t = static_cast<QQuickSinglePointHandler *>(_o); | - |
103 | (void)_t; | - |
104 | switch (_id) { | - |
105 | case 0: _t->pointChanged(); break; | - |
106 | case 1: _t->singlePointGrabChanged(); break; | - |
107 | default: ; | - |
108 | } | - |
109 | } else if (_c == QMetaObject::IndexOfMethod) { | - |
110 | int *result = reinterpret_cast<int *>(_a[0]); | - |
111 | { | - |
112 | using _t = void (QQuickSinglePointHandler::*)(); | - |
113 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickSinglePointHandler::pointChanged)) { | - |
114 | *result = 0; | - |
115 | return; | - |
116 | } | - |
117 | } | - |
118 | { | - |
119 | using _t = void (QQuickSinglePointHandler::*)(); | - |
120 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QQuickSinglePointHandler::singlePointGrabChanged)) { | - |
121 | *result = 1; | - |
122 | return; | - |
123 | } | - |
124 | } | - |
125 | } | - |
126 | - | |
127 | else if (_c == QMetaObject::ReadProperty) { | - |
128 | QQuickSinglePointHandler *_t = static_cast<QQuickSinglePointHandler *>(_o); | - |
129 | (void)_t; | - |
130 | void *_v = _a[0]; | - |
131 | switch (_id) { | - |
132 | case 0: *reinterpret_cast< QQuickHandlerPoint*>(_v) = _t->point(); break; | - |
133 | default: break; | - |
134 | } | - |
135 | } else if (_c == QMetaObject::WriteProperty) { | - |
136 | } else if (_c == QMetaObject::ResetProperty) { | - |
137 | } | - |
138 | - | |
139 | (void)_a;; | - |
140 | } | - |
141 | - | |
142 | const QMetaObject QQuickSinglePointHandler::staticMetaObject = { | - |
143 | { &QQuickPointerDeviceHandler::staticMetaObject, qt_meta_stringdata_QQuickSinglePointHandler.data, | - |
144 | qt_meta_data_QQuickSinglePointHandler, qt_static_metacall, nullptr, nullptr} | - |
145 | }; | - |
146 | - | |
147 | - | |
148 | const QMetaObject *QQuickSinglePointHandler::metaObject() const | - |
149 | { | - |
150 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; | - |
151 | } | - |
152 | - | |
153 | void *QQuickSinglePointHandler::qt_metacast(const char *_clname) | - |
154 | { | - |
155 | if (!_clname) return nullptr; | - |
156 | if (!strcmp(_clname, qt_meta_stringdata_QQuickSinglePointHandler.stringdata0)) | - |
157 | return static_cast<void*>(this); | - |
158 | return QQuickPointerDeviceHandler::qt_metacast(_clname); | - |
159 | } | - |
160 | - | |
161 | int QQuickSinglePointHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a) | - |
162 | { | - |
163 | _id = QQuickPointerDeviceHandler::qt_metacall(_c, _id, _a); | - |
164 | if (_id < 0) | - |
165 | return _id; | - |
166 | if (_c == QMetaObject::InvokeMetaMethod) { | - |
167 | if (_id < 2) | - |
168 | qt_static_metacall(this, _c, _id, _a); | - |
169 | _id -= 2; | - |
170 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { | - |
171 | if (_id < 2) | - |
172 | *reinterpret_cast<int*>(_a[0]) = -1; | - |
173 | _id -= 2; | - |
174 | } | - |
175 | - | |
176 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty | - |
177 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) { | - |
178 | qt_static_metacall(this, _c, _id, _a); | - |
179 | _id -= 1; | - |
180 | } else if (_c == QMetaObject::QueryPropertyDesignable) { | - |
181 | _id -= 1; | - |
182 | } else if (_c == QMetaObject::QueryPropertyScriptable) { | - |
183 | _id -= 1; | - |
184 | } else if (_c == QMetaObject::QueryPropertyStored) { | - |
185 | _id -= 1; | - |
186 | } else if (_c == QMetaObject::QueryPropertyEditable) { | - |
187 | _id -= 1; | - |
188 | } else if (_c == QMetaObject::QueryPropertyUser) { | - |
189 | _id -= 1; | - |
190 | } | - |
191 | - | |
192 | return _id; | - |
193 | } | - |
194 | - | |
195 | - | |
196 | void QQuickSinglePointHandler::pointChanged() | - |
197 | { | - |
198 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); | - |
199 | } executed 1712 times by 4 tests: end of block Executed by:
| 1712 |
200 | - | |
201 | - | |
202 | void QQuickSinglePointHandler::singlePointGrabChanged() | - |
203 | { | - |
204 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); | - |
205 | } executed 448 times by 4 tests: end of block Executed by:
| 448 |
206 | - | |
207 | #pragma GCC diagnostic pop | - |
208 | - | |
209 | - | |
Switch to Source code | Preprocessed file |