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