CuteLogger
Fast and simple logging solution for Qt based applications
moc_playlistmodel.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'playlistmodel.h'
3**
4** Created by: The Qt Meta Object Compiler version 68 (Qt 6.8.1)
5**
6** WARNING! All changes made in this file will be lost!
7*****************************************************************************/
8
9#include "../../../../src/models/playlistmodel.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 '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.1. 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_ZN13PlaylistModelE_t {};
35} // unnamed namespace
36
37
38#ifdef QT_MOC_HAS_STRINGDATA
39static constexpr auto qt_meta_stringdata_ZN13PlaylistModelE = QtMocHelpers::stringData(
40 "PlaylistModel",
41 "created",
42 "",
43 "cleared",
44 "closed",
45 "modified",
46 "loaded",
47 "dropped",
48 "const QMimeData*",
49 "data",
50 "row",
51 "moveClip",
52 "from",
53 "to",
54 "inChanged",
55 "in",
56 "outChanged",
57 "out",
58 "removing",
59 "Mlt::Service*",
60 "service",
61 "clear",
62 "load",
63 "append",
64 "Mlt::Producer&",
65 "emitModified",
66 "insert",
67 "remove",
68 "update",
69 "producer",
70 "copyFilters",
71 "updateThumbnails",
72 "appendBlank",
73 "frames",
74 "insertBlank",
75 "close",
76 "move",
77 "onRowsAboutToBeRemoved",
78 "QModelIndex",
79 "parent",
80 "first",
81 "last"
82);
83#else // !QT_MOC_HAS_STRINGDATA
84#error "qtmochelpers.h not found or too old."
85#endif // !QT_MOC_HAS_STRINGDATA
86
87Q_CONSTINIT static const uint qt_meta_data_ZN13PlaylistModelE[] = {
88
89 // content:
90 12, // revision
91 0, // classname
92 0, 0, // classinfo
93 24, 14, // methods
94 0, 0, // properties
95 0, 0, // enums/sets
96 0, 0, // constructors
97 0, // flags
98 10, // signalCount
99
100 // signals: name, argc, parameters, tag, flags, initial metatype offsets
101 1, 0, 158, 2, 0x06, 1 /* Public */,
102 3, 0, 159, 2, 0x06, 2 /* Public */,
103 4, 0, 160, 2, 0x06, 3 /* Public */,
104 5, 0, 161, 2, 0x06, 4 /* Public */,
105 6, 0, 162, 2, 0x06, 5 /* Public */,
106 7, 2, 163, 2, 0x06, 6 /* Public */,
107 11, 2, 168, 2, 0x06, 9 /* Public */,
108 14, 1, 173, 2, 0x06, 12 /* Public */,
109 16, 1, 176, 2, 0x06, 14 /* Public */,
110 18, 1, 179, 2, 0x06, 16 /* Public */,
111
112 // slots: name, argc, parameters, tag, flags, initial metatype offsets
113 21, 0, 182, 2, 0x0a, 18 /* Public */,
114 22, 0, 183, 2, 0x0a, 19 /* Public */,
115 23, 2, 184, 2, 0x0a, 20 /* Public */,
116 23, 1, 189, 2, 0x2a, 23 /* Public | MethodCloned */,
117 26, 2, 192, 2, 0x0a, 25 /* Public */,
118 27, 1, 197, 2, 0x0a, 28 /* Public */,
119 28, 3, 200, 2, 0x0a, 30 /* Public */,
120 28, 2, 207, 2, 0x2a, 34 /* Public | MethodCloned */,
121 31, 1, 212, 2, 0x0a, 37 /* Public */,
122 32, 1, 215, 2, 0x0a, 39 /* Public */,
123 34, 2, 218, 2, 0x0a, 41 /* Public */,
124 35, 0, 223, 2, 0x0a, 44 /* Public */,
125 36, 2, 224, 2, 0x0a, 45 /* Public */,
126 37, 3, 229, 2, 0x08, 48 /* Private */,
127
128 // signals: parameters
129 QMetaType::Void,
130 QMetaType::Void,
131 QMetaType::Void,
132 QMetaType::Void,
133 QMetaType::Void,
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,
139
140 // slots: parameters
141 QMetaType::Void,
142 QMetaType::Void,
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,
152 QMetaType::Void,
153 QMetaType::Void, QMetaType::Int, QMetaType::Int, 12, 13,
154 QMetaType::Void, 0x80000000 | 38, QMetaType::Int, QMetaType::Int, 39, 40, 41,
155
156 0 // eod
157};
158
159Q_CONSTINIT const QMetaObject PlaylistModel::staticMetaObject = { {
160 QMetaObject::SuperData::link<QAbstractTableModel::staticMetaObject>(),
161 qt_meta_stringdata_ZN13PlaylistModelE.offsetsAndSizes,
162 qt_meta_data_ZN13PlaylistModelE,
163 qt_static_metacall,
164 nullptr,
165 qt_incomplete_metaTypeArray<qt_meta_tag_ZN13PlaylistModelE_t,
166 // Q_OBJECT / Q_GADGET
167 QtPrivate::TypeAndForceComplete<PlaylistModel, std::true_type>,
168 // method 'created'
169 QtPrivate::TypeAndForceComplete<void, std::false_type>,
170 // method 'cleared'
171 QtPrivate::TypeAndForceComplete<void, std::false_type>,
172 // method 'closed'
173 QtPrivate::TypeAndForceComplete<void, std::false_type>,
174 // method 'modified'
175 QtPrivate::TypeAndForceComplete<void, std::false_type>,
176 // method 'loaded'
177 QtPrivate::TypeAndForceComplete<void, std::false_type>,
178 // method 'dropped'
179 QtPrivate::TypeAndForceComplete<void, std::false_type>,
180 QtPrivate::TypeAndForceComplete<const QMimeData *, std::false_type>,
181 QtPrivate::TypeAndForceComplete<int, std::false_type>,
182 // method 'moveClip'
183 QtPrivate::TypeAndForceComplete<void, std::false_type>,
184 QtPrivate::TypeAndForceComplete<int, std::false_type>,
185 QtPrivate::TypeAndForceComplete<int, std::false_type>,
186 // method 'inChanged'
187 QtPrivate::TypeAndForceComplete<void, std::false_type>,
188 QtPrivate::TypeAndForceComplete<int, std::false_type>,
189 // method 'outChanged'
190 QtPrivate::TypeAndForceComplete<void, std::false_type>,
191 QtPrivate::TypeAndForceComplete<int, std::false_type>,
192 // method 'removing'
193 QtPrivate::TypeAndForceComplete<void, std::false_type>,
194 QtPrivate::TypeAndForceComplete<Mlt::Service *, std::false_type>,
195 // method 'clear'
196 QtPrivate::TypeAndForceComplete<void, std::false_type>,
197 // method 'load'
198 QtPrivate::TypeAndForceComplete<void, std::false_type>,
199 // method 'append'
200 QtPrivate::TypeAndForceComplete<void, std::false_type>,
201 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
202 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
203 // method 'append'
204 QtPrivate::TypeAndForceComplete<void, std::false_type>,
205 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
206 // method 'insert'
207 QtPrivate::TypeAndForceComplete<void, std::false_type>,
208 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
209 QtPrivate::TypeAndForceComplete<int, std::false_type>,
210 // method 'remove'
211 QtPrivate::TypeAndForceComplete<void, std::false_type>,
212 QtPrivate::TypeAndForceComplete<int, std::false_type>,
213 // method 'update'
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>,
218 // method 'update'
219 QtPrivate::TypeAndForceComplete<void, std::false_type>,
220 QtPrivate::TypeAndForceComplete<int, std::false_type>,
221 QtPrivate::TypeAndForceComplete<Mlt::Producer &, std::false_type>,
222 // method 'updateThumbnails'
223 QtPrivate::TypeAndForceComplete<void, std::false_type>,
224 QtPrivate::TypeAndForceComplete<int, std::false_type>,
225 // method 'appendBlank'
226 QtPrivate::TypeAndForceComplete<void, std::false_type>,
227 QtPrivate::TypeAndForceComplete<int, std::false_type>,
228 // method 'insertBlank'
229 QtPrivate::TypeAndForceComplete<void, std::false_type>,
230 QtPrivate::TypeAndForceComplete<int, std::false_type>,
231 QtPrivate::TypeAndForceComplete<int, std::false_type>,
232 // method 'close'
233 QtPrivate::TypeAndForceComplete<void, std::false_type>,
234 // method 'move'
235 QtPrivate::TypeAndForceComplete<void, std::false_type>,
236 QtPrivate::TypeAndForceComplete<int, std::false_type>,
237 QtPrivate::TypeAndForceComplete<int, std::false_type>,
238 // method 'onRowsAboutToBeRemoved'
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>
243 >,
244 nullptr
245} };
246
247void PlaylistModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
248{
249 auto *_t = static_cast<PlaylistModel *>(_o);
250 if (_c == QMetaObject::InvokeMetaMethod) {
251 switch (_id) {
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;
276 default: ;
277 }
278 }
279 if (_c == QMetaObject::IndexOfMethod) {
280 int *result = reinterpret_cast<int *>(_a[0]);
281 {
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) {
284 *result = 0;
285 return;
286 }
287 }
288 {
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) {
291 *result = 1;
292 return;
293 }
294 }
295 {
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) {
298 *result = 2;
299 return;
300 }
301 }
302 {
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) {
305 *result = 3;
306 return;
307 }
308 }
309 {
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) {
312 *result = 4;
313 return;
314 }
315 }
316 {
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) {
319 *result = 5;
320 return;
321 }
322 }
323 {
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) {
326 *result = 6;
327 return;
328 }
329 }
330 {
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) {
333 *result = 7;
334 return;
335 }
336 }
337 {
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) {
340 *result = 8;
341 return;
342 }
343 }
344 {
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) {
347 *result = 9;
348 return;
349 }
350 }
351 }
352}
353
354const QMetaObject *PlaylistModel::metaObject() const
355{
356 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
357}
358
359void *PlaylistModel::qt_metacast(const char *_clname)
360{
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);
365}
366
367int PlaylistModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
368{
369 _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
370 if (_id < 0)
371 return _id;
372 if (_c == QMetaObject::InvokeMetaMethod) {
373 if (_id < 24)
374 qt_static_metacall(this, _c, _id, _a);
375 _id -= 24;
376 }
377 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
378 if (_id < 24)
379 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
380 _id -= 24;
381 }
382 return _id;
383}
384
385// SIGNAL 0
386void PlaylistModel::created()
387{
388 QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
389}
390
391// SIGNAL 1
392void PlaylistModel::cleared()
393{
394 QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
395}
396
397// SIGNAL 2
398void PlaylistModel::closed()
399{
400 QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
401}
402
403// SIGNAL 3
404void PlaylistModel::modified()
405{
406 QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
407}
408
409// SIGNAL 4
410void PlaylistModel::loaded()
411{
412 QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
413}
414
415// SIGNAL 5
416void PlaylistModel::dropped(const QMimeData * _t1, int _t2)
417{
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);
420}
421
422// SIGNAL 6
423void PlaylistModel::moveClip(int _t1, int _t2)
424{
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);
427}
428
429// SIGNAL 7
430void PlaylistModel::inChanged(int _t1)
431{
432 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
433 QMetaObject::activate(this, &staticMetaObject, 7, _a);
434}
435
436// SIGNAL 8
437void PlaylistModel::outChanged(int _t1)
438{
439 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
440 QMetaObject::activate(this, &staticMetaObject, 8, _a);
441}
442
443// SIGNAL 9
444void PlaylistModel::removing(Mlt::Service * _t1)
445{
446 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
447 QMetaObject::activate(this, &staticMetaObject, 9, _a);
448}
449QT_WARNING_POP