1/****************************************************************************
2** Meta object code from reading C++ file 'pathstroke.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 "pathstroke.h"
11#include <QtGui/qtextcursor.h>
12#include <QScreen>
13#include <QtCore/qbytearray.h>
14#include <QtCore/qmetatype.h>
15#if !defined(Q_MOC_OUTPUT_REVISION)
16#error "The header file 'pathstroke.h' doesn't include <QObject>."
17#elif Q_MOC_OUTPUT_REVISION != 68
18#error "This file was generated using the moc from 6.0.0. It"
19#error "cannot be used with the include files from this version of Qt."
20#error "(The moc has changed too much.)"
21#endif
22
23QT_BEGIN_MOC_NAMESPACE
24QT_WARNING_PUSH
25QT_WARNING_DISABLE_DEPRECATED
26struct qt_meta_stringdata_PathStrokeRenderer_t {
27 const uint offsetsAndSize[44];
28 char stringdata0[275];
29};
30#define QT_MOC_LITERAL(ofs, len) \
31 uint(offsetof(qt_meta_stringdata_PathStrokeRenderer_t, stringdata0) + ofs), len
32static const qt_meta_stringdata_PathStrokeRenderer_t qt_meta_stringdata_PathStrokeRenderer = {
33 {
34QT_MOC_LITERAL(0, 18), // "PathStrokeRenderer"
35QT_MOC_LITERAL(19, 7), // "clicked"
36QT_MOC_LITERAL(27, 0), // ""
37QT_MOC_LITERAL(28, 11), // "setPenWidth"
38QT_MOC_LITERAL(40, 8), // "penWidth"
39QT_MOC_LITERAL(49, 12), // "setAnimation"
40QT_MOC_LITERAL(62, 9), // "animation"
41QT_MOC_LITERAL(72, 10), // "setFlatCap"
42QT_MOC_LITERAL(83, 12), // "setSquareCap"
43QT_MOC_LITERAL(96, 11), // "setRoundCap"
44QT_MOC_LITERAL(108, 12), // "setBevelJoin"
45QT_MOC_LITERAL(121, 12), // "setMiterJoin"
46QT_MOC_LITERAL(134, 15), // "setSvgMiterJoin"
47QT_MOC_LITERAL(150, 12), // "setRoundJoin"
48QT_MOC_LITERAL(163, 12), // "setCurveMode"
49QT_MOC_LITERAL(176, 11), // "setLineMode"
50QT_MOC_LITERAL(188, 12), // "setSolidLine"
51QT_MOC_LITERAL(201, 11), // "setDashLine"
52QT_MOC_LITERAL(213, 10), // "setDotLine"
53QT_MOC_LITERAL(224, 14), // "setDashDotLine"
54QT_MOC_LITERAL(239, 17), // "setDashDotDotLine"
55QT_MOC_LITERAL(257, 17) // "setCustomDashLine"
56
57 },
58 "PathStrokeRenderer\0clicked\0\0setPenWidth\0"
59 "penWidth\0setAnimation\0animation\0"
60 "setFlatCap\0setSquareCap\0setRoundCap\0"
61 "setBevelJoin\0setMiterJoin\0setSvgMiterJoin\0"
62 "setRoundJoin\0setCurveMode\0setLineMode\0"
63 "setSolidLine\0setDashLine\0setDotLine\0"
64 "setDashDotLine\0setDashDotDotLine\0"
65 "setCustomDashLine"
66};
67#undef QT_MOC_LITERAL
68
69static const uint qt_meta_data_PathStrokeRenderer[] = {
70
71 // content:
72 9, // revision
73 0, // classname
74 0, 0, // classinfo
75 18, 14, // methods
76 2, 144, // properties
77 0, 0, // enums/sets
78 0, 0, // constructors
79 0, // flags
80 1, // signalCount
81
82 // signals: name, argc, parameters, tag, flags, initial metatype offsets
83 1, 0, 122, 2, 0x06, 2 /* Public */,
84
85 // slots: name, argc, parameters, tag, flags, initial metatype offsets
86 3, 1, 123, 2, 0x0a, 3 /* Public */,
87 5, 1, 126, 2, 0x0a, 5 /* Public */,
88 7, 0, 129, 2, 0x0a, 7 /* Public */,
89 8, 0, 130, 2, 0x0a, 8 /* Public */,
90 9, 0, 131, 2, 0x0a, 9 /* Public */,
91 10, 0, 132, 2, 0x0a, 10 /* Public */,
92 11, 0, 133, 2, 0x0a, 11 /* Public */,
93 12, 0, 134, 2, 0x0a, 12 /* Public */,
94 13, 0, 135, 2, 0x0a, 13 /* Public */,
95 14, 0, 136, 2, 0x0a, 14 /* Public */,
96 15, 0, 137, 2, 0x0a, 15 /* Public */,
97 16, 0, 138, 2, 0x0a, 16 /* Public */,
98 17, 0, 139, 2, 0x0a, 17 /* Public */,
99 18, 0, 140, 2, 0x0a, 18 /* Public */,
100 19, 0, 141, 2, 0x0a, 19 /* Public */,
101 20, 0, 142, 2, 0x0a, 20 /* Public */,
102 21, 0, 143, 2, 0x0a, 21 /* Public */,
103
104 // signals: parameters
105 QMetaType::Void,
106
107 // slots: parameters
108 QMetaType::Void, QMetaType::Int, 4,
109 QMetaType::Void, QMetaType::Bool, 6,
110 QMetaType::Void,
111 QMetaType::Void,
112 QMetaType::Void,
113 QMetaType::Void,
114 QMetaType::Void,
115 QMetaType::Void,
116 QMetaType::Void,
117 QMetaType::Void,
118 QMetaType::Void,
119 QMetaType::Void,
120 QMetaType::Void,
121 QMetaType::Void,
122 QMetaType::Void,
123 QMetaType::Void,
124 QMetaType::Void,
125
126 // properties: name, type, flags
127 6, QMetaType::Bool, 0x00015103, uint(-1), 0,
128 4, QMetaType::QReal, 0x00015003, uint(-1), 0,
129
130 0 // eod
131};
132
133void PathStrokeRenderer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
134{
135 if (_c == QMetaObject::InvokeMetaMethod) {
136 Q_ASSERT(staticMetaObject.cast(_o));
137 auto *_t = static_cast<PathStrokeRenderer *>(_o);
138 Q_UNUSED(_t)
139 switch (_id) {
140 case 0: _t->clicked(); break;
141 case 1: _t->setPenWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
142 case 2: _t->setAnimation((*reinterpret_cast< bool(*)>(_a[1]))); break;
143 case 3: _t->setFlatCap(); break;
144 case 4: _t->setSquareCap(); break;
145 case 5: _t->setRoundCap(); break;
146 case 6: _t->setBevelJoin(); break;
147 case 7: _t->setMiterJoin(); break;
148 case 8: _t->setSvgMiterJoin(); break;
149 case 9: _t->setRoundJoin(); break;
150 case 10: _t->setCurveMode(); break;
151 case 11: _t->setLineMode(); break;
152 case 12: _t->setSolidLine(); break;
153 case 13: _t->setDashLine(); break;
154 case 14: _t->setDotLine(); break;
155 case 15: _t->setDashDotLine(); break;
156 case 16: _t->setDashDotDotLine(); break;
157 case 17: _t->setCustomDashLine(); break;
158 default: ;
159 }
160 } else if (_c == QMetaObject::IndexOfMethod) {
161 int *result = reinterpret_cast<int *>(_a[0]);
162 {
163 using _t = void (PathStrokeRenderer::*)();
164 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PathStrokeRenderer::clicked)) {
165 *result = 0;
166 return;
167 }
168 }
169 }
170#ifndef QT_NO_PROPERTIES
171 else if (_c == QMetaObject::ReadProperty) {
172 Q_ASSERT(staticMetaObject.cast(_o));
173 auto *_t = static_cast<PathStrokeRenderer *>(_o);
174 Q_UNUSED(_t)
175 void *_v = _a[0];
176 switch (_id) {
177 case 0: *reinterpret_cast< bool*>(_v) = _t->animation(); break;
178 case 1: *reinterpret_cast< qreal*>(_v) = _t->realPenWidth(); break;
179 default: break;
180 }
181 } else if (_c == QMetaObject::WriteProperty) {
182 Q_ASSERT(staticMetaObject.cast(_o));
183 auto *_t = static_cast<PathStrokeRenderer *>(_o);
184 Q_UNUSED(_t)
185 void *_v = _a[0];
186 switch (_id) {
187 case 0: _t->setAnimation(*reinterpret_cast< bool*>(_v)); break;
188 case 1: _t->setRealPenWidth(*reinterpret_cast< qreal*>(_v)); break;
189 default: break;
190 }
191 } else if (_c == QMetaObject::ResetProperty) {
192 } else if (_c == QMetaObject::BindableProperty) {
193 }
194#endif // QT_NO_PROPERTIES
195}
196
197const QMetaObject PathStrokeRenderer::staticMetaObject = { {
198 QMetaObject::SuperData::link<ArthurFrame::staticMetaObject>(),
199 qt_meta_stringdata_PathStrokeRenderer.offsetsAndSize,
200 qt_meta_data_PathStrokeRenderer,
201 qt_static_metacall,
202 nullptr,
203qt_incomplete_metaTypeArray<qt_meta_stringdata_PathStrokeRenderer_t
204, QtPrivate::TypeAndForceComplete<bool, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
205, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, 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>, QtPrivate::TypeAndForceComplete<void, 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>, QtPrivate::TypeAndForceComplete<void, 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>, QtPrivate::TypeAndForceComplete<void, std::false_type>
206
207
208>,
209 nullptr
210} };
211
212
213const QMetaObject *PathStrokeRenderer::metaObject() const
214{
215 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
216}
217
218void *PathStrokeRenderer::qt_metacast(const char *_clname)
219{
220 if (!_clname) return nullptr;
221 if (!strcmp(_clname, qt_meta_stringdata_PathStrokeRenderer.stringdata0))
222 return static_cast<void*>(this);
223 return ArthurFrame::qt_metacast(_clname);
224}
225
226int PathStrokeRenderer::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
227{
228 _id = ArthurFrame::qt_metacall(_c, _id, _a);
229 if (_id < 0)
230 return _id;
231 if (_c == QMetaObject::InvokeMetaMethod) {
232 if (_id < 18)
233 qt_static_metacall(this, _c, _id, _a);
234 _id -= 18;
235 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
236 if (_id < 18)
237 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
238 _id -= 18;
239 }
240#ifndef QT_NO_PROPERTIES
241 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
242 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
243 || _c == QMetaObject::RegisterPropertyMetaType) {
244 qt_static_metacall(this, _c, _id, _a);
245 _id -= 2;
246 }
247#endif // QT_NO_PROPERTIES
248 return _id;
249}
250
251// SIGNAL 0
252void PathStrokeRenderer::clicked()
253{
254 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
255}
256struct qt_meta_stringdata_PathStrokeControls_t {
257 const uint offsetsAndSize[12];
258 char stringdata0[70];
259};
260#define QT_MOC_LITERAL(ofs, len) \
261 uint(offsetof(qt_meta_stringdata_PathStrokeControls_t, stringdata0) + ofs), len
262static const qt_meta_stringdata_PathStrokeControls_t qt_meta_stringdata_PathStrokeControls = {
263 {
264QT_MOC_LITERAL(0, 18), // "PathStrokeControls"
265QT_MOC_LITERAL(19, 9), // "okPressed"
266QT_MOC_LITERAL(29, 0), // ""
267QT_MOC_LITERAL(30, 11), // "quitPressed"
268QT_MOC_LITERAL(42, 14), // "emitQuitSignal"
269QT_MOC_LITERAL(57, 12) // "emitOkSignal"
270
271 },
272 "PathStrokeControls\0okPressed\0\0quitPressed\0"
273 "emitQuitSignal\0emitOkSignal"
274};
275#undef QT_MOC_LITERAL
276
277static const uint qt_meta_data_PathStrokeControls[] = {
278
279 // content:
280 9, // revision
281 0, // classname
282 0, 0, // classinfo
283 4, 14, // methods
284 0, 0, // properties
285 0, 0, // enums/sets
286 0, 0, // constructors
287 0, // flags
288 2, // signalCount
289
290 // signals: name, argc, parameters, tag, flags, initial metatype offsets
291 1, 0, 38, 2, 0x06, 0 /* Public */,
292 3, 0, 39, 2, 0x06, 1 /* Public */,
293
294 // slots: name, argc, parameters, tag, flags, initial metatype offsets
295 4, 0, 40, 2, 0x08, 2 /* Private */,
296 5, 0, 41, 2, 0x08, 3 /* Private */,
297
298 // signals: parameters
299 QMetaType::Void,
300 QMetaType::Void,
301
302 // slots: parameters
303 QMetaType::Void,
304 QMetaType::Void,
305
306 0 // eod
307};
308
309void PathStrokeControls::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
310{
311 if (_c == QMetaObject::InvokeMetaMethod) {
312 Q_ASSERT(staticMetaObject.cast(_o));
313 auto *_t = static_cast<PathStrokeControls *>(_o);
314 Q_UNUSED(_t)
315 switch (_id) {
316 case 0: _t->okPressed(); break;
317 case 1: _t->quitPressed(); break;
318 case 2: _t->emitQuitSignal(); break;
319 case 3: _t->emitOkSignal(); break;
320 default: ;
321 }
322 } else if (_c == QMetaObject::IndexOfMethod) {
323 int *result = reinterpret_cast<int *>(_a[0]);
324 {
325 using _t = void (PathStrokeControls::*)();
326 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PathStrokeControls::okPressed)) {
327 *result = 0;
328 return;
329 }
330 }
331 {
332 using _t = void (PathStrokeControls::*)();
333 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PathStrokeControls::quitPressed)) {
334 *result = 1;
335 return;
336 }
337 }
338 }
339 Q_UNUSED(_a);
340}
341
342const QMetaObject PathStrokeControls::staticMetaObject = { {
343 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
344 qt_meta_stringdata_PathStrokeControls.offsetsAndSize,
345 qt_meta_data_PathStrokeControls,
346 qt_static_metacall,
347 nullptr,
348qt_incomplete_metaTypeArray<qt_meta_stringdata_PathStrokeControls_t
349, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
350, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
351
352
353>,
354 nullptr
355} };
356
357
358const QMetaObject *PathStrokeControls::metaObject() const
359{
360 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
361}
362
363void *PathStrokeControls::qt_metacast(const char *_clname)
364{
365 if (!_clname) return nullptr;
366 if (!strcmp(_clname, qt_meta_stringdata_PathStrokeControls.stringdata0))
367 return static_cast<void*>(this);
368 return QWidget::qt_metacast(_clname);
369}
370
371int PathStrokeControls::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
372{
373 _id = QWidget::qt_metacall(_c, _id, _a);
374 if (_id < 0)
375 return _id;
376 if (_c == QMetaObject::InvokeMetaMethod) {
377 if (_id < 4)
378 qt_static_metacall(this, _c, _id, _a);
379 _id -= 4;
380 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
381 if (_id < 4)
382 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
383 _id -= 4;
384 }
385 return _id;
386}
387
388// SIGNAL 0
389void PathStrokeControls::okPressed()
390{
391 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
392}
393
394// SIGNAL 1
395void PathStrokeControls::quitPressed()
396{
397 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
398}
399struct qt_meta_stringdata_PathStrokeWidget_t {
400 const uint offsetsAndSize[8];
401 char stringdata0[44];
402};
403#define QT_MOC_LITERAL(ofs, len) \
404 uint(offsetof(qt_meta_stringdata_PathStrokeWidget_t, stringdata0) + ofs), len
405static const qt_meta_stringdata_PathStrokeWidget_t qt_meta_stringdata_PathStrokeWidget = {
406 {
407QT_MOC_LITERAL(0, 16), // "PathStrokeWidget"
408QT_MOC_LITERAL(17, 12), // "showControls"
409QT_MOC_LITERAL(30, 0), // ""
410QT_MOC_LITERAL(31, 12) // "hideControls"
411
412 },
413 "PathStrokeWidget\0showControls\0\0"
414 "hideControls"
415};
416#undef QT_MOC_LITERAL
417
418static const uint qt_meta_data_PathStrokeWidget[] = {
419
420 // content:
421 9, // revision
422 0, // classname
423 0, 0, // classinfo
424 2, 14, // methods
425 0, 0, // properties
426 0, 0, // enums/sets
427 0, 0, // constructors
428 0, // flags
429 0, // signalCount
430
431 // slots: name, argc, parameters, tag, flags, initial metatype offsets
432 1, 0, 26, 2, 0x08, 0 /* Private */,
433 3, 0, 27, 2, 0x08, 1 /* Private */,
434
435 // slots: parameters
436 QMetaType::Void,
437 QMetaType::Void,
438
439 0 // eod
440};
441
442void PathStrokeWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
443{
444 if (_c == QMetaObject::InvokeMetaMethod) {
445 Q_ASSERT(staticMetaObject.cast(_o));
446 auto *_t = static_cast<PathStrokeWidget *>(_o);
447 Q_UNUSED(_t)
448 switch (_id) {
449 case 0: _t->showControls(); break;
450 case 1: _t->hideControls(); break;
451 default: ;
452 }
453 }
454 Q_UNUSED(_a);
455}
456
457const QMetaObject PathStrokeWidget::staticMetaObject = { {
458 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
459 qt_meta_stringdata_PathStrokeWidget.offsetsAndSize,
460 qt_meta_data_PathStrokeWidget,
461 qt_static_metacall,
462 nullptr,
463qt_incomplete_metaTypeArray<qt_meta_stringdata_PathStrokeWidget_t
464
465, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
466
467
468>,
469 nullptr
470} };
471
472
473const QMetaObject *PathStrokeWidget::metaObject() const
474{
475 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
476}
477
478void *PathStrokeWidget::qt_metacast(const char *_clname)
479{
480 if (!_clname) return nullptr;
481 if (!strcmp(_clname, qt_meta_stringdata_PathStrokeWidget.stringdata0))
482 return static_cast<void*>(this);
483 return QWidget::qt_metacast(_clname);
484}
485
486int PathStrokeWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
487{
488 _id = QWidget::qt_metacall(_c, _id, _a);
489 if (_id < 0)
490 return _id;
491 if (_c == QMetaObject::InvokeMetaMethod) {
492 if (_id < 2)
493 qt_static_metacall(this, _c, _id, _a);
494 _id -= 2;
495 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
496 if (_id < 2)
497 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
498 _id -= 2;
499 }
500 return _id;
501}
502QT_WARNING_POP
503QT_END_MOC_NAMESPACE
504