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.5.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 {};
40static constexpr 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[12];
95 char stringdata12[15];
97 char stringdata14[17];
98 char stringdata15[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, 11),
138 QT_MOC_LITERAL(135, 14),
139 QT_MOC_LITERAL(150, 8),
140 QT_MOC_LITERAL(159, 16),
141 QT_MOC_LITERAL(176, 13),
142 QT_MOC_LITERAL(190, 5),
143 QT_MOC_LITERAL(196, 15),
144 QT_MOC_LITERAL(212, 16),
145 QT_MOC_LITERAL(229, 18),
146 QT_MOC_LITERAL(248, 5),
147 QT_MOC_LITERAL(254, 7),
148 QT_MOC_LITERAL(262, 19),
149 QT_MOC_LITERAL(282, 13),
150 QT_MOC_LITERAL(296, 17),
151 QT_MOC_LITERAL(314, 25),
152 QT_MOC_LITERAL(340, 31),
153 QT_MOC_LITERAL(372, 11),
154 QT_MOC_LITERAL(384, 34),
155 QT_MOC_LITERAL(419, 11),
156 QT_MOC_LITERAL(431, 6),
157 QT_MOC_LITERAL(438, 5),
158 QT_MOC_LITERAL(444, 4),
159 QT_MOC_LITERAL(449, 25),
160 QT_MOC_LITERAL(475, 26),
161 QT_MOC_LITERAL(502, 27),
162 QT_MOC_LITERAL(530, 18),
163 QT_MOC_LITERAL(549, 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 ,
227 11, 1, 165, 2, 0x0a, 9 ,
228 11, 0, 168, 2, 0x2a, 11 ,
229 14, 2, 169, 2, 0x0a, 12 ,
230 14, 1, 174, 2, 0x2a, 15 ,
231 17, 0, 177, 2, 0x0a, 17 ,
232 18, 0, 178, 2, 0x0a, 18 ,
233 19, 2, 179, 2, 0x0a, 19 ,
234 19, 1, 184, 2, 0x2a, 22 ,
235 22, 2, 187, 2, 0x0a, 24 ,
236 22, 1, 192, 2, 0x2a, 27 ,
237 23, 0, 195, 2, 0x0a, 29 ,
238 24, 0, 196, 2, 0x0a, 30 ,
239 25, 0, 197, 2, 0x08, 31 ,
240 26, 0, 198, 2, 0x08, 32 ,
241 27, 1, 199, 2, 0x08, 33 ,
242 28, 3, 202, 2, 0x08, 35 ,
243 33, 3, 209, 2, 0x08, 39 ,
244 34, 3, 216, 2, 0x08, 43 ,
245 35, 1, 223, 2, 0x08, 47 ,
246 36, 1, 226, 2, 0x08, 49 ,
249 QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, QMetaType::Int, 4, 6, 7,
250 QMetaType::Void, QMetaType::QString, 2,
251 QMetaType::Void, 0x80000000 | 10, 2,
254 QMetaType::Void, 0x80000000 | 12, 13,
256 QMetaType::Void, QMetaType::Int, QMetaType::Bool, 15, 16,
257 QMetaType::Void, QMetaType::Int, 15,
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>,
300 QtPrivate::TypeAndForceComplete<Mlt::Producer *, std::false_type>,
302 QtPrivate::TypeAndForceComplete<void, std::false_type>,
304 QtPrivate::TypeAndForceComplete<void, std::false_type>,
305 QtPrivate::TypeAndForceComplete<int, std::false_type>,
306 QtPrivate::TypeAndForceComplete<bool, std::false_type>,
308 QtPrivate::TypeAndForceComplete<void, std::false_type>,
309 QtPrivate::TypeAndForceComplete<int, std::false_type>,
311 QtPrivate::TypeAndForceComplete<void, std::false_type>,
313 QtPrivate::TypeAndForceComplete<void, std::false_type>,
315 QtPrivate::TypeAndForceComplete<void, std::false_type>,
316 QtPrivate::TypeAndForceComplete<int, std::false_type>,
317 QtPrivate::TypeAndForceComplete<Mlt::Service *, std::false_type>,
319 QtPrivate::TypeAndForceComplete<void, std::false_type>,
320 QtPrivate::TypeAndForceComplete<int, std::false_type>,
322 QtPrivate::TypeAndForceComplete<void, std::false_type>,
323 QtPrivate::TypeAndForceComplete<int, std::false_type>,
324 QtPrivate::TypeAndForceComplete<Mlt::Service *, std::false_type>,
326 QtPrivate::TypeAndForceComplete<void, std::false_type>,
327 QtPrivate::TypeAndForceComplete<int, 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>,
337 QtPrivate::TypeAndForceComplete<void, std::false_type>,
338 QtPrivate::TypeAndForceComplete<QmlMetadata *, std::false_type>,
340 QtPrivate::TypeAndForceComplete<void, std::false_type>,
341 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
342 QtPrivate::TypeAndForceComplete<int, std::false_type>,
343 QtPrivate::TypeAndForceComplete<int, std::false_type>,
345 QtPrivate::TypeAndForceComplete<void, std::false_type>,
346 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
347 QtPrivate::TypeAndForceComplete<int, std::false_type>,
348 QtPrivate::TypeAndForceComplete<int, std::false_type>,
350 QtPrivate::TypeAndForceComplete<void, std::false_type>,
351 QtPrivate::TypeAndForceComplete<const QModelIndex &, std::false_type>,
352 QtPrivate::TypeAndForceComplete<int, std::false_type>,
353 QtPrivate::TypeAndForceComplete<int, std::false_type>,
355 QtPrivate::TypeAndForceComplete<void, std::false_type>,
356 QtPrivate::TypeAndForceComplete<int, std::false_type>,
358 QtPrivate::TypeAndForceComplete<void, std::false_type>,
359 QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
364void FilterController::qt_static_metacall(QObject *_o, QMetaObject::Call _c,
int _id,
void **_a)
366 if (_c == QMetaObject::InvokeMetaMethod) {
367 auto *_t =
static_cast<FilterController *
>(_o);
370 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;
371 case 1: _t->statusChanged((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
372 case 2: _t->filterChanged((*
reinterpret_cast< std::add_pointer_t<Mlt::Service*>
>(_a[1])));
break;
373 case 3: _t->setProducer((*
reinterpret_cast< std::add_pointer_t<Mlt::Producer*>
>(_a[1])));
break;
374 case 4: _t->setProducer();
break;
375 case 5: _t->setCurrentFilter((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<bool>
>(_a[2])));
break;
376 case 6: _t->setCurrentFilter((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
377 case 7: _t->onFadeInChanged();
break;
378 case 8: _t->onFadeOutChanged();
break;
379 case 9: _t->onServiceInChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<Mlt::Service*>
>(_a[2])));
break;
380 case 10: _t->onServiceInChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
381 case 11: _t->onServiceOutChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])),(*
reinterpret_cast< std::add_pointer_t<Mlt::Service*>
>(_a[2])));
break;
382 case 12: _t->onServiceOutChanged((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
383 case 13: _t->removeCurrent();
break;
384 case 14: _t->onProducerChanged();
break;
385 case 15: _t->handleAttachedModelChange();
break;
386 case 16: _t->handleAttachedModelAboutToReset();
break;
387 case 17: _t->addMetadata((*
reinterpret_cast< std::add_pointer_t<QmlMetadata*>
>(_a[1])));
break;
388 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;
389 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;
390 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;
391 case 21: _t->handleAttachDuplicateFailed((*
reinterpret_cast< std::add_pointer_t<int>
>(_a[1])));
break;
392 case 22: _t->onQmlFilterChanged((*
reinterpret_cast< std::add_pointer_t<QString>
>(_a[1])));
break;
395 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
397 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
399 switch (*
reinterpret_cast<int*
>(_a[1])) {
400 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
402 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< QmlFilter* >();
break;
404 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< QmlMetadata* >();
break;
408 switch (*
reinterpret_cast<int*
>(_a[1])) {
409 default: *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType();
break;
411 *
reinterpret_cast<QMetaType *
>(_a[0]) = QMetaType::fromType< QmlMetadata* >();
break;
415 }
else if (_c == QMetaObject::IndexOfMethod) {
416 int *result =
reinterpret_cast<int *
>(_a[0]);
418 using _t = void (FilterController::*)(QmlFilter * , QmlMetadata * , int );
419 if (_t _q_method = &FilterController::currentFilterChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
425 using _t = void (FilterController::*)(QString );
426 if (_t _q_method = &FilterController::statusChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
432 using _t = void (FilterController::*)(Mlt::Service * );
433 if (_t _q_method = &FilterController::filterChanged; *
reinterpret_cast<_t *
>(_a[1]) == _q_method) {
441const QMetaObject *FilterController::metaObject()
const
443 return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
446void *FilterController::qt_metacast(
const char *_clname)
448 if (!_clname)
return nullptr;
449 if (!strcmp(_clname, qt_meta_stringdata_CLASSFilterControllerENDCLASS.stringdata0))
450 return static_cast<void*
>(
this);
451 return QObject::qt_metacast(_clname);
454int FilterController::qt_metacall(QMetaObject::Call _c,
int _id,
void **_a)
456 _id = QObject::qt_metacall(_c, _id, _a);
459 if (_c == QMetaObject::InvokeMetaMethod) {
461 qt_static_metacall(
this, _c, _id, _a);
463 }
else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
465 qt_static_metacall(
this, _c, _id, _a);
472void FilterController::currentFilterChanged(QmlFilter * _t1, QmlMetadata * _t2,
int _t3)
474 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))) };
475 QMetaObject::activate(
this, &staticMetaObject, 0, _a);
479void FilterController::statusChanged(QString _t1)
481 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
482 QMetaObject::activate(
this, &staticMetaObject, 1, _a);
486void FilterController::filterChanged(Mlt::Service * _t1)
488 void *_a[] = {
nullptr,
const_cast<void*
>(
reinterpret_cast<const void*
>(std::addressof(_t1))) };
489 QMetaObject::activate(
this, &staticMetaObject, 2, _a);