9#include "../../../../src/controllers/filtercontroller.h"
10#include <QtCore/qmetatype.h>
12#if __has_include(<QtCore/qtmochelpers.h>)
13#include <QtCore/qtmochelpers.h>
21#if !defined(Q_MOC_OUTPUT_REVISION)
22#error "The header file 'filtercontroller.h' doesn't include <QObject>."
23#elif Q_MOC_OUTPUT_REVISION != 68
24#error "This file was generated using the moc from 6.6.2. It"
25#error "cannot be used with the include files from this version of Qt."
26#error "(The moc has changed too much.)"
34QT_WARNING_DISABLE_DEPRECATED
35QT_WARNING_DISABLE_GCC(
"-Wuseless-cast")
38#ifdef QT_MOC_HAS_STRINGDATA
39struct qt_meta_stringdata_CLASSFilterControllerENDCLASS_t {};
40constexpr auto qt_meta_stringdata_CLASSFilterControllerENDCLASS = QtMocHelpers::stringData(
42 "currentFilterChanged",
63 "onServiceOutChanged",
66 "handleAttachedModelChange",
67 "handleAttachedModelAboutToReset",
69 "handleAttachedRowsAboutToBeRemoved",
74 "handleAttachedRowsRemoved",
75 "handleAttachedRowsInserted",
76 "handleAttachDuplicateFailed",
81struct qt_meta_stringdata_CLASSFilterControllerENDCLASS_t {
82 uint offsetsAndSizes[76];
93 char stringdata10[14];
94 char stringdata11[11];
95 char stringdata12[12];
96 char stringdata13[15];
98 char stringdata15[17];
99 char stringdata16[14];
100 char stringdata17[16];
101 char stringdata18[17];
102 char stringdata19[19];
103 char stringdata20[6];
104 char stringdata21[8];
105 char stringdata22[20];
106 char stringdata23[14];
107 char stringdata24[18];
108 char stringdata25[26];
109 char stringdata26[32];
110 char stringdata27[12];
111 char stringdata28[35];
112 char stringdata29[12];
113 char stringdata30[7];
114 char stringdata31[6];
115 char stringdata32[5];
116 char stringdata33[26];
117 char stringdata34[27];
118 char stringdata35[28];
119 char stringdata36[19];
120 char stringdata37[5];
122#define QT_MOC_LITERAL(ofs, len) \
123 uint(sizeof(qt_meta_stringdata_CLASSFilterControllerENDCLASS_t::offsetsAndSizes) + ofs), len
124Q_CONSTINIT
static const qt_meta_stringdata_CLASSFilterControllerENDCLASS_t qt_meta_stringdata_CLASSFilterControllerENDCLASS = {
126 QT_MOC_LITERAL(0, 16),
127 QT_MOC_LITERAL(17, 20),
128 QT_MOC_LITERAL(38, 0),
129 QT_MOC_LITERAL(39, 10),
130 QT_MOC_LITERAL(50, 6),
131 QT_MOC_LITERAL(57, 12),
132 QT_MOC_LITERAL(70, 4),
133 QT_MOC_LITERAL(75, 5),
134 QT_MOC_LITERAL(81, 13),
135 QT_MOC_LITERAL(95, 13),
136 QT_MOC_LITERAL(109, 13),
137 QT_MOC_LITERAL(123, 10),
138 QT_MOC_LITERAL(134, 11),
139 QT_MOC_LITERAL(146, 14),
140 QT_MOC_LITERAL(161, 8),
141 QT_MOC_LITERAL(170, 16),
142 QT_MOC_LITERAL(187, 13),
143 QT_MOC_LITERAL(201, 15),
144 QT_MOC_LITERAL(217, 16),
145 QT_MOC_LITERAL(234, 18),
146 QT_MOC_LITERAL(253, 5),
147 QT_MOC_LITERAL(259, 7),
148 QT_MOC_LITERAL(267, 19),
149 QT_MOC_LITERAL(287, 13),
150 QT_MOC_LITERAL(301, 17),
151 QT_MOC_LITERAL(319, 25),
152 QT_MOC_LITERAL(345, 31),
153 QT_MOC_LITERAL(377, 11),
154 QT_MOC_LITERAL(389, 34),
155 QT_MOC_LITERAL(424, 11),
156 QT_MOC_LITERAL(436, 6),
157 QT_MOC_LITERAL(443, 5),
158 QT_MOC_LITERAL(449, 4),
159 QT_MOC_LITERAL(454, 25),
160 QT_MOC_LITERAL(480, 26),
161 QT_MOC_LITERAL(507, 27),
162 QT_MOC_LITERAL(535, 18),
163 QT_MOC_LITERAL(554, 4)
166 "currentFilterChanged",
184 "onServiceInChanged",
187 "onServiceOutChanged",
190 "handleAttachedModelChange",
191 "handleAttachedModelAboutToReset",
193 "handleAttachedRowsAboutToBeRemoved",
198 "handleAttachedRowsRemoved",
199 "handleAttachedRowsInserted",
200 "handleAttachDuplicateFailed",
201 "onQmlFilterChanged",
208Q_CONSTINIT
static const uint qt_meta_data_CLASSFilterControllerENDCLASS[] = {
222 1, 3, 152, 2, 0x06, 1 ,
223 8, 1, 159, 2, 0x06, 5 ,
224 9, 1, 162, 2, 0x06, 7 ,
225 11, 0, 165, 2, 0x06, 9 ,
228 12, 1, 166, 2, 0x0a, 10 ,
229 12, 0, 169, 2, 0x2a, 12 ,
230 15, 1, 170, 2, 0x0a, 13 ,
231 17, 0, 173, 2, 0x0a, 15 ,
232 18, 0, 174, 2, 0x0a, 16 ,
233 19, 2, 175, 2, 0x0a, 17 ,
234 19, 1, 180, 2, 0x2a, 20 ,
235 22, 2, 183, 2, 0x0a, 22 ,
236 22, 1, 188, 2, 0x2a, 25 ,
237 23, 0, 191, 2, 0x0a, 27 ,
238 24, 0, 192, 2, 0x0a, 28 ,
239 25, 0, 193, 2, 0x08, 29 ,
240 26, 0, 194, 2, 0x08, 30 ,
241 27, 1, 195, 2, 0x08, 31 ,
242 28, 3, 198, 2, 0x08, 33 ,
243 33, 3, 205, 2, 0x08, 37 ,
244 34, 3, 212, 2, 0x08, 41 ,
245 35, 1, 219, 2, 0x08, 45 ,
246 36, 1, 222, 2, 0x08, 47 ,
249 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, QMetaType::Int, 4, 6, 7,
250 QMetaType::Void, QMetaType::QString, 2,
251 QMetaType::Void, 0x80000000 | 10, 2,
255 QMetaType::Void, 0x80000000 | 13, 14,
257 QMetaType::Void, QMetaType::Int, 16,
260 QMetaType::Void, QMetaType::Int, 0x80000000 | 10, 20, 21,
261 QMetaType::Void, QMetaType::Int, 20,
262 QMetaType::Void, QMetaType::Int, 0x80000000 | 10, 20, 21,
263 QMetaType::Void, QMetaType::Int, 20,
268 QMetaType::Void, 0x80000000 | 5, 2,
269 QMetaType::Void, 0x80000000 | 29, QMetaType::Int, QMetaType::Int, 30, 31, 32,
270 QMetaType::Void, 0x80000000 | 29, QMetaType::Int, QMetaType::Int, 30, 31, 32,
271 QMetaType::Void, 0x80000000 | 29, QMetaType::Int, QMetaType::Int, 30, 31, 32,
272 QMetaType::Void, QMetaType::Int, 7,
273 QMetaType::Void, QMetaType::QString, 37,
278Q_CONSTINIT
const QMetaObject FilterController::staticMetaObject = { {
279 QMetaObject::SuperData::link<QObject::staticMetaObject>(),
280 qt_meta_stringdata_CLASSFilterControllerENDCLASS.offsetsAndSizes,
281 qt_meta_data_CLASSFilterControllerENDCLASS,
284 qt_incomplete_metaTypeArray<qt_meta_stringdata_CLASSFilterControllerENDCLASS_t,
286 QtPrivate::TypeAndForceComplete<FilterController, std::true_type>,
288 QtPrivate::TypeAndForceComplete<void, std::false_type>,
289 QtPrivate::TypeAndForceComplete<QmlFilter *, std::false_type>,
290 QtPrivate::TypeAndForceComplete<QmlMetadata *, std::false_type>,
291 QtPrivate::TypeAndForceComplete<int, std::false_type>,
293 QtPrivate::TypeAndForceComplete<void, std::false_type>,
294 QtPrivate::TypeAndForceComplete<QString, std::false_type>,
296 QtPrivate::TypeAndForceComplete<void, std::false_type>,
297 QtPrivate::TypeAndForceComplete<Mlt::Service *, std::false_type>,
299 QtPrivate::TypeAndForceComplete<void, std::false_type>,
301 QtPrivate::TypeAndForceComplete<void, std::false_type>,
302 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
304 QtPrivate::TypeAndForceComplete<void, std::false_type>,
306 QtPrivate::TypeAndForceComplete<void, std::false_type>,
307 QtPrivate::TypeAndForceComplete<int, std::false_type>,
309 QtPrivate::TypeAndForceComplete<void, std::false_type>,
311 QtPrivate::TypeAndForceComplete<void, std::false_type>,
313 QtPrivate::TypeAndForceComplete<void, std::false_type>,
314 QtPrivate::TypeAndForceComplete<int, std::false_type>,
315 QtPrivate::TypeAndForceComplete<Mlt::Service *, std::false_type>,
317 QtPrivate::TypeAndForceComplete<void, std::false_type>,
318 QtPrivate::TypeAndForceComplete<int, std::false_type>,
320 QtPrivate::TypeAndForceComplete<void, std::false_type>,
321 QtPrivate::TypeAndForceComplete<int, std::false_type>,
322 QtPrivate::TypeAndForceComplete<Mlt::Service *, std::false_type>,
324 QtPrivate::TypeAndForceComplete<void, std::false_type>,
325 QtPrivate::TypeAndForceComplete<int, std::false_type>,
327 QtPrivate::TypeAndForceComplete<void, std::false_type>,
329 QtPrivate::TypeAndForceComplete<void, std::false_type>,
331 QtPrivate::TypeAndForceComplete<void, std::false_type>,
333 QtPrivate::TypeAndForceComplete<void, std::false_type>,
335 QtPrivate::TypeAndForceComplete<void, std::false_type>,
336 QtPrivate::TypeAndForceComplete<QmlMetadata *, std::false_type>,
338 QtPrivate::TypeAndForceComplete<void, std::false_type>,
339 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
340 QtPrivate::TypeAndForceComplete<int, std::false_type>,
341 QtPrivate::TypeAndForceComplete<int, std::false_type>,
343 QtPrivate::TypeAndForceComplete<void, std::false_type>,
344 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
345 QtPrivate::TypeAndForceComplete<int, std::false_type>,
346 QtPrivate::TypeAndForceComplete<int, std::false_type>,
348 QtPrivate::TypeAndForceComplete<void, std::false_type>,
349 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
350 QtPrivate::TypeAndForceComplete<int, std::false_type>,
351 QtPrivate::TypeAndForceComplete<int, std::false_type>,
353 QtPrivate::TypeAndForceComplete<void, std::false_type>,
354 QtPrivate::TypeAndForceComplete<int, std::false_type>,
356 QtPrivate::TypeAndForceComplete<void, std::false_type>,
357 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
362void FilterController::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
364 if (_c == QMetaObject::InvokeMetaMethod) {
365 auto *_t =
static_cast<FilterController *
>(_o);
368 case 0: _t->currentFilterChanged((*
reinterpret_cast< std::add_pointer_t<QmlFilter*>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<QmlMetadata*>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])));
break;
369 case 1: _t->statusChanged((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
370 case 2: _t->filterChanged((*
reinterpret_cast< std::add_pointer_t<Mlt::Service*>
>(_a[1])));
break;
371 case 3: _t->undoOrRedo();
break;
372 case 4: _t->setProducer((*
reinterpret_cast< std::add_pointer_t<Mlt::Producer*>
>(_a[1])));
break;
373 case 5: _t->setProducer();
break;
374 case 6: _t->setCurrentFilter((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
375 case 7: _t->onFadeInChanged();
break;
376 case 8: _t->onFadeOutChanged();
break;
377 case 9: _t->onServiceInChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<Mlt::Service*>
>(_a[2])));
break;
378 case 10: _t->onServiceInChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
379 case 11: _t->onServiceOutChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<Mlt::Service*>
>(_a[2])));
break;
380 case 12: _t->onServiceOutChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
381 case 13: _t->removeCurrent();
break;
382 case 14: _t->onProducerChanged();
break;
383 case 15: _t->handleAttachedModelChange();
break;
384 case 16: _t->handleAttachedModelAboutToReset();
break;
385 case 17: _t->addMetadata((*
reinterpret_cast< std::add_pointer_t<QmlMetadata*>
>(_a[1])));
break;
386 case 18: _t->handleAttachedRowsAboutToBeRemoved((*
reinterpret_cast< std::add_pointer_t<QModelIndex>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])));
break;
387 case 19: _t->handleAttachedRowsRemoved((*
reinterpret_cast< std::add_pointer_t<QModelIndex>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])));
break;
388 case 20: _t->handleAttachedRowsInserted((*
reinterpret_cast< std::add_pointer_t<QModelIndex>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[2])),(*
reinterpret_cast< std::add_pointer_t<int>
>(_a[3])));
break;
389 case 21: _t->handleAttachDuplicateFailed((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
390 case 22: _t->onQmlFilterChanged((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
393 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
395 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
397 switch (*
reinterpret_cast<int*
>(_a[1])) {
398 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
400 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< QmlFilter* >();
break;
402 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< QmlMetadata* >();
break;
406 switch (*
reinterpret_cast<int*
>(_a[1])) {
407 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
409 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< QmlMetadata* >();
break;
413 }
else if (_c == QMetaObject::IndexOfMethod) {
414 int *result =
reinterpret_cast<int *
>(_a[0]);
416 using _t = void (FilterController::*)(QmlFilter * , QmlMetadata * , int );
417 if (_t _q_method = &FilterController::currentFilterChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
423 using _t = void (FilterController::*)(QString );
424 if (_t _q_method = &FilterController::statusChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
430 using _t = void (FilterController::*)(Mlt::Service * );
431 if (_t _q_method = &FilterController::filterChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
437 using _t = void (FilterController::*)();
438 if (_t _q_method = &FilterController::undoOrRedo; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
446const QMetaObject *FilterController::metaObject()
const
448 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
451void *FilterController::qt_metacast(
const char *_clname)
453 if (!_clname)
return nullptr;
454 if (!strcmp(_clname, qt_meta_stringdata_CLASSFilterControllerENDCLASS.stringdata0))
455 return static_cast<void*
>(
this);
456 return QObject::qt_metacast(_clname);
459int FilterController::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
461 _id = QObject::qt_metacall(_c, _id, _a);
464 if (_c == QMetaObject::InvokeMetaMethod) {
466 qt_static_metacall(
this, _c, _id, _a);
468 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
470 qt_static_metacall(
this, _c, _id, _a);
477void FilterController::currentFilterChanged(QmlFilter * _t1, QmlMetadata * _t2,
int _t3)
479 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))) };
480 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
484void FilterController::statusChanged(QString _t1)
486 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
487 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
491void FilterController::filterChanged(Mlt::Service * _t1)
493 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
494 QMetaObject::activate(
this, &staticMetaObject, 2, _a);
498void FilterController::undoOrRedo()
500 QMetaObject::activate(
this, &staticMetaObject, 3,
nullptr);