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