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