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