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

#include "../../src/artikulate-17.04.3/src/models/skeletonmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'skeletonmodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_SkeletonModel_t {
    QByteArrayData data[19];
    char stringdata0[252];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SkeletonModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SkeletonModel_t qt_meta_stringdata_SkeletonModel = {
    {
QT_MOC_LITERAL(0, 0, 13), // "SkeletonModel"
QT_MOC_LITERAL(1, 14, 15), // "skeletonChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 5), // "index"
QT_MOC_LITERAL(4, 37, 22), // "resourceManagerChanged"
QT_MOC_LITERAL(5, 60, 12), // "countChanged"
QT_MOC_LITERAL(6, 73, 24), // "onSkeletonAboutToBeAdded"
QT_MOC_LITERAL(7, 98, 7), // "Course*"
QT_MOC_LITERAL(8, 106, 8), // "skeleton"
QT_MOC_LITERAL(9, 115, 15), // "onSkeletonAdded"
QT_MOC_LITERAL(10, 131, 27), // "onSkeletonsAboutToBeRemoved"
QT_MOC_LITERAL(11, 159, 5), // "first"
QT_MOC_LITERAL(12, 165, 4), // "last"
QT_MOC_LITERAL(13, 170, 18), // "onSkeletonsRemoved"
QT_MOC_LITERAL(14, 189, 19), // "emitSkeletonChanged"
QT_MOC_LITERAL(15, 209, 3), // "row"
QT_MOC_LITERAL(16, 213, 15), // "resourceManager"
QT_MOC_LITERAL(17, 229, 16), // "ResourceManager*"
QT_MOC_LITERAL(18, 246, 5) // "count"

    },
    "SkeletonModel\0skeletonChanged\0\0index\0"
    "resourceManagerChanged\0countChanged\0"
    "onSkeletonAboutToBeAdded\0Course*\0"
    "skeleton\0onSkeletonAdded\0"
    "onSkeletonsAboutToBeRemoved\0first\0"
    "last\0onSkeletonsRemoved\0emitSkeletonChanged\0"
    "row\0resourceManager\0ResourceManager*\0"
    "count"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SkeletonModel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       9,   14, // methods
       2,   82, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,   59,    2, 0x06 /* Public */,
       4,    0,   62,    2, 0x06 /* Public */,
       5,    0,   63,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    2,   64,    2, 0x08 /* Private */,
       9,    0,   69,    2, 0x08 /* Private */,
      10,    2,   70,    2, 0x08 /* Private */,
      13,    0,   75,    2, 0x08 /* Private */,
      14,    1,   76,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
       8,    1,   79,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    3,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7, QMetaType::Int,    8,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   11,   12,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   15,

 // methods: parameters
    QMetaType::QVariant, QMetaType::Int,    3,

 // properties: name, type, flags
      16, 0x80000000 | 17, 0x0049510b,
      18, QMetaType::Int, 0x00495001,

 // properties: notify_signal_id
       1,
       2,

       0        // eod
};

void SkeletonModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SkeletonModel *_t = static_cast<SkeletonModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->skeletonChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->resourceManagerChanged(); break;
        case 2: _t->countChanged(); break;
        case 3: _t->onSkeletonAboutToBeAdded((*reinterpret_cast< Course*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->onSkeletonAdded(); break;
        case 5: _t->onSkeletonsAboutToBeRemoved((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->onSkeletonsRemoved(); break;
        case 7: _t->emitSkeletonChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: { QVariant _r = _t->skeleton((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (SkeletonModel::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SkeletonModel::skeletonChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (SkeletonModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SkeletonModel::resourceManagerChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (SkeletonModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SkeletonModel::countChanged)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        SkeletonModel *_t = static_cast<SkeletonModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< ResourceManager**>(_v) = _t->resourceManager(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->count(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        SkeletonModel *_t = static_cast<SkeletonModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setResourceManager(*reinterpret_cast< ResourceManager**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject SkeletonModel::staticMetaObject = {
    { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_SkeletonModel.data,
      qt_meta_data_SkeletonModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *SkeletonModel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_SkeletonModel.stringdata0))
        return static_cast<void*>(const_cast< SkeletonModel*>(this));
    return QAbstractListModel::qt_metacast(_clname);
}

int SkeletonModel::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 < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 9;
    }
#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 -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void SkeletonModel::skeletonChanged(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void SkeletonModel::resourceManagerChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void SkeletonModel::countChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
