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