/****************************************************************************
** Meta object code from reading C++ file 'checkablelistmodel.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/kid3-3.4.5/src/plugins/kid3qml/checkablelistmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'checkablelistmodel.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_CheckableListModel_t {
    QByteArrayData data[37];
    char stringdata0[485];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_CheckableListModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_CheckableListModel_t qt_meta_stringdata_CheckableListModel = {
    {
QT_MOC_LITERAL(0, 0, 18), // "CheckableListModel"
QT_MOC_LITERAL(1, 19, 18), // "sourceModelChanged"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 21), // "selectionModelChanged"
QT_MOC_LITERAL(4, 61, 16), // "rootIndexChanged"
QT_MOC_LITERAL(5, 78, 17), // "currentRowChanged"
QT_MOC_LITERAL(6, 96, 3), // "row"
QT_MOC_LITERAL(7, 100, 21), // "onModelAboutToBeReset"
QT_MOC_LITERAL(8, 122, 12), // "onModelReset"
QT_MOC_LITERAL(9, 135, 13), // "onDataChanged"
QT_MOC_LITERAL(10, 149, 7), // "topLeft"
QT_MOC_LITERAL(11, 157, 11), // "bottomRight"
QT_MOC_LITERAL(12, 169, 22), // "onRowsAboutToBeRemoved"
QT_MOC_LITERAL(13, 192, 6), // "parent"
QT_MOC_LITERAL(14, 199, 5), // "first"
QT_MOC_LITERAL(15, 205, 4), // "last"
QT_MOC_LITERAL(16, 210, 13), // "onRowsRemoved"
QT_MOC_LITERAL(17, 224, 23), // "onRowsAboutToBeInserted"
QT_MOC_LITERAL(18, 248, 14), // "onRowsInserted"
QT_MOC_LITERAL(19, 263, 18), // "onSelectionChanged"
QT_MOC_LITERAL(20, 282, 14), // "QItemSelection"
QT_MOC_LITERAL(21, 297, 8), // "selected"
QT_MOC_LITERAL(22, 306, 10), // "deselected"
QT_MOC_LITERAL(23, 317, 16), // "onCurrentChanged"
QT_MOC_LITERAL(24, 334, 7), // "current"
QT_MOC_LITERAL(25, 342, 8), // "previous"
QT_MOC_LITERAL(26, 351, 12), // "getDataValue"
QT_MOC_LITERAL(27, 364, 8), // "roleName"
QT_MOC_LITERAL(28, 373, 12), // "setDataValue"
QT_MOC_LITERAL(29, 386, 5), // "value"
QT_MOC_LITERAL(30, 392, 10), // "modelIndex"
QT_MOC_LITERAL(31, 403, 16), // "parentModelIndex"
QT_MOC_LITERAL(32, 420, 16), // "hasModelChildren"
QT_MOC_LITERAL(33, 437, 11), // "sourceModel"
QT_MOC_LITERAL(34, 449, 14), // "selectionModel"
QT_MOC_LITERAL(35, 464, 9), // "rootIndex"
QT_MOC_LITERAL(36, 474, 10) // "currentRow"

    },
    "CheckableListModel\0sourceModelChanged\0"
    "\0selectionModelChanged\0rootIndexChanged\0"
    "currentRowChanged\0row\0onModelAboutToBeReset\0"
    "onModelReset\0onDataChanged\0topLeft\0"
    "bottomRight\0onRowsAboutToBeRemoved\0"
    "parent\0first\0last\0onRowsRemoved\0"
    "onRowsAboutToBeInserted\0onRowsInserted\0"
    "onSelectionChanged\0QItemSelection\0"
    "selected\0deselected\0onCurrentChanged\0"
    "current\0previous\0getDataValue\0roleName\0"
    "setDataValue\0value\0modelIndex\0"
    "parentModelIndex\0hasModelChildren\0"
    "sourceModel\0selectionModel\0rootIndex\0"
    "currentRow"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_CheckableListModel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      18,   14, // methods
       4,  174, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  104,    2, 0x06 /* Public */,
       3,    0,  105,    2, 0x06 /* Public */,
       4,    0,  106,    2, 0x06 /* Public */,
       5,    1,  107,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,  110,    2, 0x08 /* Private */,
       8,    0,  111,    2, 0x08 /* Private */,
       9,    2,  112,    2, 0x08 /* Private */,
      12,    3,  117,    2, 0x08 /* Private */,
      16,    3,  124,    2, 0x08 /* Private */,
      17,    3,  131,    2, 0x08 /* Private */,
      18,    3,  138,    2, 0x08 /* Private */,
      19,    2,  145,    2, 0x08 /* Private */,
      23,    2,  150,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      26,    2,  155,    2, 0x02 /* Public */,
      28,    3,  160,    2, 0x02 /* Public */,
      30,    1,  167,    2, 0x02 /* Public */,
      31,    0,  170,    2, 0x02 /* Public */,
      32,    1,  171,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   10,   11,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   13,   14,   15,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   13,   14,   15,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   13,   14,   15,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   13,   14,   15,
    QMetaType::Void, 0x80000000 | 20, 0x80000000 | 20,   21,   22,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   24,   25,

 // methods: parameters
    QMetaType::QVariant, QMetaType::Int, QMetaType::QByteArray,    6,   27,
    QMetaType::Bool, QMetaType::Int, QMetaType::QByteArray, QMetaType::QVariant,    6,   27,   29,
    QMetaType::QModelIndex, QMetaType::Int,    6,
    QMetaType::QModelIndex,
    QMetaType::Bool, QMetaType::Int,    6,

 // properties: name, type, flags
      33, QMetaType::QObjectStar, 0x00095003,
      34, QMetaType::QObjectStar, 0x00495003,
      35, QMetaType::QModelIndex, 0x00095103,
      36, QMetaType::Int, 0x00495103,

 // properties: notify_signal_id
       0,
       1,
       0,
       3,

       0        // eod
};

void CheckableListModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CheckableListModel *_t = static_cast<CheckableListModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sourceModelChanged(); break;
        case 1: _t->selectionModelChanged(); break;
        case 2: _t->rootIndexChanged(); break;
        case 3: _t->currentRowChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->onModelAboutToBeReset(); break;
        case 5: _t->onModelReset(); break;
        case 6: _t->onDataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 7: _t->onRowsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 8: _t->onRowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 9: _t->onRowsAboutToBeInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 10: _t->onRowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 11: _t->onSelectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 12: _t->onCurrentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 13: { QVariant _r = _t->getDataValue((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = _r; }  break;
        case 14: { bool _r = _t->setDataValue((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QByteArray(*)>(_a[2])),(*reinterpret_cast< const QVariant(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        case 15: { QModelIndex _r = _t->modelIndex((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QModelIndex*>(_a[0]) = _r; }  break;
        case 16: { QModelIndex _r = _t->parentModelIndex();
            if (_a[0]) *reinterpret_cast< QModelIndex*>(_a[0]) = _r; }  break;
        case 17: { bool _r = _t->hasModelChildren((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 11:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (CheckableListModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CheckableListModel::sourceModelChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (CheckableListModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CheckableListModel::selectionModelChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (CheckableListModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CheckableListModel::rootIndexChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (CheckableListModel::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&CheckableListModel::currentRowChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        CheckableListModel *_t = static_cast<CheckableListModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QObject**>(_v) = _t->sourceModel(); break;
        case 1: *reinterpret_cast< QObject**>(_v) = _t->selectionModel(); break;
        case 2: *reinterpret_cast< QModelIndex*>(_v) = _t->rootIndex(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->currentRow(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        CheckableListModel *_t = static_cast<CheckableListModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSourceModelObject(*reinterpret_cast< QObject**>(_v)); break;
        case 1: _t->setSelectionModelObject(*reinterpret_cast< QObject**>(_v)); break;
        case 2: _t->setRootIndex(*reinterpret_cast< QModelIndex*>(_v)); break;
        case 3: _t->setCurrentRow(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject CheckableListModel::staticMetaObject = {
    { &QAbstractProxyModel::staticMetaObject, qt_meta_stringdata_CheckableListModel.data,
      qt_meta_data_CheckableListModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int CheckableListModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractProxyModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
#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 -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void CheckableListModel::sourceModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

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

// SIGNAL 2
void CheckableListModel::rootIndexChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

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