CuteLogger
Fast and simple logging solution for Qt based applications
moc_playlistdock.cpp
1/****************************************************************************
2** Meta object code from reading C++ file 'playlistdock.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/docks/playlistdock.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 'playlistdock.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_CLASSPlaylistDockENDCLASS_t {};
37constexpr auto qt_meta_stringdata_CLASSPlaylistDockENDCLASS = QtMocHelpers::stringData(
38 "PlaylistDock",
39 "clipOpened",
40 "",
41 "Mlt::Producer*",
42 "producer",
43 "play",
44 "itemActivated",
45 "start",
46 "showStatusMessage",
47 "addAllTimeline",
48 "Mlt::Playlist*",
49 "skipProxy",
50 "emptyTrack",
51 "producerOpened",
52 "selectionChanged",
53 "enableUpdate",
54 "onOpenActionTriggered",
55 "onAppendCutActionTriggered",
56 "onProducerOpened",
57 "onInChanged",
58 "onOutChanged",
59 "onProducerChanged",
60 "onProducerModified",
61 "onPlayerDragStarted",
62 "onPlaylistModified",
63 "onPlaylistCreated",
64 "onPlaylistLoaded",
65 "onPlaylistCleared",
66 "viewCustomContextMenuRequested",
67 "pos",
68 "viewDoubleClicked",
69 "QModelIndex",
70 "index",
71 "onDropped",
72 "const QMimeData*",
73 "data",
74 "row",
75 "onMoveClip",
76 "from",
77 "to",
78 "onMovedToEnd",
79 "onInTimerFired",
80 "onOutTimerFired"
81);
82#else // !QT_MOC_HAS_STRINGDATA
83#error "qtmochelpers.h not found or too old."
84#endif // !QT_MOC_HAS_STRINGDATA
85} // unnamed namespace
86
87Q_CONSTINIT static const uint qt_meta_data_CLASSPlaylistDockENDCLASS[] = {
88
89 // content:
90 12, // revision
91 0, // classname
92 0, 0, // classinfo
93 29, 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, 2, 188, 2, 0x06, 1 /* Public */,
102 1, 1, 193, 2, 0x26, 4 /* Public | MethodCloned */,
103 6, 1, 196, 2, 0x06, 6 /* Public */,
104 8, 1, 199, 2, 0x06, 8 /* Public */,
105 9, 3, 202, 2, 0x06, 10 /* Public */,
106 9, 2, 209, 2, 0x26, 14 /* Public | MethodCloned */,
107 9, 1, 214, 2, 0x26, 17 /* Public | MethodCloned */,
108 13, 0, 217, 2, 0x06, 19 /* Public */,
109 14, 0, 218, 2, 0x06, 20 /* Public */,
110 15, 1, 219, 2, 0x06, 21 /* Public */,
111
112 // slots: name, argc, parameters, tag, flags, initial metatype offsets
113 16, 0, 222, 2, 0x0a, 23 /* Public */,
114 17, 0, 223, 2, 0x0a, 24 /* Public */,
115 18, 0, 224, 2, 0x0a, 25 /* Public */,
116 19, 0, 225, 2, 0x0a, 26 /* Public */,
117 20, 0, 226, 2, 0x0a, 27 /* Public */,
118 21, 1, 227, 2, 0x0a, 28 /* Public */,
119 22, 0, 230, 2, 0x0a, 30 /* Public */,
120 23, 0, 231, 2, 0x0a, 31 /* Public */,
121 24, 0, 232, 2, 0x0a, 32 /* Public */,
122 25, 0, 233, 2, 0x0a, 33 /* Public */,
123 26, 0, 234, 2, 0x0a, 34 /* Public */,
124 27, 0, 235, 2, 0x0a, 35 /* Public */,
125 28, 1, 236, 2, 0x08, 36 /* Private */,
126 30, 1, 239, 2, 0x08, 38 /* Private */,
127 33, 2, 242, 2, 0x08, 40 /* Private */,
128 37, 2, 247, 2, 0x08, 43 /* Private */,
129 40, 0, 252, 2, 0x08, 46 /* Private */,
130 41, 0, 253, 2, 0x08, 47 /* Private */,
131 42, 0, 254, 2, 0x08, 48 /* Private */,
132
133 // signals: parameters
134 QMetaType::Void, 0x80000000 | 3, QMetaType::Bool, 4, 5,
135 QMetaType::Void, 0x80000000 | 3, 4,
136 QMetaType::Void, QMetaType::Int, 7,
137 QMetaType::Void, QMetaType::QString, 2,
138 QMetaType::Void, 0x80000000 | 10, QMetaType::Bool, QMetaType::Bool, 2, 11, 12,
139 QMetaType::Void, 0x80000000 | 10, QMetaType::Bool, 2, 11,
140 QMetaType::Void, 0x80000000 | 10, 2,
141 QMetaType::Void,
142 QMetaType::Void,
143 QMetaType::Void, QMetaType::Bool, 2,
144
145 // slots: parameters
146 QMetaType::Void,
147 QMetaType::Void,
148 QMetaType::Void,
149 QMetaType::Void,
150 QMetaType::Void,
151 QMetaType::Void, 0x80000000 | 3, 4,
152 QMetaType::Void,
153 QMetaType::Void,
154 QMetaType::Void,
155 QMetaType::Void,
156 QMetaType::Void,
157 QMetaType::Void,
158 QMetaType::Void, QMetaType::QPoint, 29,
159 QMetaType::Void, 0x80000000 | 31, 32,
160 QMetaType::Void, 0x80000000 | 34, QMetaType::Int, 35, 36,
161 QMetaType::Void, QMetaType::Int, QMetaType::Int, 38, 39,
162 QMetaType::Void,
163 QMetaType::Void,
164 QMetaType::Void,
165
166 0 // eod
167};
168
169Q_CONSTINIT const QMetaObject PlaylistDock::staticMetaObject = { {
170 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
171 qt_meta_stringdata_CLASSPlaylistDockENDCLASS.offsetsAndSizes,
172 qt_meta_data_CLASSPlaylistDockENDCLASS,
173 qt_static_metacall,
174 nullptr,
175 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSPlaylistDockENDCLASS_t,
176 // Q_OBJECT / Q_GADGET
177 QtPrivate::TypeAndForceComplete<PlaylistDock, std::true_type>,
178 // method 'clipOpened'
179 QtPrivate::TypeAndForceComplete<void, std::false_type>,
180 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
181 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
182 // method 'clipOpened'
183 QtPrivate::TypeAndForceComplete<void, std::false_type>,
184 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
185 // method 'itemActivated'
186 QtPrivate::TypeAndForceComplete<void, std::false_type>,
187 QtPrivate::TypeAndForceComplete<int, std::false_type>,
188 // method 'showStatusMessage'
189 QtPrivate::TypeAndForceComplete<void, std::false_type>,
190 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
191 // method 'addAllTimeline'
192 QtPrivate::TypeAndForceComplete<void, std::false_type>,
193 QtPrivate::TypeAndForceComplete<Mlt::Playlist *, std::false_type>,
194 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
195 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
196 // method 'addAllTimeline'
197 QtPrivate::TypeAndForceComplete<void, std::false_type>,
198 QtPrivate::TypeAndForceComplete<Mlt::Playlist *, std::false_type>,
199 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
200 // method 'addAllTimeline'
201 QtPrivate::TypeAndForceComplete<void, std::false_type>,
202 QtPrivate::TypeAndForceComplete<Mlt::Playlist *, std::false_type>,
203 // method 'producerOpened'
204 QtPrivate::TypeAndForceComplete<void, std::false_type>,
205 // method 'selectionChanged'
206 QtPrivate::TypeAndForceComplete<void, std::false_type>,
207 // method 'enableUpdate'
208 QtPrivate::TypeAndForceComplete<void, std::false_type>,
209 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
210 // method 'onOpenActionTriggered'
211 QtPrivate::TypeAndForceComplete<void, std::false_type>,
212 // method 'onAppendCutActionTriggered'
213 QtPrivate::TypeAndForceComplete<void, std::false_type>,
214 // method 'onProducerOpened'
215 QtPrivate::TypeAndForceComplete<void, std::false_type>,
216 // method 'onInChanged'
217 QtPrivate::TypeAndForceComplete<void, std::false_type>,
218 // method 'onOutChanged'
219 QtPrivate::TypeAndForceComplete<void, std::false_type>,
220 // method 'onProducerChanged'
221 QtPrivate::TypeAndForceComplete<void, std::false_type>,
222 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
223 // method 'onProducerModified'
224 QtPrivate::TypeAndForceComplete<void, std::false_type>,
225 // method 'onPlayerDragStarted'
226 QtPrivate::TypeAndForceComplete<void, std::false_type>,
227 // method 'onPlaylistModified'
228 QtPrivate::TypeAndForceComplete<void, std::false_type>,
229 // method 'onPlaylistCreated'
230 QtPrivate::TypeAndForceComplete<void, std::false_type>,
231 // method 'onPlaylistLoaded'
232 QtPrivate::TypeAndForceComplete<void, std::false_type>,
233 // method 'onPlaylistCleared'
234 QtPrivate::TypeAndForceComplete<void, std::false_type>,
235 // method 'viewCustomContextMenuRequested'
236 QtPrivate::TypeAndForceComplete<void, std::false_type>,
237 QtPrivate::TypeAndForceComplete<const QPoint &, std::false_type>,
238 // method 'viewDoubleClicked'
239 QtPrivate::TypeAndForceComplete<void, std::false_type>,
240 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
241 // method 'onDropped'
242 QtPrivate::TypeAndForceComplete<void, std::false_type>,
243 QtPrivate::TypeAndForceComplete<const QMimeData *, std::false_type>,
244 QtPrivate::TypeAndForceComplete<int, std::false_type>,
245 // method 'onMoveClip'
246 QtPrivate::TypeAndForceComplete<void, std::false_type>,
247 QtPrivate::TypeAndForceComplete<int, std::false_type>,
248 QtPrivate::TypeAndForceComplete<int, std::false_type>,
249 // method 'onMovedToEnd'
250 QtPrivate::TypeAndForceComplete<void, std::false_type>,
251 // method 'onInTimerFired'
252 QtPrivate::TypeAndForceComplete<void, std::false_type>,
253 // method 'onOutTimerFired'
254 QtPrivate::TypeAndForceComplete<void, std::false_type>
255 >,
256 nullptr
257} };
258
259void PlaylistDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
260{
261 if (_c == QMetaObject::InvokeMetaMethod) {
262 auto *_t = static_cast<PlaylistDock *>(_o);
263 (void)_t;
264 switch (_id) {
265 case 0: _t->clipOpened((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
266 case 1: _t->clipOpened((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
267 case 2: _t->itemActivated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
268 case 3: _t->showStatusMessage((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
269 case 4: _t->addAllTimeline((*reinterpret_cast< std::add_pointer_t<Mlt::Playlist*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[3]))); break;
270 case 5: _t->addAllTimeline((*reinterpret_cast< std::add_pointer_t<Mlt::Playlist*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
271 case 6: _t->addAllTimeline((*reinterpret_cast< std::add_pointer_t<Mlt::Playlist*>>(_a[1]))); break;
272 case 7: _t->producerOpened(); break;
273 case 8: _t->selectionChanged(); break;
274 case 9: _t->enableUpdate((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
275 case 10: _t->onOpenActionTriggered(); break;
276 case 11: _t->onAppendCutActionTriggered(); break;
277 case 12: _t->onProducerOpened(); break;
278 case 13: _t->onInChanged(); break;
279 case 14: _t->onOutChanged(); break;
280 case 15: _t->onProducerChanged((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
281 case 16: _t->onProducerModified(); break;
282 case 17: _t->onPlayerDragStarted(); break;
283 case 18: _t->onPlaylistModified(); break;
284 case 19: _t->onPlaylistCreated(); break;
285 case 20: _t->onPlaylistLoaded(); break;
286 case 21: _t->onPlaylistCleared(); break;
287 case 22: _t->viewCustomContextMenuRequested((*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[1]))); break;
288 case 23: _t->viewDoubleClicked((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1]))); break;
289 case 24: _t->onDropped((*reinterpret_cast< std::add_pointer_t<const QMimeData*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
290 case 25: _t->onMoveClip((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
291 case 26: _t->onMovedToEnd(); break;
292 case 27: _t->onInTimerFired(); break;
293 case 28: _t->onOutTimerFired(); break;
294 default: ;
295 }
296 } else if (_c == QMetaObject::IndexOfMethod) {
297 int *result = reinterpret_cast<int *>(_a[0]);
298 {
299 using _t = void (PlaylistDock::*)(Mlt::Producer * , bool );
300 if (_t _q_method = &PlaylistDock::clipOpened; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
301 *result = 0;
302 return;
303 }
304 }
305 {
306 using _t = void (PlaylistDock::*)(int );
307 if (_t _q_method = &PlaylistDock::itemActivated; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
308 *result = 2;
309 return;
310 }
311 }
312 {
313 using _t = void (PlaylistDock::*)(QString );
314 if (_t _q_method = &PlaylistDock::showStatusMessage; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
315 *result = 3;
316 return;
317 }
318 }
319 {
320 using _t = void (PlaylistDock::*)(Mlt::Playlist * , bool , bool );
321 if (_t _q_method = &PlaylistDock::addAllTimeline; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
322 *result = 4;
323 return;
324 }
325 }
326 {
327 using _t = void (PlaylistDock::*)();
328 if (_t _q_method = &PlaylistDock::producerOpened; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
329 *result = 7;
330 return;
331 }
332 }
333 {
334 using _t = void (PlaylistDock::*)();
335 if (_t _q_method = &PlaylistDock::selectionChanged; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
336 *result = 8;
337 return;
338 }
339 }
340 {
341 using _t = void (PlaylistDock::*)(bool );
342 if (_t _q_method = &PlaylistDock::enableUpdate; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
343 *result = 9;
344 return;
345 }
346 }
347 }
348}
349
350const QMetaObject *PlaylistDock::metaObject() const
351{
352 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
353}
354
355void *PlaylistDock::qt_metacast(const char *_clname)
356{
357 if (!_clname) return nullptr;
358 if (!strcmp(_clname, qt_meta_stringdata_CLASSPlaylistDockENDCLASS.stringdata0))
359 return static_cast<void*>(this);
360 return QDockWidget::qt_metacast(_clname);
361}
362
363int PlaylistDock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
364{
365 _id = QDockWidget::qt_metacall(_c, _id, _a);
366 if (_id < 0)
367 return _id;
368 if (_c == QMetaObject::InvokeMetaMethod) {
369 if (_id < 29)
370 qt_static_metacall(this, _c, _id, _a);
371 _id -= 29;
372 } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
373 if (_id < 29)
374 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
375 _id -= 29;
376 }
377 return _id;
378}
379
380// SIGNAL 0
381void PlaylistDock::clipOpened(Mlt::Producer * _t1, bool _t2)
382{
383 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
384 QMetaObject::activate(this, &staticMetaObject, 0, _a);
385}
386
387// SIGNAL 2
388void PlaylistDock::itemActivated(int _t1)
389{
390 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
391 QMetaObject::activate(this, &staticMetaObject, 2, _a);
392}
393
394// SIGNAL 3
395void PlaylistDock::showStatusMessage(QString _t1)
396{
397 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
398 QMetaObject::activate(this, &staticMetaObject, 3, _a);
399}
400
401// SIGNAL 4
402void PlaylistDock::addAllTimeline(Mlt::Playlist * _t1, bool _t2, bool _t3)
403{
404 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
405 QMetaObject::activate(this, &staticMetaObject, 4, _a);
406}
407
408// SIGNAL 7
409void PlaylistDock::producerOpened()
410{
411 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
412}
413
414// SIGNAL 8
415void PlaylistDock::selectionChanged()
416{
417 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
418}
419
420// SIGNAL 9
421void PlaylistDock::enableUpdate(bool _t1)
422{
423 void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
424 QMetaObject::activate(this, &staticMetaObject, 9, _a);
425}
426QT_WARNING_POP