9#include "../../../../src/models/playlistmodel.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 'playlistmodel.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_ZN13PlaylistModelE_t {};
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN13PlaylistModelE = QtMocHelpers::stringData(
77 "onRowsAboutToBeRemoved",
84#error "qtmochelpers.h not found or too old."
87Q_CONSTINIT
static const uint qt_meta_data_ZN13PlaylistModelE[] = {
101 1, 0, 158, 2, 0x06, 1 ,
102 3, 0, 159, 2, 0x06, 2 ,
103 4, 0, 160, 2, 0x06, 3 ,
104 5, 0, 161, 2, 0x06, 4 ,
105 6, 0, 162, 2, 0x06, 5 ,
106 7, 2, 163, 2, 0x06, 6 ,
107 11, 2, 168, 2, 0x06, 9 ,
108 14, 1, 173, 2, 0x06, 12 ,
109 16, 1, 176, 2, 0x06, 14 ,
110 18, 1, 179, 2, 0x06, 16 ,
113 21, 0, 182, 2, 0x0a, 18 ,
114 22, 0, 183, 2, 0x0a, 19 ,
115 23, 2, 184, 2, 0x0a, 20 ,
116 23, 1, 189, 2, 0x2a, 23 ,
117 26, 2, 192, 2, 0x0a, 25 ,
118 27, 1, 197, 2, 0x0a, 28 ,
119 28, 3, 200, 2, 0x0a, 30 ,
120 28, 2, 207, 2, 0x2a, 34 ,
121 31, 1, 212, 2, 0x0a, 37 ,
122 32, 1, 215, 2, 0x0a, 39 ,
123 34, 2, 218, 2, 0x0a, 41 ,
124 35, 0, 223, 2, 0x0a, 44 ,
125 36, 2, 224, 2, 0x0a, 45 ,
126 37, 3, 229, 2, 0x08, 48 ,
134 QMetaType::Void, 0x80000000 | 8, QMetaType::Int, 9, 10,
135 QMetaType::Void, QMetaType::Int, QMetaType::Int, 12, 13,
136 QMetaType::Void, QMetaType::Int, 15,
137 QMetaType::Void, QMetaType::Int, 17,
138 QMetaType::Void, 0x80000000 | 19, 20,
143 QMetaType::Void, 0x80000000 | 24, QMetaType::Bool, 2, 25,
144 QMetaType::Void, 0x80000000 | 24, 2,
145 QMetaType::Void, 0x80000000 | 24, QMetaType::Int, 2, 10,
146 QMetaType::Void, QMetaType::Int, 10,
147 QMetaType::Void, QMetaType::Int, 0x80000000 | 24, QMetaType::Bool, 10, 29, 30,
148 QMetaType::Void, QMetaType::Int, 0x80000000 | 24, 10, 29,
149 QMetaType::Void, QMetaType::Int, 10,
150 QMetaType::Void, QMetaType::Int, 33,
151 QMetaType::Void, QMetaType::Int, QMetaType::Int, 33, 10,
153 QMetaType::Void, QMetaType::Int, QMetaType::Int, 12, 13,
154 QMetaType::Void, 0x80000000 | 38, QMetaType::Int, QMetaType::Int, 39, 40, 41,
159Q_CONSTINIT
const QMetaObject PlaylistModel::staticMetaObject = { {
160 QMetaObject::SuperData::link<QAbstractTableModel::staticMetaObject>(),
161 qt_meta_stringdata_ZN13PlaylistModelE.offsetsAndSizes,
162 qt_meta_data_ZN13PlaylistModelE,
165 qt_incomplete_metaTypeArray<qt_meta_tag_ZN13PlaylistModelE_t,
167 QtPrivate::TypeAndForceComplete<PlaylistModel, std::true_type>,
169 QtPrivate::TypeAndForceComplete<void, std::false_type>,
171 QtPrivate::TypeAndForceComplete<void, std::false_type>,
173 QtPrivate::TypeAndForceComplete<void, std::false_type>,
175 QtPrivate::TypeAndForceComplete<void, std::false_type>,
177 QtPrivate::TypeAndForceComplete<void, std::false_type>,
179 QtPrivate::TypeAndForceComplete<void, std::false_type>,
180 QtPrivate::TypeAndForceComplete<const QMimeData *, std::false_type>,
181 QtPrivate::TypeAndForceComplete<int, std::false_type>,
183 QtPrivate::TypeAndForceComplete<void, std::false_type>,
184 QtPrivate::TypeAndForceComplete<int, std::false_type>,
185 QtPrivate::TypeAndForceComplete<int, std::false_type>,
187 QtPrivate::TypeAndForceComplete<void, std::false_type>,
188 QtPrivate::TypeAndForceComplete<int, std::false_type>,
190 QtPrivate::TypeAndForceComplete<void, std::false_type>,
191 QtPrivate::TypeAndForceComplete<int, std::false_type>,
193 QtPrivate::TypeAndForceComplete<void, std::false_type>,
194 QtPrivate::TypeAndForceComplete<Mlt::Service *, std::false_type>,
196 QtPrivate::TypeAndForceComplete<void, std::false_type>,
198 QtPrivate::TypeAndForceComplete<void, std::false_type>,
200 QtPrivate::TypeAndForceComplete<void, std::false_type>,
201 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
202 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
204 QtPrivate::TypeAndForceComplete<void, std::false_type>,
205 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
207 QtPrivate::TypeAndForceComplete<void, std::false_type>,
208 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
209 QtPrivate::TypeAndForceComplete<int, std::false_type>,
211 QtPrivate::TypeAndForceComplete<void, std::false_type>,
212 QtPrivate::TypeAndForceComplete<int, std::false_type>,
214 QtPrivate::TypeAndForceComplete<void, std::false_type>,
215 QtPrivate::TypeAndForceComplete<int, std::false_type>,
216 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
217 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
219 QtPrivate::TypeAndForceComplete<void, std::false_type>,
220 QtPrivate::TypeAndForceComplete<int, std::false_type>,
221 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
223 QtPrivate::TypeAndForceComplete<void, std::false_type>,
224 QtPrivate::TypeAndForceComplete<int, std::false_type>,
226 QtPrivate::TypeAndForceComplete<void, std::false_type>,
227 QtPrivate::TypeAndForceComplete<int, std::false_type>,
229 QtPrivate::TypeAndForceComplete<void, std::false_type>,
230 QtPrivate::TypeAndForceComplete<int, std::false_type>,
231 QtPrivate::TypeAndForceComplete<int, std::false_type>,
233 QtPrivate::TypeAndForceComplete<void, std::false_type>,
235 QtPrivate::TypeAndForceComplete<void, std::false_type>,
236 QtPrivate::TypeAndForceComplete<int, std::false_type>,
237 QtPrivate::TypeAndForceComplete<int, std::false_type>,
239 QtPrivate::TypeAndForceComplete<void, std::false_type>,
240 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
241 QtPrivate::TypeAndForceComplete<int, std::false_type>,
242 QtPrivate::TypeAndForceComplete<int, std::false_type>
247void PlaylistModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
249 auto *_t =
static_cast<PlaylistModel *
>(_o);
250 if (_c == QMetaObject::InvokeMetaMethod) {
252 case 0: _t->created();
break;
253 case 1: _t->cleared();
break;
254 case 2: _t->closed();
break;
255 case 3: _t->modified();
break;
256 case 4: _t->loaded();
break;
257 case 5: _t->dropped((*
reinterpret_cast< std::add_pointer_t<const QMimeData*>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
258 case 6: _t->moveClip((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
259 case 7: _t->inChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
260 case 8: _t->outChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
261 case 9: _t->removing((*
reinterpret_cast< std::add_pointer_t<Mlt::Service*>
>(_a[1])));
break;
262 case 10: _t->clear();
break;
263 case 11: _t->load();
break;
264 case 12: _t->append((*
reinterpret_cast< std::add_pointer_t<Mlt::Producer&>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[2])));
break;
265 case 13: _t->append((*
reinterpret_cast< std::add_pointer_t<Mlt::Producer&>
>(_a[1])));
break;
266 case 14: _t->insert((*
reinterpret_cast< std::add_pointer_t<Mlt::Producer&>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
267 case 15: _t->remove((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
268 case 16: _t->update((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<Mlt::Producer&>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[3])));
break;
269 case 17: _t->update((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<Mlt::Producer&>
>(_a[2])));
break;
270 case 18: _t->updateThumbnails((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
271 case 19: _t->appendBlank((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
272 case 20: _t->insertBlank((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
273 case 21: _t->close();
break;
274 case 22: _t->move((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])));
break;
275 case 23: _t->onRowsAboutToBeRemoved((*
reinterpret_cast< std::add_pointer_t<QModelIndex>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])));
break;
279 if (_c == QMetaObject::IndexOfMethod) {
280 int *result =
reinterpret_cast<int *
>(_a[0]);
282 using _q_method_type = void (PlaylistModel::*)();
283 if (_q_method_type _q_method = &PlaylistModel::created; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
289 using _q_method_type = void (PlaylistModel::*)();
290 if (_q_method_type _q_method = &PlaylistModel::cleared; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
296 using _q_method_type = void (PlaylistModel::*)();
297 if (_q_method_type _q_method = &PlaylistModel::closed; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
303 using _q_method_type = void (PlaylistModel::*)();
304 if (_q_method_type _q_method = &PlaylistModel::modified; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
310 using _q_method_type = void (PlaylistModel::*)();
311 if (_q_method_type _q_method = &PlaylistModel::loaded; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
317 using _q_method_type = void (PlaylistModel::*)(
const QMimeData * , int );
318 if (_q_method_type _q_method = &PlaylistModel::dropped; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
324 using _q_method_type = void (PlaylistModel::*)(int , int );
325 if (_q_method_type _q_method = &PlaylistModel::moveClip; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
331 using _q_method_type = void (PlaylistModel::*)(int );
332 if (_q_method_type _q_method = &PlaylistModel::inChanged; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
338 using _q_method_type = void (PlaylistModel::*)(int );
339 if (_q_method_type _q_method = &PlaylistModel::outChanged; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
345 using _q_method_type = void (PlaylistModel::*)(Mlt::Service * );
346 if (_q_method_type _q_method = &PlaylistModel::removing; *
reinterpret_cast<_q_method_type *
>(_a[1]) == _q_method) {
354const QMetaObject *PlaylistModel::metaObject()
const
356 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
359void *PlaylistModel::qt_metacast(
const char *_clname)
361 if (!_clname)
return nullptr;
362 if (!strcmp(_clname, qt_meta_stringdata_ZN13PlaylistModelE.stringdata0))
363 return static_cast<void*
>(
this);
364 return QAbstractTableModel::qt_metacast(_clname);
367int PlaylistModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
369 _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
372 if (_c == QMetaObject::InvokeMetaMethod) {
374 qt_static_metacall(
this, _c, _id, _a);
377 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
379 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
386void PlaylistModel::created()
388 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
392void PlaylistModel::cleared()
394 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
398void PlaylistModel::closed()
400 QMetaObject::activate(
this, &staticMetaObject, 2,
nullptr);
404void PlaylistModel::modified()
406 QMetaObject::activate(
this, &staticMetaObject, 3,
nullptr);
410void PlaylistModel::loaded()
412 QMetaObject::activate(
this, &staticMetaObject, 4,
nullptr);
416void PlaylistModel::dropped(
const QMimeData * _t1,
int _t2)
418 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
419 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
423void PlaylistModel::moveClip(
int _t1,
int _t2)
425 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
426 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
430void PlaylistModel::inChanged(
int _t1)
432 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
433 QMetaObject::activate(
this, &staticMetaObject, 7, _a);
437void PlaylistModel::outChanged(
int _t1)
439 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
440 QMetaObject::activate(
this, &staticMetaObject, 8, _a);
444void PlaylistModel::removing(Mlt::Service * _t1)
446 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
447 QMetaObject::activate(
this, &staticMetaObject, 9, _a);