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 69 (Qt 6.9.0)
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#include <QtCore/QList>
12
13#include <QtCore/qtmochelpers.h>
14
15#include <memory>
16
17
18#include <QtCore/qxptype_traits.h>
19#if !defined(Q_MOC_OUTPUT_REVISION)
20#error "The header file 'playlistdock.h' doesn't include <QObject>."
21#elif Q_MOC_OUTPUT_REVISION != 69
22#error "This file was generated using the moc from 6.9.0. It"
23#error "cannot be used with the include files from this version of Qt."
24#error "(The moc has changed too much.)"
25#endif
26
27#ifndef Q_CONSTINIT
28#define Q_CONSTINIT
29#endif
30
31QT_WARNING_PUSH
32QT_WARNING_DISABLE_DEPRECATED
33QT_WARNING_DISABLE_GCC("-Wuseless-cast")
34namespace {
35struct qt_meta_tag_ZN7BinTreeE_t {};
36} // unnamed namespace
37
38template <> constexpr inline auto BinTree::qt_create_metaobjectdata<qt_meta_tag_ZN7BinTreeE_t>()
39{
40 namespace QMC = QtMocConstants;
41 QtMocHelpers::StringRefStorage qt_stringData {
42 "BinTree",
43 "copied",
44 "",
45 "moved",
46 "QList<int>"
47 };
48
49 QtMocHelpers::UintData qt_methods {
50 // Signal 'copied'
51 QtMocHelpers::SignalData<void(QString)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
52 { QMetaType::QString, 2 },
53 }}),
54 // Signal 'moved'
55 QtMocHelpers::SignalData<void(QList<int>, QPointF)>(3, 2, QMC::AccessPublic, QMetaType::Void, {{
56 { 0x80000000 | 4, 2 }, { QMetaType::QPointF, 2 },
57 }}),
58 };
59 QtMocHelpers::UintData qt_properties {
60 };
61 QtMocHelpers::UintData qt_enums {
62 };
63 return QtMocHelpers::metaObjectData<BinTree, qt_meta_tag_ZN7BinTreeE_t>(QMC::MetaObjectFlag{}, qt_stringData,
64 qt_methods, qt_properties, qt_enums);
65}
66Q_CONSTINIT const QMetaObject BinTree::staticMetaObject = { {
67 QMetaObject::SuperData::link<QTreeWidget::staticMetaObject>(),
68 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7BinTreeE_t>.stringdata,
69 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7BinTreeE_t>.data,
70 qt_static_metacall,
71 nullptr,
72 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN7BinTreeE_t>.metaTypes,
73 nullptr
74} };
75
76void BinTree::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
77{
78 auto *_t = static_cast<BinTree *>(_o);
79 if (_c == QMetaObject::InvokeMetaMethod) {
80 switch (_id) {
81 case 0: _t->copied((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
82 case 1: _t->moved((*reinterpret_cast< std::add_pointer_t<QList<int>>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QPointF>>(_a[2]))); break;
83 default: ;
84 }
85 }
86 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
87 switch (_id) {
88 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
89 case 1:
90 switch (*reinterpret_cast<int*>(_a[1])) {
91 default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
92 case 0:
93 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
94 }
95 break;
96 }
97 }
98 if (_c == QMetaObject::IndexOfMethod) {
99 if (QtMocHelpers::indexOfMethod<void (BinTree::*)(QString )>(_a, &BinTree::copied, 0))
100 return;
101 if (QtMocHelpers::indexOfMethod<void (BinTree::*)(QList<int> , QPointF )>(_a, &BinTree::moved, 1))
102 return;
103 }
104}
105
106const QMetaObject *BinTree::metaObject() const
107{
108 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
109}
110
111void *BinTree::qt_metacast(const char *_clname)
112{
113 if (!_clname) return nullptr;
114 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN7BinTreeE_t>.strings))
115 return static_cast<void*>(this);
116 return QTreeWidget::qt_metacast(_clname);
117}
118
119int BinTree::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
120{
121 _id = QTreeWidget::qt_metacall(_c, _id, _a);
122 if (_id < 0)
123 return _id;
124 if (_c == QMetaObject::InvokeMetaMethod) {
125 if (_id < 2)
126 qt_static_metacall(this, _c, _id, _a);
127 _id -= 2;
128 }
129 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
130 if (_id < 2)
131 qt_static_metacall(this, _c, _id, _a);
132 _id -= 2;
133 }
134 return _id;
135}
136
137// SIGNAL 0
138void BinTree::copied(QString _t1)
139{
140 QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
141}
142
143// SIGNAL 1
144void BinTree::moved(QList<int> _t1, QPointF _t2)
145{
146 QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
147}
148namespace {
149struct qt_meta_tag_ZN12PlaylistDockE_t {};
150} // unnamed namespace
151
152template <> constexpr inline auto PlaylistDock::qt_create_metaobjectdata<qt_meta_tag_ZN12PlaylistDockE_t>()
153{
154 namespace QMC = QtMocConstants;
155 QtMocHelpers::StringRefStorage qt_stringData {
156 "PlaylistDock",
157 "clipOpened",
158 "",
159 "Mlt::Producer*",
160 "producer",
161 "play",
162 "itemActivated",
163 "start",
164 "showStatusMessage",
165 "addAllTimeline",
166 "Mlt::Playlist*",
167 "skipProxy",
168 "emptyTrack",
169 "producerOpened",
170 "selectionChanged",
171 "enableUpdate",
172 "onOpenActionTriggered",
173 "onAppendCutActionTriggered",
174 "onProducerOpened",
175 "onInChanged",
176 "onOutChanged",
177 "onProducerChanged",
178 "onProducerModified",
179 "onPlayerDragStarted",
180 "onPlaylistModified",
181 "onPlaylistCreated",
182 "onPlaylistLoaded",
183 "onPlaylistCleared",
184 "onPlaylistClosed",
185 "refreshTimelineSmartBins",
186 "viewCustomContextMenuRequested",
187 "pos",
188 "viewDoubleClicked",
189 "QModelIndex",
190 "index",
191 "onDropped",
192 "const QMimeData*",
193 "data",
194 "row",
195 "onMoveClip",
196 "from",
197 "to",
198 "onMovedToEnd",
199 "onInTimerFired",
200 "onOutTimerFired",
201 "onMediaTypeClicked",
202 "on_treeWidget_itemSelectionChanged",
203 "clearStatus",
204 "updateStatus"
205 };
206
207 QtMocHelpers::UintData qt_methods {
208 // Signal 'clipOpened'
209 QtMocHelpers::SignalData<void(Mlt::Producer *, bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
210 { 0x80000000 | 3, 4 }, { QMetaType::Bool, 5 },
211 }}),
212 // Signal 'clipOpened'
213 QtMocHelpers::SignalData<void(Mlt::Producer *)>(1, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
214 { 0x80000000 | 3, 4 },
215 }}),
216 // Signal 'itemActivated'
217 QtMocHelpers::SignalData<void(int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
218 { QMetaType::Int, 7 },
219 }}),
220 // Signal 'showStatusMessage'
221 QtMocHelpers::SignalData<void(QString)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
222 { QMetaType::QString, 2 },
223 }}),
224 // Signal 'addAllTimeline'
225 QtMocHelpers::SignalData<void(Mlt::Playlist *, bool, bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
226 { 0x80000000 | 10, 2 }, { QMetaType::Bool, 11 }, { QMetaType::Bool, 12 },
227 }}),
228 // Signal 'addAllTimeline'
229 QtMocHelpers::SignalData<void(Mlt::Playlist *, bool)>(9, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
230 { 0x80000000 | 10, 2 }, { QMetaType::Bool, 11 },
231 }}),
232 // Signal 'addAllTimeline'
233 QtMocHelpers::SignalData<void(Mlt::Playlist *)>(9, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
234 { 0x80000000 | 10, 2 },
235 }}),
236 // Signal 'producerOpened'
237 QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
238 // Signal 'selectionChanged'
239 QtMocHelpers::SignalData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
240 // Signal 'enableUpdate'
241 QtMocHelpers::SignalData<void(bool)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
242 { QMetaType::Bool, 2 },
243 }}),
244 // Slot 'onOpenActionTriggered'
245 QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
246 // Slot 'onAppendCutActionTriggered'
247 QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
248 // Slot 'onProducerOpened'
249 QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
250 // Slot 'onInChanged'
251 QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
252 // Slot 'onOutChanged'
253 QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
254 // Slot 'onProducerChanged'
255 QtMocHelpers::SlotData<void(Mlt::Producer *)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
256 { 0x80000000 | 3, 4 },
257 }}),
258 // Slot 'onProducerModified'
259 QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
260 // Slot 'onPlayerDragStarted'
261 QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
262 // Slot 'onPlaylistModified'
263 QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
264 // Slot 'onPlaylistCreated'
265 QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
266 // Slot 'onPlaylistLoaded'
267 QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
268 // Slot 'onPlaylistCleared'
269 QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
270 // Slot 'onPlaylistClosed'
271 QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
272 // Slot 'refreshTimelineSmartBins'
273 QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
274 // Slot 'viewCustomContextMenuRequested'
275 QtMocHelpers::SlotData<void(const QPoint &)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
276 { QMetaType::QPoint, 31 },
277 }}),
278 // Slot 'viewDoubleClicked'
279 QtMocHelpers::SlotData<void(const QModelIndex &)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
280 { 0x80000000 | 33, 34 },
281 }}),
282 // Slot 'onDropped'
283 QtMocHelpers::SlotData<void(const QMimeData *, int)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
284 { 0x80000000 | 36, 37 }, { QMetaType::Int, 38 },
285 }}),
286 // Slot 'onMoveClip'
287 QtMocHelpers::SlotData<void(int, int)>(39, 2, QMC::AccessPrivate, QMetaType::Void, {{
288 { QMetaType::Int, 40 }, { QMetaType::Int, 41 },
289 }}),
290 // Slot 'onMovedToEnd'
291 QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
292 // Slot 'onInTimerFired'
293 QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
294 // Slot 'onOutTimerFired'
295 QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
296 // Slot 'onMediaTypeClicked'
297 QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
298 // Slot 'on_treeWidget_itemSelectionChanged'
299 QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
300 // Slot 'clearStatus'
301 QtMocHelpers::SlotData<void()>(47, 2, QMC::AccessPrivate, QMetaType::Void),
302 // Slot 'updateStatus'
303 QtMocHelpers::SlotData<void()>(48, 2, QMC::AccessPrivate, QMetaType::Void),
304 };
305 QtMocHelpers::UintData qt_properties {
306 };
307 QtMocHelpers::UintData qt_enums {
308 };
309 return QtMocHelpers::metaObjectData<PlaylistDock, qt_meta_tag_ZN12PlaylistDockE_t>(QMC::MetaObjectFlag{}, qt_stringData,
310 qt_methods, qt_properties, qt_enums);
311}
312Q_CONSTINIT const QMetaObject PlaylistDock::staticMetaObject = { {
313 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
314 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PlaylistDockE_t>.stringdata,
315 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PlaylistDockE_t>.data,
316 qt_static_metacall,
317 nullptr,
318 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12PlaylistDockE_t>.metaTypes,
319 nullptr
320} };
321
322void PlaylistDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
323{
324 auto *_t = static_cast<PlaylistDock *>(_o);
325 if (_c == QMetaObject::InvokeMetaMethod) {
326 switch (_id) {
327 case 0: _t->clipOpened((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
328 case 1: _t->clipOpened((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
329 case 2: _t->itemActivated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
330 case 3: _t->showStatusMessage((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
331 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;
332 case 5: _t->addAllTimeline((*reinterpret_cast< std::add_pointer_t<Mlt::Playlist*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
333 case 6: _t->addAllTimeline((*reinterpret_cast< std::add_pointer_t<Mlt::Playlist*>>(_a[1]))); break;
334 case 7: _t->producerOpened(); break;
335 case 8: _t->selectionChanged(); break;
336 case 9: _t->enableUpdate((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
337 case 10: _t->onOpenActionTriggered(); break;
338 case 11: _t->onAppendCutActionTriggered(); break;
339 case 12: _t->onProducerOpened(); break;
340 case 13: _t->onInChanged(); break;
341 case 14: _t->onOutChanged(); break;
342 case 15: _t->onProducerChanged((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
343 case 16: _t->onProducerModified(); break;
344 case 17: _t->onPlayerDragStarted(); break;
345 case 18: _t->onPlaylistModified(); break;
346 case 19: _t->onPlaylistCreated(); break;
347 case 20: _t->onPlaylistLoaded(); break;
348 case 21: _t->onPlaylistCleared(); break;
349 case 22: _t->onPlaylistClosed(); break;
350 case 23: _t->refreshTimelineSmartBins(); break;
351 case 24: _t->viewCustomContextMenuRequested((*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[1]))); break;
352 case 25: _t->viewDoubleClicked((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1]))); break;
353 case 26: _t->onDropped((*reinterpret_cast< std::add_pointer_t<const QMimeData*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
354 case 27: _t->onMoveClip((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
355 case 28: _t->onMovedToEnd(); break;
356 case 29: _t->onInTimerFired(); break;
357 case 30: _t->onOutTimerFired(); break;
358 case 31: _t->onMediaTypeClicked(); break;
359 case 32: _t->on_treeWidget_itemSelectionChanged(); break;
360 case 33: _t->clearStatus(); break;
361 case 34: _t->updateStatus(); break;
362 default: ;
363 }
364 }
365 if (_c == QMetaObject::IndexOfMethod) {
366 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)(Mlt::Producer * , bool )>(_a, &PlaylistDock::clipOpened, 0))
367 return;
368 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)(int )>(_a, &PlaylistDock::itemActivated, 2))
369 return;
370 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)(QString )>(_a, &PlaylistDock::showStatusMessage, 3))
371 return;
372 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)(Mlt::Playlist * , bool , bool )>(_a, &PlaylistDock::addAllTimeline, 4))
373 return;
374 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)()>(_a, &PlaylistDock::producerOpened, 7))
375 return;
376 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)()>(_a, &PlaylistDock::selectionChanged, 8))
377 return;
378 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)(bool )>(_a, &PlaylistDock::enableUpdate, 9))
379 return;
380 }
381}
382
383const QMetaObject *PlaylistDock::metaObject() const
384{
385 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
386}
387
388void *PlaylistDock::qt_metacast(const char *_clname)
389{
390 if (!_clname) return nullptr;
391 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PlaylistDockE_t>.strings))
392 return static_cast<void*>(this);
393 return QDockWidget::qt_metacast(_clname);
394}
395
396int PlaylistDock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
397{
398 _id = QDockWidget::qt_metacall(_c, _id, _a);
399 if (_id < 0)
400 return _id;
401 if (_c == QMetaObject::InvokeMetaMethod) {
402 if (_id < 35)
403 qt_static_metacall(this, _c, _id, _a);
404 _id -= 35;
405 }
406 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
407 if (_id < 35)
408 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
409 _id -= 35;
410 }
411 return _id;
412}
413
414// SIGNAL 0
415void PlaylistDock::clipOpened(Mlt::Producer * _t1, bool _t2)
416{
417 QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
418}
419
420// SIGNAL 2
421void PlaylistDock::itemActivated(int _t1)
422{
423 QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
424}
425
426// SIGNAL 3
427void PlaylistDock::showStatusMessage(QString _t1)
428{
429 QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
430}
431
432// SIGNAL 4
433void PlaylistDock::addAllTimeline(Mlt::Playlist * _t1, bool _t2, bool _t3)
434{
435 QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2, _t3);
436}
437
438// SIGNAL 7
439void PlaylistDock::producerOpened()
440{
441 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
442}
443
444// SIGNAL 8
445void PlaylistDock::selectionChanged()
446{
447 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
448}
449
450// SIGNAL 9
451void PlaylistDock::enableUpdate(bool _t1)
452{
453 QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
454}
455QT_WARNING_POP