/****************************************************************************
** Meta object code from reading C++ file 'kpttaskstatusmodel.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/kpttaskstatusmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kpttaskstatusmodel.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__TaskStatusItemModel_t {
    QByteArrayData data[23];
    char stringdata0[306];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__TaskStatusItemModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__TaskStatusItemModel_t qt_meta_stringdata_KPlato__TaskStatusItemModel = {
    {
QT_MOC_LITERAL(0, 0, 27), // "KPlato::TaskStatusItemModel"
QT_MOC_LITERAL(1, 28, 18), // "setScheduleManager"
QT_MOC_LITERAL(2, 47, 0), // ""
QT_MOC_LITERAL(3, 48, 16), // "ScheduleManager*"
QT_MOC_LITERAL(4, 65, 2), // "sm"
QT_MOC_LITERAL(5, 68, 7), // "refresh"
QT_MOC_LITERAL(6, 76, 18), // "slotAboutToBeReset"
QT_MOC_LITERAL(7, 95, 9), // "slotReset"
QT_MOC_LITERAL(8, 105, 15), // "slotNodeChanged"
QT_MOC_LITERAL(9, 121, 5), // "Node*"
QT_MOC_LITERAL(10, 127, 20), // "slotNodeToBeInserted"
QT_MOC_LITERAL(11, 148, 4), // "node"
QT_MOC_LITERAL(12, 153, 3), // "row"
QT_MOC_LITERAL(13, 157, 16), // "slotNodeInserted"
QT_MOC_LITERAL(14, 174, 19), // "slotNodeToBeRemoved"
QT_MOC_LITERAL(15, 194, 15), // "slotNodeRemoved"
QT_MOC_LITERAL(16, 210, 17), // "slotNodeToBeMoved"
QT_MOC_LITERAL(17, 228, 3), // "pos"
QT_MOC_LITERAL(18, 232, 9), // "newParent"
QT_MOC_LITERAL(19, 242, 6), // "newPos"
QT_MOC_LITERAL(20, 249, 13), // "slotNodeMoved"
QT_MOC_LITERAL(21, 263, 24), // "slotWbsDefinitionChanged"
QT_MOC_LITERAL(22, 288, 17) // "slotLayoutChanged"

    },
    "KPlato::TaskStatusItemModel\0"
    "setScheduleManager\0\0ScheduleManager*\0"
    "sm\0refresh\0slotAboutToBeReset\0slotReset\0"
    "slotNodeChanged\0Node*\0slotNodeToBeInserted\0"
    "node\0row\0slotNodeInserted\0slotNodeToBeRemoved\0"
    "slotNodeRemoved\0slotNodeToBeMoved\0pos\0"
    "newParent\0newPos\0slotNodeMoved\0"
    "slotWbsDefinitionChanged\0slotLayoutChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__TaskStatusItemModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x0a /* Public */,
       5,    0,   82,    2, 0x0a /* Public */,
       6,    0,   83,    2, 0x09 /* Protected */,
       7,    0,   84,    2, 0x09 /* Protected */,
       8,    1,   85,    2, 0x09 /* Protected */,
      10,    2,   88,    2, 0x09 /* Protected */,
      13,    1,   93,    2, 0x09 /* Protected */,
      14,    1,   96,    2, 0x09 /* Protected */,
      15,    1,   99,    2, 0x09 /* Protected */,
      16,    4,  102,    2, 0x09 /* Protected */,
      20,    1,  111,    2, 0x09 /* Protected */,
      21,    0,  114,    2, 0x09 /* Protected */,
      22,    0,  115,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9,    2,
    QMetaType::Void, 0x80000000 | 9, QMetaType::Int,   11,   12,
    QMetaType::Void, 0x80000000 | 9,   11,
    QMetaType::Void, 0x80000000 | 9,   11,
    QMetaType::Void, 0x80000000 | 9,   11,
    QMetaType::Void, 0x80000000 | 9, QMetaType::Int, 0x80000000 | 9, QMetaType::Int,   11,   17,   18,   19,
    QMetaType::Void, 0x80000000 | 9,   11,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KPlato::TaskStatusItemModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskStatusItemModel *_t = static_cast<TaskStatusItemModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setScheduleManager((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 1: _t->refresh(); break;
        case 2: _t->slotAboutToBeReset(); break;
        case 3: _t->slotReset(); break;
        case 4: _t->slotNodeChanged((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 5: _t->slotNodeToBeInserted((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->slotNodeInserted((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 7: _t->slotNodeToBeRemoved((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 8: _t->slotNodeRemoved((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 9: _t->slotNodeToBeMoved((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< Node*(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 10: _t->slotNodeMoved((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 11: _t->slotWbsDefinitionChanged(); break;
        case 12: _t->slotLayoutChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ScheduleManager* >(); break;
            }
            break;
        }
    }
}

const QMetaObject KPlato::TaskStatusItemModel::staticMetaObject = {
    { &ItemModelBase::staticMetaObject, qt_meta_stringdata_KPlato__TaskStatusItemModel.data,
      qt_meta_data_KPlato__TaskStatusItemModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::TaskStatusItemModel::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
