CuteLogger
Fast and simple logging solution for Qt based applications
moc_motiontrackermodel.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'motiontrackermodel.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.2)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/models/motiontrackermodel.h"
10#include <QtCore/qmetatype.h>
11
12#include <QtCore/qtmochelpers.h>
13
14#include <memory>
15
16
17#include <QtCore/qxptype_traits.h>
18#if !defined(Q_MOC_OUTPUT_REVISION)
19#error "The header file 'motiontrackermodel.h' doesn't include <QObject>."
20#elif Q_MOC_OUTPUT_REVISION != 68
21#error "This file was generated using the moc from 6.8.2. It"
22#error "cannot be used with the include files from this version of Qt."
23#error "(The moc has changed too much.)"
24#endif
25
26#ifndef Q_CONSTINIT
27#define Q_CONSTINIT
28#endif
29
30QT_WARNING_PUSH
31QT_WARNING_DISABLE_DEPRECATED
32QT_WARNING_DISABLE_GCC("-Wuseless-cast")
33namespace {
34struct qt_meta_tag_ZN18MotionTrackerModelE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN18MotionTrackerModelE = QtMocHelpers::stringData(
40 "MotionTrackerModel",
41 "removeFromService",
42 "",
43 "Mlt::Service*",
44 "service",
45 "setName",
46 "QmlFilter*",
47 "filter",
48 "name",
49 "nextName",
50 "reset",
51 "property",
52 "row",
53 "trackingData",
54 "QList<QRectF>",
55 "keyframeIntervalFrames",
56 "undo",
57 "propertyName",
58 "nameProperty",
59 "operationProperty"
60);
61#else // !QT_MOC_HAS_STRINGDATA
62#error "qtmochelpers.h not found or too old."
63#endif // !QT_MOC_HAS_STRINGDATA
64
65Q_CONSTINIT static const uint qt_meta_data_ZN18MotionTrackerModelE[] = {
66
67 // content:
68 12, // revision
69 0, // classname
70 0, 0, // classinfo
71 9, 14, // methods
72 2, 99, // properties
73 0, 0, // enums/sets
74 0, 0, // constructors
75 0, // flags
76 0, // signalCount
77
78 // slots: name, argc, parameters, tag, flags, initial metatype offsets
79 1, 1, 68, 2, 0x0a, 3 /* Public */,
80
81 // methods: name, argc, parameters, tag, flags, initial metatype offsets
82 5, 2, 71, 2, 0x02, 5 /* Public */,
83 9, 0, 76, 2, 0x102, 8 /* Public | MethodIsConst */,
84 10, 3, 77, 2, 0x02, 9 /* Public */,
85 13, 1, 84, 2, 0x102, 13 /* Public | MethodIsConst */,
86 15, 1, 87, 2, 0x102, 15 /* Public | MethodIsConst */,
87 16, 2, 90, 2, 0x02, 17 /* Public */,
88 16, 1, 95, 2, 0x22, 20 /* Public | MethodCloned */,
89 16, 0, 98, 2, 0x22, 22 /* Public | MethodCloned */,
90
91 // slots: parameters
92 QMetaType::Void, 0x80000000 | 3, 4,
93
94 // methods: parameters
95 QMetaType::Void, 0x80000000 | 6, QMetaType::QString, 7, 8,
96 QMetaType::QString,
97 QMetaType::Void, 0x80000000 | 6, QMetaType::QString, QMetaType::Int, 7, 11, 12,
98 0x80000000 | 14, QMetaType::Int, 12,
99 QMetaType::Int, QMetaType::Int, 12,
100 QMetaType::Void, 0x80000000 | 6, QMetaType::QString, 7, 17,
101 QMetaType::Void, 0x80000000 | 6, 7,
102 QMetaType::Void,
103
104 // properties: name, type, flags, notifyId, revision
105 18, QMetaType::QString, 0x00015401, uint(-1), 0,
106 19, QMetaType::QString, 0x00015401, uint(-1), 0,
107
108 0 // eod
109};
110
111Q_CONSTINIT const QMetaObject MotionTrackerModel::staticMetaObject = { {
112 QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
113 qt_meta_stringdata_ZN18MotionTrackerModelE.offsetsAndSizes,
114 qt_meta_data_ZN18MotionTrackerModelE,
115 qt_static_metacall,
116 nullptr,
117 qt_incomplete_metaTypeArray<qt_meta_tag_ZN18MotionTrackerModelE_t,
118 // property 'nameProperty'
119 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
120 // property 'operationProperty'
121 QtPrivate::TypeAndForceComplete<QString, std::true_type>,
122 // Q_OBJECT / Q_GADGET
123 QtPrivate::TypeAndForceComplete<MotionTrackerModel, std::true_type>,
124 // method 'removeFromService'
125 QtPrivate::TypeAndForceComplete<void, std::false_type>,
126 QtPrivate::TypeAndForceComplete<Mlt::Service *, std::false_type>,
127 // method 'setName'
128 QtPrivate::TypeAndForceComplete<void, std::false_type>,
129 QtPrivate::TypeAndForceComplete<QmlFilter *, std::false_type>,
130 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
131 // method 'nextName'
132 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
133 // method 'reset'
134 QtPrivate::TypeAndForceComplete<void, std::false_type>,
135 QtPrivate::TypeAndForceComplete<QmlFilter *, std::false_type>,
136 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
137 QtPrivate::TypeAndForceComplete<int, std::false_type>,
138 // method 'trackingData'
139 QtPrivate::TypeAndForceComplete<QList<QRectF>, std::false_type>,
140 QtPrivate::TypeAndForceComplete<int, std::false_type>,
141 // method 'keyframeIntervalFrames'
142 QtPrivate::TypeAndForceComplete<int, std::false_type>,
143 QtPrivate::TypeAndForceComplete<int, std::false_type>,
144 // method 'undo'
145 QtPrivate::TypeAndForceComplete<void, std::false_type>,
146 QtPrivate::TypeAndForceComplete<QmlFilter *, std::false_type>,
147 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
148 // method 'undo'
149 QtPrivate::TypeAndForceComplete<void, std::false_type>,
150 QtPrivate::TypeAndForceComplete<QmlFilter *, std::false_type>,
151 // method 'undo'
152 QtPrivate::TypeAndForceComplete<void, std::false_type>
153 >,
154 nullptr
155} };
156
157void MotionTrackerModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
158{
159 auto *_t = static_cast<MotionTrackerModel *>(_o);
160 if (_c == QMetaObject::InvokeMetaMethod) {
161 switch (_id) {
162 case 0: _t->removeFromService((*reinterpret_cast< std::add_pointer_t<Mlt::Service*>>(_a[1]))); break;
163 case 1: _t->setName((*reinterpret_cast< std::add_pointer_t<QmlFilter*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2]))); break;
164 case 2: { QString _r = _t->nextName();
165 if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); } break;
166 case 3: _t->reset((*reinterpret_cast< std::add_pointer_t<QmlFilter*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[3]))); break;
167 case 4: { QList<QRectF> _r = _t->trackingData((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])));
168 if (_a[0]) *reinterpret_cast< QList<QRectF>*>(_a[0]) = std::move(_r); } break;
169 case 5: { int _r = _t->keyframeIntervalFrames((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])));
170 if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); } break;
171 case 6: _t->undo((*reinterpret_cast< std::add_pointer_t<QmlFilter*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QString>>(_a[2]))); break;
172 case 7: _t->undo((*reinterpret_cast< std::add_pointer_t<QmlFilter*>>(_a[1]))); break;
173 case 8: _t->undo(); break;
174 default: ;
175 }
176 }
177 if (_c == QMetaObject::ReadProperty) {
178 void *_v = _a[0];
179 switch (_id) {
180 case 0: *reinterpret_cast< QString*>(_v) = _t->trackerNameProperty(); break;
181 case 1: *reinterpret_cast< QString*>(_v) = _t->trackerOperationProperty(); break;
182 default: break;
183 }
184 }
185}
186
187const QMetaObject *MotionTrackerModel::metaObject() const
188{
189 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
190}
191
192void *MotionTrackerModel::qt_metacast(const char *_clname)
193{
194 if (!_clname) return nullptr;
195 if (!strcmp(_clname, qt_meta_stringdata_ZN18MotionTrackerModelE.stringdata0))
196 return static_cast<void*>(this);
197 return QAbstractListModel::qt_metacast(_clname);
198}
199
200int MotionTrackerModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
201{
202 _id = QAbstractListModel::qt_metacall(_c, _id, _a);
203 if (_id < 0)
204 return _id;
205 if (_c == QMetaObject::InvokeMetaMethod) {
206 if (_id < 9)
207 qt_static_metacall(this, _c, _id, _a);
208 _id -= 9;
209 }
210 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
211 if (_id < 9)
212 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
213 _id -= 9;
214 }
215 if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
216 || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
217 || _c == QMetaObject::RegisterPropertyMetaType) {
218 qt_static_metacall(this, _c, _id, _a);
219 _id -= 2;
220 }
221 return _id;
222}
223QT_WARNING_POP