1/****************************************************************************
2** Meta object code from reading C++ file 'customproxy.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 "customproxy.h"
11#include <QtCore/qbytearray.h>
12#include <QtCore/qmetatype.h>
13#if !defined(Q_MOC_OUTPUT_REVISION)
14#error "The header file 'customproxy.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_CustomProxy_t {
25 const uint offsetsAndSize[16];
26 char stringdata0[74];
27};
28#define QT_MOC_LITERAL(ofs, len) \
29 uint(offsetof(qt_meta_stringdata_CustomProxy_t, stringdata0) + ofs), len
30static const qt_meta_stringdata_CustomProxy_t qt_meta_stringdata_CustomProxy = {
31 {
32QT_MOC_LITERAL(0, 11), // "CustomProxy"
33QT_MOC_LITERAL(12, 10), // "updateStep"
34QT_MOC_LITERAL(23, 0), // ""
35QT_MOC_LITERAL(24, 4), // "step"
36QT_MOC_LITERAL(29, 12), // "stateChanged"
37QT_MOC_LITERAL(42, 16), // "QTimeLine::State"
38QT_MOC_LITERAL(59, 6), // "zoomIn"
39QT_MOC_LITERAL(66, 7) // "zoomOut"
40
41 },
42 "CustomProxy\0updateStep\0\0step\0stateChanged\0"
43 "QTimeLine::State\0zoomIn\0zoomOut"
44};
45#undef QT_MOC_LITERAL
46
47static const uint qt_meta_data_CustomProxy[] = {
48
49 // content:
50 9, // revision
51 0, // classname
52 0, 0, // classinfo
53 4, 14, // methods
54 0, 0, // properties
55 0, 0, // enums/sets
56 0, 0, // constructors
57 0, // flags
58 0, // signalCount
59
60 // slots: name, argc, parameters, tag, flags, initial metatype offsets
61 1, 1, 38, 2, 0x08, 0 /* Private */,
62 4, 1, 41, 2, 0x08, 2 /* Private */,
63 6, 0, 44, 2, 0x08, 4 /* Private */,
64 7, 0, 45, 2, 0x08, 5 /* Private */,
65
66 // slots: parameters
67 QMetaType::Void, QMetaType::QReal, 3,
68 QMetaType::Void, 0x80000000 | 5, 2,
69 QMetaType::Void,
70 QMetaType::Void,
71
72 0 // eod
73};
74
75void CustomProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
76{
77 if (_c == QMetaObject::InvokeMetaMethod) {
78 Q_ASSERT(staticMetaObject.cast(_o));
79 auto *_t = static_cast<CustomProxy *>(_o);
80 Q_UNUSED(_t)
81 switch (_id) {
82 case 0: _t->updateStep((*reinterpret_cast< qreal(*)>(_a[1]))); break;
83 case 1: _t->stateChanged((*reinterpret_cast< QTimeLine::State(*)>(_a[1]))); break;
84 case 2: _t->zoomIn(); break;
85 case 3: _t->zoomOut(); break;
86 default: ;
87 }
88 }
89}
90
91const QMetaObject CustomProxy::staticMetaObject = { {
92 QMetaObject::SuperData::link<QGraphicsProxyWidget::staticMetaObject>(),
93 qt_meta_stringdata_CustomProxy.offsetsAndSize,
94 qt_meta_data_CustomProxy,
95 qt_static_metacall,
96 nullptr,
97qt_incomplete_metaTypeArray<qt_meta_stringdata_CustomProxy_t
98
99, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<qreal, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<QTimeLine::State, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>, QtPrivate::TypeAndForceComplete<void, std::false_type>
100
101
102>,
103 nullptr
104} };
105
106
107const QMetaObject *CustomProxy::metaObject() const
108{
109 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
110}
111
112void *CustomProxy::qt_metacast(const char *_clname)
113{
114 if (!_clname) return nullptr;
115 if (!strcmp(_clname, qt_meta_stringdata_CustomProxy.stringdata0))
116 return static_cast<void*>(this);
117 return QGraphicsProxyWidget::qt_metacast(_clname);
118}
119
120int CustomProxy::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
121{
122 _id = QGraphicsProxyWidget::qt_metacall(_c, _id, _a);
123 if (_id < 0)
124 return _id;
125 if (_c == QMetaObject::InvokeMetaMethod) {
126 if (_id < 4)
127 qt_static_metacall(this, _c, _id, _a);
128 _id -= 4;
129 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
130 if (_id < 4)
131 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
132 _id -= 4;
133 }
134 return _id;
135}
136QT_WARNING_POP
137QT_END_MOC_NAMESPACE
138