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

#include "../../../../src/kid3-3.3.1/src/plugins/kid3qml/checkablelistmodel.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'checkablelistmodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_CheckableListModel[] = {

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

 // signals: signature, parameters, type, tag, flags
      20,   19,   19,   19, 0x05,
      41,   19,   19,   19, 0x05,
      65,   19,   19,   19, 0x05,
      88,   84,   19,   19, 0x05,

 // slots: signature, parameters, type, tag, flags
     111,   19,   19,   19, 0x08,
     135,   19,   19,   19, 0x08,
     170,  150,   19,   19, 0x08,
     227,  209,   19,   19, 0x08,
     271,  209,   19,   19, 0x08,
     306,  209,   19,   19, 0x08,
     351,  209,   19,   19, 0x08,
     407,  387,   19,   19, 0x08,
     474,  457,   19,   19, 0x08,

 // methods: signature, parameters, type, tag, flags
     538,  525,  516,   19, 0x02,
     591,  572,  567,   19, 0x02,
     641,   84,  629,   19, 0x02,
     657,   19,  629,   19, 0x02,
     676,   84,  567,   19, 0x02,

 // properties: name, type, flags
     707,  698, 0x88095003,
     719,  698, 0x88495003,
     734,  629, 0x0009510b,
     748,  744, 0x02495103,

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

       0        // eod
};

static const char qt_meta_stringdata_CheckableListModel[] = {
    "CheckableListModel\0\0sourceModelChanged()\0"
    "selectionModelChanged()\0rootIndexChanged()\0"
    "row\0currentRowChanged(int)\0"
    "onModelAboutToBeReset()\0onModelReset()\0"
    "topLeft,bottomRight\0"
    "onDataChanged(QModelIndex,QModelIndex)\0"
    "parent,first,last\0"
    "onRowsAboutToBeRemoved(QModelIndex,int,int)\0"
    "onRowsRemoved(QModelIndex,int,int)\0"
    "onRowsAboutToBeInserted(QModelIndex,int,int)\0"
    "onRowsInserted(QModelIndex,int,int)\0"
    "selected,deselected\0"
    "onSelectionChanged(QItemSelection,QItemSelection)\0"
    "current,previous\0"
    "onCurrentChanged(QModelIndex,QModelIndex)\0"
    "QVariant\0row,roleName\0"
    "getDataValue(int,QByteArray)\0bool\0"
    "row,roleName,value\0"
    "setDataValue(int,QByteArray,QVariant)\0"
    "QModelIndex\0modelIndex(int)\0"
    "parentModelIndex()\0hasModelChildren(int)\0"
    "QObject*\0sourceModel\0selectionModel\0"
    "rootIndex\0int\0currentRow\0"
};

void CheckableListModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        CheckableListModel *_t = static_cast<CheckableListModel *>(_o);
        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: ;
        }
    }
}

const QMetaObjectExtraData CheckableListModel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject CheckableListModel::staticMetaObject = {
    { &QAbstractProxyModel::staticMetaObject, qt_meta_stringdata_CheckableListModel,
      qt_meta_data_CheckableListModel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &CheckableListModel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *CheckableListModel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_CheckableListModel))
        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;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QObject**>(_v) = sourceModel(); break;
        case 1: *reinterpret_cast< QObject**>(_v) = selectionModel(); break;
        case 2: *reinterpret_cast< QModelIndex*>(_v) = rootIndex(); break;
        case 3: *reinterpret_cast< int*>(_v) = currentRow(); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setSourceModelObject(*reinterpret_cast< QObject**>(_v)); break;
        case 1: setSelectionModelObject(*reinterpret_cast< QObject**>(_v)); break;
        case 2: setRootIndex(*reinterpret_cast< QModelIndex*>(_v)); break;
        case 3: setCurrentRow(*reinterpret_cast< int*>(_v)); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::ResetProperty) {
        _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, 0);
}

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

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

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