1/****************************************************************************
2** Meta object code from reading C++ file 'view.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 "view.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'view.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_GraphicsView_t {
25 const uint offsetsAndSize[2];
26 char stringdata0[13];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_GraphicsView_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_GraphicsView_t qt_meta_stringdata_GraphicsView = {
31 {
32QT_MOC_LITERAL(0, 12) // "GraphicsView"
33
34 },
35 "GraphicsView"
36};
37#undef QT_MOC_LITERAL
38
39static const uint qt_meta_data_GraphicsView[] = {
40
41 // content:
42 9, // revision
43 0, // classname
44 0, 0, // classinfo
45 0, 0, // methods
46 0, 0, // properties
47 0, 0, // enums/sets
48 0, 0, // constructors
49 0, // flags
50 0, // signalCount
51
52 0 // eod
53};
54
55void GraphicsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
56{
57 Q_UNUSED(_o);
58 Q_UNUSED(_id);
59 Q_UNUSED(_c);
60 Q_UNUSED(_a);
61}
62
63const QMetaObject GraphicsView::staticMetaObject = { {
64 QMetaObject::SuperData::link<QGraphicsView::staticMetaObject>(),
65 qt_meta_stringdata_GraphicsView.offsetsAndSize,
66 qt_meta_data_GraphicsView,
67 qt_static_metacall,
68 nullptr,
69 nullptr,
70 nullptr
71} };
72
73
74const QMetaObject *GraphicsView::metaObject() const
75{
76 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
77}
78
79void *GraphicsView::qt_metacast(const char *_clname)
80{
81 if (!_clname) return nullptr;
82 if (!strcmp(_clname, qt_meta_stringdata_GraphicsView.stringdata0))
83 return static_cast<void*>(this);
84 return QGraphicsView::qt_metacast(_clname);
85}
86
87int GraphicsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
88{
89 _id = QGraphicsView::qt_metacall(_c, _id, _a);
90 return _id;
91}
92struct qt_meta_stringdata_View_t {
93 const uint offsetsAndSize[26];
94 char stringdata0[137];
95};
96#define QT_MOC_LITERAL(ofs, len) \
97 uint(offsetof(qt_meta_stringdata_View_t, stringdata0) + ofs), len
98static const qt_meta_stringdata_View_t qt_meta_stringdata_View = {
99 {
100QT_MOC_LITERAL(0, 4), // "View"
101QT_MOC_LITERAL(5, 6), // "zoomIn"
102QT_MOC_LITERAL(12, 0), // ""
103QT_MOC_LITERAL(13, 5), // "level"
104QT_MOC_LITERAL(19, 7), // "zoomOut"
105QT_MOC_LITERAL(27, 9), // "resetView"
106QT_MOC_LITERAL(37, 21), // "setResetButtonEnabled"
107QT_MOC_LITERAL(59, 11), // "setupMatrix"
108QT_MOC_LITERAL(71, 17), // "togglePointerMode"
109QT_MOC_LITERAL(89, 18), // "toggleAntialiasing"
110QT_MOC_LITERAL(108, 5), // "print"
111QT_MOC_LITERAL(114, 10), // "rotateLeft"
112QT_MOC_LITERAL(125, 11) // "rotateRight"
113
114 },
115 "View\0zoomIn\0\0level\0zoomOut\0resetView\0"
116 "setResetButtonEnabled\0setupMatrix\0"
117 "togglePointerMode\0toggleAntialiasing\0"
118 "print\0rotateLeft\0rotateRight"
119};
120#undef QT_MOC_LITERAL
121
122static const uint qt_meta_data_View[] = {
123
124 // content:
125 9, // revision
126 0, // classname
127 0, 0, // classinfo
128 12, 14, // methods
129 0, 0, // properties
130 0, 0, // enums/sets
131 0, 0, // constructors
132 0, // flags
133 0, // signalCount
134
135 // slots: name, argc, parameters, tag, flags, initial metatype offsets
136 1, 1, 86, 2, 0x0a, 0 /* Public */,
137 1, 0, 89, 2, 0x2a, 2 /* Public | MethodCloned */,
138 4, 1, 90, 2, 0x0a, 3 /* Public */,
139 4, 0, 93, 2, 0x2a, 5 /* Public | MethodCloned */,
140 5, 0, 94, 2, 0x08, 6 /* Private */,
141 6, 0, 95, 2, 0x08, 7 /* Private */,
142 7, 0, 96, 2, 0x08, 8 /* Private */,
143 8, 0, 97, 2, 0x08, 9 /* Private */,
144 9, 0, 98, 2, 0x08, 10 /* Private */,
145 10, 0, 99, 2, 0x08, 11 /* Private */,
146 11, 0, 100, 2, 0x08, 12 /* Private */,
147 12, 0, 101, 2, 0x08, 13 /* Private */,
148
149 // slots: parameters
150 QMetaType::Void, QMetaType::Int, 3,
151 QMetaType::Void,
152 QMetaType::Void, QMetaType::Int, 3,
153 QMetaType::Void,
154 QMetaType::Void,
155 QMetaType::Void,
156 QMetaType::Void,
157 QMetaType::Void,
158 QMetaType::Void,
159 QMetaType::Void,
160 QMetaType::Void,
161 QMetaType::Void,
162
163 0 // eod
164};
165
166void View::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
167{
168 if (_c == QMetaObject::InvokeMetaMethod) {
169 Q_ASSERT(staticMetaObject.cast(_o));
170 auto *_t = static_cast<View *>(_o);
171 Q_UNUSED(_t)
172 switch (_id) {
173 case 0: _t->zoomIn((*reinterpret_cast< int(*)>(_a[1]))); break;
174 case 1: _t->zoomIn(); break;
175 case 2: _t->zoomOut((*reinterpret_cast< int(*)>(_a[1]))); break;
176 case 3: _t->zoomOut(); break;
177 case 4: _t->resetView(); break;
178 case 5: _t->setResetButtonEnabled(); break;
179 case 6: _t->setupMatrix(); break;
180 case 7: _t->togglePointerMode(); break;
181 case 8: _t->toggleAntialiasing(); break;
182 case 9: _t->print(); break;
183 case 10: _t->rotateLeft(); break;
184 case 11: _t->rotateRight(); break;
185 default: ;
186 }
187 }
188}
189
190const QMetaObject View::staticMetaObject = { {
191 QMetaObject::SuperData::link<QFrame::staticMetaObject>(),
192 qt_meta_stringdata_View.offsetsAndSize,
193 qt_meta_data_View,
194 qt_static_metacall,
195 nullptr,
196qt_incomplete_metaTypeArray<qt_meta_stringdata_View_t
197
198, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<int, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
199
200
201>,
202 nullptr
203} };
204
205
206const QMetaObject *View::metaObject() const
207{
208 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
209}
210
211void *View::qt_metacast(const char *_clname)
212{
213 if (!_clname) return nullptr;
214 if (!strcmp(_clname, qt_meta_stringdata_View.stringdata0))
215 return static_cast<void*>(this);
216 return QFrame::qt_metacast(_clname);
217}
218
219int View::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
220{
221 _id = QFrame::qt_metacall(_c, _id, _a);
222 if (_id < 0)
223 return _id;
224 if (_c == QMetaObject::InvokeMetaMethod) {
225 if (_id < 12)
226 qt_static_metacall(this, _c, _id, _a);
227 _id -= 12;
228 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
229 if (_id < 12)
230 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
231 _id -= 12;
232 }
233 return _id;
234}
235QT_WARNING_POP
236QT_END_MOC_NAMESPACE
237