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 };
204
205 QtMocHelpers::UintData qt_methods {
206 // Signal 'clipOpened'
207 QtMocHelpers::SignalData<void(Mlt::Producer *, bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
208 { 0x80000000 | 3, 4 }, { QMetaType::Bool, 5 },
209 }}),
210 // Signal 'clipOpened'
211 QtMocHelpers::SignalData<void(Mlt::Producer *)>(1, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
212 { 0x80000000 | 3, 4 },
213 }}),
214 // Signal 'itemActivated'
215 QtMocHelpers::SignalData<void(int)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
216 { QMetaType::Int, 7 },
217 }}),
218 // Signal 'showStatusMessage'
219 QtMocHelpers::SignalData<void(QString)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
220 { QMetaType::QString, 2 },
221 }}),
222 // Signal 'addAllTimeline'
223 QtMocHelpers::SignalData<void(Mlt::Playlist *, bool, bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
224 { 0x80000000 | 10, 2 }, { QMetaType::Bool, 11 }, { QMetaType::Bool, 12 },
225 }}),
226 // Signal 'addAllTimeline'
227 QtMocHelpers::SignalData<void(Mlt::Playlist *, bool)>(9, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
228 { 0x80000000 | 10, 2 }, { QMetaType::Bool, 11 },
229 }}),
230 // Signal 'addAllTimeline'
231 QtMocHelpers::SignalData<void(Mlt::Playlist *)>(9, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
232 { 0x80000000 | 10, 2 },
233 }}),
234 // Signal 'producerOpened'
235 QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
236 // Signal 'selectionChanged'
237 QtMocHelpers::SignalData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
238 // Signal 'enableUpdate'
239 QtMocHelpers::SignalData<void(bool)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
240 { QMetaType::Bool, 2 },
241 }}),
242 // Slot 'onOpenActionTriggered'
243 QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
244 // Slot 'onAppendCutActionTriggered'
245 QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
246 // Slot 'onProducerOpened'
247 QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPublic, QMetaType::Void),
248 // Slot 'onInChanged'
249 QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
250 // Slot 'onOutChanged'
251 QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPublic, QMetaType::Void),
252 // Slot 'onProducerChanged'
253 QtMocHelpers::SlotData<void(Mlt::Producer *)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
254 { 0x80000000 | 3, 4 },
255 }}),
256 // Slot 'onProducerModified'
257 QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
258 // Slot 'onPlayerDragStarted'
259 QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
260 // Slot 'onPlaylistModified'
261 QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
262 // Slot 'onPlaylistCreated'
263 QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
264 // Slot 'onPlaylistLoaded'
265 QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPublic, QMetaType::Void),
266 // Slot 'onPlaylistCleared'
267 QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPublic, QMetaType::Void),
268 // Slot 'onPlaylistClosed'
269 QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPublic, QMetaType::Void),
270 // Slot 'refreshTimelineSmartBins'
271 QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
272 // Slot 'viewCustomContextMenuRequested'
273 QtMocHelpers::SlotData<void(const QPoint &)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
274 { QMetaType::QPoint, 31 },
275 }}),
276 // Slot 'viewDoubleClicked'
277 QtMocHelpers::SlotData<void(const QModelIndex &)>(32, 2, QMC::AccessPrivate, QMetaType::Void, {{
278 { 0x80000000 | 33, 34 },
279 }}),
280 // Slot 'onDropped'
281 QtMocHelpers::SlotData<void(const QMimeData *, int)>(35, 2, QMC::AccessPrivate, QMetaType::Void, {{
282 { 0x80000000 | 36, 37 }, { QMetaType::Int, 38 },
283 }}),
284 // Slot 'onMoveClip'
285 QtMocHelpers::SlotData<void(int, int)>(39, 2, QMC::AccessPrivate, QMetaType::Void, {{
286 { QMetaType::Int, 40 }, { QMetaType::Int, 41 },
287 }}),
288 // Slot 'onMovedToEnd'
289 QtMocHelpers::SlotData<void()>(42, 2, QMC::AccessPrivate, QMetaType::Void),
290 // Slot 'onInTimerFired'
291 QtMocHelpers::SlotData<void()>(43, 2, QMC::AccessPrivate, QMetaType::Void),
292 // Slot 'onOutTimerFired'
293 QtMocHelpers::SlotData<void()>(44, 2, QMC::AccessPrivate, QMetaType::Void),
294 // Slot 'onMediaTypeClicked'
295 QtMocHelpers::SlotData<void()>(45, 2, QMC::AccessPrivate, QMetaType::Void),
296 // Slot 'on_treeWidget_itemSelectionChanged'
297 QtMocHelpers::SlotData<void()>(46, 2, QMC::AccessPrivate, QMetaType::Void),
298 };
299 QtMocHelpers::UintData qt_properties {
300 };
301 QtMocHelpers::UintData qt_enums {
302 };
303 return QtMocHelpers::metaObjectData<PlaylistDock, qt_meta_tag_ZN12PlaylistDockE_t>(QMC::MetaObjectFlag{}, qt_stringData,
304 qt_methods, qt_properties, qt_enums);
305}
306Q_CONSTINIT const QMetaObject PlaylistDock::staticMetaObject = { {
307 QMetaObject::SuperData::link<QDockWidget::staticMetaObject>(),
308 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PlaylistDockE_t>.stringdata,
309 qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PlaylistDockE_t>.data,
310 qt_static_metacall,
311 nullptr,
312 qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12PlaylistDockE_t>.metaTypes,
313 nullptr
314} };
315
316void PlaylistDock::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
317{
318 auto *_t = static_cast<PlaylistDock *>(_o);
319 if (_c == QMetaObject::InvokeMetaMethod) {
320 switch (_id) {
321 case 0: _t->clipOpened((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
322 case 1: _t->clipOpened((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
323 case 2: _t->itemActivated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
324 case 3: _t->showStatusMessage((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
325 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;
326 case 5: _t->addAllTimeline((*reinterpret_cast< std::add_pointer_t<Mlt::Playlist*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2]))); break;
327 case 6: _t->addAllTimeline((*reinterpret_cast< std::add_pointer_t<Mlt::Playlist*>>(_a[1]))); break;
328 case 7: _t->producerOpened(); break;
329 case 8: _t->selectionChanged(); break;
330 case 9: _t->enableUpdate((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
331 case 10: _t->onOpenActionTriggered(); break;
332 case 11: _t->onAppendCutActionTriggered(); break;
333 case 12: _t->onProducerOpened(); break;
334 case 13: _t->onInChanged(); break;
335 case 14: _t->onOutChanged(); break;
336 case 15: _t->onProducerChanged((*reinterpret_cast< std::add_pointer_t<Mlt::Producer*>>(_a[1]))); break;
337 case 16: _t->onProducerModified(); break;
338 case 17: _t->onPlayerDragStarted(); break;
339 case 18: _t->onPlaylistModified(); break;
340 case 19: _t->onPlaylistCreated(); break;
341 case 20: _t->onPlaylistLoaded(); break;
342 case 21: _t->onPlaylistCleared(); break;
343 case 22: _t->onPlaylistClosed(); break;
344 case 23: _t->refreshTimelineSmartBins(); break;
345 case 24: _t->viewCustomContextMenuRequested((*reinterpret_cast< std::add_pointer_t<QPoint>>(_a[1]))); break;
346 case 25: _t->viewDoubleClicked((*reinterpret_cast< std::add_pointer_t<QModelIndex>>(_a[1]))); break;
347 case 26: _t->onDropped((*reinterpret_cast< std::add_pointer_t<const QMimeData*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
348 case 27: _t->onMoveClip((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
349 case 28: _t->onMovedToEnd(); break;
350 case 29: _t->onInTimerFired(); break;
351 case 30: _t->onOutTimerFired(); break;
352 case 31: _t->onMediaTypeClicked(); break;
353 case 32: _t->on_treeWidget_itemSelectionChanged(); break;
354 default: ;
355 }
356 }
357 if (_c == QMetaObject::IndexOfMethod) {
358 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)(Mlt::Producer * , bool )>(_a, &PlaylistDock::clipOpened, 0))
359 return;
360 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)(int )>(_a, &PlaylistDock::itemActivated, 2))
361 return;
362 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)(QString )>(_a, &PlaylistDock::showStatusMessage, 3))
363 return;
364 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)(Mlt::Playlist * , bool , bool )>(_a, &PlaylistDock::addAllTimeline, 4))
365 return;
366 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)()>(_a, &PlaylistDock::producerOpened, 7))
367 return;
368 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)()>(_a, &PlaylistDock::selectionChanged, 8))
369 return;
370 if (QtMocHelpers::indexOfMethod<void (PlaylistDock::*)(bool )>(_a, &PlaylistDock::enableUpdate, 9))
371 return;
372 }
373}
374
375const QMetaObject *PlaylistDock::metaObject() const
376{
377 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
378}
379
380void *PlaylistDock::qt_metacast(const char *_clname)
381{
382 if (!_clname) return nullptr;
383 if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12PlaylistDockE_t>.strings))
384 return static_cast<void*>(this);
385 return QDockWidget::qt_metacast(_clname);
386}
387
388int PlaylistDock::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
389{
390 _id = QDockWidget::qt_metacall(_c, _id, _a);
391 if (_id < 0)
392 return _id;
393 if (_c == QMetaObject::InvokeMetaMethod) {
394 if (_id < 33)
395 qt_static_metacall(this, _c, _id, _a);
396 _id -= 33;
397 }
398 if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
399 if (_id < 33)
400 *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
401 _id -= 33;
402 }
403 return _id;
404}
405
406// SIGNAL 0
407void PlaylistDock::clipOpened(Mlt::Producer * _t1, bool _t2)
408{
409 QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
410}
411
412// SIGNAL 2
413void PlaylistDock::itemActivated(int _t1)
414{
415 QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
416}
417
418// SIGNAL 3
419void PlaylistDock::showStatusMessage(QString _t1)
420{
421 QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
422}
423
424// SIGNAL 4
425void PlaylistDock::addAllTimeline(Mlt::Playlist * _t1, bool _t2, bool _t3)
426{
427 QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2, _t3);
428}
429
430// SIGNAL 7
431void PlaylistDock::producerOpened()
432{
433 QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
434}
435
436// SIGNAL 8
437void PlaylistDock::selectionChanged()
438{
439 QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
440}
441
442// SIGNAL 9
443void PlaylistDock::enableUpdate(bool _t1)
444{
445 QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
446}
447QT_WARNING_POP