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[26];
26 char stringdata0[113];
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, 8), // "setShape"
34QT_MOC_LITERAL(20, 0), // ""
35QT_MOC_LITERAL(21, 5), // "Shape"
36QT_MOC_LITERAL(27, 5), // "shape"
37QT_MOC_LITERAL(33, 6), // "setPen"
38QT_MOC_LITERAL(40, 3), // "pen"
39QT_MOC_LITERAL(44, 8), // "setBrush"
40QT_MOC_LITERAL(53, 5), // "brush"
41QT_MOC_LITERAL(59, 14), // "setAntialiased"
42QT_MOC_LITERAL(74, 11), // "antialiased"
43QT_MOC_LITERAL(86, 14), // "setTransformed"
44QT_MOC_LITERAL(101, 11) // "transformed"
45
46 },
47 "RenderArea\0setShape\0\0Shape\0shape\0"
48 "setPen\0pen\0setBrush\0brush\0setAntialiased\0"
49 "antialiased\0setTransformed\0transformed"
50};
51#undef QT_MOC_LITERAL
52
53static const uint qt_meta_data_RenderArea[] = {
54
55 // content:
56 9, // revision
57 0, // classname
58 0, 0, // classinfo
59 5, 14, // methods
60 0, 0, // properties
61 0, 0, // enums/sets
62 0, 0, // constructors
63 0, // flags
64 0, // signalCount
65
66 // slots: name, argc, parameters, tag, flags, initial metatype offsets
67 1, 1, 44, 2, 0x0a, 0 /* Public */,
68 5, 1, 47, 2, 0x0a, 2 /* Public */,
69 7, 1, 50, 2, 0x0a, 4 /* Public */,
70 9, 1, 53, 2, 0x0a, 6 /* Public */,
71 11, 1, 56, 2, 0x0a, 8 /* Public */,
72
73 // slots: parameters
74 QMetaType::Void, 0x80000000 | 3, 4,
75 QMetaType::Void, QMetaType::QPen, 6,
76 QMetaType::Void, QMetaType::QBrush, 8,
77 QMetaType::Void, QMetaType::Bool, 10,
78 QMetaType::Void, QMetaType::Bool, 12,
79
80 0 // eod
81};
82
83void RenderArea::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
84{
85 if (_c == QMetaObject::InvokeMetaMethod) {
86 Q_ASSERT(staticMetaObject.cast(_o));
87 auto *_t = static_cast<RenderArea *>(_o);
88 Q_UNUSED(_t)
89 switch (_id) {
90 case 0: _t->setShape((*reinterpret_cast< Shape(*)>(_a[1]))); break;
91 case 1: _t->setPen((*reinterpret_cast< const QPen(*)>(_a[1]))); break;
92 case 2: _t->setBrush((*reinterpret_cast< const QBrush(*)>(_a[1]))); break;
93 case 3: _t->setAntialiased((*reinterpret_cast< bool(*)>(_a[1]))); break;
94 case 4: _t->setTransformed((*reinterpret_cast< bool(*)>(_a[1]))); break;
95 default: ;
96 }
97 }
98}
99
100const QMetaObject RenderArea::staticMetaObject = { {
101 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
102 qt_meta_stringdata_RenderArea.offsetsAndSize,
103 qt_meta_data_RenderArea,
104 qt_static_metacall,
105 nullptr,
106qt_incomplete_metaTypeArray<qt_meta_stringdata_RenderArea_t
107
108, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<Shape, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QPen &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<const QBrush &, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<bool, std::false_type>
109
110
111>,
112 nullptr
113} };
114
115
116const QMetaObject *RenderArea::metaObject() const
117{
118 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
119}
120
121void *RenderArea::qt_metacast(const char *_clname)
122{
123 if (!_clname) return nullptr;
124 if (!strcmp(_clname, qt_meta_stringdata_RenderArea.stringdata0))
125 return static_cast<void*>(this);
126 return QWidget::qt_metacast(_clname);
127}
128
129int RenderArea::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
130{
131 _id = QWidget::qt_metacall(_c, _id, _a);
132 if (_id < 0)
133 return _id;
134 if (_c == QMetaObject::InvokeMetaMethod) {
135 if (_id < 5)
136 qt_static_metacall(this, _c, _id, _a);
137 _id -= 5;
138 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
139 if (_id < 5)
140 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
141 _id -= 5;
142 }
143 return _id;
144}
145QT_WARNING_POP
146QT_END_MOC_NAMESPACE
147