9#include "../../../../src/models/keyframesmodel.h"
10#include <QtCore/qmetatype.h>
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'keyframesmodel.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.5.2. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
34QT_WARNING_DISABLE_DEPRECATED
35QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSKeyframesModelENDCLASS_t {};
40static constexpr auto qt_meta_stringdata_CLASSKeyframesModelENDCLASS = QtMocHelpers::stringData(
64 "setKeyframePosition",
68 "setKeyframeValuePosition",
70 "advancedKeyframesInUse",
71 "removeAdvancedKeyframes",
72 "simpleKeyframesInUse",
73 "removeSimpleKeyframes",
74 "DiscreteInterpolation",
75 "LinearInterpolation",
79struct qt_meta_stringdata_CLASSKeyframesModelENDCLASS_t {
80 uint offsetsAndSizes[72];
92 char stringdata11[13];
94 char stringdata13[14];
97 char stringdata16[15];
98 char stringdata17[14];
99 char stringdata18[16];
100 char stringdata19[13];
101 char stringdata20[17];
102 char stringdata21[18];
103 char stringdata22[5];
104 char stringdata23[20];
105 char stringdata24[12];
106 char stringdata25[6];
107 char stringdata26[17];
108 char stringdata27[25];
109 char stringdata28[11];
110 char stringdata29[23];
111 char stringdata30[24];
112 char stringdata31[21];
113 char stringdata32[22];
114 char stringdata33[22];
115 char stringdata34[20];
116 char stringdata35[20];
118#define QT_MOC_LITERAL(ofs, len) \
119 uint(sizeof(qt_meta_stringdata_CLASSKeyframesModelENDCLASS_t::offsetsAndSizes) + ofs), len
120Q_CONSTINIT
static const qt_meta_stringdata_CLASSKeyframesModelENDCLASS_t qt_meta_stringdata_CLASSKeyframesModelENDCLASS = {
122 QT_MOC_LITERAL(0, 14),
123 QT_MOC_LITERAL(15, 6),
124 QT_MOC_LITERAL(22, 0),
125 QT_MOC_LITERAL(23, 13),
126 QT_MOC_LITERAL(37, 9),
127 QT_MOC_LITERAL(47, 8),
128 QT_MOC_LITERAL(56, 6),
129 QT_MOC_LITERAL(63, 15),
130 QT_MOC_LITERAL(79, 8),
131 QT_MOC_LITERAL(88, 17),
132 QT_MOC_LITERAL(106, 5),
133 QT_MOC_LITERAL(112, 12),
134 QT_MOC_LITERAL(125, 2),
135 QT_MOC_LITERAL(128, 13),
136 QT_MOC_LITERAL(142, 3),
137 QT_MOC_LITERAL(146, 6),
138 QT_MOC_LITERAL(153, 14),
139 QT_MOC_LITERAL(168, 13),
140 QT_MOC_LITERAL(182, 15),
141 QT_MOC_LITERAL(198, 12),
142 QT_MOC_LITERAL(211, 16),
143 QT_MOC_LITERAL(228, 17),
144 QT_MOC_LITERAL(246, 4),
145 QT_MOC_LITERAL(251, 19),
146 QT_MOC_LITERAL(271, 11),
147 QT_MOC_LITERAL(283, 5),
148 QT_MOC_LITERAL(289, 16),
149 QT_MOC_LITERAL(306, 24),
150 QT_MOC_LITERAL(331, 10),
151 QT_MOC_LITERAL(342, 22),
152 QT_MOC_LITERAL(365, 23),
153 QT_MOC_LITERAL(389, 20),
154 QT_MOC_LITERAL(410, 21),
155 QT_MOC_LITERAL(432, 21),
156 QT_MOC_LITERAL(454, 19),
157 QT_MOC_LITERAL(474, 19)
182 "setKeyframePosition",
186 "setKeyframeValuePosition",
188 "advancedKeyframesInUse",
189 "removeAdvancedKeyframes",
190 "simpleKeyframesInUse",
191 "removeSimpleKeyframes",
192 "DiscreteInterpolation",
193 "LinearInterpolation",
194 "SmoothInterpolation"
200Q_CONSTINIT
static const uint qt_meta_data_CLASSKeyframesModelENDCLASS[] = {
214 1, 0, 140, 2, 0x06, 1 ,
215 3, 2, 141, 2, 0x06, 2 ,
218 6, 0, 146, 2, 0x0a, 5 ,
219 7, 1, 147, 2, 0x0a, 6 ,
220 9, 1, 150, 2, 0x0a, 8 ,
221 11, 1, 153, 2, 0x0a, 10 ,
222 13, 1, 156, 2, 0x0a, 12 ,
225 15, 2, 159, 2, 0x02, 14 ,
226 17, 2, 164, 2, 0x02, 17 ,
227 16, 1, 169, 2, 0x102, 20 ,
228 20, 3, 172, 2, 0x02, 22 ,
229 23, 3, 179, 2, 0x02, 26 ,
230 24, 4, 186, 2, 0x02, 30 ,
231 24, 2, 195, 2, 0x02, 35 ,
232 26, 3, 200, 2, 0x02, 38 ,
233 27, 4, 207, 2, 0x02, 42 ,
234 28, 2, 216, 2, 0x02, 47 ,
235 29, 0, 221, 2, 0x02, 50 ,
236 30, 0, 222, 2, 0x02, 51 ,
237 31, 0, 223, 2, 0x02, 52 ,
238 32, 0, 224, 2, 0x02, 53 ,
242 QMetaType::Void, QMetaType::QString, QMetaType::Int, 4, 5,
246 QMetaType::Void, QMetaType::QString, 8,
247 QMetaType::Void, QMetaType::Int, 10,
248 QMetaType::Void, QMetaType::Int, 12,
249 QMetaType::Void, QMetaType::Int, 14,
252 QMetaType::Bool, QMetaType::Int, QMetaType::Int, 16, 17,
253 QMetaType::Int, QMetaType::Int, QMetaType::Int, 16, 18,
254 QMetaType::Int, QMetaType::QString, 19,
255 QMetaType::Bool, QMetaType::Int, QMetaType::Int, 0x80000000 | 21, 16, 17, 22,
256 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, 16, 17, 5,
257 QMetaType::Void, QMetaType::Int, QMetaType::Double, QMetaType::Int, 0x80000000 | 21, 16, 25, 5, 22,
258 QMetaType::Void, QMetaType::Int, QMetaType::Int, 16, 5,
259 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Double, 16, 17, 25,
260 QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Double, QMetaType::Int, 16, 17, 25, 5,
261 QMetaType::Bool, QMetaType::Int, QMetaType::Int, 16, 5,
271 33, uint(KeyframesModel::DiscreteInterpolation),
272 34, uint(KeyframesModel::LinearInterpolation),
273 35, uint(KeyframesModel::SmoothInterpolation),
278Q_CONSTINIT
const QMetaObject KeyframesModel::staticMetaObject = { {
279 QMetaObject::SuperData::link<QAbstractItemModel::staticMetaObject>(),
280 qt_meta_stringdata_CLASSKeyframesModelENDCLASS.offsetsAndSizes,
281 qt_meta_data_CLASSKeyframesModelENDCLASS,
284 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSKeyframesModelENDCLASS_t,
286 QtPrivate::TypeAndForceComplete<KeyframesModel, std::true_type>,
288 QtPrivate::TypeAndForceComplete<void, std::false_type>,
290 QtPrivate::TypeAndForceComplete<void, std::false_type>,
291 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
292 QtPrivate::TypeAndForceComplete<int, std::false_type>,
294 QtPrivate::TypeAndForceComplete<void, std::false_type>,
296 QtPrivate::TypeAndForceComplete<void, std::false_type>,
297 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
299 QtPrivate::TypeAndForceComplete<void, std::false_type>,
300 QtPrivate::TypeAndForceComplete<int, std::false_type>,
302 QtPrivate::TypeAndForceComplete<void, std::false_type>,
303 QtPrivate::TypeAndForceComplete<int, std::false_type>,
305 QtPrivate::TypeAndForceComplete<void, std::false_type>,
306 QtPrivate::TypeAndForceComplete<int, std::false_type>,
308 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
309 QtPrivate::TypeAndForceComplete<int, std::false_type>,
310 QtPrivate::TypeAndForceComplete<int, std::false_type>,
312 QtPrivate::TypeAndForceComplete<int, std::false_type>,
313 QtPrivate::TypeAndForceComplete<int, std::false_type>,
314 QtPrivate::TypeAndForceComplete<int, std::false_type>,
316 QtPrivate::TypeAndForceComplete<int, std::false_type>,
317 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
319 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
320 QtPrivate::TypeAndForceComplete<int, std::false_type>,
321 QtPrivate::TypeAndForceComplete<int, std::false_type>,
322 QtPrivate::TypeAndForceComplete<InterpolationType, std::false_type>,
324 QtPrivate::TypeAndForceComplete<void, std::false_type>,
325 QtPrivate::TypeAndForceComplete<int, std::false_type>,
326 QtPrivate::TypeAndForceComplete<int, std::false_type>,
327 QtPrivate::TypeAndForceComplete<int, std::false_type>,
329 QtPrivate::TypeAndForceComplete<void, std::false_type>,
330 QtPrivate::TypeAndForceComplete<int, std::false_type>,
331 QtPrivate::TypeAndForceComplete<double, std::false_type>,
332 QtPrivate::TypeAndForceComplete<int, std::false_type>,
333 QtPrivate::TypeAndForceComplete<InterpolationType, std::false_type>,
335 QtPrivate::TypeAndForceComplete<void, std::false_type>,
336 QtPrivate::TypeAndForceComplete<int, std::false_type>,
337 QtPrivate::TypeAndForceComplete<int, std::false_type>,
339 QtPrivate::TypeAndForceComplete<void, std::false_type>,
340 QtPrivate::TypeAndForceComplete<int, std::false_type>,
341 QtPrivate::TypeAndForceComplete<int, std::false_type>,
342 QtPrivate::TypeAndForceComplete<double, std::false_type>,
344 QtPrivate::TypeAndForceComplete<void, std::false_type>,
345 QtPrivate::TypeAndForceComplete<int, std::false_type>,
346 QtPrivate::TypeAndForceComplete<int, std::false_type>,
347 QtPrivate::TypeAndForceComplete<double, std::false_type>,
348 QtPrivate::TypeAndForceComplete<int, std::false_type>,
350 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
351 QtPrivate::TypeAndForceComplete<int, std::false_type>,
352 QtPrivate::TypeAndForceComplete<int, std::false_type>,
354 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
356 QtPrivate::TypeAndForceComplete<void, std::false_type>,
358 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
360 QtPrivate::TypeAndForceComplete<void, std::false_type>
365void KeyframesModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
367 if (_c == QMetaObject::InvokeMetaMethod) {
368 auto *_t =
static_cast<KeyframesModel *
>(_o);
371 case 0: _t->loaded();
break;
372 case 1: _t->keyframeAdded((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
373 case 2: _t->reload();
break;
374 case 3: _t->onFilterChanged((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
375 case 4: _t->onFilterInChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
376 case 5: _t->trimFilterIn((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
377 case 6: _t->trimFilterOut((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
378 case 7: {
bool _r = _t->remove((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
379 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) = std::move(_r); }
break;
380 case 8: {
int _r = _t->keyframeIndex((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
381 if (_a[0]) *
reinterpret_cast< int*
>(_a[0]) = std::move(_r); }
break;
382 case 9: {
int _r = _t->parameterIndex((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
383 if (_a[0]) *
reinterpret_cast< int*
>(_a[0]) = std::move(_r); }
break;
384 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])));
385 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) = std::move(_r); }
break;
386 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;
387 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;
388 case 13: _t->addKeyframe((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
389 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;
390 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;
391 case 16: {
bool _r = _t->isKeyframe((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
392 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) = std::move(_r); }
break;
393 case 17: {
bool _r = _t->advancedKeyframesInUse();
394 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) = std::move(_r); }
break;
395 case 18: _t->removeAdvancedKeyframes();
break;
396 case 19: {
bool _r = _t->simpleKeyframesInUse();
397 if (_a[0]) *
reinterpret_cast< bool*
>(_a[0]) = std::move(_r); }
break;
398 case 20: _t->removeSimpleKeyframes();
break;
401 }
else if (_c == QMetaObject::IndexOfMethod) {
402 int *result =
reinterpret_cast<int *
>(_a[0]);
404 using _t = void (KeyframesModel::*)();
405 if (_t _q_method = &KeyframesModel::loaded; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
411 using _t = void (KeyframesModel::*)(QString , int );
412 if (_t _q_method = &KeyframesModel::keyframeAdded; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
420const QMetaObject *KeyframesModel::metaObject()
const
422 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
425void *KeyframesModel::qt_metacast(
const char *_clname)
427 if (!_clname)
return nullptr;
428 if (!strcmp(_clname, qt_meta_stringdata_CLASSKeyframesModelENDCLASS.stringdata0))
429 return static_cast<void*
>(
this);
430 return QAbstractItemModel::qt_metacast(_clname);
433int KeyframesModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
435 _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
438 if (_c == QMetaObject::InvokeMetaMethod) {
440 qt_static_metacall(
this, _c, _id, _a);
442 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
444 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
451void KeyframesModel::loaded()
453 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
457void KeyframesModel::keyframeAdded(QString _t1,
int _t2)
459 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
460 QMetaObject::activate(
this, &staticMetaObject, 1, _a);