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.7.2. 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")
35#ifdef QT_MOC_HAS_STRINGDATA
36struct qt_meta_stringdata_CLASSPlaylistModelENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSPlaylistModelENDCLASS = QtMocHelpers::stringData(
75 "onRowsAboutToBeRemoved",
82#error "qtmochelpers.h not found or too old."
86Q_CONSTINIT
static const uint qt_meta_data_CLASSPlaylistModelENDCLASS[] = {
100 1, 0, 158, 2, 0x06, 1 ,
101 3, 0, 159, 2, 0x06, 2 ,
102 4, 0, 160, 2, 0x06, 3 ,
103 5, 0, 161, 2, 0x06, 4 ,
104 6, 0, 162, 2, 0x06, 5 ,
105 7, 2, 163, 2, 0x06, 6 ,
106 11, 2, 168, 2, 0x06, 9 ,
107 14, 1, 173, 2, 0x06, 12 ,
108 16, 1, 176, 2, 0x06, 14 ,
109 18, 1, 179, 2, 0x06, 16 ,
112 21, 0, 182, 2, 0x0a, 18 ,
113 22, 0, 183, 2, 0x0a, 19 ,
114 23, 2, 184, 2, 0x0a, 20 ,
115 23, 1, 189, 2, 0x2a, 23 ,
116 26, 2, 192, 2, 0x0a, 25 ,
117 27, 1, 197, 2, 0x0a, 28 ,
118 28, 3, 200, 2, 0x0a, 30 ,
119 28, 2, 207, 2, 0x2a, 34 ,
120 31, 1, 212, 2, 0x0a, 37 ,
121 32, 1, 215, 2, 0x0a, 39 ,
122 34, 2, 218, 2, 0x0a, 41 ,
123 35, 0, 223, 2, 0x0a, 44 ,
124 36, 2, 224, 2, 0x0a, 45 ,
125 37, 3, 229, 2, 0x08, 48 ,
133 QMetaType::Void, 0x80000000 | 8, QMetaType::Int, 9, 10,
134 QMetaType::Void, QMetaType::Int, QMetaType::Int, 12, 13,
135 QMetaType::Void, QMetaType::Int, 15,
136 QMetaType::Void, QMetaType::Int, 17,
137 QMetaType::Void, 0x80000000 | 19, 20,
142 QMetaType::Void, 0x80000000 | 24, QMetaType::Bool, 2, 25,
143 QMetaType::Void, 0x80000000 | 24, 2,
144 QMetaType::Void, 0x80000000 | 24, QMetaType::Int, 2, 10,
145 QMetaType::Void, QMetaType::Int, 10,
146 QMetaType::Void, QMetaType::Int, 0x80000000 | 24, QMetaType::Bool, 10, 29, 30,
147 QMetaType::Void, QMetaType::Int, 0x80000000 | 24, 10, 29,
148 QMetaType::Void, QMetaType::Int, 10,
149 QMetaType::Void, QMetaType::Int, 33,
150 QMetaType::Void, QMetaType::Int, QMetaType::Int, 33, 10,
152 QMetaType::Void, QMetaType::Int, QMetaType::Int, 12, 13,
153 QMetaType::Void, 0x80000000 | 38, QMetaType::Int, QMetaType::Int, 39, 40, 41,
158Q_CONSTINIT
const QMetaObject PlaylistModel::staticMetaObject = { {
159 QMetaObject::SuperData::link<QAbstractTableModel::staticMetaObject>(),
160 qt_meta_stringdata_CLASSPlaylistModelENDCLASS.offsetsAndSizes,
161 qt_meta_data_CLASSPlaylistModelENDCLASS,
164 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSPlaylistModelENDCLASS_t,
166 QtPrivate::TypeAndForceComplete<PlaylistModel, std::true_type>,
168 QtPrivate::TypeAndForceComplete<void, std::false_type>,
170 QtPrivate::TypeAndForceComplete<void, std::false_type>,
172 QtPrivate::TypeAndForceComplete<void, std::false_type>,
174 QtPrivate::TypeAndForceComplete<void, std::false_type>,
176 QtPrivate::TypeAndForceComplete<void, std::false_type>,
178 QtPrivate::TypeAndForceComplete<void, std::false_type>,
179 QtPrivate::TypeAndForceComplete<const QMimeData *, std::false_type>,
180 QtPrivate::TypeAndForceComplete<int, std::false_type>,
182 QtPrivate::TypeAndForceComplete<void, std::false_type>,
183 QtPrivate::TypeAndForceComplete<int, std::false_type>,
184 QtPrivate::TypeAndForceComplete<int, std::false_type>,
186 QtPrivate::TypeAndForceComplete<void, std::false_type>,
187 QtPrivate::TypeAndForceComplete<int, std::false_type>,
189 QtPrivate::TypeAndForceComplete<void, std::false_type>,
190 QtPrivate::TypeAndForceComplete<int, std::false_type>,
192 QtPrivate::TypeAndForceComplete<void, std::false_type>,
193 QtPrivate::TypeAndForceComplete<Mlt::Service *, std::false_type>,
195 QtPrivate::TypeAndForceComplete<void, std::false_type>,
197 QtPrivate::TypeAndForceComplete<void, std::false_type>,
199 QtPrivate::TypeAndForceComplete<void, std::false_type>,
200 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
201 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
203 QtPrivate::TypeAndForceComplete<void, std::false_type>,
204 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
206 QtPrivate::TypeAndForceComplete<void, std::false_type>,
207 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
208 QtPrivate::TypeAndForceComplete<int, std::false_type>,
210 QtPrivate::TypeAndForceComplete<void, std::false_type>,
211 QtPrivate::TypeAndForceComplete<int, std::false_type>,
213 QtPrivate::TypeAndForceComplete<void, std::false_type>,
214 QtPrivate::TypeAndForceComplete<int, std::false_type>,
215 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
216 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
218 QtPrivate::TypeAndForceComplete<void, std::false_type>,
219 QtPrivate::TypeAndForceComplete<int, std::false_type>,
220 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
222 QtPrivate::TypeAndForceComplete<void, std::false_type>,
223 QtPrivate::TypeAndForceComplete<int, std::false_type>,
225 QtPrivate::TypeAndForceComplete<void, std::false_type>,
226 QtPrivate::TypeAndForceComplete<int, std::false_type>,
228 QtPrivate::TypeAndForceComplete<void, std::false_type>,
229 QtPrivate::TypeAndForceComplete<int, std::false_type>,
230 QtPrivate::TypeAndForceComplete<int, std::false_type>,
232 QtPrivate::TypeAndForceComplete<void, std::false_type>,
234 QtPrivate::TypeAndForceComplete<void, std::false_type>,
235 QtPrivate::TypeAndForceComplete<int, std::false_type>,
236 QtPrivate::TypeAndForceComplete<int, std::false_type>,
238 QtPrivate::TypeAndForceComplete<void, std::false_type>,
239 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
240 QtPrivate::TypeAndForceComplete<int, std::false_type>,
241 QtPrivate::TypeAndForceComplete<int, std::false_type>
246void PlaylistModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
248 if (_c == QMetaObject::InvokeMetaMethod) {
249 auto *_t =
static_cast<PlaylistModel *
>(_o);
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;
278 }
else if (_c == QMetaObject::IndexOfMethod) {
279 int *result =
reinterpret_cast<int *
>(_a[0]);
281 using _t = void (PlaylistModel::*)();
282 if (_t _q_method = &PlaylistModel::created; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
288 using _t = void (PlaylistModel::*)();
289 if (_t _q_method = &PlaylistModel::cleared; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
295 using _t = void (PlaylistModel::*)();
296 if (_t _q_method = &PlaylistModel::closed; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
302 using _t = void (PlaylistModel::*)();
303 if (_t _q_method = &PlaylistModel::modified; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
309 using _t = void (PlaylistModel::*)();
310 if (_t _q_method = &PlaylistModel::loaded; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
316 using _t = void (PlaylistModel::*)(
const QMimeData * , int );
317 if (_t _q_method = &PlaylistModel::dropped; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
323 using _t = void (PlaylistModel::*)(int , int );
324 if (_t _q_method = &PlaylistModel::moveClip; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
330 using _t = void (PlaylistModel::*)(int );
331 if (_t _q_method = &PlaylistModel::inChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
337 using _t = void (PlaylistModel::*)(int );
338 if (_t _q_method = &PlaylistModel::outChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
344 using _t = void (PlaylistModel::*)(Mlt::Service * );
345 if (_t _q_method = &PlaylistModel::removing; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
353const QMetaObject *PlaylistModel::metaObject()
const
355 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
358void *PlaylistModel::qt_metacast(
const char *_clname)
360 if (!_clname)
return nullptr;
361 if (!strcmp(_clname, qt_meta_stringdata_CLASSPlaylistModelENDCLASS.stringdata0))
362 return static_cast<void*
>(
this);
363 return QAbstractTableModel::qt_metacast(_clname);
366int PlaylistModel::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
368 _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
371 if (_c == QMetaObject::InvokeMetaMethod) {
373 qt_static_metacall(
this, _c, _id, _a);
375 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
377 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
384void PlaylistModel::created()
386 QMetaObject::activate(
this, &staticMetaObject, 0,
nullptr);
390void PlaylistModel::cleared()
392 QMetaObject::activate(
this, &staticMetaObject, 1,
nullptr);
396void PlaylistModel::closed()
398 QMetaObject::activate(
this, &staticMetaObject, 2,
nullptr);
402void PlaylistModel::modified()
404 QMetaObject::activate(
this, &staticMetaObject, 3,
nullptr);
408void PlaylistModel::loaded()
410 QMetaObject::activate(
this, &staticMetaObject, 4,
nullptr);
414void PlaylistModel::dropped(
const QMimeData * _t1,
int _t2)
416 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
417 QMetaObject::activate(
this, &staticMetaObject, 5, _a);
421void PlaylistModel::moveClip(
int _t1,
int _t2)
423 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))),
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t2))) };
424 QMetaObject::activate(
this, &staticMetaObject, 6, _a);
428void PlaylistModel::inChanged(
int _t1)
430 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
431 QMetaObject::activate(
this, &staticMetaObject, 7, _a);
435void PlaylistModel::outChanged(
int _t1)
437 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
438 QMetaObject::activate(
this, &staticMetaObject, 8, _a);
442void PlaylistModel::removing(Mlt::Service * _t1)
444 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
445 QMetaObject::activate(
this, &staticMetaObject, 9, _a);