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