1 | /**************************************************************************** |
2 | ** Meta object code from reading C++ file 'pathdeform.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 "pathdeform.h" |
11 | #include <QtCore/qbytearray.h> |
12 | #include <QtCore/qmetatype.h> |
13 | #if !defined(Q_MOC_OUTPUT_REVISION) |
14 | #error "The header file 'pathdeform.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_PathDeformRenderer_t { |
25 | const uint offsetsAndSize[26]; |
26 | char stringdata0[123]; |
27 | }; |
28 | #define QT_MOC_LITERAL(ofs, len) \ |
29 | uint(offsetof(qt_meta_stringdata_PathDeformRenderer_t, stringdata0) + ofs), len |
30 | static const qt_meta_stringdata_PathDeformRenderer_t qt_meta_stringdata_PathDeformRenderer = { |
31 | { |
32 | QT_MOC_LITERAL(0, 18), // "PathDeformRenderer" |
33 | QT_MOC_LITERAL(19, 7), // "clicked" |
34 | QT_MOC_LITERAL(27, 0), // "" |
35 | QT_MOC_LITERAL(28, 9), // "setRadius" |
36 | QT_MOC_LITERAL(38, 6), // "radius" |
37 | QT_MOC_LITERAL(45, 11), // "setFontSize" |
38 | QT_MOC_LITERAL(57, 8), // "fontSize" |
39 | QT_MOC_LITERAL(66, 7), // "setText" |
40 | QT_MOC_LITERAL(74, 4), // "text" |
41 | QT_MOC_LITERAL(79, 12), // "setIntensity" |
42 | QT_MOC_LITERAL(92, 9), // "intensity" |
43 | QT_MOC_LITERAL(102, 11), // "setAnimated" |
44 | QT_MOC_LITERAL(114, 8) // "animated" |
45 | |
46 | }, |
47 | "PathDeformRenderer\0clicked\0\0setRadius\0" |
48 | "radius\0setFontSize\0fontSize\0setText\0" |
49 | "text\0setIntensity\0intensity\0setAnimated\0" |
50 | "animated" |
51 | }; |
52 | #undef QT_MOC_LITERAL |
53 | |
54 | static const uint qt_meta_data_PathDeformRenderer[] = { |
55 | |
56 | // content: |
57 | 9, // revision |
58 | 0, // classname |
59 | 0, 0, // classinfo |
60 | 6, 14, // methods |
61 | 5, 66, // properties |
62 | 0, 0, // enums/sets |
63 | 0, 0, // constructors |
64 | 0, // flags |
65 | 1, // signalCount |
66 | |
67 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
68 | 1, 0, 50, 2, 0x06, 5 /* Public */, |
69 | |
70 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
71 | 3, 1, 51, 2, 0x0a, 6 /* Public */, |
72 | 5, 1, 54, 2, 0x0a, 8 /* Public */, |
73 | 7, 1, 57, 2, 0x0a, 10 /* Public */, |
74 | 9, 1, 60, 2, 0x0a, 12 /* Public */, |
75 | 11, 1, 63, 2, 0x0a, 14 /* Public */, |
76 | |
77 | // signals: parameters |
78 | QMetaType::Void, |
79 | |
80 | // slots: parameters |
81 | QMetaType::Void, QMetaType::Int, 4, |
82 | QMetaType::Void, QMetaType::Int, 6, |
83 | QMetaType::Void, QMetaType::QString, 8, |
84 | QMetaType::Void, QMetaType::Int, 10, |
85 | QMetaType::Void, QMetaType::Bool, 12, |
86 | |
87 | // properties: name, type, flags |
88 | 12, QMetaType::Bool, 0x00015103, uint(-1), 0, |
89 | 4, QMetaType::Int, 0x00015103, uint(-1), 0, |
90 | 6, QMetaType::Int, 0x00015103, uint(-1), 0, |
91 | 10, QMetaType::Int, 0x00015103, uint(-1), 0, |
92 | 8, QMetaType::QString, 0x00015103, uint(-1), 0, |
93 | |
94 | 0 // eod |
95 | }; |
96 | |
97 | void PathDeformRenderer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
98 | { |
99 | if (_c == QMetaObject::InvokeMetaMethod) { |
100 | Q_ASSERT(staticMetaObject.cast(_o)); |
101 | auto *_t = static_cast<PathDeformRenderer *>(_o); |
102 | Q_UNUSED(_t) |
103 | switch (_id) { |
104 | case 0: _t->clicked(); break; |
105 | case 1: _t->setRadius((*reinterpret_cast< int(*)>(_a[1]))); break; |
106 | case 2: _t->setFontSize((*reinterpret_cast< int(*)>(_a[1]))); break; |
107 | case 3: _t->setText((*reinterpret_cast< const QString(*)>(_a[1]))); break; |
108 | case 4: _t->setIntensity((*reinterpret_cast< int(*)>(_a[1]))); break; |
109 | case 5: _t->setAnimated((*reinterpret_cast< bool(*)>(_a[1]))); break; |
110 | default: ; |
111 | } |
112 | } else if (_c == QMetaObject::IndexOfMethod) { |
113 | int *result = reinterpret_cast<int *>(_a[0]); |
114 | { |
115 | using _t = void (PathDeformRenderer::*)(); |
116 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PathDeformRenderer::clicked)) { |
117 | *result = 0; |
118 | return; |
119 | } |
120 | } |
121 | } |
122 | #ifndef QT_NO_PROPERTIES |
123 | else if (_c == QMetaObject::ReadProperty) { |
124 | Q_ASSERT(staticMetaObject.cast(_o)); |
125 | auto *_t = static_cast<PathDeformRenderer *>(_o); |
126 | Q_UNUSED(_t) |
127 | void *_v = _a[0]; |
128 | switch (_id) { |
129 | case 0: *reinterpret_cast< bool*>(_v) = _t->animated(); break; |
130 | case 1: *reinterpret_cast< int*>(_v) = _t->radius(); break; |
131 | case 2: *reinterpret_cast< int*>(_v) = _t->fontSize(); break; |
132 | case 3: *reinterpret_cast< int*>(_v) = _t->intensity(); break; |
133 | case 4: *reinterpret_cast< QString*>(_v) = _t->text(); break; |
134 | default: break; |
135 | } |
136 | } else if (_c == QMetaObject::WriteProperty) { |
137 | Q_ASSERT(staticMetaObject.cast(_o)); |
138 | auto *_t = static_cast<PathDeformRenderer *>(_o); |
139 | Q_UNUSED(_t) |
140 | void *_v = _a[0]; |
141 | switch (_id) { |
142 | case 0: _t->setAnimated(*reinterpret_cast< bool*>(_v)); break; |
143 | case 1: _t->setRadius(*reinterpret_cast< int*>(_v)); break; |
144 | case 2: _t->setFontSize(*reinterpret_cast< int*>(_v)); break; |
145 | case 3: _t->setIntensity(*reinterpret_cast< int*>(_v)); break; |
146 | case 4: _t->setText(*reinterpret_cast< QString*>(_v)); break; |
147 | default: break; |
148 | } |
149 | } else if (_c == QMetaObject::ResetProperty) { |
150 | } else if (_c == QMetaObject::BindableProperty) { |
151 | } |
152 | #endif // QT_NO_PROPERTIES |
153 | } |
154 | |
155 | const QMetaObject PathDeformRenderer::staticMetaObject = { { |
156 | QMetaObject::SuperData::link<ArthurFrame::staticMetaObject>(), |
157 | qt_meta_stringdata_PathDeformRenderer.offsetsAndSize, |
158 | qt_meta_data_PathDeformRenderer, |
159 | qt_static_metacall, |
160 | nullptr, |
161 | qt_incomplete_metaTypeArray<qt_meta_stringdata_PathDeformRenderer_t |
162 | , QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<int, std::true_type>, QtPrivate::TypeAndForceComplete<QString, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
163 | , 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<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type> |
164 | |
165 | |
166 | >, |
167 | nullptr |
168 | } }; |
169 | |
170 | |
171 | const QMetaObject *PathDeformRenderer::metaObject() const |
172 | { |
173 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
174 | } |
175 | |
176 | void *PathDeformRenderer::qt_metacast(const char *_clname) |
177 | { |
178 | if (!_clname) return nullptr; |
179 | if (!strcmp(_clname, qt_meta_stringdata_PathDeformRenderer.stringdata0)) |
180 | return static_cast<void*>(this); |
181 | return ArthurFrame::qt_metacast(_clname); |
182 | } |
183 | |
184 | int PathDeformRenderer::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
185 | { |
186 | _id = ArthurFrame::qt_metacall(_c, _id, _a); |
187 | if (_id < 0) |
188 | return _id; |
189 | if (_c == QMetaObject::InvokeMetaMethod) { |
190 | if (_id < 6) |
191 | qt_static_metacall(this, _c, _id, _a); |
192 | _id -= 6; |
193 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
194 | if (_id < 6) |
195 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
196 | _id -= 6; |
197 | } |
198 | #ifndef QT_NO_PROPERTIES |
199 | else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty |
200 | || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty |
201 | || _c == QMetaObject::RegisterPropertyMetaType) { |
202 | qt_static_metacall(this, _c, _id, _a); |
203 | _id -= 5; |
204 | } |
205 | #endif // QT_NO_PROPERTIES |
206 | return _id; |
207 | } |
208 | |
209 | // SIGNAL 0 |
210 | void PathDeformRenderer::clicked() |
211 | { |
212 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
213 | } |
214 | struct qt_meta_stringdata_PathDeformControls_t { |
215 | const uint offsetsAndSize[8]; |
216 | char stringdata0[42]; |
217 | }; |
218 | #define QT_MOC_LITERAL(ofs, len) \ |
219 | uint(offsetof(qt_meta_stringdata_PathDeformControls_t, stringdata0) + ofs), len |
220 | static const qt_meta_stringdata_PathDeformControls_t qt_meta_stringdata_PathDeformControls = { |
221 | { |
222 | QT_MOC_LITERAL(0, 18), // "PathDeformControls" |
223 | QT_MOC_LITERAL(19, 9), // "okPressed" |
224 | QT_MOC_LITERAL(29, 0), // "" |
225 | QT_MOC_LITERAL(30, 11) // "quitPressed" |
226 | |
227 | }, |
228 | "PathDeformControls\0okPressed\0\0quitPressed" |
229 | }; |
230 | #undef QT_MOC_LITERAL |
231 | |
232 | static const uint qt_meta_data_PathDeformControls[] = { |
233 | |
234 | // content: |
235 | 9, // revision |
236 | 0, // classname |
237 | 0, 0, // classinfo |
238 | 2, 14, // methods |
239 | 0, 0, // properties |
240 | 0, 0, // enums/sets |
241 | 0, 0, // constructors |
242 | 0, // flags |
243 | 2, // signalCount |
244 | |
245 | // signals: name, argc, parameters, tag, flags, initial metatype offsets |
246 | 1, 0, 26, 2, 0x06, 0 /* Public */, |
247 | 3, 0, 27, 2, 0x06, 1 /* Public */, |
248 | |
249 | // signals: parameters |
250 | QMetaType::Void, |
251 | QMetaType::Void, |
252 | |
253 | 0 // eod |
254 | }; |
255 | |
256 | void PathDeformControls::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
257 | { |
258 | if (_c == QMetaObject::InvokeMetaMethod) { |
259 | Q_ASSERT(staticMetaObject.cast(_o)); |
260 | auto *_t = static_cast<PathDeformControls *>(_o); |
261 | Q_UNUSED(_t) |
262 | switch (_id) { |
263 | case 0: _t->okPressed(); break; |
264 | case 1: _t->quitPressed(); break; |
265 | default: ; |
266 | } |
267 | } else if (_c == QMetaObject::IndexOfMethod) { |
268 | int *result = reinterpret_cast<int *>(_a[0]); |
269 | { |
270 | using _t = void (PathDeformControls::*)(); |
271 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PathDeformControls::okPressed)) { |
272 | *result = 0; |
273 | return; |
274 | } |
275 | } |
276 | { |
277 | using _t = void (PathDeformControls::*)(); |
278 | if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PathDeformControls::quitPressed)) { |
279 | *result = 1; |
280 | return; |
281 | } |
282 | } |
283 | } |
284 | Q_UNUSED(_a); |
285 | } |
286 | |
287 | const QMetaObject PathDeformControls::staticMetaObject = { { |
288 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
289 | qt_meta_stringdata_PathDeformControls.offsetsAndSize, |
290 | qt_meta_data_PathDeformControls, |
291 | qt_static_metacall, |
292 | nullptr, |
293 | qt_incomplete_metaTypeArray<qt_meta_stringdata_PathDeformControls_t |
294 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
295 | |
296 | |
297 | |
298 | >, |
299 | nullptr |
300 | } }; |
301 | |
302 | |
303 | const QMetaObject *PathDeformControls::metaObject() const |
304 | { |
305 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
306 | } |
307 | |
308 | void *PathDeformControls::qt_metacast(const char *_clname) |
309 | { |
310 | if (!_clname) return nullptr; |
311 | if (!strcmp(_clname, qt_meta_stringdata_PathDeformControls.stringdata0)) |
312 | return static_cast<void*>(this); |
313 | return QWidget::qt_metacast(_clname); |
314 | } |
315 | |
316 | int PathDeformControls::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
317 | { |
318 | _id = QWidget::qt_metacall(_c, _id, _a); |
319 | if (_id < 0) |
320 | return _id; |
321 | if (_c == QMetaObject::InvokeMetaMethod) { |
322 | if (_id < 2) |
323 | qt_static_metacall(this, _c, _id, _a); |
324 | _id -= 2; |
325 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
326 | if (_id < 2) |
327 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
328 | _id -= 2; |
329 | } |
330 | return _id; |
331 | } |
332 | |
333 | // SIGNAL 0 |
334 | void PathDeformControls::okPressed() |
335 | { |
336 | QMetaObject::activate(this, &staticMetaObject, 0, nullptr); |
337 | } |
338 | |
339 | // SIGNAL 1 |
340 | void PathDeformControls::quitPressed() |
341 | { |
342 | QMetaObject::activate(this, &staticMetaObject, 1, nullptr); |
343 | } |
344 | struct qt_meta_stringdata_PathDeformWidget_t { |
345 | const uint offsetsAndSize[8]; |
346 | char stringdata0[44]; |
347 | }; |
348 | #define QT_MOC_LITERAL(ofs, len) \ |
349 | uint(offsetof(qt_meta_stringdata_PathDeformWidget_t, stringdata0) + ofs), len |
350 | static const qt_meta_stringdata_PathDeformWidget_t qt_meta_stringdata_PathDeformWidget = { |
351 | { |
352 | QT_MOC_LITERAL(0, 16), // "PathDeformWidget" |
353 | QT_MOC_LITERAL(17, 12), // "showControls" |
354 | QT_MOC_LITERAL(30, 0), // "" |
355 | QT_MOC_LITERAL(31, 12) // "hideControls" |
356 | |
357 | }, |
358 | "PathDeformWidget\0showControls\0\0" |
359 | "hideControls" |
360 | }; |
361 | #undef QT_MOC_LITERAL |
362 | |
363 | static const uint qt_meta_data_PathDeformWidget[] = { |
364 | |
365 | // content: |
366 | 9, // revision |
367 | 0, // classname |
368 | 0, 0, // classinfo |
369 | 2, 14, // methods |
370 | 0, 0, // properties |
371 | 0, 0, // enums/sets |
372 | 0, 0, // constructors |
373 | 0, // flags |
374 | 0, // signalCount |
375 | |
376 | // slots: name, argc, parameters, tag, flags, initial metatype offsets |
377 | 1, 0, 26, 2, 0x08, 0 /* Private */, |
378 | 3, 0, 27, 2, 0x08, 1 /* Private */, |
379 | |
380 | // slots: parameters |
381 | QMetaType::Void, |
382 | QMetaType::Void, |
383 | |
384 | 0 // eod |
385 | }; |
386 | |
387 | void PathDeformWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a) |
388 | { |
389 | if (_c == QMetaObject::InvokeMetaMethod) { |
390 | Q_ASSERT(staticMetaObject.cast(_o)); |
391 | auto *_t = static_cast<PathDeformWidget *>(_o); |
392 | Q_UNUSED(_t) |
393 | switch (_id) { |
394 | case 0: _t->showControls(); break; |
395 | case 1: _t->hideControls(); break; |
396 | default: ; |
397 | } |
398 | } |
399 | Q_UNUSED(_a); |
400 | } |
401 | |
402 | const QMetaObject PathDeformWidget::staticMetaObject = { { |
403 | QMetaObject::SuperData::link<QWidget::staticMetaObject>(), |
404 | qt_meta_stringdata_PathDeformWidget.offsetsAndSize, |
405 | qt_meta_data_PathDeformWidget, |
406 | qt_static_metacall, |
407 | nullptr, |
408 | qt_incomplete_metaTypeArray<qt_meta_stringdata_PathDeformWidget_t |
409 | |
410 | , QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type> |
411 | |
412 | |
413 | >, |
414 | nullptr |
415 | } }; |
416 | |
417 | |
418 | const QMetaObject *PathDeformWidget::metaObject() const |
419 | { |
420 | return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject; |
421 | } |
422 | |
423 | void *PathDeformWidget::qt_metacast(const char *_clname) |
424 | { |
425 | if (!_clname) return nullptr; |
426 | if (!strcmp(_clname, qt_meta_stringdata_PathDeformWidget.stringdata0)) |
427 | return static_cast<void*>(this); |
428 | return QWidget::qt_metacast(_clname); |
429 | } |
430 | |
431 | int PathDeformWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a) |
432 | { |
433 | _id = QWidget::qt_metacall(_c, _id, _a); |
434 | if (_id < 0) |
435 | return _id; |
436 | if (_c == QMetaObject::InvokeMetaMethod) { |
437 | if (_id < 2) |
438 | qt_static_metacall(this, _c, _id, _a); |
439 | _id -= 2; |
440 | } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) { |
441 | if (_id < 2) |
442 | *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); |
443 | _id -= 2; |
444 | } |
445 | return _id; |
446 | } |
447 | QT_WARNING_POP |
448 | QT_END_MOC_NAMESPACE |
449 | |