1/****************************************************************************
2** Meta object code from reading C++ file 'renderarea.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 "renderarea.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'renderarea.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_RenderArea_t {
25 const uint offsetsAndSize[28];
26 char stringdata0[133];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_RenderArea_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_RenderArea_t qt_meta_stringdata_RenderArea = {
31 {
32QT_MOC_LITERAL(0, 10), // "RenderArea"
33QT_MOC_LITERAL(11, 11), // "setFillRule"
34QT_MOC_LITERAL(23, 0), // ""
35QT_MOC_LITERAL(24, 12), // "Qt::FillRule"
36QT_MOC_LITERAL(37, 4), // "rule"
37QT_MOC_LITERAL(42, 15), // "setFillGradient"
38QT_MOC_LITERAL(58, 6), // "color1"
39QT_MOC_LITERAL(65, 6), // "color2"
40QT_MOC_LITERAL(72, 11), // "setPenWidth"
41QT_MOC_LITERAL(84, 5), // "width"
42QT_MOC_LITERAL(90, 11), // "setPenColor"
43QT_MOC_LITERAL(102, 5), // "color"
44QT_MOC_LITERAL(108, 16), // "setRotationAngle"
45QT_MOC_LITERAL(125, 7) // "degrees"
46
47 },
48 "RenderArea\0setFillRule\0\0Qt::FillRule\0"
49 "rule\0setFillGradient\0color1\0color2\0"
50 "setPenWidth\0width\0setPenColor\0color\0"
51 "setRotationAngle\0degrees"
52};
53#undef QT_MOC_LITERAL
54
55static const uint qt_meta_data_RenderArea[] = {
56
57 // content:
58 9, // revision
59 0, // classname
60 0, 0, // classinfo
61 5, 14, // methods
62 0, 0, // properties
63 0, 0, // enums/sets
64 0, 0, // constructors
65 0, // flags
66 0, // signalCount
67
68 // slots: name, argc, parameters, tag, flags, initial metatype offsets
69 1, 1, 44, 2, 0x0a, 0 /* Public */,
70 5, 2, 47, 2, 0x0a, 2 /* Public */,
71 8, 1, 52, 2, 0x0a, 5 /* Public */,
72 10, 1, 55, 2, 0x0a, 7 /* Public */,
73 12, 1, 58, 2, 0x0a, 9 /* Public */,
74
75 // slots: parameters
76 QMetaType::Void, 0x80000000 | 3, 4,
77 QMetaType::Void, QMetaType::QColor, QMetaType::QColor, 6, 7,
78 QMetaType::Void, QMetaType::Int, 9,
79 QMetaType::Void, QMetaType::QColor, 11,
80 QMetaType::Void, QMetaType::Int, 13,
81
82 0 // eod
83};
84
85void RenderArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
86{
87 if (_c == QMetaObject::InvokeMetaMethod) {
88 Q_ASSERT(staticMetaObject.cast(_o));
89 auto *_t = static_cast<RenderArea *>(_o);
90 Q_UNUSED(_t)
91 switch (_id) {
92 case 0: _t->setFillRule((*reinterpret_cast< Qt::FillRule(*)>(_a[1]))); break;
93 case 1: _t->setFillGradient((*reinterpret_cast< const QColor(*)>(_a[1])),(*reinterpret_cast< const QColor(*)>(_a[2]))); break;
94 case 2: _t->setPenWidth((*reinterpret_cast< int(*)>(_a[1]))); break;
95 case 3: _t->setPenColor((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
96 case 4: _t->setRotationAngle((*reinterpret_cast< int(*)>(_a[1]))); break;
97 default: ;
98 }
99 }
100}
101
102const QMetaObject RenderArea::staticMetaObject = { {
103 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
104 qt_meta_stringdata_RenderArea.offsetsAndSize,
105 qt_meta_data_RenderArea,
106 qt_static_metacall,
107 nullptr,
108qt_incomplete_metaTypeArray<qt_meta_stringdata_RenderArea_t
109
110, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<Qt::FillRule, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>, QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QColor &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>
111
112
113>,
114 nullptr
115} };
116
117
118const QMetaObject *RenderArea::metaObject() const
119{
120 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
121}
122
123void *RenderArea::qt_metacast(const char *_clname)
124{
125 if (!_clname) return nullptr;
126 if (!strcmp(_clname, qt_meta_stringdata_RenderArea.stringdata0))
127 return static_cast<void*>(this);
128 return QWidget::qt_metacast(_clname);
129}
130
131int RenderArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
132{
133 _id = QWidget::qt_metacall(_c, _id, _a);
134 if (_id < 0)
135 return _id;
136 if (_c == QMetaObject::InvokeMetaMethod) {
137 if (_id < 5)
138 qt_static_metacall(this, _c, _id, _a);
139 _id -= 5;
140 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
141 if (_id < 5)
142 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
143 _id -= 5;
144 }
145 return _id;
146}
147QT_WARNING_POP
148QT_END_MOC_NAMESPACE
149