/****************************************************************************
** Meta object code from reading C++ file 'kptpertcpmmodel.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/kptpertcpmmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptpertcpmmodel.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__CriticalPathItemModel_t {
    QByteArrayData data[10];
    char stringdata0[136];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__CriticalPathItemModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__CriticalPathItemModel_t qt_meta_stringdata_KPlato__CriticalPathItemModel = {
    {
QT_MOC_LITERAL(0, 0, 29), // "KPlato::CriticalPathItemModel"
QT_MOC_LITERAL(1, 30, 15), // "slotNodeChanged"
QT_MOC_LITERAL(2, 46, 0), // ""
QT_MOC_LITERAL(3, 47, 5), // "Node*"
QT_MOC_LITERAL(4, 53, 20), // "slotNodeToBeInserted"
QT_MOC_LITERAL(5, 74, 4), // "node"
QT_MOC_LITERAL(6, 79, 3), // "row"
QT_MOC_LITERAL(7, 83, 16), // "slotNodeInserted"
QT_MOC_LITERAL(8, 100, 19), // "slotNodeToBeRemoved"
QT_MOC_LITERAL(9, 120, 15) // "slotNodeRemoved"

    },
    "KPlato::CriticalPathItemModel\0"
    "slotNodeChanged\0\0Node*\0slotNodeToBeInserted\0"
    "node\0row\0slotNodeInserted\0slotNodeToBeRemoved\0"
    "slotNodeRemoved"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__CriticalPathItemModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x09 /* Protected */,
       4,    2,   42,    2, 0x09 /* Protected */,
       7,    1,   47,    2, 0x09 /* Protected */,
       8,    1,   50,    2, 0x09 /* Protected */,
       9,    1,   53,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    5,    6,
    QMetaType::Void, 0x80000000 | 3,    5,
    QMetaType::Void, 0x80000000 | 3,    5,
    QMetaType::Void, 0x80000000 | 3,    5,

       0        // eod
};

void KPlato::CriticalPathItemModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CriticalPathItemModel *_t = static_cast<CriticalPathItemModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotNodeChanged((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 1: _t->slotNodeToBeInserted((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->slotNodeInserted((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 3: _t->slotNodeToBeRemoved((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 4: _t->slotNodeRemoved((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KPlato::CriticalPathItemModel::staticMetaObject = {
    { &ItemModelBase::staticMetaObject, qt_meta_stringdata_KPlato__CriticalPathItemModel.data,
      qt_meta_data_KPlato__CriticalPathItemModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::CriticalPathItemModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ItemModelBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
    return _id;
}
struct qt_meta_stringdata_KPlato__PertResultItemModel_t {
    QByteArrayData data[12];
    char stringdata0[163];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__PertResultItemModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__PertResultItemModel_t qt_meta_stringdata_KPlato__PertResultItemModel = {
    {
QT_MOC_LITERAL(0, 0, 27), // "KPlato::PertResultItemModel"
QT_MOC_LITERAL(1, 28, 18), // "slotAboutToBeReset"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 9), // "slotReset"
QT_MOC_LITERAL(4, 58, 15), // "slotNodeChanged"
QT_MOC_LITERAL(5, 74, 5), // "Node*"
QT_MOC_LITERAL(6, 80, 20), // "slotNodeToBeInserted"
QT_MOC_LITERAL(7, 101, 4), // "node"
QT_MOC_LITERAL(8, 106, 3), // "row"
QT_MOC_LITERAL(9, 110, 16), // "slotNodeInserted"
QT_MOC_LITERAL(10, 127, 19), // "slotNodeToBeRemoved"
QT_MOC_LITERAL(11, 147, 15) // "slotNodeRemoved"

    },
    "KPlato::PertResultItemModel\0"
    "slotAboutToBeReset\0\0slotReset\0"
    "slotNodeChanged\0Node*\0slotNodeToBeInserted\0"
    "node\0row\0slotNodeInserted\0slotNodeToBeRemoved\0"
    "slotNodeRemoved"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__PertResultItemModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x09 /* Protected */,
       3,    0,   50,    2, 0x09 /* Protected */,
       4,    1,   51,    2, 0x09 /* Protected */,
       6,    2,   54,    2, 0x09 /* Protected */,
       9,    1,   59,    2, 0x09 /* Protected */,
      10,    1,   62,    2, 0x09 /* Protected */,
      11,    1,   65,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    2,
    QMetaType::Void, 0x80000000 | 5, QMetaType::Int,    7,    8,
    QMetaType::Void, 0x80000000 | 5,    7,
    QMetaType::Void, 0x80000000 | 5,    7,
    QMetaType::Void, 0x80000000 | 5,    7,

       0        // eod
};

void KPlato::PertResultItemModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PertResultItemModel *_t = static_cast<PertResultItemModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotAboutToBeReset(); break;
        case 1: _t->slotReset(); break;
        case 2: _t->slotNodeChanged((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 3: _t->slotNodeToBeInserted((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->slotNodeInserted((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 5: _t->slotNodeToBeRemoved((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 6: _t->slotNodeRemoved((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KPlato::PertResultItemModel::staticMetaObject = {
    { &ItemModelBase::staticMetaObject, qt_meta_stringdata_KPlato__PertResultItemModel.data,
      qt_meta_data_KPlato__PertResultItemModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::PertResultItemModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ItemModelBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
