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

#include "../../../../src/calligraplan-3.1.0/src/libs/models/kptflatproxymodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptflatproxymodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_KPlato__FlatProxyModel_t {
    QByteArrayData data[25];
    char stringdata0[416];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__FlatProxyModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__FlatProxyModel_t qt_meta_stringdata_KPlato__FlatProxyModel = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KPlato::FlatProxyModel"
QT_MOC_LITERAL(1, 23, 17), // "sourceDataChanged"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 15), // "source_top_left"
QT_MOC_LITERAL(4, 58, 19), // "source_bottom_right"
QT_MOC_LITERAL(5, 78, 23), // "sourceHeaderDataChanged"
QT_MOC_LITERAL(6, 102, 15), // "Qt::Orientation"
QT_MOC_LITERAL(7, 118, 11), // "orientation"
QT_MOC_LITERAL(8, 130, 5), // "start"
QT_MOC_LITERAL(9, 136, 3), // "end"
QT_MOC_LITERAL(10, 140, 11), // "sourceReset"
QT_MOC_LITERAL(11, 152, 28), // "sourceLayoutAboutToBeChanged"
QT_MOC_LITERAL(12, 181, 19), // "sourceLayoutChanged"
QT_MOC_LITERAL(13, 201, 27), // "sourceRowsAboutToBeInserted"
QT_MOC_LITERAL(14, 229, 13), // "source_parent"
QT_MOC_LITERAL(15, 243, 18), // "sourceRowsInserted"
QT_MOC_LITERAL(16, 262, 26), // "sourceRowsAboutToBeRemoved"
QT_MOC_LITERAL(17, 289, 17), // "sourceRowsRemoved"
QT_MOC_LITERAL(18, 307, 24), // "sourceRowsAboutToBeMoved"
QT_MOC_LITERAL(19, 332, 10), // "destParent"
QT_MOC_LITERAL(20, 343, 9), // "destStart"
QT_MOC_LITERAL(21, 353, 15), // "sourceRowsMoved"
QT_MOC_LITERAL(22, 369, 12), // "initiateMaps"
QT_MOC_LITERAL(23, 382, 12), // "sourceParent"
QT_MOC_LITERAL(24, 395, 20) // "sourceModelDestroyed"

    },
    "KPlato::FlatProxyModel\0sourceDataChanged\0"
    "\0source_top_left\0source_bottom_right\0"
    "sourceHeaderDataChanged\0Qt::Orientation\0"
    "orientation\0start\0end\0sourceReset\0"
    "sourceLayoutAboutToBeChanged\0"
    "sourceLayoutChanged\0sourceRowsAboutToBeInserted\0"
    "source_parent\0sourceRowsInserted\0"
    "sourceRowsAboutToBeRemoved\0sourceRowsRemoved\0"
    "sourceRowsAboutToBeMoved\0destParent\0"
    "destStart\0sourceRowsMoved\0initiateMaps\0"
    "sourceParent\0sourceModelDestroyed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__FlatProxyModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   84,    2, 0x0a /* Public */,
       5,    3,   89,    2, 0x0a /* Public */,
      10,    0,   96,    2, 0x0a /* Public */,
      11,    0,   97,    2, 0x0a /* Public */,
      12,    0,   98,    2, 0x0a /* Public */,
      13,    3,   99,    2, 0x0a /* Public */,
      15,    3,  106,    2, 0x0a /* Public */,
      16,    3,  113,    2, 0x0a /* Public */,
      17,    3,  120,    2, 0x0a /* Public */,
      18,    5,  127,    2, 0x0a /* Public */,
      21,    5,  138,    2, 0x0a /* Public */,
      22,    1,  149,    2, 0x08 /* Private */,
      22,    0,  152,    2, 0x28 /* Private | MethodCloned */,
      24,    0,  153,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    3,    4,
    QMetaType::Void, 0x80000000 | 6, QMetaType::Int, QMetaType::Int,    7,    8,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   14,    8,    9,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   14,    8,    9,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   14,    8,    9,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   14,    8,    9,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, QMetaType::QModelIndex, QMetaType::Int,   14,    8,    9,   19,   20,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int, QMetaType::QModelIndex, QMetaType::Int,   14,    8,    9,   19,   20,
    QMetaType::Void, QMetaType::QModelIndex,   23,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KPlato::FlatProxyModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        FlatProxyModel *_t = static_cast<FlatProxyModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sourceDataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 1: _t->sourceHeaderDataChanged((*reinterpret_cast< Qt::Orientation(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 2: _t->sourceReset(); break;
        case 3: _t->sourceLayoutAboutToBeChanged(); break;
        case 4: _t->sourceLayoutChanged(); break;
        case 5: _t->sourceRowsAboutToBeInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 6: _t->sourceRowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 7: _t->sourceRowsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 8: _t->sourceRowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 9: _t->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 10: _t->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 11: _t->initiateMaps((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 12: _t->initiateMaps(); break;
        case 13: _t->sourceModelDestroyed(); break;
        default: ;
        }
    }
}

const QMetaObject KPlato::FlatProxyModel::staticMetaObject = {
    { &QAbstractProxyModel::staticMetaObject, qt_meta_stringdata_KPlato__FlatProxyModel.data,
      qt_meta_data_KPlato__FlatProxyModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::FlatProxyModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__FlatProxyModel.stringdata0))
        return static_cast<void*>(this);
    return QAbstractProxyModel::qt_metacast(_clname);
}

int KPlato::FlatProxyModel::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
