1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'xform.h' |
3 | ** |
4 | ** Created by: The Qt Meta Object Compiler version 68 (Qt 6.0.0) |
5 | ** |
6 | ** WARNING! All changes made in this file will be lost! |
7 | *****************************************************************************/ |
8 | |
9 | #include <memory> |
10 | #include "xform.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'xform.h' doesn't include <QObject>." |
15 | #elif Q_MOC_OUTPUT_REVISION != 68 |
16 | #error "This file was generated using the moc from 6.0.0. It" |
17 | #error "cannot be used with the include files from this version of Qt." |
18 | #error "(The moc has changed too much.)" |
19 | #endif |
20 | |
21 | QT_BEGIN_MOC_NAMESPACE |
22 | QT_WARNING_PUSH |
23 | QT_WARNING_DISABLE_DEPRECATED |
24 | struct qt_meta_stringdata_XFormView_t { |
25 | const uint offsetsAndSize[60]; |
26 | char stringdata0[293]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_XFormView_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_XFormView_t qt_meta_stringdata_XFormView = { |
31 | { |
32 | QT_MOC_LITERAL(0, 9), // "XFormView" |
33 | QT_MOC_LITERAL(10, 15), // "rotationChanged" |
34 | QT_MOC_LITERAL(26, 0), // "" |
35 | QT_MOC_LITERAL(27, 8), // "rotation" |
36 | QT_MOC_LITERAL(36, 12), // "scaleChanged" |
37 | QT_MOC_LITERAL(49, 5), // "scale" |
38 | QT_MOC_LITERAL(55, 12), // "shearChanged" |
39 | QT_MOC_LITERAL(68, 5), // "shear" |
40 | QT_MOC_LITERAL(74, 12), // "setAnimation" |
41 | QT_MOC_LITERAL(87, 7), // "animate" |
42 | QT_MOC_LITERAL(95, 16), // "updateCtrlPoints" |
43 | QT_MOC_LITERAL(112, 14), // "changeRotation" |
44 | QT_MOC_LITERAL(127, 11), // "changeScale" |
45 | QT_MOC_LITERAL(139, 11), // "changeShear" |
46 | QT_MOC_LITERAL(151, 7), // "setText" |
47 | QT_MOC_LITERAL(159, 9), // "setPixmap" |
48 | QT_MOC_LITERAL(169, 7), // "setType" |
49 | QT_MOC_LITERAL(177, 9), // "XFormType" |
50 | QT_MOC_LITERAL(187, 1), // "t" |
51 | QT_MOC_LITERAL(189, 13), // "setVectorType" |
52 | QT_MOC_LITERAL(203, 13), // "setPixmapType" |
53 | QT_MOC_LITERAL(217, 11), // "setTextType" |
54 | QT_MOC_LITERAL(229, 5), // "reset" |
55 | QT_MOC_LITERAL(235, 4), // "type" |
56 | QT_MOC_LITERAL(240, 9), // "animation" |
57 | QT_MOC_LITERAL(250, 4), // "text" |
58 | QT_MOC_LITERAL(255, 6), // "pixmap" |
59 | QT_MOC_LITERAL(262, 10), // "VectorType" |
60 | QT_MOC_LITERAL(273, 10), // "PixmapType" |
61 | QT_MOC_LITERAL(284, 8) // "TextType" |
62 | |
63 | }, |
64 | "XFormView\0rotationChanged\0\0rotation\0" |
65 | "scaleChanged\0scale\0shearChanged\0shear\0" |
66 | "setAnimation\0animate\0updateCtrlPoints\0" |
67 | "changeRotation\0changeScale\0changeShear\0" |
68 | "setText\0setPixmap\0setType\0XFormType\0" |
69 | "t\0setVectorType\0setPixmapType\0setTextType\0" |
70 | "reset\0type\0animation\0text\0pixmap\0" |
71 | "VectorType\0PixmapType\0TextType" |
72 | }; |
73 | #undef QT_MOC_LITERAL |
74 | |
75 | static const uint qt_meta_data_XFormView[] = { |
76 | |
77 | // content: |
78 | 9, // revision |
79 | 0, // classname |
80 | 0, 0, // classinfo |
81 | 15, 14, // methods |
82 | 7, 141, // properties |
83 | 1, 176, // enums/sets |
84 | 0, 0, // constructors |
85 | 0, // flags |
86 | 3, // signalCount |
87 | |
88 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
89 | 1, 1, 104, 2, 0x06, 7 /* Public */, |
90 | 4, 1, 107, 2, 0x06, 9 /* Public */, |
91 | 6, 1, 110, 2, 0x06, 11 /* Public */, |
92 | |
93 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
94 | 8, 1, 113, 2, 0x0a, 13 /* Public */, |
95 | 10, 1, 116, 2, 0x0a, 15 /* Public */, |
96 | 11, 1, 119, 2, 0x0a, 17 /* Public */, |
97 | 12, 1, 122, 2, 0x0a, 19 /* Public */, |
98 | 13, 1, 125, 2, 0x0a, 21 /* Public */, |
99 | 14, 1, 128, 2, 0x0a, 23 /* Public */, |
100 | 15, 1, 131, 2, 0x0a, 25 /* Public */, |
101 | 16, 1, 134, 2, 0x0a, 27 /* Public */, |
102 | 19, 0, 137, 2, 0x0a, 29 /* Public */, |
103 | 20, 0, 138, 2, 0x0a, 30 /* Public */, |
104 | 21, 0, 139, 2, 0x0a, 31 /* Public */, |
105 | 22, 0, 140, 2, 0x0a, 32 /* Public */, |
106 | |
107 | // signals: parameters |
108 | QMetaType::Void, QMetaType::Int, 3, |
109 | QMetaType::Void, QMetaType::Int, 5, |
110 | QMetaType::Void, QMetaType::Int, 7, |
111 | |
112 | // slots: parameters |
113 | QMetaType::Void, QMetaType::Bool, 9, |
114 | QMetaType::Void, QMetaType::QPolygonF, 2, |
115 | QMetaType::Void, QMetaType::Int, 3, |
116 | QMetaType::Void, QMetaType::Int, 5, |
117 | QMetaType::Void, QMetaType::Int, 7, |
118 | QMetaType::Void, QMetaType::QString, 2, |
119 | QMetaType::Void, QMetaType::QPixmap, 2, |
120 | QMetaType::Void, 0x80000000 | 17, 18, |
121 | QMetaType::Void, |
122 | QMetaType::Void, |
123 | QMetaType::Void, |
124 | QMetaType::Void, |
125 | |
126 | // properties: name, type, flags |
127 | 23, 0x80000000 | 17, 0x0001510b, uint(-1), 0, |
128 | 24, QMetaType::Bool, 0x00015103, uint(-1), 0, |
129 | 7, QMetaType::QReal, 0x00015103, uint(-1), 0, |
130 | 3, QMetaType::QReal, 0x00015103, uint(-1), 0, |
131 | 5, QMetaType::QReal, 0x00015103, uint(-1), 0, |
132 | 25, QMetaType::QString, 0x00015103, uint(-1), 0, |
133 | 26, QMetaType::QPixmap, 0x00015103, uint(-1), 0, |
134 | |
135 | // enums: name, alias, flags, count, data |
136 | 17, 17, 0x0, 3, 181, |
137 | |
138 | // enum data: key, value |
139 | 27, uint(XFormView::VectorType), |
140 | 28, uint(XFormView::PixmapType), |
141 | 29, uint(XFormView::TextType), |
142 | |
143 | 0 // eod |
144 | }; |
145 | |
146 | void XFormView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
147 | { |
148 | if (_c == QMetaObject::InvokeMetaMethod) { |
149 | Q_ASSERT(staticMetaObject.cast(_o)); |
150 | auto *_t = static_cast<XFormView *>(_o); |
151 | Q_UNUSED(_t) |
152 | switch (_id) { |
153 | case 0: _t->rotationChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
154 | case 1: _t->scaleChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
155 | case 2: _t->shearChanged((*reinterpret_cast< int(*)>(_a[1]))); break; |
156 | case 3: _t->setAnimation((*reinterpret_cast< bool(*)>(_a[1]))); break; |
157 | case 4: _t->updateCtrlPoints((*reinterpret_cast< const QPolygonF(*)>(_a[1]))); break; |
158 | case 5: _t->changeRotation((*reinterpret_cast< int(*)>(_a[1]))); break; |
159 | case 6: _t->changeScale((*reinterpret_cast< int(*)>(_a[1]))); break; |
160 | case 7: _t->changeShear((*reinterpret_cast< int(*)>(_a[1]))); break; |
161 | case 8: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
162 | case 9: _t->setPixmap((*reinterpret_cast< const QPixmap(*)>(_a[1]))); break; |
163 | case 10: _t->setType((*reinterpret_cast< XFormType(*)>(_a[1]))); break; |
164 | case 11: _t->setVectorType(); break; |
165 | case 12: _t->setPixmapType(); break; |
166 | case 13: _t->setTextType(); break; |
167 | case 14: _t->reset(); break; |
168 | default: ; |
169 | } |
170 | } else if (_c == QMetaObject::IndexOfMethod) { |
171 | int *result = reinterpret_cast<int *>(_a[0]); |
172 | { |
173 | using _t = void (XFormView::*)(int ); |
174 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XFormView::rotationChanged)) { |
175 | *result = 0; |
176 | return; |
177 | } |
178 | } |
179 | { |
180 | using _t = void (XFormView::*)(int ); |
181 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XFormView::scaleChanged)) { |
182 | *result = 1; |
183 | return; |
184 | } |
185 | } |
186 | { |
187 | using _t = void (XFormView::*)(int ); |
188 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&XFormView::shearChanged)) { |
189 | *result = 2; |
190 | return; |
191 | } |
192 | } |
193 | } |
194 | #ifndef QT_NO_PROPERTIES |
195 | else if (_c == QMetaObject::ReadProperty) { |
196 | Q_ASSERT(staticMetaObject.cast(_o)); |
197 | auto *_t = static_cast<XFormView *>(_o); |
198 | Q_UNUSED(_t) |
199 | void *_v = _a[0]; |
200 | switch (_id) { |
201 | case 0: *reinterpret_cast< XFormType*>(_v) = _t->type(); break; |
202 | case 1: *reinterpret_cast< bool*>(_v) = _t->animation(); break; |
203 | case 2: *reinterpret_cast< qreal*>(_v) = _t->shear(); break; |
204 | case 3: *reinterpret_cast< qreal*>(_v) = _t->rotation(); break; |
205 | case 4: *reinterpret_cast< qreal*>(_v) = _t->scale(); break; |
206 | case 5: *reinterpret_cast< QString*>(_v) = _t->text(); break; |
207 | case 6: *reinterpret_cast< QPixmap*>(_v) = _t->pixmap(); break; |
208 | default: break; |
209 | } |
210 | } else if (_c == QMetaObject::WriteProperty) { |
211 | Q_ASSERT(staticMetaObject.cast(_o)); |
212 | auto *_t = static_cast<XFormView *>(_o); |
213 | Q_UNUSED(_t) |
214 | void *_v = _a[0]; |
215 | switch (_id) { |
216 | case 0: _t->setType(*reinterpret_cast< XFormType*>(_v)); break; |
217 | case 1: _t->setAnimation(*reinterpret_cast< bool*>(_v)); break; |
218 | case 2: _t->setShear(*reinterpret_cast< qreal*>(_v)); break; |
219 | case 3: _t->setRotation(*reinterpret_cast< qreal*>(_v)); break; |
220 | case 4: _t->setScale(*reinterpret_cast< qreal*>(_v)); break; |
221 | case 5: _t->setText(*reinterpret_cast< QString*>(_v)); break; |
222 | case 6: _t->setPixmap(*reinterpret_cast< QPixmap*>(_v)); break; |
223 | default: break; |
224 | } |
225 | } else if (_c == QMetaObject::ResetProperty) { |
226 | } else if (_c == QMetaObject::BindableProperty) { |
227 | } |
228 | #endif // QT_NO_PROPERTIES |
229 | } |
230 | |
231 | const QMetaObject XFormView::staticMetaObject = { { |
232 | QMetaObject::SuperData::link<ArthurFrame::staticMetaObject>(), |
233 | qt_meta_stringdata_XFormView.offsetsAndSize, |
234 | qt_meta_data_XFormView, |
235 | qt_static_metacall, |
236 | nullptr, |
237 | qt_incomplete_metaTypeArray<qt_meta_stringdata_XFormView_t |
238 | , QtPrivate::TypeAndForceComplete<XFormType, std::true_type>, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<QPixmap, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type> |
239 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QPolygonF &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QString &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QPixmap &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<XFormType, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
240 | |
241 | |
242 | >, |
243 | nullptr |
244 | } }; |
245 | |
246 | |
247 | const QMetaObject *XFormView::metaObject() const |
248 | { |
249 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
250 | } |
251 | |
252 | void *XFormView::qt_metacast(const char *_clname) |
253 | { |
254 | if (!_clname) return nullptr; |
255 | if (!strcmp(_clname, qt_meta_stringdata_XFormView.stringdata0)) |
256 | return static_cast<void*>(this); |
257 | return ArthurFrame::qt_metacast(_clname); |
258 | } |
259 | |
260 | int XFormView::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
261 | { |
262 | _id = ArthurFrame::qt_metacall(_c, _id, _a); |
263 | if (_id < 0) |
264 | return _id; |
265 | if (_c == QMetaObject::InvokeMetaMethod) { |
266 | if (_id < 15) |
267 | qt_static_metacall(this, _c, _id, _a); |
268 | _id -= 15; |
269 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
270 | if (_id < 15) |
271 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
272 | _id -= 15; |
273 | } |
274 | #ifndef QT_NO_PROPERTIES |
275 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
276 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
277 | || _c == QMetaObject::RegisterPropertyMetaType) { |
278 | qt_static_metacall(this, _c, _id, _a); |
279 | _id -= 7; |
280 | } |
281 | #endif // QT_NO_PROPERTIES |
282 | return _id; |
283 | } |
284 | |
285 | // SIGNAL 0 |
286 | void XFormView::rotationChanged(int _t1) |
287 | { |
288 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
289 | QMetaObject::activate(this, &staticMetaObject, 0, _a); |
290 | } |
291 | |
292 | // SIGNAL 1 |
293 | void XFormView::scaleChanged(int _t1) |
294 | { |
295 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
296 | QMetaObject::activate(this, &staticMetaObject, 1, _a); |
297 | } |
298 | |
299 | // SIGNAL 2 |
300 | void XFormView::shearChanged(int _t1) |
301 | { |
302 | void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) }; |
303 | QMetaObject::activate(this, &staticMetaObject, 2, _a); |
304 | } |
305 | struct qt_meta_stringdata_XFormWidget_t { |
306 | const uint offsetsAndSize[2]; |
307 | char stringdata0[12]; |
308 | }; |
309 | #define QT_MOC_LITERAL(ofs, len) \ |
310 | uint(offsetof(qt_meta_stringdata_XFormWidget_t, stringdata0) + ofs), len |
311 | static const qt_meta_stringdata_XFormWidget_t qt_meta_stringdata_XFormWidget = { |
312 | { |
313 | QT_MOC_LITERAL(0, 11) // "XFormWidget" |
314 | |
315 | }, |
316 | "XFormWidget" |
317 | }; |
318 | #undef QT_MOC_LITERAL |
319 | |
320 | static const uint qt_meta_data_XFormWidget[] = { |
321 | |
322 | // content: |
323 | 9, // revision |
324 | 0, // classname |
325 | 0, 0, // classinfo |
326 | 0, 0, // methods |
327 | 0, 0, // properties |
328 | 0, 0, // enums/sets |
329 | 0, 0, // constructors |
330 | 0, // flags |
331 | 0, // signalCount |
332 | |
333 | 0 // eod |
334 | }; |
335 | |
336 | void XFormWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
337 | { |
338 | Q_UNUSED(_o); |
339 | Q_UNUSED(_id); |
340 | Q_UNUSED(_c); |
341 | Q_UNUSED(_a); |
342 | } |
343 | |
344 | const QMetaObject XFormWidget::staticMetaObject = { { |
345 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
346 | qt_meta_stringdata_XFormWidget.offsetsAndSize, |
347 | qt_meta_data_XFormWidget, |
348 | qt_static_metacall, |
349 | nullptr, |
350 | nullptr, |
351 | nullptr |
352 | } }; |
353 | |
354 | |
355 | const QMetaObject *XFormWidget::metaObject() const |
356 | { |
357 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
358 | } |
359 | |
360 | void *XFormWidget::qt_metacast(const char *_clname) |
361 | { |
362 | if (!_clname) return nullptr; |
363 | if (!strcmp(_clname, qt_meta_stringdata_XFormWidget.stringdata0)) |
364 | return static_cast<void*>(this); |
365 | return QWidget::qt_metacast(_clname); |
366 | } |
367 | |
368 | int XFormWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
369 | { |
370 | _id = QWidget::qt_metacall(_c, _id, _a); |
371 | return _id; |
372 | } |
373 | QT_WARNING_POP |
374 | QT_END_MOC_NAMESPACE |
375 | |