1/****************************************************************************
2** Meta object code from reading C++ file 'window.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 "window.h"
11#include <QtGui/qtextcursor.h>
12#include <QScreen>
13#include <QtCore/qbytearray.h>
14#include <QtCore/qmetatype.h>
15#if !defined(Q_MOC_OUTPUT_REVISION)
16#error "The header file 'window.h' doesn't include <QObject>."
17#elif Q_MOC_OUTPUT_REVISION != 68
18#error "This file was generated using the moc from 6.0.0. It"
19#error "cannot be used with the include files from this version of Qt."
20#error "(The moc has changed too much.)"
21#endif
22
23QT_BEGIN_MOC_NAMESPACE
24QT_WARNING_PUSH
25QT_WARNING_DISABLE_DEPRECATED
26struct qt_meta_stringdata_PixmapItem_t {
27 const uint offsetsAndSize[4];
28 char stringdata0[15];
29};
30#define QT_MOC_LITERAL(ofs, len) \
31 uint(offsetof(qt_meta_stringdata_PixmapItem_t, stringdata0) + ofs), len
32static const qt_meta_stringdata_PixmapItem_t qt_meta_stringdata_PixmapItem = {
33 {
34QT_MOC_LITERAL(0, 10), // "PixmapItem"
35QT_MOC_LITERAL(11, 3) // "pos"
36
37 },
38 "PixmapItem\0pos"
39};
40#undef QT_MOC_LITERAL
41
42static const uint qt_meta_data_PixmapItem[] = {
43
44 // content:
45 9, // revision
46 0, // classname
47 0, 0, // classinfo
48 0, 0, // methods
49 1, 14, // properties
50 0, 0, // enums/sets
51 0, 0, // constructors
52 0, // flags
53 0, // signalCount
54
55 // properties: name, type, flags
56 1, QMetaType::QPointF, 0x00015103, uint(-1), 0,
57
58 0 // eod
59};
60
61void PixmapItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
62{
63
64#ifndef QT_NO_PROPERTIES
65 if (_c == QMetaObject::ReadProperty) {
66 Q_ASSERT(staticMetaObject.cast(_o));
67 auto *_t = static_cast<PixmapItem *>(_o);
68 Q_UNUSED(_t)
69 void *_v = _a[0];
70 switch (_id) {
71 case 0: *reinterpret_cast< QPointF*>(_v) = _t->pos(); break;
72 default: break;
73 }
74 } else if (_c == QMetaObject::WriteProperty) {
75 Q_ASSERT(staticMetaObject.cast(_o));
76 auto *_t = static_cast<PixmapItem *>(_o);
77 Q_UNUSED(_t)
78 void *_v = _a[0];
79 switch (_id) {
80 case 0: _t->setPos(*reinterpret_cast< QPointF*>(_v)); break;
81 default: break;
82 }
83 } else if (_c == QMetaObject::ResetProperty) {
84 } else if (_c == QMetaObject::BindableProperty) {
85 }
86#endif // QT_NO_PROPERTIES
87 Q_UNUSED(_o);
88 Q_UNUSED(_id);
89 Q_UNUSED(_c);
90 Q_UNUSED(_a);
91}
92
93const QMetaObject PixmapItem::staticMetaObject = { {
94 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
95 qt_meta_stringdata_PixmapItem.offsetsAndSize,
96 qt_meta_data_PixmapItem,
97 qt_static_metacall,
98 nullptr,
99qt_incomplete_metaTypeArray<qt_meta_stringdata_PixmapItem_t
100, QtPrivate::TypeAndForceComplete<QPointF, std::true_type>
101
102
103
104>,
105 nullptr
106} };
107
108
109const QMetaObject *PixmapItem::metaObject() const
110{
111 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
112}
113
114void *PixmapItem::qt_metacast(const char *_clname)
115{
116 if (!_clname) return nullptr;
117 if (!strcmp(_clname, qt_meta_stringdata_PixmapItem.stringdata0))
118 return static_cast<void*>(this);
119 if (!strcmp(_clname, "QGraphicsPixmapItem"))
120 return static_cast< QGraphicsPixmapItem*>(this);
121 return QObject::qt_metacast(_clname);
122}
123
124int PixmapItem::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
125{
126 _id = QObject::qt_metacall(_c, _id, _a);
127 if (_id < 0)
128 return _id;
129
130#ifndef QT_NO_PROPERTIES
131 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
132 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
133 || _c == QMetaObject::RegisterPropertyMetaType) {
134 qt_static_metacall(this, _c, _id, _a);
135 _id -= 1;
136 }
137#endif // QT_NO_PROPERTIES
138 return _id;
139}
140struct qt_meta_stringdata_Window_t {
141 const uint offsetsAndSize[20];
142 char stringdata0[109];
143};
144#define QT_MOC_LITERAL(ofs, len) \
145 uint(offsetof(qt_meta_stringdata_Window_t, stringdata0) + ofs), len
146static const qt_meta_stringdata_Window_t qt_meta_stringdata_Window = {
147 {
148QT_MOC_LITERAL(0, 6), // "Window"
149QT_MOC_LITERAL(7, 12), // "curveChanged"
150QT_MOC_LITERAL(20, 0), // ""
151QT_MOC_LITERAL(21, 3), // "row"
152QT_MOC_LITERAL(25, 11), // "pathChanged"
153QT_MOC_LITERAL(37, 16), // "QAbstractButton*"
154QT_MOC_LITERAL(54, 6), // "button"
155QT_MOC_LITERAL(61, 13), // "periodChanged"
156QT_MOC_LITERAL(75, 16), // "amplitudeChanged"
157QT_MOC_LITERAL(92, 16) // "overshootChanged"
158
159 },
160 "Window\0curveChanged\0\0row\0pathChanged\0"
161 "QAbstractButton*\0button\0periodChanged\0"
162 "amplitudeChanged\0overshootChanged"
163};
164#undef QT_MOC_LITERAL
165
166static const uint qt_meta_data_Window[] = {
167
168 // content:
169 9, // revision
170 0, // classname
171 0, 0, // classinfo
172 5, 14, // methods
173 0, 0, // properties
174 0, 0, // enums/sets
175 0, 0, // constructors
176 0, // flags
177 0, // signalCount
178
179 // slots: name, argc, parameters, tag, flags, initial metatype offsets
180 1, 1, 44, 2, 0x08, 0 /* Private */,
181 4, 1, 47, 2, 0x08, 2 /* Private */,
182 7, 1, 50, 2, 0x08, 4 /* Private */,
183 8, 1, 53, 2, 0x08, 6 /* Private */,
184 9, 1, 56, 2, 0x08, 8 /* Private */,
185
186 // slots: parameters
187 QMetaType::Void, QMetaType::Int, 3,
188 QMetaType::Void, 0x80000000 | 5, 6,
189 QMetaType::Void, QMetaType::Double, 2,
190 QMetaType::Void, QMetaType::Double, 2,
191 QMetaType::Void, QMetaType::Double, 2,
192
193 0 // eod
194};
195
196void Window::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
197{
198 if (_c == QMetaObject::InvokeMetaMethod) {
199 Q_ASSERT(staticMetaObject.cast(_o));
200 auto *_t = static_cast<Window *>(_o);
201 Q_UNUSED(_t)
202 switch (_id) {
203 case 0: _t->curveChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
204 case 1: _t->pathChanged((*reinterpret_cast< QAbstractButton*(*)>(_a[1]))); break;
205 case 2: _t->periodChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
206 case 3: _t->amplitudeChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
207 case 4: _t->overshootChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
208 default: ;
209 }
210 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
211 switch (_id) {
212 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
213 case 1:
214 switch (*reinterpret_cast<int*>(_a[1])) {
215 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
216 case 0:
217 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAbstractButton* >(); break;
218 }
219 break;
220 }
221 }
222}
223
224const QMetaObject Window::staticMetaObject = { {
225 QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
226 qt_meta_stringdata_Window.offsetsAndSize,
227 qt_meta_data_Window,
228 qt_static_metacall,
229 nullptr,
230qt_incomplete_metaTypeArray<qt_meta_stringdata_Window_t
231
232, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QAbstractButton *, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<double, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<double, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<double, std::false_type>
233
234
235>,
236 nullptr
237} };
238
239
240const QMetaObject *Window::metaObject() const
241{
242 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
243}
244
245void *Window::qt_metacast(const char *_clname)
246{
247 if (!_clname) return nullptr;
248 if (!strcmp(_clname, qt_meta_stringdata_Window.stringdata0))
249 return static_cast<void*>(this);
250 return QWidget::qt_metacast(_clname);
251}
252
253int Window::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
254{
255 _id = QWidget::qt_metacall(_c, _id, _a);
256 if (_id < 0)
257 return _id;
258 if (_c == QMetaObject::InvokeMetaMethod) {
259 if (_id < 5)
260 qt_static_metacall(this, _c, _id, _a);
261 _id -= 5;
262 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
263 if (_id < 5)
264 qt_static_metacall(this, _c, _id, _a);
265 _id -= 5;
266 }
267 return _id;
268}
269QT_WARNING_POP
270QT_END_MOC_NAMESPACE
271