/****************************************************************************
** Meta object code from reading C++ file 'attachedfiltersmodel.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/models/attachedfiltersmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'attachedfiltersmodel.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_AttachedFiltersModel_t {
    QByteArrayData data[24];
    char stringdata0[290];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AttachedFiltersModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AttachedFiltersModel_t qt_meta_stringdata_AttachedFiltersModel = {
    {
QT_MOC_LITERAL(0, 0, 20), // "AttachedFiltersModel"
QT_MOC_LITERAL(1, 21, 7), // "changed"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 18), // "duplicateAddFailed"
QT_MOC_LITERAL(4, 49, 5), // "index"
QT_MOC_LITERAL(5, 55, 17), // "trackTitleChanged"
QT_MOC_LITERAL(6, 73, 25), // "isProducerSelectedChanged"
QT_MOC_LITERAL(7, 99, 20), // "supportsLinksChanged"
QT_MOC_LITERAL(8, 120, 14), // "addedOrRemoved"
QT_MOC_LITERAL(9, 135, 14), // "Mlt::Producer*"
QT_MOC_LITERAL(10, 150, 14), // "requestConvert"
QT_MOC_LITERAL(11, 165, 13), // "set709Convert"
QT_MOC_LITERAL(12, 179, 11), // "withSubClip"
QT_MOC_LITERAL(13, 191, 3), // "add"
QT_MOC_LITERAL(14, 195, 12), // "QmlMetadata*"
QT_MOC_LITERAL(15, 208, 4), // "meta"
QT_MOC_LITERAL(16, 213, 6), // "remove"
QT_MOC_LITERAL(17, 220, 3), // "row"
QT_MOC_LITERAL(18, 224, 4), // "move"
QT_MOC_LITERAL(19, 229, 7), // "fromRow"
QT_MOC_LITERAL(20, 237, 5), // "toRow"
QT_MOC_LITERAL(21, 243, 13), // "producerTitle"
QT_MOC_LITERAL(22, 257, 18), // "isProducerSelected"
QT_MOC_LITERAL(23, 276, 13) // "supportsLinks"

    },
    "AttachedFiltersModel\0changed\0\0"
    "duplicateAddFailed\0index\0trackTitleChanged\0"
    "isProducerSelectedChanged\0"
    "supportsLinksChanged\0addedOrRemoved\0"
    "Mlt::Producer*\0requestConvert\0"
    "set709Convert\0withSubClip\0add\0"
    "QmlMetadata*\0meta\0remove\0row\0move\0"
    "fromRow\0toRow\0producerTitle\0"
    "isProducerSelected\0supportsLinks"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AttachedFiltersModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    1,   65,    2, 0x06 /* Public */,
       5,    0,   68,    2, 0x06 /* Public */,
       6,    0,   69,    2, 0x06 /* Public */,
       7,    0,   70,    2, 0x06 /* Public */,
       8,    1,   71,    2, 0x06 /* Public */,
      10,    3,   74,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    1,   81,    2, 0x0a /* Public */,
      16,    1,   84,    2, 0x0a /* Public */,
      18,    2,   87,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool, QMetaType::Bool,    2,   11,   12,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Bool, QMetaType::Int, QMetaType::Int,   19,   20,

 // properties: name, type, flags
      21, QMetaType::QString, 0x00495001,
      22, QMetaType::Bool, 0x00495001,
      23, QMetaType::Bool, 0x00495001,

 // properties: notify_signal_id
       2,
       3,
       4,

       0        // eod
};

void AttachedFiltersModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AttachedFiltersModel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->changed(); break;
        case 1: _t->duplicateAddFailed((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 2: _t->trackTitleChanged(); break;
        case 3: _t->isProducerSelectedChanged(); break;
        case 4: _t->supportsLinksChanged(); break;
        case 5: _t->addedOrRemoved((*reinterpret_cast< Mlt::Producer*(*)>(_a[1]))); break;
        case 6: _t->requestConvert((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 7: _t->add((*reinterpret_cast< QmlMetadata*(*)>(_a[1]))); break;
        case 8: _t->remove((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: { bool _r = _t->move((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (AttachedFiltersModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AttachedFiltersModel::changed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (AttachedFiltersModel::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AttachedFiltersModel::duplicateAddFailed)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (AttachedFiltersModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AttachedFiltersModel::trackTitleChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (AttachedFiltersModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AttachedFiltersModel::isProducerSelectedChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (AttachedFiltersModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AttachedFiltersModel::supportsLinksChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (AttachedFiltersModel::*)(Mlt::Producer * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AttachedFiltersModel::addedOrRemoved)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (AttachedFiltersModel::*)(QString , bool , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AttachedFiltersModel::requestConvert)) {
                *result = 6;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<AttachedFiltersModel *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->producerTitle(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isProducerSelected(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->supportsLinks(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject AttachedFiltersModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_meta_stringdata_AttachedFiltersModel.data,
    qt_meta_data_AttachedFiltersModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int AttachedFiltersModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 3;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 3;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void AttachedFiltersModel::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

// SIGNAL 2
void AttachedFiltersModel::trackTitleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void AttachedFiltersModel::isProducerSelectedChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void AttachedFiltersModel::supportsLinksChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void AttachedFiltersModel::addedOrRemoved(Mlt::Producer * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void AttachedFiltersModel::requestConvert(QString _t1, bool _t2, bool _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, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
