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

#include "../../src/kitemmodels-5.12.0/src/kselectionproxymodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kselectionproxymodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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_KSelectionProxyModel_t {
    QByteArrayData data[37];
    char stringdata[672];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KSelectionProxyModel_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KSelectionProxyModel_t qt_meta_stringdata_KSelectionProxyModel = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KSelectionProxyModel"
QT_MOC_LITERAL(1, 21, 25), // "rootIndexAboutToBeRemoved"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 15), // "removeRootIndex"
QT_MOC_LITERAL(4, 64, 14), // "rootIndexAdded"
QT_MOC_LITERAL(5, 79, 8), // "newIndex"
QT_MOC_LITERAL(6, 88, 29), // "rootSelectionAboutToBeRemoved"
QT_MOC_LITERAL(7, 118, 14), // "QItemSelection"
QT_MOC_LITERAL(8, 133, 9), // "selection"
QT_MOC_LITERAL(9, 143, 18), // "rootSelectionAdded"
QT_MOC_LITERAL(10, 162, 21), // "selectionModelChanged"
QT_MOC_LITERAL(11, 184, 21), // "filterBehaviorChanged"
QT_MOC_LITERAL(12, 206, 27), // "sourceRowsAboutToBeInserted"
QT_MOC_LITERAL(13, 234, 18), // "sourceRowsInserted"
QT_MOC_LITERAL(14, 253, 26), // "sourceRowsAboutToBeRemoved"
QT_MOC_LITERAL(15, 280, 17), // "sourceRowsRemoved"
QT_MOC_LITERAL(16, 298, 24), // "sourceRowsAboutToBeMoved"
QT_MOC_LITERAL(17, 323, 15), // "sourceRowsMoved"
QT_MOC_LITERAL(18, 339, 25), // "sourceModelAboutToBeReset"
QT_MOC_LITERAL(19, 365, 16), // "sourceModelReset"
QT_MOC_LITERAL(20, 382, 28), // "sourceLayoutAboutToBeChanged"
QT_MOC_LITERAL(21, 411, 19), // "sourceLayoutChanged"
QT_MOC_LITERAL(22, 431, 17), // "sourceDataChanged"
QT_MOC_LITERAL(23, 449, 16), // "selectionChanged"
QT_MOC_LITERAL(24, 466, 8), // "selected"
QT_MOC_LITERAL(25, 475, 10), // "deselected"
QT_MOC_LITERAL(26, 486, 20), // "sourceModelDestroyed"
QT_MOC_LITERAL(27, 507, 14), // "filterBehavior"
QT_MOC_LITERAL(28, 522, 14), // "FilterBehavior"
QT_MOC_LITERAL(29, 537, 14), // "selectionModel"
QT_MOC_LITERAL(30, 552, 20), // "QItemSelectionModel*"
QT_MOC_LITERAL(31, 573, 8), // "SubTrees"
QT_MOC_LITERAL(32, 582, 12), // "SubTreeRoots"
QT_MOC_LITERAL(33, 595, 20), // "SubTreesWithoutRoots"
QT_MOC_LITERAL(34, 616, 14), // "ExactSelection"
QT_MOC_LITERAL(35, 631, 24), // "ChildrenOfExactSelection"
QT_MOC_LITERAL(36, 656, 15) // "InvalidBehavior"

    },
    "KSelectionProxyModel\0rootIndexAboutToBeRemoved\0"
    "\0removeRootIndex\0rootIndexAdded\0"
    "newIndex\0rootSelectionAboutToBeRemoved\0"
    "QItemSelection\0selection\0rootSelectionAdded\0"
    "selectionModelChanged\0filterBehaviorChanged\0"
    "sourceRowsAboutToBeInserted\0"
    "sourceRowsInserted\0sourceRowsAboutToBeRemoved\0"
    "sourceRowsRemoved\0sourceRowsAboutToBeMoved\0"
    "sourceRowsMoved\0sourceModelAboutToBeReset\0"
    "sourceModelReset\0sourceLayoutAboutToBeChanged\0"
    "sourceLayoutChanged\0sourceDataChanged\0"
    "selectionChanged\0selected\0deselected\0"
    "sourceModelDestroyed\0filterBehavior\0"
    "FilterBehavior\0selectionModel\0"
    "QItemSelectionModel*\0SubTrees\0"
    "SubTreeRoots\0SubTreesWithoutRoots\0"
    "ExactSelection\0ChildrenOfExactSelection\0"
    "InvalidBehavior"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KSelectionProxyModel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      19,   14, // methods
       2,  188, // properties
       1,  196, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    1,  109,    2, 0x06 /* Public */,
       4,    1,  112,    2, 0x06 /* Public */,
       6,    1,  115,    2, 0x06 /* Public */,
       9,    1,  118,    2, 0x06 /* Public */,
      10,    0,  121,    2, 0x06 /* Public */,
      11,    0,  122,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    3,  123,    2, 0x08 /* Private */,
      13,    3,  130,    2, 0x08 /* Private */,
      14,    3,  137,    2, 0x08 /* Private */,
      15,    3,  144,    2, 0x08 /* Private */,
      16,    5,  151,    2, 0x08 /* Private */,
      17,    5,  162,    2, 0x08 /* Private */,
      18,    0,  173,    2, 0x08 /* Private */,
      19,    0,  174,    2, 0x08 /* Private */,
      20,    0,  175,    2, 0x08 /* Private */,
      21,    0,  176,    2, 0x08 /* Private */,
      22,    2,  177,    2, 0x08 /* Private */,
      23,    2,  182,    2, 0x08 /* Private */,
      26,    0,  187,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QModelIndex,    3,
    QMetaType::Void, QMetaType::QModelIndex,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    2,    2,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    2,    2,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    2,    2,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    2,    2,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, QMetaType::QModelIndex, QMetaType::Int,    2,    2,    2,    2,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, QMetaType::QModelIndex, QMetaType::Int,    2,    2,    2,    2,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    2,    2,
    QMetaType::Void, 0x80000000 | 7, 0x80000000 | 7,   24,   25,
    QMetaType::Void,

 // properties: name, type, flags
      27, 0x80000000 | 28, 0x0049510b,
      29, 0x80000000 | 30, 0x0049510b,

 // properties: notify_signal_id
       5,
       4,

 // enums: name, flags, count, data
      28, 0x0,    6,  200,

 // enum data: key, value
      31, uint(KSelectionProxyModel::SubTrees),
      32, uint(KSelectionProxyModel::SubTreeRoots),
      33, uint(KSelectionProxyModel::SubTreesWithoutRoots),
      34, uint(KSelectionProxyModel::ExactSelection),
      35, uint(KSelectionProxyModel::ChildrenOfExactSelection),
      36, uint(KSelectionProxyModel::InvalidBehavior),

       0        // eod
};

void KSelectionProxyModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KSelectionProxyModel *_t = static_cast<KSelectionProxyModel *>(_o);
        switch (_id) {
        case 0: _t->rootIndexAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 1: _t->rootIndexAdded((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 2: _t->rootSelectionAboutToBeRemoved((*reinterpret_cast< const QItemSelection(*)>(_a[1]))); break;
        case 3: _t->rootSelectionAdded((*reinterpret_cast< const QItemSelection(*)>(_a[1]))); break;
        case 4: _t->selectionModelChanged(); break;
        case 5: _t->filterBehaviorChanged(); break;
        case 6: _t->d_func()->sourceRowsAboutToBeInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 7: _t->d_func()->sourceRowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 8: _t->d_func()->sourceRowsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 9: _t->d_func()->sourceRowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 10: _t->d_func()->sourceRowsAboutToBeMoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QModelIndex(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
        case 11: _t->d_func()->sourceRowsMoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< const QModelIndex(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
        case 12: _t->d_func()->sourceModelAboutToBeReset(); break;
        case 13: _t->d_func()->sourceModelReset(); break;
        case 14: _t->d_func()->sourceLayoutAboutToBeChanged(); break;
        case 15: _t->d_func()->sourceLayoutChanged(); break;
        case 16: _t->d_func()->sourceDataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 17: _t->d_func()->selectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 18: _t->d_func()->sourceModelDestroyed(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KSelectionProxyModel::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KSelectionProxyModel::rootIndexAboutToBeRemoved)) {
                *result = 0;
            }
        }
        {
            typedef void (KSelectionProxyModel::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KSelectionProxyModel::rootIndexAdded)) {
                *result = 1;
            }
        }
        {
            typedef void (KSelectionProxyModel::*_t)(const QItemSelection & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KSelectionProxyModel::rootSelectionAboutToBeRemoved)) {
                *result = 2;
            }
        }
        {
            typedef void (KSelectionProxyModel::*_t)(const QItemSelection & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KSelectionProxyModel::rootSelectionAdded)) {
                *result = 3;
            }
        }
        {
            typedef void (KSelectionProxyModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KSelectionProxyModel::selectionModelChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (KSelectionProxyModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KSelectionProxyModel::filterBehaviorChanged)) {
                *result = 5;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelectionModel* >(); break;
        }
    }

}

const QMetaObject KSelectionProxyModel::staticMetaObject = {
    { &QAbstractProxyModel::staticMetaObject, qt_meta_stringdata_KSelectionProxyModel.data,
      qt_meta_data_KSelectionProxyModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int KSelectionProxyModel::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 < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 19;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< FilterBehavior*>(_v) = filterBehavior(); break;
        case 1: *reinterpret_cast< QItemSelectionModel**>(_v) = selectionModel(); break;
        default: break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setFilterBehavior(*reinterpret_cast< FilterBehavior*>(_v)); break;
        case 1: setSelectionModel(*reinterpret_cast< QItemSelectionModel**>(_v)); break;
        default: break;
        }
        _id -= 2;
    } else if (_c == QMetaObject::ResetProperty) {
        _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;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void KSelectionProxyModel::rootIndexAdded(const QModelIndex & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KSelectionProxyModel::rootSelectionAboutToBeRemoved(const QItemSelection & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

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

// SIGNAL 5
void KSelectionProxyModel::filterBehaviorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
