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