/****************************************************************************
** Meta object code from reading C++ file 'keyframesmodel.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/keyframesmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'keyframesmodel.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_KeyframesModel_t {
    QByteArrayData data[36];
    char stringdata0[494];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KeyframesModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KeyframesModel_t qt_meta_stringdata_KeyframesModel = {
    {
QT_MOC_LITERAL(0, 0, 14), // "KeyframesModel"
QT_MOC_LITERAL(1, 15, 6), // "loaded"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 13), // "keyframeAdded"
QT_MOC_LITERAL(4, 37, 9), // "parameter"
QT_MOC_LITERAL(5, 47, 8), // "position"
QT_MOC_LITERAL(6, 56, 6), // "reload"
QT_MOC_LITERAL(7, 63, 15), // "onFilterChanged"
QT_MOC_LITERAL(8, 79, 8), // "property"
QT_MOC_LITERAL(9, 88, 17), // "onFilterInChanged"
QT_MOC_LITERAL(10, 106, 5), // "delta"
QT_MOC_LITERAL(11, 112, 12), // "trimFilterIn"
QT_MOC_LITERAL(12, 125, 2), // "in"
QT_MOC_LITERAL(13, 128, 13), // "trimFilterOut"
QT_MOC_LITERAL(14, 142, 3), // "out"
QT_MOC_LITERAL(15, 146, 6), // "remove"
QT_MOC_LITERAL(16, 153, 14), // "parameterIndex"
QT_MOC_LITERAL(17, 168, 13), // "keyframeIndex"
QT_MOC_LITERAL(18, 182, 15), // "currentPosition"
QT_MOC_LITERAL(19, 198, 12), // "propertyName"
QT_MOC_LITERAL(20, 211, 16), // "setInterpolation"
QT_MOC_LITERAL(21, 228, 17), // "InterpolationType"
QT_MOC_LITERAL(22, 246, 4), // "type"
QT_MOC_LITERAL(23, 251, 19), // "setKeyframePosition"
QT_MOC_LITERAL(24, 271, 11), // "addKeyframe"
QT_MOC_LITERAL(25, 283, 5), // "value"
QT_MOC_LITERAL(26, 289, 16), // "setKeyframeValue"
QT_MOC_LITERAL(27, 306, 24), // "setKeyframeValuePosition"
QT_MOC_LITERAL(28, 331, 10), // "isKeyframe"
QT_MOC_LITERAL(29, 342, 22), // "advancedKeyframesInUse"
QT_MOC_LITERAL(30, 365, 23), // "removeAdvancedKeyframes"
QT_MOC_LITERAL(31, 389, 20), // "simpleKeyframesInUse"
QT_MOC_LITERAL(32, 410, 21), // "removeSimpleKeyframes"
QT_MOC_LITERAL(33, 432, 21), // "DiscreteInterpolation"
QT_MOC_LITERAL(34, 454, 19), // "LinearInterpolation"
QT_MOC_LITERAL(35, 474, 19) // "SmoothInterpolation"

    },
    "KeyframesModel\0loaded\0\0keyframeAdded\0"
    "parameter\0position\0reload\0onFilterChanged\0"
    "property\0onFilterInChanged\0delta\0"
    "trimFilterIn\0in\0trimFilterOut\0out\0"
    "remove\0parameterIndex\0keyframeIndex\0"
    "currentPosition\0propertyName\0"
    "setInterpolation\0InterpolationType\0"
    "type\0setKeyframePosition\0addKeyframe\0"
    "value\0setKeyframeValue\0setKeyframeValuePosition\0"
    "isKeyframe\0advancedKeyframesInUse\0"
    "removeAdvancedKeyframes\0simpleKeyframesInUse\0"
    "removeSimpleKeyframes\0DiscreteInterpolation\0"
    "LinearInterpolation\0SmoothInterpolation"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KeyframesModel[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      21,   14, // methods
       0,    0, // properties
       1,  204, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  119,    2, 0x06 /* Public */,
       3,    2,  120,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,  125,    2, 0x0a /* Public */,
       7,    1,  126,    2, 0x0a /* Public */,
       9,    1,  129,    2, 0x0a /* Public */,
      11,    1,  132,    2, 0x0a /* Public */,
      13,    1,  135,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      15,    2,  138,    2, 0x02 /* Public */,
      17,    2,  143,    2, 0x02 /* Public */,
      16,    1,  148,    2, 0x02 /* Public */,
      20,    3,  151,    2, 0x02 /* Public */,
      23,    3,  158,    2, 0x02 /* Public */,
      24,    4,  165,    2, 0x02 /* Public */,
      24,    2,  174,    2, 0x02 /* Public */,
      26,    3,  179,    2, 0x02 /* Public */,
      27,    4,  186,    2, 0x02 /* Public */,
      28,    2,  195,    2, 0x02 /* Public */,
      29,    0,  200,    2, 0x02 /* Public */,
      30,    0,  201,    2, 0x02 /* Public */,
      31,    0,  202,    2, 0x02 /* Public */,
      32,    0,  203,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    4,    5,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::Int,   14,

 // methods: parameters
    QMetaType::Bool, QMetaType::Int, QMetaType::Int,   16,   17,
    QMetaType::Int, QMetaType::Int, QMetaType::Int,   16,   18,
    QMetaType::Int, QMetaType::QString,   19,
    QMetaType::Bool, QMetaType::Int, QMetaType::Int, 0x80000000 | 21,   16,   17,   22,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int,   16,   17,    5,
    QMetaType::Void, QMetaType::Int, QMetaType::Double, QMetaType::Int, 0x80000000 | 21,   16,   25,    5,   22,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   16,    5,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Double,   16,   17,   25,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Double, QMetaType::Int,   16,   17,   25,    5,
    QMetaType::Bool, QMetaType::Int, QMetaType::Int,   16,    5,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Bool,
    QMetaType::Void,

 // enums: name, alias, flags, count, data
      21,   21, 0x0,    3,  209,

 // enum data: key, value
      33, uint(KeyframesModel::DiscreteInterpolation),
      34, uint(KeyframesModel::LinearInterpolation),
      35, uint(KeyframesModel::SmoothInterpolation),

       0        // eod
};

void KeyframesModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<KeyframesModel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->loaded(); break;
        case 1: _t->keyframeAdded((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->reload(); break;
        case 3: _t->onFilterChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->onFilterInChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->trimFilterIn((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->trimFilterOut((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: { bool _r = _t->remove((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 8: { int _r = _t->keyframeIndex((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 9: { int _r = _t->parameterIndex((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 10: { bool _r = _t->setInterpolation((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< InterpolationType(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 11: _t->setKeyframePosition((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 12: _t->addKeyframe((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< InterpolationType(*)>(_a[4]))); break;
        case 13: _t->addKeyframe((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 14: _t->setKeyframeValue((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break;
        case 15: _t->setKeyframeValuePosition((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 16: { bool _r = _t->isKeyframe((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 17: { bool _r = _t->advancedKeyframesInUse();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->removeAdvancedKeyframes(); break;
        case 19: { bool _r = _t->simpleKeyframesInUse();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 20: _t->removeSimpleKeyframes(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (KeyframesModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyframesModel::loaded)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (KeyframesModel::*)(QString , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&KeyframesModel::keyframeAdded)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KeyframesModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractItemModel::staticMetaObject>(),
    qt_meta_stringdata_KeyframesModel.data,
    qt_meta_data_KeyframesModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

// SIGNAL 1
void KeyframesModel::keyframeAdded(QString _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, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
