9#include "../../../../src/models/keyframesmodel.h"
10#include <QtCore/qmetatype.h>
12#include <QtCore/qtmochelpers.h>
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'keyframesmodel.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.3. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
34struct qt_meta_tag_ZN14KeyframesModelE_t {};
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN14KeyframesModelE = QtMocHelpers::stringData(
63 "setKeyframePosition",
67 "setKeyframeValuePosition",
69 "advancedKeyframesInUse",
70 "removeAdvancedKeyframes",
71 "simpleKeyframesInUse",
72 "removeSimpleKeyframes",
73 "DiscreteInterpolation",
74 "LinearInterpolation",
75 "SmoothLooseInterpolation",
76 "SmoothNaturalInterpolation",
77 "SmoothTightInterpolation",
80 "EaseInOutSinusoidal",
95 "EaseInOutExponential",
110#error "qtmochelpers.h not found or too old."
113Q_CONSTINIT
static const uint qt_meta_data_ZN14KeyframesModelE[] = {
127 1, 0, 140, 2, 0x06, 2 ,
128 3, 2, 141, 2, 0x06, 3 ,
131 6, 0, 146, 2, 0x0a, 6 ,
132 7, 1, 147, 2, 0x0a, 7 ,
133 9, 1, 150, 2, 0x0a, 9 ,
134 11, 1, 153, 2, 0x0a, 11 ,
135 13, 1, 156, 2, 0x0a, 13 ,
138 15, 2, 159, 2, 0x02, 15 ,
139 17, 2, 164, 2, 0x02, 18 ,
140 16, 1, 169, 2, 0x102, 21 ,
141 20, 3, 172, 2, 0x02, 23 ,
142 23, 3, 179, 2, 0x02, 27 ,
143 24, 4, 186, 2, 0x02, 31 ,
144 24, 2, 195, 2, 0x02, 36 ,
145 26, 3, 200, 2, 0x02, 39 ,
146 27, 4, 207, 2, 0x02, 43 ,
147 28, 2, 216, 2, 0x02, 48 ,
148 29, 0, 221, 2, 0x02, 51 ,
149 30, 0, 222, 2, 0x02, 52 ,
150 31, 0, 223, 2, 0x02, 53 ,
151 32, 0, 224, 2, 0x02, 54 ,
155 QMetaType::Void, QMetaType::QString, QMetaType::Int, 4, 5,
159 QMetaType::Void, QMetaType::QString, 8,
160 QMetaType::Void, QMetaType::Int, 10,
161 QMetaType::Void, QMetaType::Int, 12,
162 QMetaType::Void, QMetaType::Int, 14,
165 QMetaType::Bool, QMetaType::Int, QMetaType::Int, 16, 17,
166 QMetaType::Int, QMetaType::Int, QMetaType::Int, 16, 18,
167 QMetaType::Int, QMetaType::QString, 19,
168 QMetaType::Bool, QMetaType::Int, QMetaType::Int, 0x80000000 | 21, 16, 17, 22,
169 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 16, 17, 5,
170 QMetaType::Void, QMetaType::Int, QMetaType::Double, QMetaType::Int, 0x80000000 | 21, 16, 25, 5, 22,
171 QMetaType::Void, QMetaType::Int, QMetaType::Int, 16, 5,
172 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Double, 16, 17, 25,
173 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Double, QMetaType::Int, 16, 17, 25, 5,
174 QMetaType::Bool, QMetaType::Int, QMetaType::Int, 16, 5,
181 21, 21, 0x0, 35, 230,
184 33, uint(KeyframesModel::DiscreteInterpolation),
185 34, uint(KeyframesModel::LinearInterpolation),
186 35, uint(KeyframesModel::SmoothLooseInterpolation),
187 36, uint(KeyframesModel::SmoothNaturalInterpolation),
188 37, uint(KeyframesModel::SmoothTightInterpolation),
189 38, uint(KeyframesModel::EaseInSinusoidal),
190 39, uint(KeyframesModel::EaseOutSinusoidal),
191 40, uint(KeyframesModel::EaseInOutSinusoidal),
192 41, uint(KeyframesModel::EaseInQuadratic),
193 42, uint(KeyframesModel::EaseOutQuadratic),
194 43, uint(KeyframesModel::EaseInOutQuadratic),
195 44, uint(KeyframesModel::EaseInCubic),
196 45, uint(KeyframesModel::EaseOutCubic),
197 46, uint(KeyframesModel::EaseInOutCubic),
198 47, uint(KeyframesModel::EaseInQuartic),
199 48, uint(KeyframesModel::EaseOutQuartic),
200 49, uint(KeyframesModel::EaseInOutQuartic),
201 50, uint(KeyframesModel::EaseInQuintic),
202 51, uint(KeyframesModel::EaseOutQuintic),
203 52, uint(KeyframesModel::EaseInOutQuintic),
204 53, uint(KeyframesModel::EaseInExponential),
205 54, uint(KeyframesModel::EaseOutExponential),
206 55, uint(KeyframesModel::EaseInOutExponential),
207 56, uint(KeyframesModel::EaseInCircular),
208 57, uint(KeyframesModel::EaseOutCircular),
209 58, uint(KeyframesModel::EaseInOutCircular),
210 59, uint(KeyframesModel::EaseInBack),
211 60, uint(KeyframesModel::EaseOutBack),
212 61, uint(KeyframesModel::EaseInOutBack),
213 62, uint(KeyframesModel::EaseInElastic),
214 63, uint(KeyframesModel::EaseOutElastic),
215 64, uint(KeyframesModel::EaseInOutElastic),
216 65, uint(KeyframesModel::EaseInBounce),
217 66, uint(KeyframesModel::EaseOutBounce),
218 67, uint(KeyframesModel::EaseInOutBounce),
223Q_CONSTINIT
const QMetaObject KeyframesModel::staticMetaObject = { {
224 QMetaObject::SuperData::link<QAbstractItemModel::staticMetaObject>(),
225 qt_meta_stringdata_ZN14KeyframesModelE.offsetsAndSizes,
226 qt_meta_data_ZN14KeyframesModelE,
229 qt_incomplete_metaTypeArray<qt_meta_tag_ZN14KeyframesModelE_t,
231 QtPrivate::TypeAndForceComplete<KeyframesModel::InterpolationType, std::true_type>,
233 QtPrivate::TypeAndForceComplete<KeyframesModel, std::true_type>,
235 QtPrivate::TypeAndForceComplete<void, std::false_type>,
237 QtPrivate::TypeAndForceComplete<void, std::false_type>,
238 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
239 QtPrivate::TypeAndForceComplete<int, std::false_type>,
241 QtPrivate::TypeAndForceComplete<void, std::false_type>,
243 QtPrivate::TypeAndForceComplete<void, std::false_type>,
244 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
246 QtPrivate::TypeAndForceComplete<void, std::false_type>,
247 QtPrivate::TypeAndForceComplete<int, std::false_type>,
249 QtPrivate::TypeAndForceComplete<void, std::false_type>,
250 QtPrivate::TypeAndForceComplete<int, std::false_type>,
252 QtPrivate::TypeAndForceComplete<void, std::false_type>,
253 QtPrivate::TypeAndForceComplete<int, std::false_type>,
255 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
256 QtPrivate::TypeAndForceComplete<int, std::false_type>,
257 QtPrivate::TypeAndForceComplete<int, std::false_type>,
259 QtPrivate::TypeAndForceComplete<int, std::false_type>,
260 QtPrivate::TypeAndForceComplete<int, std::false_type>,
261 QtPrivate::TypeAndForceComplete<int, std::false_type>,
263 QtPrivate::TypeAndForceComplete<int, std::false_type>,
264 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
266 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
267 QtPrivate::TypeAndForceComplete<int, std::false_type>,
268 QtPrivate::TypeAndForceComplete<int, std::false_type>,
269 QtPrivate::TypeAndForceComplete<InterpolationType, std::false_type>,
271 QtPrivate::TypeAndForceComplete<void, std::false_type>,
272 QtPrivate::TypeAndForceComplete<int, std::false_type>,
273 QtPrivate::TypeAndForceComplete<int, std::false_type>,
274 QtPrivate::TypeAndForceComplete<int, std::false_type>,
276 QtPrivate::TypeAndForceComplete<void, std::false_type>,
277 QtPrivate::TypeAndForceComplete<int, std::false_type>,
278 QtPrivate::TypeAndForceComplete<double, std::false_type>,
279 QtPrivate::TypeAndForceComplete<int, std::false_type>,
280 QtPrivate::TypeAndForceComplete<InterpolationType, std::false_type>,
282 QtPrivate::TypeAndForceComplete<void, std::false_type>,
283 QtPrivate::TypeAndForceComplete<int, std::false_type>,
284 QtPrivate::TypeAndForceComplete<int, std::false_type>,
286 QtPrivate::TypeAndForceComplete<void, std::false_type>,
287 QtPrivate::TypeAndForceComplete<int, std::false_type>,
288 QtPrivate::TypeAndForceComplete<int, std::false_type>,
289 QtPrivate::TypeAndForceComplete<double, std::false_type>,
291 QtPrivate::TypeAndForceComplete<void, std::false_type>,
292 QtPrivate::TypeAndForceComplete<int, std::false_type>,
293 QtPrivate::TypeAndForceComplete<int, std::false_type>,
294 QtPrivate::TypeAndForceComplete<double, std::false_type>,
295 QtPrivate::TypeAndForceComplete<int, std::false_type>,
297 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
298 QtPrivate::TypeAndForceComplete<int, std::false_type>,
299 QtPrivate::TypeAndForceComplete<int, std::false_type>,
301 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
303 QtPrivate::TypeAndForceComplete<void, std::false_type>,
305 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
307 QtPrivate::TypeAndForceComplete<void, std::false_type>
312void KeyframesModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
314 auto *_t =
static_cast<KeyframesModel *
>(_o);
315 if (_c == QMetaObject::InvokeMetaMethod) {
317 case 0: _t->loaded();
break;
318 case 1: _t->keyframeAdded((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
319 case 2: _t->reload();
break;
320 case 3: _t->onFilterChanged((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
321 case 4: _t->onFilterInChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
322 case 5: _t->trimFilterIn((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
323 case 6: _t->trimFilterOut((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
324 case 7: {
bool _r = _t->remove((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
325 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) = std::move(_r); }
break;
326 case 8: {
int _r = _t->keyframeIndex((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
327 if (_a[0]) *
reinterpret_cast< int*
>(_a[0]) = std::move(_r); }
break;
328 case 9: {
int _r = _t->parameterIndex((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
329 if (_a[0]) *
reinterpret_cast< int*
>(_a[0]) = std::move(_r); }
break;
330 case 10: {
bool _r = _t->setInterpolation((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<InterpolationType>
>(_a[3])));
331 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) = std::move(_r); }
break;
332 case 11: _t->setKeyframePosition((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])));
break;
333 case 12: _t->addKeyframe((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<double>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])),(*
reinterpret_cast< std::add_pointer_t<InterpolationType>
>(_a[4])));
break;
334 case 13: _t->addKeyframe((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
335 case 14: _t->setKeyframeValue((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<double>
>(_a[3])));
break;
336 case 15: _t->setKeyframeValuePosition((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<double>
>(_a[3])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[4])));
break;
337 case 16: {
bool _r = _t->isKeyframe((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
338 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) = std::move(_r); }
break;
339 case 17: {
bool _r = _t->advancedKeyframesInUse();
340 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) = std::move(_r); }
break;
341 case 18: _t->removeAdvancedKeyframes();
break;
342 case 19: {
bool _r = _t->simpleKeyframesInUse();
343 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) = std::move(_r); }
break;
344 case 20: _t->removeSimpleKeyframes();
break;
348 if (_c == QMetaObject::IndexOfMethod) {
349 int *result =
reinterpret_cast<int *
>(_a[0]);
351 using _q_method_type = void (KeyframesModel::*)();
352 if (_q_method_type _q_method = &KeyframesModel::loaded; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
358 using _q_method_type = void (KeyframesModel::*)(QString , int );
359 if (_q_method_type _q_method = &KeyframesModel::keyframeAdded; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
367const QMetaObject *KeyframesModel::metaObject()
const
369 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
372void *KeyframesModel::qt_metacast(
const char *_clname)
374 if (!_clname)
return nullptr;
375 if (!strcmp(_clname, qt_meta_stringdata_ZN14KeyframesModelE.stringdata0))
376 return static_cast<void*
>(
this);
377 return QAbstractItemModel::qt_metacast(_clname);
380int KeyframesModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
382 _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
385 if (_c == QMetaObject::InvokeMetaMethod) {
387 qt_static_metacall(
this, _c, _id, _a);
390 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
392 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
399void KeyframesModel::loaded()
401 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
405void KeyframesModel::keyframeAdded(QString _t1,
int _t2)
407 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
408 QMetaObject::activate(
this, &staticMetaObject, 1, _a);