1/****************************************************************************
2** Meta object code from reading C++ file 'qgraphicstransform.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 "graphicsview/qgraphicstransform.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'qgraphicstransform.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_QGraphicsTransform_t {
25 const uint offsetsAndSize[6];
26 char stringdata0[27];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_QGraphicsTransform_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_QGraphicsTransform_t qt_meta_stringdata_QGraphicsTransform = {
31 {
32QT_MOC_LITERAL(0, 18), // "QGraphicsTransform"
33QT_MOC_LITERAL(19, 6), // "update"
34QT_MOC_LITERAL(26, 0) // ""
35
36 },
37 "QGraphicsTransform\0update\0"
38};
39#undef QT_MOC_LITERAL
40
41static const uint qt_meta_data_QGraphicsTransform[] = {
42
43 // content:
44 9, // revision
45 0, // classname
46 0, 0, // classinfo
47 1, 14, // methods
48 0, 0, // properties
49 0, 0, // enums/sets
50 0, 0, // constructors
51 0, // flags
52 0, // signalCount
53
54 // slots: name, argc, parameters, tag, flags, initial metatype offsets
55 1, 0, 20, 2, 0x09, 0 /* Protected */,
56
57 // slots: parameters
58 QMetaType::Void,
59
60 0 // eod
61};
62
63void QGraphicsTransform::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
64{
65 if (_c == QMetaObject::InvokeMetaMethod) {
66 Q_ASSERT(staticMetaObject.cast(_o));
67 auto *_t = static_cast<QGraphicsTransform *>(_o);
68 Q_UNUSED(_t)
69 switch (_id) {
70 case 0: _t->update(); break;
71 default: ;
72 }
73 }
74 Q_UNUSED(_a);
75}
76
77const QMetaObject QGraphicsTransform::staticMetaObject = { {
78 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
79 qt_meta_stringdata_QGraphicsTransform.offsetsAndSize,
80 qt_meta_data_QGraphicsTransform,
81 qt_static_metacall,
82 nullptr,
83qt_incomplete_metaTypeArray<qt_meta_stringdata_QGraphicsTransform_t
84
85, QtPrivate::TypeAndForceComplete<void, std::false_type>
86
87
88>,
89 nullptr
90} };
91
92
93const QMetaObject *QGraphicsTransform::metaObject() const
94{
95 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
96}
97
98void *QGraphicsTransform::qt_metacast(const char *_clname)
99{
100 if (!_clname) return nullptr;
101 if (!strcmp(_clname, qt_meta_stringdata_QGraphicsTransform.stringdata0))
102 return static_cast<void*>(this);
103 return QObject::qt_metacast(_clname);
104}
105
106int QGraphicsTransform::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
107{
108 _id = QObject::qt_metacall(_c, _id, _a);
109 if (_id < 0)
110 return _id;
111 if (_c == QMetaObject::InvokeMetaMethod) {
112 if (_id < 1)
113 qt_static_metacall(this, _c, _id, _a);
114 _id -= 1;
115 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
116 if (_id < 1)
117 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
118 _id -= 1;
119 }
120 return _id;
121}
122struct qt_meta_stringdata_QGraphicsScale_t {
123 const uint offsetsAndSize[22];
124 char stringdata0[113];
125};
126#define QT_MOC_LITERAL(ofs, len) \
127 uint(offsetof(qt_meta_stringdata_QGraphicsScale_t, stringdata0) + ofs), len
128static const qt_meta_stringdata_QGraphicsScale_t qt_meta_stringdata_QGraphicsScale = {
129 {
130QT_MOC_LITERAL(0, 14), // "QGraphicsScale"
131QT_MOC_LITERAL(15, 13), // "originChanged"
132QT_MOC_LITERAL(29, 0), // ""
133QT_MOC_LITERAL(30, 13), // "xScaleChanged"
134QT_MOC_LITERAL(44, 13), // "yScaleChanged"
135QT_MOC_LITERAL(58, 13), // "zScaleChanged"
136QT_MOC_LITERAL(72, 12), // "scaleChanged"
137QT_MOC_LITERAL(85, 6), // "origin"
138QT_MOC_LITERAL(92, 6), // "xScale"
139QT_MOC_LITERAL(99, 6), // "yScale"
140QT_MOC_LITERAL(106, 6) // "zScale"
141
142 },
143 "QGraphicsScale\0originChanged\0\0"
144 "xScaleChanged\0yScaleChanged\0zScaleChanged\0"
145 "scaleChanged\0origin\0xScale\0yScale\0"
146 "zScale"
147};
148#undef QT_MOC_LITERAL
149
150static const uint qt_meta_data_QGraphicsScale[] = {
151
152 // content:
153 9, // revision
154 0, // classname
155 0, 0, // classinfo
156 5, 14, // methods
157 4, 49, // properties
158 0, 0, // enums/sets
159 0, 0, // constructors
160 0, // flags
161 5, // signalCount
162
163 // signals: name, argc, parameters, tag, flags, initial metatype offsets
164 1, 0, 44, 2, 0x06, 4 /* Public */,
165 3, 0, 45, 2, 0x06, 5 /* Public */,
166 4, 0, 46, 2, 0x06, 6 /* Public */,
167 5, 0, 47, 2, 0x06, 7 /* Public */,
168 6, 0, 48, 2, 0x06, 8 /* Public */,
169
170 // signals: parameters
171 QMetaType::Void,
172 QMetaType::Void,
173 QMetaType::Void,
174 QMetaType::Void,
175 QMetaType::Void,
176
177 // properties: name, type, flags
178 7, QMetaType::QVector3D, 0x00015103, uint(0), 0,
179 8, QMetaType::QReal, 0x00015103, uint(1), 0,
180 9, QMetaType::QReal, 0x00015103, uint(2), 0,
181 10, QMetaType::QReal, 0x00015103, uint(3), 0,
182
183 0 // eod
184};
185
186void QGraphicsScale::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
187{
188 if (_c == QMetaObject::InvokeMetaMethod) {
189 Q_ASSERT(staticMetaObject.cast(_o));
190 auto *_t = static_cast<QGraphicsScale *>(_o);
191 Q_UNUSED(_t)
192 switch (_id) {
193 case 0: _t->originChanged(); break;
194 case 1: _t->xScaleChanged(); break;
195 case 2: _t->yScaleChanged(); break;
196 case 3: _t->zScaleChanged(); break;
197 case 4: _t->scaleChanged(); break;
198 default: ;
199 }
200 } else if (_c == QMetaObject::IndexOfMethod) {
201 int *result = reinterpret_cast<int *>(_a[0]);
202 {
203 using _t = void (QGraphicsScale::*)();
204 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsScale::originChanged)) {
205 *result = 0;
206 return;
207 }
208 }
209 {
210 using _t = void (QGraphicsScale::*)();
211 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsScale::xScaleChanged)) {
212 *result = 1;
213 return;
214 }
215 }
216 {
217 using _t = void (QGraphicsScale::*)();
218 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsScale::yScaleChanged)) {
219 *result = 2;
220 return;
221 }
222 }
223 {
224 using _t = void (QGraphicsScale::*)();
225 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsScale::zScaleChanged)) {
226 *result = 3;
227 return;
228 }
229 }
230 {
231 using _t = void (QGraphicsScale::*)();
232 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsScale::scaleChanged)) {
233 *result = 4;
234 return;
235 }
236 }
237 }
238#ifndef QT_NO_PROPERTIES
239 else if (_c == QMetaObject::ReadProperty) {
240 Q_ASSERT(staticMetaObject.cast(_o));
241 auto *_t = static_cast<QGraphicsScale *>(_o);
242 Q_UNUSED(_t)
243 void *_v = _a[0];
244 switch (_id) {
245 case 0: *reinterpret_cast< QVector3D*>(_v) = _t->origin(); break;
246 case 1: *reinterpret_cast< qreal*>(_v) = _t->xScale(); break;
247 case 2: *reinterpret_cast< qreal*>(_v) = _t->yScale(); break;
248 case 3: *reinterpret_cast< qreal*>(_v) = _t->zScale(); break;
249 default: break;
250 }
251 } else if (_c == QMetaObject::WriteProperty) {
252 Q_ASSERT(staticMetaObject.cast(_o));
253 auto *_t = static_cast<QGraphicsScale *>(_o);
254 Q_UNUSED(_t)
255 void *_v = _a[0];
256 switch (_id) {
257 case 0: _t->setOrigin(*reinterpret_cast< QVector3D*>(_v)); break;
258 case 1: _t->setXScale(*reinterpret_cast< qreal*>(_v)); break;
259 case 2: _t->setYScale(*reinterpret_cast< qreal*>(_v)); break;
260 case 3: _t->setZScale(*reinterpret_cast< qreal*>(_v)); break;
261 default: break;
262 }
263 } else if (_c == QMetaObject::ResetProperty) {
264 } else if (_c == QMetaObject::BindableProperty) {
265 }
266#endif // QT_NO_PROPERTIES
267 Q_UNUSED(_a);
268}
269
270const QMetaObject QGraphicsScale::staticMetaObject = { {
271 QMetaObject::SuperData::link<QGraphicsTransform::staticMetaObject>(),
272 qt_meta_stringdata_QGraphicsScale.offsetsAndSize,
273 qt_meta_data_QGraphicsScale,
274 qt_static_metacall,
275 nullptr,
276qt_incomplete_metaTypeArray<qt_meta_stringdata_QGraphicsScale_t
277, QtPrivate::TypeAndForceComplete<QVector3D, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_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>
278
279
280
281>,
282 nullptr
283} };
284
285
286const QMetaObject *QGraphicsScale::metaObject() const
287{
288 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
289}
290
291void *QGraphicsScale::qt_metacast(const char *_clname)
292{
293 if (!_clname) return nullptr;
294 if (!strcmp(_clname, qt_meta_stringdata_QGraphicsScale.stringdata0))
295 return static_cast<void*>(this);
296 return QGraphicsTransform::qt_metacast(_clname);
297}
298
299int QGraphicsScale::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
300{
301 _id = QGraphicsTransform::qt_metacall(_c, _id, _a);
302 if (_id < 0)
303 return _id;
304 if (_c == QMetaObject::InvokeMetaMethod) {
305 if (_id < 5)
306 qt_static_metacall(this, _c, _id, _a);
307 _id -= 5;
308 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
309 if (_id < 5)
310 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
311 _id -= 5;
312 }
313#ifndef QT_NO_PROPERTIES
314 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
315 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
316 || _c == QMetaObject::RegisterPropertyMetaType) {
317 qt_static_metacall(this, _c, _id, _a);
318 _id -= 4;
319 }
320#endif // QT_NO_PROPERTIES
321 return _id;
322}
323
324// SIGNAL 0
325void QGraphicsScale::originChanged()
326{
327 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
328}
329
330// SIGNAL 1
331void QGraphicsScale::xScaleChanged()
332{
333 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
334}
335
336// SIGNAL 2
337void QGraphicsScale::yScaleChanged()
338{
339 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
340}
341
342// SIGNAL 3
343void QGraphicsScale::zScaleChanged()
344{
345 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
346}
347
348// SIGNAL 4
349void QGraphicsScale::scaleChanged()
350{
351 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
352}
353struct qt_meta_stringdata_QGraphicsRotation_t {
354 const uint offsetsAndSize[16];
355 char stringdata0[76];
356};
357#define QT_MOC_LITERAL(ofs, len) \
358 uint(offsetof(qt_meta_stringdata_QGraphicsRotation_t, stringdata0) + ofs), len
359static const qt_meta_stringdata_QGraphicsRotation_t qt_meta_stringdata_QGraphicsRotation = {
360 {
361QT_MOC_LITERAL(0, 17), // "QGraphicsRotation"
362QT_MOC_LITERAL(18, 13), // "originChanged"
363QT_MOC_LITERAL(32, 0), // ""
364QT_MOC_LITERAL(33, 12), // "angleChanged"
365QT_MOC_LITERAL(46, 11), // "axisChanged"
366QT_MOC_LITERAL(58, 6), // "origin"
367QT_MOC_LITERAL(65, 5), // "angle"
368QT_MOC_LITERAL(71, 4) // "axis"
369
370 },
371 "QGraphicsRotation\0originChanged\0\0"
372 "angleChanged\0axisChanged\0origin\0angle\0"
373 "axis"
374};
375#undef QT_MOC_LITERAL
376
377static const uint qt_meta_data_QGraphicsRotation[] = {
378
379 // content:
380 9, // revision
381 0, // classname
382 0, 0, // classinfo
383 3, 14, // methods
384 3, 35, // properties
385 0, 0, // enums/sets
386 0, 0, // constructors
387 0, // flags
388 3, // signalCount
389
390 // signals: name, argc, parameters, tag, flags, initial metatype offsets
391 1, 0, 32, 2, 0x06, 3 /* Public */,
392 3, 0, 33, 2, 0x06, 4 /* Public */,
393 4, 0, 34, 2, 0x06, 5 /* Public */,
394
395 // signals: parameters
396 QMetaType::Void,
397 QMetaType::Void,
398 QMetaType::Void,
399
400 // properties: name, type, flags
401 5, QMetaType::QVector3D, 0x00015103, uint(0), 0,
402 6, QMetaType::QReal, 0x00015103, uint(1), 0,
403 7, QMetaType::QVector3D, 0x00015103, uint(2), 0,
404
405 0 // eod
406};
407
408void QGraphicsRotation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
409{
410 if (_c == QMetaObject::InvokeMetaMethod) {
411 Q_ASSERT(staticMetaObject.cast(_o));
412 auto *_t = static_cast<QGraphicsRotation *>(_o);
413 Q_UNUSED(_t)
414 switch (_id) {
415 case 0: _t->originChanged(); break;
416 case 1: _t->angleChanged(); break;
417 case 2: _t->axisChanged(); break;
418 default: ;
419 }
420 } else if (_c == QMetaObject::IndexOfMethod) {
421 int *result = reinterpret_cast<int *>(_a[0]);
422 {
423 using _t = void (QGraphicsRotation::*)();
424 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsRotation::originChanged)) {
425 *result = 0;
426 return;
427 }
428 }
429 {
430 using _t = void (QGraphicsRotation::*)();
431 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsRotation::angleChanged)) {
432 *result = 1;
433 return;
434 }
435 }
436 {
437 using _t = void (QGraphicsRotation::*)();
438 if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QGraphicsRotation::axisChanged)) {
439 *result = 2;
440 return;
441 }
442 }
443 }
444#ifndef QT_NO_PROPERTIES
445 else if (_c == QMetaObject::ReadProperty) {
446 Q_ASSERT(staticMetaObject.cast(_o));
447 auto *_t = static_cast<QGraphicsRotation *>(_o);
448 Q_UNUSED(_t)
449 void *_v = _a[0];
450 switch (_id) {
451 case 0: *reinterpret_cast< QVector3D*>(_v) = _t->origin(); break;
452 case 1: *reinterpret_cast< qreal*>(_v) = _t->angle(); break;
453 case 2: *reinterpret_cast< QVector3D*>(_v) = _t->axis(); break;
454 default: break;
455 }
456 } else if (_c == QMetaObject::WriteProperty) {
457 Q_ASSERT(staticMetaObject.cast(_o));
458 auto *_t = static_cast<QGraphicsRotation *>(_o);
459 Q_UNUSED(_t)
460 void *_v = _a[0];
461 switch (_id) {
462 case 0: _t->setOrigin(*reinterpret_cast< QVector3D*>(_v)); break;
463 case 1: _t->setAngle(*reinterpret_cast< qreal*>(_v)); break;
464 case 2: _t->setAxis(*reinterpret_cast< QVector3D*>(_v)); break;
465 default: break;
466 }
467 } else if (_c == QMetaObject::ResetProperty) {
468 } else if (_c == QMetaObject::BindableProperty) {
469 }
470#endif // QT_NO_PROPERTIES
471 Q_UNUSED(_a);
472}
473
474const QMetaObject QGraphicsRotation::staticMetaObject = { {
475 QMetaObject::SuperData::link<QGraphicsTransform::staticMetaObject>(),
476 qt_meta_stringdata_QGraphicsRotation.offsetsAndSize,
477 qt_meta_data_QGraphicsRotation,
478 qt_static_metacall,
479 nullptr,
480qt_incomplete_metaTypeArray<qt_meta_stringdata_QGraphicsRotation_t
481, QtPrivate::TypeAndForceComplete<QVector3D, std::true_type>, QtPrivate::TypeAndForceComplete<qreal, std::true_type>, QtPrivate::TypeAndForceComplete<QVector3D, std::true_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
482
483
484
485>,
486 nullptr
487} };
488
489
490const QMetaObject *QGraphicsRotation::metaObject() const
491{
492 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
493}
494
495void *QGraphicsRotation::qt_metacast(const char *_clname)
496{
497 if (!_clname) return nullptr;
498 if (!strcmp(_clname, qt_meta_stringdata_QGraphicsRotation.stringdata0))
499 return static_cast<void*>(this);
500 return QGraphicsTransform::qt_metacast(_clname);
501}
502
503int QGraphicsRotation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
504{
505 _id = QGraphicsTransform::qt_metacall(_c, _id, _a);
506 if (_id < 0)
507 return _id;
508 if (_c == QMetaObject::InvokeMetaMethod) {
509 if (_id < 3)
510 qt_static_metacall(this, _c, _id, _a);
511 _id -= 3;
512 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
513 if (_id < 3)
514 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
515 _id -= 3;
516 }
517#ifndef QT_NO_PROPERTIES
518 else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
519 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
520 || _c == QMetaObject::RegisterPropertyMetaType) {
521 qt_static_metacall(this, _c, _id, _a);
522 _id -= 3;
523 }
524#endif // QT_NO_PROPERTIES
525 return _id;
526}
527
528// SIGNAL 0
529void QGraphicsRotation::originChanged()
530{
531 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
532}
533
534// SIGNAL 1
535void QGraphicsRotation::angleChanged()
536{
537 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
538}
539
540// SIGNAL 2
541void QGraphicsRotation::axisChanged()
542{
543 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
544}
545QT_WARNING_POP
546QT_END_MOC_NAMESPACE
547