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