/****************************************************************************
** Meta object code from reading C++ file 'filtercontroller.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.15.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include <memory>
#include "../../src/controllers/filtercontroller.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'filtercontroller.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_FilterController_t {
    QByteArrayData data[37];
    char stringdata0[519];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FilterController_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FilterController_t qt_meta_stringdata_FilterController = {
    {
QT_MOC_LITERAL(0, 0, 16), // "FilterController"
QT_MOC_LITERAL(1, 17, 20), // "currentFilterChanged"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 10), // "QmlFilter*"
QT_MOC_LITERAL(4, 50, 6), // "filter"
QT_MOC_LITERAL(5, 57, 12), // "QmlMetadata*"
QT_MOC_LITERAL(6, 70, 4), // "meta"
QT_MOC_LITERAL(7, 75, 5), // "index"
QT_MOC_LITERAL(8, 81, 13), // "statusChanged"
QT_MOC_LITERAL(9, 95, 13), // "filterChanged"
QT_MOC_LITERAL(10, 109, 13), // "Mlt::Service*"
QT_MOC_LITERAL(11, 123, 11), // "setProducer"
QT_MOC_LITERAL(12, 135, 14), // "Mlt::Producer*"
QT_MOC_LITERAL(13, 150, 8), // "producer"
QT_MOC_LITERAL(14, 159, 16), // "setCurrentFilter"
QT_MOC_LITERAL(15, 176, 13), // "attachedIndex"
QT_MOC_LITERAL(16, 190, 5), // "isNew"
QT_MOC_LITERAL(17, 196, 15), // "onFadeInChanged"
QT_MOC_LITERAL(18, 212, 16), // "onFadeOutChanged"
QT_MOC_LITERAL(19, 229, 18), // "onServiceInChanged"
QT_MOC_LITERAL(20, 248, 5), // "delta"
QT_MOC_LITERAL(21, 254, 7), // "service"
QT_MOC_LITERAL(22, 262, 19), // "onServiceOutChanged"
QT_MOC_LITERAL(23, 282, 13), // "removeCurrent"
QT_MOC_LITERAL(24, 296, 17), // "onProducerChanged"
QT_MOC_LITERAL(25, 314, 25), // "handleAttachedModelChange"
QT_MOC_LITERAL(26, 340, 31), // "handleAttachedModelAboutToReset"
QT_MOC_LITERAL(27, 372, 11), // "addMetadata"
QT_MOC_LITERAL(28, 384, 25), // "handleAttachedRowsRemoved"
QT_MOC_LITERAL(29, 410, 11), // "QModelIndex"
QT_MOC_LITERAL(30, 422, 6), // "parent"
QT_MOC_LITERAL(31, 429, 5), // "first"
QT_MOC_LITERAL(32, 435, 4), // "last"
QT_MOC_LITERAL(33, 440, 26), // "handleAttachedRowsInserted"
QT_MOC_LITERAL(34, 467, 27), // "handleAttachDuplicateFailed"
QT_MOC_LITERAL(35, 495, 18), // "onQmlFilterChanged"
QT_MOC_LITERAL(36, 514, 4) // "name"

    },
    "FilterController\0currentFilterChanged\0"
    "\0QmlFilter*\0filter\0QmlMetadata*\0meta\0"
    "index\0statusChanged\0filterChanged\0"
    "Mlt::Service*\0setProducer\0Mlt::Producer*\0"
    "producer\0setCurrentFilter\0attachedIndex\0"
    "isNew\0onFadeInChanged\0onFadeOutChanged\0"
    "onServiceInChanged\0delta\0service\0"
    "onServiceOutChanged\0removeCurrent\0"
    "onProducerChanged\0handleAttachedModelChange\0"
    "handleAttachedModelAboutToReset\0"
    "addMetadata\0handleAttachedRowsRemoved\0"
    "QModelIndex\0parent\0first\0last\0"
    "handleAttachedRowsInserted\0"
    "handleAttachDuplicateFailed\0"
    "onQmlFilterChanged\0name"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FilterController[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      23,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    3,  129,    2, 0x06 /* Public */,
       8,    1,  136,    2, 0x06 /* Public */,
       9,    1,  139,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    1,  142,    2, 0x0a /* Public */,
      11,    0,  145,    2, 0x2a /* Public | MethodCloned */,
      14,    2,  146,    2, 0x0a /* Public */,
      14,    1,  151,    2, 0x2a /* Public | MethodCloned */,
      17,    0,  154,    2, 0x0a /* Public */,
      18,    0,  155,    2, 0x0a /* Public */,
      19,    2,  156,    2, 0x0a /* Public */,
      19,    1,  161,    2, 0x2a /* Public | MethodCloned */,
      22,    2,  164,    2, 0x0a /* Public */,
      22,    1,  169,    2, 0x2a /* Public | MethodCloned */,
      23,    0,  172,    2, 0x0a /* Public */,
      24,    0,  173,    2, 0x0a /* Public */,
      25,    0,  174,    2, 0x08 /* Private */,
      26,    0,  175,    2, 0x08 /* Private */,
      27,    1,  176,    2, 0x08 /* Private */,
      28,    3,  179,    2, 0x08 /* Private */,
      33,    3,  186,    2, 0x08 /* Private */,
      34,    1,  193,    2, 0x08 /* Private */,
      35,    0,  196,    2, 0x08 /* Private */,
      35,    1,  197,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5, QMetaType::Int,    4,    6,    7,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, 0x80000000 | 10,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Bool,   15,   16,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 10,   20,   21,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 10,   20,   21,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    2,
    QMetaType::Void, 0x80000000 | 29, QMetaType::Int, QMetaType::Int,   30,   31,   32,
    QMetaType::Void, 0x80000000 | 29, QMetaType::Int, QMetaType::Int,   30,   31,   32,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   36,

       0        // eod
};

void FilterController::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<FilterController *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->currentFilterChanged((*reinterpret_cast< QmlFilter*(*)>(_a[1])),(*reinterpret_cast< QmlMetadata*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 1: _t->statusChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 2: _t->filterChanged((*reinterpret_cast< Mlt::Service*(*)>(_a[1]))); break;
        case 3: _t->setProducer((*reinterpret_cast< Mlt::Producer*(*)>(_a[1]))); break;
        case 4: _t->setProducer(); break;
        case 5: _t->setCurrentFilter((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 6: _t->setCurrentFilter((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->onFadeInChanged(); break;
        case 8: _t->onFadeOutChanged(); break;
        case 9: _t->onServiceInChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Mlt::Service*(*)>(_a[2]))); break;
        case 10: _t->onServiceInChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 11: _t->onServiceOutChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Mlt::Service*(*)>(_a[2]))); break;
        case 12: _t->onServiceOutChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->removeCurrent(); break;
        case 14: _t->onProducerChanged(); break;
        case 15: _t->handleAttachedModelChange(); break;
        case 16: _t->handleAttachedModelAboutToReset(); break;
        case 17: _t->addMetadata((*reinterpret_cast< QmlMetadata*(*)>(_a[1]))); break;
        case 18: _t->handleAttachedRowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 19: _t->handleAttachedRowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 20: _t->handleAttachDuplicateFailed((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->onQmlFilterChanged(); break;
        case 22: _t->onQmlFilterChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QmlFilter* >(); break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QmlMetadata* >(); break;
            }
            break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QmlMetadata* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (FilterController::*)(QmlFilter * , QmlMetadata * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FilterController::currentFilterChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (FilterController::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FilterController::statusChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (FilterController::*)(Mlt::Service * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FilterController::filterChanged)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject FilterController::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_FilterController.data,
    qt_meta_data_FilterController,
    qt_static_metacall,
    nullptr,
    nullptr
} };


const QMetaObject *FilterController::metaObject() const
{
    return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : &staticMetaObject;
}

void *FilterController::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_FilterController.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int FilterController::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    return _id;
}

// SIGNAL 0
void FilterController::currentFilterChanged(QmlFilter * _t1, QmlMetadata * _t2, int _t3)
{
    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))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void FilterController::statusChanged(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void FilterController::filterChanged(Mlt::Service * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
