CuteLogger
Fast and simple logging solution for Qt based applications
moc_keyframesmodel.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'keyframesmodel.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.5.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/models/keyframesmodel.h"
10#include <QtCore/qmetatype.h>
11
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
14#else
15QT_BEGIN_MOC_NAMESPACE
16#endif
17
18
19#include <memory>
20
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.)"
27#endif
28
29#ifndef Q_CONSTINIT
30#define Q_CONSTINIT
31#endif
32
33QT_WARNING_PUSH
34QT_WARNING_DISABLE_DEPRECATED
35QT_WARNING_DISABLE_GCC("-Wuseless-cast")
36namespace {
37
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSKeyframesModelENDCLASS_t {};
40static constexpr auto qt_meta_stringdata_CLASSKeyframesModelENDCLASS = QtMocHelpers::stringData(
41 "KeyframesModel",
42 "loaded",
43 "",
44 "keyframeAdded",
45 "parameter",
46 "position",
47 "reload",
48 "onFilterChanged",
49 "property",
50 "onFilterInChanged",
51 "delta",
52 "trimFilterIn",
53 "in",
54 "trimFilterOut",
55 "out",
56 "remove",
57 "parameterIndex",
58 "keyframeIndex",
59 "currentPosition",
60 "propertyName",
61 "setInterpolation",
62 "InterpolationType",
63 "type",
64 "setKeyframePosition",
65 "addKeyframe",
66 "value",
67 "setKeyframeValue",
68 "setKeyframeValuePosition",
69 "isKeyframe",
70 "advancedKeyframesInUse",
71 "removeAdvancedKeyframes",
72 "simpleKeyframesInUse",
73 "removeSimpleKeyframes",
74 "DiscreteInterpolation",
75 "LinearInterpolation",
76 "SmoothInterpolation"
77);
78#else // !QT_MOC_HAS_STRING_DATA
79struct qt_meta_stringdata_CLASSKeyframesModelENDCLASS_t {
80 uint offsetsAndSizes[72];
81 char stringdata0[15];
82 char stringdata1[7];
83 char stringdata2[1];
84 char stringdata3[14];
85 char stringdata4[10];
86 char stringdata5[9];
87 char stringdata6[7];
88 char stringdata7[16];
89 char stringdata8[9];
90 char stringdata9[18];
91 char stringdata10[6];
92 char stringdata11[13];
93 char stringdata12[3];
94 char stringdata13[14];
95 char stringdata14[4];
96 char stringdata15[7];
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];
117};
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 = {
121 {
122 QT_MOC_LITERAL(0, 14), // "KeyframesModel"
123 QT_MOC_LITERAL(15, 6), // "loaded"
124 QT_MOC_LITERAL(22, 0), // ""
125 QT_MOC_LITERAL(23, 13), // "keyframeAdded"
126 QT_MOC_LITERAL(37, 9), // "parameter"
127 QT_MOC_LITERAL(47, 8), // "position"
128 QT_MOC_LITERAL(56, 6), // "reload"
129 QT_MOC_LITERAL(63, 15), // "onFilterChanged"
130 QT_MOC_LITERAL(79, 8), // "property"
131 QT_MOC_LITERAL(88, 17), // "onFilterInChanged"
132 QT_MOC_LITERAL(106, 5), // "delta"
133 QT_MOC_LITERAL(112, 12), // "trimFilterIn"
134 QT_MOC_LITERAL(125, 2), // "in"
135 QT_MOC_LITERAL(128, 13), // "trimFilterOut"
136 QT_MOC_LITERAL(142, 3), // "out"
137 QT_MOC_LITERAL(146, 6), // "remove"
138 QT_MOC_LITERAL(153, 14), // "parameterIndex"
139 QT_MOC_LITERAL(168, 13), // "keyframeIndex"
140 QT_MOC_LITERAL(182, 15), // "currentPosition"
141 QT_MOC_LITERAL(198, 12), // "propertyName"
142 QT_MOC_LITERAL(211, 16), // "setInterpolation"
143 QT_MOC_LITERAL(228, 17), // "InterpolationType"
144 QT_MOC_LITERAL(246, 4), // "type"
145 QT_MOC_LITERAL(251, 19), // "setKeyframePosition"
146 QT_MOC_LITERAL(271, 11), // "addKeyframe"
147 QT_MOC_LITERAL(283, 5), // "value"
148 QT_MOC_LITERAL(289, 16), // "setKeyframeValue"
149 QT_MOC_LITERAL(306, 24), // "setKeyframeValuePosition"
150 QT_MOC_LITERAL(331, 10), // "isKeyframe"
151 QT_MOC_LITERAL(342, 22), // "advancedKeyframesInUse"
152 QT_MOC_LITERAL(365, 23), // "removeAdvancedKeyframes"
153 QT_MOC_LITERAL(389, 20), // "simpleKeyframesInUse"
154 QT_MOC_LITERAL(410, 21), // "removeSimpleKeyframes"
155 QT_MOC_LITERAL(432, 21), // "DiscreteInterpolation"
156 QT_MOC_LITERAL(454, 19), // "LinearInterpolation"
157 QT_MOC_LITERAL(474, 19) // "SmoothInterpolation"
158 },
159 "KeyframesModel",
160 "loaded",
161 "",
162 "keyframeAdded",
163 "parameter",
164 "position",
165 "reload",
166 "onFilterChanged",
167 "property",
168 "onFilterInChanged",
169 "delta",
170 "trimFilterIn",
171 "in",
172 "trimFilterOut",
173 "out",
174 "remove",
175 "parameterIndex",
176 "keyframeIndex",
177 "currentPosition",
178 "propertyName",
179 "setInterpolation",
180 "InterpolationType",
181 "type",
182 "setKeyframePosition",
183 "addKeyframe",
184 "value",
185 "setKeyframeValue",
186 "setKeyframeValuePosition",
187 "isKeyframe",
188 "advancedKeyframesInUse",
189 "removeAdvancedKeyframes",
190 "simpleKeyframesInUse",
191 "removeSimpleKeyframes",
192 "DiscreteInterpolation",
193 "LinearInterpolation",
194 "SmoothInterpolation"
195};
196#undef QT_MOC_LITERAL
197#endif // !QT_MOC_HAS_STRING_DATA
198} // unnamed namespace
199
200Q_CONSTINIT static const uint qt_meta_data_CLASSKeyframesModelENDCLASS[] = {
201
202 // content:
203 11, // revision
204 0, // classname
205 0, 0, // classinfo
206 21, 14, // methods
207 0, 0, // properties
208 1, 225, // enums/sets
209 0, 0, // constructors
210 0, // flags
211 2, // signalCount
212
213 // signals: name, argc, parameters, tag, flags, initial metatype offsets
214 1, 0, 140, 2, 0x06, 1 /* Public */,
215 3, 2, 141, 2, 0x06, 2 /* Public */,
216
217 // slots: name, argc, parameters, tag, flags, initial metatype offsets
218 6, 0, 146, 2, 0x0a, 5 /* Public */,
219 7, 1, 147, 2, 0x0a, 6 /* Public */,
220 9, 1, 150, 2, 0x0a, 8 /* Public */,
221 11, 1, 153, 2, 0x0a, 10 /* Public */,
222 13, 1, 156, 2, 0x0a, 12 /* Public */,
223
224 // methods: name, argc, parameters, tag, flags, initial metatype offsets
225 15, 2, 159, 2, 0x02, 14 /* Public */,
226 17, 2, 164, 2, 0x02, 17 /* Public */,
227 16, 1, 169, 2, 0x102, 20 /* Public | MethodIsConst */,
228 20, 3, 172, 2, 0x02, 22 /* Public */,
229 23, 3, 179, 2, 0x02, 26 /* Public */,
230 24, 4, 186, 2, 0x02, 30 /* Public */,
231 24, 2, 195, 2, 0x02, 35 /* Public */,
232 26, 3, 200, 2, 0x02, 38 /* Public */,
233 27, 4, 207, 2, 0x02, 42 /* Public */,
234 28, 2, 216, 2, 0x02, 47 /* Public */,
235 29, 0, 221, 2, 0x02, 50 /* Public */,
236 30, 0, 222, 2, 0x02, 51 /* Public */,
237 31, 0, 223, 2, 0x02, 52 /* Public */,
238 32, 0, 224, 2, 0x02, 53 /* Public */,
239
240 // signals: parameters
241 QMetaType::Void,
242 QMetaType::Void, QMetaType::QString, QMetaType::Int, 4, 5,
243
244 // slots: parameters
245 QMetaType::Void,
246 QMetaType::Void, QMetaType::QString, 8,
247 QMetaType::Void, QMetaType::Int, 10,
248 QMetaType::Void, QMetaType::Int, 12,
249 QMetaType::Void, QMetaType::Int, 14,
250
251 // methods: parameters
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,
262 QMetaType::Bool,
263 QMetaType::Void,
264 QMetaType::Bool,
265 QMetaType::Void,
266
267 // enums: name, alias, flags, count, data
268 21, 21, 0x0, 3, 230,
269
270 // enum data: key, value
271 33, uint(KeyframesModel::DiscreteInterpolation),
272 34, uint(KeyframesModel::LinearInterpolation),
273 35, uint(KeyframesModel::SmoothInterpolation),
274
275 0 // eod
276};
277
278Q_CONSTINIT const QMetaObject KeyframesModel::staticMetaObject = { {
279 QMetaObject::SuperData::link<QAbstractItemModel::staticMetaObject>(),
280 qt_meta_stringdata_CLASSKeyframesModelENDCLASS.offsetsAndSizes,
281 qt_meta_data_CLASSKeyframesModelENDCLASS,
282 qt_static_metacall,
283 nullptr,
284 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSKeyframesModelENDCLASS_t,
285 // Q_OBJECT / Q_GADGET
286 QtPrivate::TypeAndForceComplete<KeyframesModel, std::true_type>,
287 // method 'loaded'
288 QtPrivate::TypeAndForceComplete<void, std::false_type>,
289 // method 'keyframeAdded'
290 QtPrivate::TypeAndForceComplete<void, std::false_type>,
291 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
292 QtPrivate::TypeAndForceComplete<int, std::false_type>,
293 // method 'reload'
294 QtPrivate::TypeAndForceComplete<void, std::false_type>,
295 // method 'onFilterChanged'
296 QtPrivate::TypeAndForceComplete<void, std::false_type>,
297 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
298 // method 'onFilterInChanged'
299 QtPrivate::TypeAndForceComplete<void, std::false_type>,
300 QtPrivate::TypeAndForceComplete<int, std::false_type>,
301 // method 'trimFilterIn'
302 QtPrivate::TypeAndForceComplete<void, std::false_type>,
303 QtPrivate::TypeAndForceComplete<int, std::false_type>,
304 // method 'trimFilterOut'
305 QtPrivate::TypeAndForceComplete<void, std::false_type>,
306 QtPrivate::TypeAndForceComplete<int, std::false_type>,
307 // method 'remove'
308 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
309 QtPrivate::TypeAndForceComplete<int, std::false_type>,
310 QtPrivate::TypeAndForceComplete<int, std::false_type>,
311 // method 'keyframeIndex'
312 QtPrivate::TypeAndForceComplete<int, std::false_type>,
313 QtPrivate::TypeAndForceComplete<int, std::false_type>,
314 QtPrivate::TypeAndForceComplete<int, std::false_type>,
315 // method 'parameterIndex'
316 QtPrivate::TypeAndForceComplete<int, std::false_type>,
317 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
318 // method 'setInterpolation'
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>,
323 // method 'setKeyframePosition'
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>,
328 // method 'addKeyframe'
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>,
334 // method 'addKeyframe'
335 QtPrivate::TypeAndForceComplete<void, std::false_type>,
336 QtPrivate::TypeAndForceComplete<int, std::false_type>,
337 QtPrivate::TypeAndForceComplete<int, std::false_type>,
338 // method 'setKeyframeValue'
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>,
343 // method 'setKeyframeValuePosition'
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>,
349 // method 'isKeyframe'
350 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
351 QtPrivate::TypeAndForceComplete<int, std::false_type>,
352 QtPrivate::TypeAndForceComplete<int, std::false_type>,
353 // method 'advancedKeyframesInUse'
354 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
355 // method 'removeAdvancedKeyframes'
356 QtPrivate::TypeAndForceComplete<void, std::false_type>,
357 // method 'simpleKeyframesInUse'
358 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
359 // method 'removeSimpleKeyframes'
360 QtPrivate::TypeAndForceComplete<void, std::false_type>
361 >,
362 nullptr
363} };
364
365void KeyframesModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
366{
367 if (_c == QMetaObject::InvokeMetaMethod) {
368 auto *_t = static_cast<KeyframesModel *>(_o);
369 (void)_t;
370 switch (_id) {
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;
399 default: ;
400 }
401 } else if (_c == QMetaObject::IndexOfMethod) {
402 int *result = reinterpret_cast<int *>(_a[0]);
403 {
404 using _t = void (KeyframesModel::*)();
405 if (_t _q_method = &KeyframesModel::loaded; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
406 *result = 0;
407 return;
408 }
409 }
410 {
411 using _t = void (KeyframesModel::*)(QString , int );
412 if (_t _q_method = &KeyframesModel::keyframeAdded; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
413 *result = 1;
414 return;
415 }
416 }
417 }
418}
419
420const QMetaObject *KeyframesModel::metaObject() const
421{
422 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
423}
424
425void *KeyframesModel::qt_metacast(const char *_clname)
426{
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);
431}
432
433int KeyframesModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
434{
435 _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
436 if (_id < 0)
437 return _id;
438 if (_c == QMetaObject::InvokeMetaMethod) {
439 if (_id < 21)
440 qt_static_metacall(this, _c, _id, _a);
441 _id -= 21;
442 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
443 if (_id < 21)
444 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
445 _id -= 21;
446 }
447 return _id;
448}
449
450// SIGNAL 0
451void KeyframesModel::loaded()
452{
453 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
454}
455
456// SIGNAL 1
457void KeyframesModel::keyframeAdded(QString _t1, int _t2)
458{
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);
461}
462QT_WARNING_POP