1/****************************************************************************
2** Meta object code from reading C++ file 'paintedwindow.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 "paintedwindow.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'paintedwindow.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_PaintedWindow_t {
25 const uint offsetsAndSize[22];
26 char stringdata0[129];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_PaintedWindow_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_PaintedWindow_t qt_meta_stringdata_PaintedWindow = {
31 {
32QT_MOC_LITERAL(0, 13), // "PaintedWindow"
33QT_MOC_LITERAL(14, 15), // "rotationChanged"
34QT_MOC_LITERAL(30, 0), // ""
35QT_MOC_LITERAL(31, 8), // "rotation"
36QT_MOC_LITERAL(40, 5), // "paint"
37QT_MOC_LITERAL(46, 11), // "setRotation"
38QT_MOC_LITERAL(58, 1), // "r"
39QT_MOC_LITERAL(60, 18), // "orientationChanged"
40QT_MOC_LITERAL(79, 21), // "Qt::ScreenOrientation"
41QT_MOC_LITERAL(101, 14), // "newOrientation"
42QT_MOC_LITERAL(116, 12) // "rotationDone"
43
44 },
45 "PaintedWindow\0rotationChanged\0\0rotation\0"
46 "paint\0setRotation\0r\0orientationChanged\0"
47 "Qt::ScreenOrientation\0newOrientation\0"
48 "rotationDone"
49};
50#undef QT_MOC_LITERAL
51
52static const uint qt_meta_data_PaintedWindow[] = {
53
54 // content:
55 9, // revision
56 0, // classname
57 0, 0, // classinfo
58 5, 14, // methods
59 1, 55, // properties
60 0, 0, // enums/sets
61 0, 0, // constructors
62 0, // flags
63 1, // signalCount
64
65 // signals: name, argc, parameters, tag, flags, initial metatype offsets
66 1, 1, 44, 2, 0x06, 1 /* Public */,
67
68 // slots: name, argc, parameters, tag, flags, initial metatype offsets
69 4, 0, 47, 2, 0x08, 3 /* Private */,
70 5, 1, 48, 2, 0x08, 4 /* Private */,
71 7, 1, 51, 2, 0x08, 6 /* Private */,
72 10, 0, 54, 2, 0x08, 8 /* Private */,
73
74 // signals: parameters
75 QMetaType::Void, QMetaType::QReal, 3,
76
77 // slots: parameters
78 QMetaType::Void,
79 QMetaType::Void, QMetaType::QReal, 6,
80 QMetaType::Void, 0x80000000 | 8, 9,
81 QMetaType::Void,
82
83 // properties: name, type, flags
84 3, QMetaType::QReal, 0x00015103, uint(0), 0,
85
86 0 // eod
87};
88
89void PaintedWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
90{
91 if (_c == QMetaObject::InvokeMetaMethod) {
92 Q_ASSERT(staticMetaObject.cast(_o));
93 auto *_t = static_cast<PaintedWindow *>(_o);
94 Q_UNUSED(_t)
95 switch (_id) {
96 case 0: _t->rotationChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
97 case 1: _t->paint(); break;
98 case 2: _t->setRotation((*reinterpret_cast< qreal(*)>(_a[1]))); break;
99 case 3: _t->orientationChanged((*reinterpret_cast< Qt::ScreenOrientation(*)>(_a[1]))); break;
100 case 4: _t->rotationDone(); break;
101 default: ;
102 }
103 } else if (_c == QMetaObject::IndexOfMethod) {
104 int *result = reinterpret_cast<int *>(_a[0]);
105 {
106 using _t = void (PaintedWindow::*)(qreal );
107 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PaintedWindow::rotationChanged)) {
108 *result = 0;
109 return;
110 }
111 }
112 }
113#ifndef QT_NO_PROPERTIES
114 else if (_c == QMetaObject::ReadProperty) {
115 Q_ASSERT(staticMetaObject.cast(_o));
116 auto *_t = static_cast<PaintedWindow *>(_o);
117 Q_UNUSED(_t)
118 void *_v = _a[0];
119 switch (_id) {
120 case 0: *reinterpret_cast< qreal*>(_v) = _t->rotation(); break;
121 default: break;
122 }
123 } else if (_c == QMetaObject::WriteProperty) {
124 Q_ASSERT(staticMetaObject.cast(_o));
125 auto *_t = static_cast<PaintedWindow *>(_o);
126 Q_UNUSED(_t)
127 void *_v = _a[0];
128 switch (_id) {
129 case 0: _t->setRotation(*reinterpret_cast< qreal*>(_v)); break;
130 default: break;
131 }
132 } else if (_c == QMetaObject::ResetProperty) {
133 } else if (_c == QMetaObject::BindableProperty) {
134 }
135#endif // QT_NO_PROPERTIES
136}
137
138const QMetaObject PaintedWindow::staticMetaObject = { {
139 QMetaObject::SuperData::link<QWindow::staticMetaObject>(),
140 qt_meta_stringdata_PaintedWindow.offsetsAndSize,
141 qt_meta_data_PaintedWindow,
142 qt_static_metacall,
143 nullptr,
144qt_incomplete_metaTypeArray<qt_meta_stringdata_PaintedWindow_t
145, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>
146, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<Qt::ScreenOrientation, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
147
148
149>,
150 nullptr
151} };
152
153
154const QMetaObject *PaintedWindow::metaObject() const
155{
156 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
157}
158
159void *PaintedWindow::qt_metacast(const char *_clname)
160{
161 if (!_clname) return nullptr;
162 if (!strcmp(_clname, qt_meta_stringdata_PaintedWindow.stringdata0))
163 return static_cast<void*>(this);
164 return QWindow::qt_metacast(_clname);
165}
166
167int PaintedWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
168{
169 _id = QWindow::qt_metacall(_c, _id, _a);
170 if (_id < 0)
171 return _id;
172 if (_c == QMetaObject::InvokeMetaMethod) {
173 if (_id < 5)
174 qt_static_metacall(this, _c, _id, _a);
175 _id -= 5;
176 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
177 if (_id < 5)
178 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
179 _id -= 5;
180 }
181#ifndef QT_NO_PROPERTIES
182 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
183 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
184 || _c == QMetaObject::RegisterPropertyMetaType) {
185 qt_static_metacall(this, _c, _id, _a);
186 _id -= 1;
187 }
188#endif // QT_NO_PROPERTIES
189 return _id;
190}
191
192// SIGNAL 0
193void PaintedWindow::rotationChanged(qreal _t1)
194{
195 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
196 QMetaObject::activate(this, &staticMetaObject, 0, _a);
197}
198QT_WARNING_POP
199QT_END_MOC_NAMESPACE
200