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

#include <memory>
#include "../../src/models/playlistmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'playlistmodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.3. 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_PlaylistModel_t {
    QByteArrayData data[34];
    char stringdata0[280];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PlaylistModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PlaylistModel_t qt_meta_stringdata_PlaylistModel = {
    {
QT_MOC_LITERAL(0, 0, 13), // "PlaylistModel"
QT_MOC_LITERAL(1, 14, 7), // "created"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 7), // "cleared"
QT_MOC_LITERAL(4, 31, 6), // "closed"
QT_MOC_LITERAL(5, 38, 8), // "modified"
QT_MOC_LITERAL(6, 47, 6), // "loaded"
QT_MOC_LITERAL(7, 54, 7), // "dropped"
QT_MOC_LITERAL(8, 62, 16), // "const QMimeData*"
QT_MOC_LITERAL(9, 79, 4), // "data"
QT_MOC_LITERAL(10, 84, 3), // "row"
QT_MOC_LITERAL(11, 88, 8), // "moveClip"
QT_MOC_LITERAL(12, 97, 4), // "from"
QT_MOC_LITERAL(13, 102, 2), // "to"
QT_MOC_LITERAL(14, 105, 9), // "inChanged"
QT_MOC_LITERAL(15, 115, 2), // "in"
QT_MOC_LITERAL(16, 118, 10), // "outChanged"
QT_MOC_LITERAL(17, 129, 3), // "out"
QT_MOC_LITERAL(18, 133, 5), // "clear"
QT_MOC_LITERAL(19, 139, 4), // "load"
QT_MOC_LITERAL(20, 144, 6), // "append"
QT_MOC_LITERAL(21, 151, 14), // "Mlt::Producer&"
QT_MOC_LITERAL(22, 166, 12), // "emitModified"
QT_MOC_LITERAL(23, 179, 6), // "insert"
QT_MOC_LITERAL(24, 186, 6), // "remove"
QT_MOC_LITERAL(25, 193, 6), // "update"
QT_MOC_LITERAL(26, 200, 8), // "producer"
QT_MOC_LITERAL(27, 209, 11), // "copyFilters"
QT_MOC_LITERAL(28, 221, 16), // "updateThumbnails"
QT_MOC_LITERAL(29, 238, 11), // "appendBlank"
QT_MOC_LITERAL(30, 250, 6), // "frames"
QT_MOC_LITERAL(31, 257, 11), // "insertBlank"
QT_MOC_LITERAL(32, 269, 5), // "close"
QT_MOC_LITERAL(33, 275, 4) // "move"

    },
    "PlaylistModel\0created\0\0cleared\0closed\0"
    "modified\0loaded\0dropped\0const QMimeData*\0"
    "data\0row\0moveClip\0from\0to\0inChanged\0"
    "in\0outChanged\0out\0clear\0load\0append\0"
    "Mlt::Producer&\0emitModified\0insert\0"
    "remove\0update\0producer\0copyFilters\0"
    "updateThumbnails\0appendBlank\0frames\0"
    "insertBlank\0close\0move"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PlaylistModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  124,    2, 0x06 /* Public */,
       3,    0,  125,    2, 0x06 /* Public */,
       4,    0,  126,    2, 0x06 /* Public */,
       5,    0,  127,    2, 0x06 /* Public */,
       6,    0,  128,    2, 0x06 /* Public */,
       7,    2,  129,    2, 0x06 /* Public */,
      11,    2,  134,    2, 0x06 /* Public */,
      14,    1,  139,    2, 0x06 /* Public */,
      16,    1,  142,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      18,    0,  145,    2, 0x0a /* Public */,
      19,    0,  146,    2, 0x0a /* Public */,
      20,    2,  147,    2, 0x0a /* Public */,
      20,    1,  152,    2, 0x2a /* Public | MethodCloned */,
      23,    2,  155,    2, 0x0a /* Public */,
      24,    1,  160,    2, 0x0a /* Public */,
      25,    3,  163,    2, 0x0a /* Public */,
      25,    2,  170,    2, 0x2a /* Public | MethodCloned */,
      28,    1,  175,    2, 0x0a /* Public */,
      29,    1,  178,    2, 0x0a /* Public */,
      31,    2,  181,    2, 0x0a /* Public */,
      32,    0,  186,    2, 0x0a /* Public */,
      33,    2,  187,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8, QMetaType::Int,    9,   10,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   12,   13,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::Int,   17,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 21, QMetaType::Bool,    2,   22,
    QMetaType::Void, 0x80000000 | 21,    2,
    QMetaType::Void, 0x80000000 | 21, QMetaType::Int,    2,   10,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 21, QMetaType::Bool,   10,   26,   27,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 21,   10,   26,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   30,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   30,   10,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   12,   13,

       0        // eod
};

void PlaylistModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<PlaylistModel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->created(); break;
        case 1: _t->cleared(); break;
        case 2: _t->closed(); break;
        case 3: _t->modified(); break;
        case 4: _t->loaded(); break;
        case 5: _t->dropped((*reinterpret_cast< const QMimeData*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->moveClip((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->inChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->outChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 9: _t->clear(); break;
        case 10: _t->load(); break;
        case 11: _t->append((*reinterpret_cast< Mlt::Producer(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 12: _t->append((*reinterpret_cast< Mlt::Producer(*)>(_a[1]))); break;
        case 13: _t->insert((*reinterpret_cast< Mlt::Producer(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 14: _t->remove((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->update((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Mlt::Producer(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 16: _t->update((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Mlt::Producer(*)>(_a[2]))); break;
        case 17: _t->updateThumbnails((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->appendBlank((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 19: _t->insertBlank((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 20: _t->close(); break;
        case 21: _t->move((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (PlaylistModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlaylistModel::created)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (PlaylistModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlaylistModel::cleared)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (PlaylistModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlaylistModel::closed)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (PlaylistModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlaylistModel::modified)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (PlaylistModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlaylistModel::loaded)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (PlaylistModel::*)(const QMimeData * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlaylistModel::dropped)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (PlaylistModel::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlaylistModel::moveClip)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (PlaylistModel::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlaylistModel::inChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (PlaylistModel::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlaylistModel::outChanged)) {
                *result = 8;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject PlaylistModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractTableModel::staticMetaObject>(),
    qt_meta_stringdata_PlaylistModel.data,
    qt_meta_data_PlaylistModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int PlaylistModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractTableModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 22;
    }
    return _id;
}

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

// SIGNAL 1
void PlaylistModel::cleared()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

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

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

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

// SIGNAL 5
void PlaylistModel::dropped(const QMimeData * _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

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

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

// SIGNAL 8
void PlaylistModel::outChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
