/****************************************************************************
** Meta object code from reading C++ file 'kptnodeitemmodel.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/kptnodeitemmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptnodeitemmodel.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__NodeModel_t {
    QByteArrayData data[72];
    char stringdata0[1167];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__NodeModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__NodeModel_t qt_meta_stringdata_KPlato__NodeModel = {
    {
QT_MOC_LITERAL(0, 0, 17), // "KPlato::NodeModel"
QT_MOC_LITERAL(1, 18, 10), // "Properties"
QT_MOC_LITERAL(2, 29, 8), // "NodeName"
QT_MOC_LITERAL(3, 38, 8), // "NodeType"
QT_MOC_LITERAL(4, 47, 15), // "NodeResponsible"
QT_MOC_LITERAL(5, 63, 14), // "NodeAllocation"
QT_MOC_LITERAL(6, 78, 16), // "NodeEstimateType"
QT_MOC_LITERAL(7, 95, 20), // "NodeEstimateCalendar"
QT_MOC_LITERAL(8, 116, 12), // "NodeEstimate"
QT_MOC_LITERAL(9, 129, 19), // "NodeOptimisticRatio"
QT_MOC_LITERAL(10, 149, 20), // "NodePessimisticRatio"
QT_MOC_LITERAL(11, 170, 8), // "NodeRisk"
QT_MOC_LITERAL(12, 179, 14), // "NodeConstraint"
QT_MOC_LITERAL(13, 194, 19), // "NodeConstraintStart"
QT_MOC_LITERAL(14, 214, 17), // "NodeConstraintEnd"
QT_MOC_LITERAL(15, 232, 18), // "NodeRunningAccount"
QT_MOC_LITERAL(16, 251, 18), // "NodeStartupAccount"
QT_MOC_LITERAL(17, 270, 15), // "NodeStartupCost"
QT_MOC_LITERAL(18, 286, 19), // "NodeShutdownAccount"
QT_MOC_LITERAL(19, 306, 16), // "NodeShutdownCost"
QT_MOC_LITERAL(20, 323, 15), // "NodeDescription"
QT_MOC_LITERAL(21, 339, 12), // "NodeExpected"
QT_MOC_LITERAL(22, 352, 20), // "NodeVarianceEstimate"
QT_MOC_LITERAL(23, 373, 14), // "NodeOptimistic"
QT_MOC_LITERAL(24, 388, 15), // "NodePessimistic"
QT_MOC_LITERAL(25, 404, 13), // "NodeStartTime"
QT_MOC_LITERAL(26, 418, 11), // "NodeEndTime"
QT_MOC_LITERAL(27, 430, 14), // "NodeEarlyStart"
QT_MOC_LITERAL(28, 445, 15), // "NodeEarlyFinish"
QT_MOC_LITERAL(29, 461, 13), // "NodeLateStart"
QT_MOC_LITERAL(30, 475, 14), // "NodeLateFinish"
QT_MOC_LITERAL(31, 490, 17), // "NodePositiveFloat"
QT_MOC_LITERAL(32, 508, 13), // "NodeFreeFloat"
QT_MOC_LITERAL(33, 522, 17), // "NodeNegativeFloat"
QT_MOC_LITERAL(34, 540, 14), // "NodeStartFloat"
QT_MOC_LITERAL(35, 555, 15), // "NodeFinishFloat"
QT_MOC_LITERAL(36, 571, 15), // "NodeAssignments"
QT_MOC_LITERAL(37, 587, 12), // "NodeDuration"
QT_MOC_LITERAL(38, 600, 20), // "NodeVarianceDuration"
QT_MOC_LITERAL(39, 621, 22), // "NodeOptimisticDuration"
QT_MOC_LITERAL(40, 644, 23), // "NodePessimisticDuration"
QT_MOC_LITERAL(41, 668, 10), // "NodeStatus"
QT_MOC_LITERAL(42, 679, 13), // "NodeCompleted"
QT_MOC_LITERAL(43, 693, 17), // "NodePlannedEffort"
QT_MOC_LITERAL(44, 711, 16), // "NodeActualEffort"
QT_MOC_LITERAL(45, 728, 19), // "NodeRemainingEffort"
QT_MOC_LITERAL(46, 748, 15), // "NodePlannedCost"
QT_MOC_LITERAL(47, 764, 14), // "NodeActualCost"
QT_MOC_LITERAL(48, 779, 15), // "NodeActualStart"
QT_MOC_LITERAL(49, 795, 11), // "NodeStarted"
QT_MOC_LITERAL(50, 807, 16), // "NodeActualFinish"
QT_MOC_LITERAL(51, 824, 12), // "NodeFinished"
QT_MOC_LITERAL(52, 837, 14), // "NodeStatusNote"
QT_MOC_LITERAL(53, 852, 20), // "NodeSchedulingStatus"
QT_MOC_LITERAL(54, 873, 16), // "NodeNotScheduled"
QT_MOC_LITERAL(55, 890, 21), // "NodeAssignmentMissing"
QT_MOC_LITERAL(56, 912, 22), // "NodeResourceOverbooked"
QT_MOC_LITERAL(57, 935, 23), // "NodeResourceUnavailable"
QT_MOC_LITERAL(58, 959, 20), // "NodeConstraintsError"
QT_MOC_LITERAL(59, 980, 16), // "NodeEffortNotMet"
QT_MOC_LITERAL(60, 997, 19), // "NodeSchedulingError"
QT_MOC_LITERAL(61, 1017, 11), // "NodeWBSCode"
QT_MOC_LITERAL(62, 1029, 9), // "NodeLevel"
QT_MOC_LITERAL(63, 1039, 8), // "NodeBCWS"
QT_MOC_LITERAL(64, 1048, 8), // "NodeBCWP"
QT_MOC_LITERAL(65, 1057, 8), // "NodeACWP"
QT_MOC_LITERAL(66, 1066, 20), // "NodePerformanceIndex"
QT_MOC_LITERAL(67, 1087, 12), // "NodeCritical"
QT_MOC_LITERAL(68, 1100, 16), // "NodeCriticalPath"
QT_MOC_LITERAL(69, 1117, 11), // "WPOwnerName"
QT_MOC_LITERAL(70, 1129, 19), // "WPTransmitionStatus"
QT_MOC_LITERAL(71, 1149, 17) // "WPTransmitionTime"

    },
    "KPlato::NodeModel\0Properties\0NodeName\0"
    "NodeType\0NodeResponsible\0NodeAllocation\0"
    "NodeEstimateType\0NodeEstimateCalendar\0"
    "NodeEstimate\0NodeOptimisticRatio\0"
    "NodePessimisticRatio\0NodeRisk\0"
    "NodeConstraint\0NodeConstraintStart\0"
    "NodeConstraintEnd\0NodeRunningAccount\0"
    "NodeStartupAccount\0NodeStartupCost\0"
    "NodeShutdownAccount\0NodeShutdownCost\0"
    "NodeDescription\0NodeExpected\0"
    "NodeVarianceEstimate\0NodeOptimistic\0"
    "NodePessimistic\0NodeStartTime\0NodeEndTime\0"
    "NodeEarlyStart\0NodeEarlyFinish\0"
    "NodeLateStart\0NodeLateFinish\0"
    "NodePositiveFloat\0NodeFreeFloat\0"
    "NodeNegativeFloat\0NodeStartFloat\0"
    "NodeFinishFloat\0NodeAssignments\0"
    "NodeDuration\0NodeVarianceDuration\0"
    "NodeOptimisticDuration\0NodePessimisticDuration\0"
    "NodeStatus\0NodeCompleted\0NodePlannedEffort\0"
    "NodeActualEffort\0NodeRemainingEffort\0"
    "NodePlannedCost\0NodeActualCost\0"
    "NodeActualStart\0NodeStarted\0"
    "NodeActualFinish\0NodeFinished\0"
    "NodeStatusNote\0NodeSchedulingStatus\0"
    "NodeNotScheduled\0NodeAssignmentMissing\0"
    "NodeResourceOverbooked\0NodeResourceUnavailable\0"
    "NodeConstraintsError\0NodeEffortNotMet\0"
    "NodeSchedulingError\0NodeWBSCode\0"
    "NodeLevel\0NodeBCWS\0NodeBCWP\0NodeACWP\0"
    "NodePerformanceIndex\0NodeCritical\0"
    "NodeCriticalPath\0WPOwnerName\0"
    "WPTransmitionStatus\0WPTransmitionTime"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__NodeModel[] = {

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

 // enums: name, flags, count, data
       1, 0x0,   70,   18,

 // enum data: key, value
       2, uint(KPlato::NodeModel::NodeName),
       3, uint(KPlato::NodeModel::NodeType),
       4, uint(KPlato::NodeModel::NodeResponsible),
       5, uint(KPlato::NodeModel::NodeAllocation),
       6, uint(KPlato::NodeModel::NodeEstimateType),
       7, uint(KPlato::NodeModel::NodeEstimateCalendar),
       8, uint(KPlato::NodeModel::NodeEstimate),
       9, uint(KPlato::NodeModel::NodeOptimisticRatio),
      10, uint(KPlato::NodeModel::NodePessimisticRatio),
      11, uint(KPlato::NodeModel::NodeRisk),
      12, uint(KPlato::NodeModel::NodeConstraint),
      13, uint(KPlato::NodeModel::NodeConstraintStart),
      14, uint(KPlato::NodeModel::NodeConstraintEnd),
      15, uint(KPlato::NodeModel::NodeRunningAccount),
      16, uint(KPlato::NodeModel::NodeStartupAccount),
      17, uint(KPlato::NodeModel::NodeStartupCost),
      18, uint(KPlato::NodeModel::NodeShutdownAccount),
      19, uint(KPlato::NodeModel::NodeShutdownCost),
      20, uint(KPlato::NodeModel::NodeDescription),
      21, uint(KPlato::NodeModel::NodeExpected),
      22, uint(KPlato::NodeModel::NodeVarianceEstimate),
      23, uint(KPlato::NodeModel::NodeOptimistic),
      24, uint(KPlato::NodeModel::NodePessimistic),
      25, uint(KPlato::NodeModel::NodeStartTime),
      26, uint(KPlato::NodeModel::NodeEndTime),
      27, uint(KPlato::NodeModel::NodeEarlyStart),
      28, uint(KPlato::NodeModel::NodeEarlyFinish),
      29, uint(KPlato::NodeModel::NodeLateStart),
      30, uint(KPlato::NodeModel::NodeLateFinish),
      31, uint(KPlato::NodeModel::NodePositiveFloat),
      32, uint(KPlato::NodeModel::NodeFreeFloat),
      33, uint(KPlato::NodeModel::NodeNegativeFloat),
      34, uint(KPlato::NodeModel::NodeStartFloat),
      35, uint(KPlato::NodeModel::NodeFinishFloat),
      36, uint(KPlato::NodeModel::NodeAssignments),
      37, uint(KPlato::NodeModel::NodeDuration),
      38, uint(KPlato::NodeModel::NodeVarianceDuration),
      39, uint(KPlato::NodeModel::NodeOptimisticDuration),
      40, uint(KPlato::NodeModel::NodePessimisticDuration),
      41, uint(KPlato::NodeModel::NodeStatus),
      42, uint(KPlato::NodeModel::NodeCompleted),
      43, uint(KPlato::NodeModel::NodePlannedEffort),
      44, uint(KPlato::NodeModel::NodeActualEffort),
      45, uint(KPlato::NodeModel::NodeRemainingEffort),
      46, uint(KPlato::NodeModel::NodePlannedCost),
      47, uint(KPlato::NodeModel::NodeActualCost),
      48, uint(KPlato::NodeModel::NodeActualStart),
      49, uint(KPlato::NodeModel::NodeStarted),
      50, uint(KPlato::NodeModel::NodeActualFinish),
      51, uint(KPlato::NodeModel::NodeFinished),
      52, uint(KPlato::NodeModel::NodeStatusNote),
      53, uint(KPlato::NodeModel::NodeSchedulingStatus),
      54, uint(KPlato::NodeModel::NodeNotScheduled),
      55, uint(KPlato::NodeModel::NodeAssignmentMissing),
      56, uint(KPlato::NodeModel::NodeResourceOverbooked),
      57, uint(KPlato::NodeModel::NodeResourceUnavailable),
      58, uint(KPlato::NodeModel::NodeConstraintsError),
      59, uint(KPlato::NodeModel::NodeEffortNotMet),
      60, uint(KPlato::NodeModel::NodeSchedulingError),
      61, uint(KPlato::NodeModel::NodeWBSCode),
      62, uint(KPlato::NodeModel::NodeLevel),
      63, uint(KPlato::NodeModel::NodeBCWS),
      64, uint(KPlato::NodeModel::NodeBCWP),
      65, uint(KPlato::NodeModel::NodeACWP),
      66, uint(KPlato::NodeModel::NodePerformanceIndex),
      67, uint(KPlato::NodeModel::NodeCritical),
      68, uint(KPlato::NodeModel::NodeCriticalPath),
      69, uint(KPlato::NodeModel::WPOwnerName),
      70, uint(KPlato::NodeModel::WPTransmitionStatus),
      71, uint(KPlato::NodeModel::WPTransmitionTime),

       0        // eod
};

void KPlato::NodeModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KPlato::NodeModel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KPlato__NodeModel.data,
      qt_meta_data_KPlato__NodeModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::NodeModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_KPlato__NodeItemModel_t {
    QByteArrayData data[28];
    char stringdata0[364];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__NodeItemModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__NodeItemModel_t qt_meta_stringdata_KPlato__NodeItemModel = {
    {
QT_MOC_LITERAL(0, 0, 21), // "KPlato::NodeItemModel"
QT_MOC_LITERAL(1, 22, 12), // "nodeInserted"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 5), // "Node*"
QT_MOC_LITERAL(4, 42, 4), // "node"
QT_MOC_LITERAL(5, 47, 19), // "projectShownChanged"
QT_MOC_LITERAL(6, 67, 10), // "setProject"
QT_MOC_LITERAL(7, 78, 8), // "Project*"
QT_MOC_LITERAL(8, 87, 7), // "project"
QT_MOC_LITERAL(9, 95, 18), // "setScheduleManager"
QT_MOC_LITERAL(10, 114, 16), // "ScheduleManager*"
QT_MOC_LITERAL(11, 131, 2), // "sm"
QT_MOC_LITERAL(12, 134, 14), // "setShowProject"
QT_MOC_LITERAL(13, 149, 2), // "on"
QT_MOC_LITERAL(14, 152, 24), // "slotWbsDefinitionChanged"
QT_MOC_LITERAL(15, 177, 15), // "slotNodeChanged"
QT_MOC_LITERAL(16, 193, 20), // "slotNodeToBeInserted"
QT_MOC_LITERAL(17, 214, 3), // "row"
QT_MOC_LITERAL(18, 218, 16), // "slotNodeInserted"
QT_MOC_LITERAL(19, 235, 19), // "slotNodeToBeRemoved"
QT_MOC_LITERAL(20, 255, 15), // "slotNodeRemoved"
QT_MOC_LITERAL(21, 271, 17), // "slotNodeToBeMoved"
QT_MOC_LITERAL(22, 289, 3), // "pos"
QT_MOC_LITERAL(23, 293, 9), // "newParent"
QT_MOC_LITERAL(24, 303, 6), // "newPos"
QT_MOC_LITERAL(25, 310, 13), // "slotNodeMoved"
QT_MOC_LITERAL(26, 324, 17), // "slotLayoutChanged"
QT_MOC_LITERAL(27, 342, 21) // "slotProjectCalculated"

    },
    "KPlato::NodeItemModel\0nodeInserted\0\0"
    "Node*\0node\0projectShownChanged\0"
    "setProject\0Project*\0project\0"
    "setScheduleManager\0ScheduleManager*\0"
    "sm\0setShowProject\0on\0slotWbsDefinitionChanged\0"
    "slotNodeChanged\0slotNodeToBeInserted\0"
    "row\0slotNodeInserted\0slotNodeToBeRemoved\0"
    "slotNodeRemoved\0slotNodeToBeMoved\0pos\0"
    "newParent\0newPos\0slotNodeMoved\0"
    "slotLayoutChanged\0slotProjectCalculated"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__NodeItemModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,
       5,    1,   92,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   95,    2, 0x0a /* Public */,
       9,    1,   98,    2, 0x0a /* Public */,
      12,    1,  101,    2, 0x0a /* Public */,
      14,    0,  104,    2, 0x09 /* Protected */,
      15,    1,  105,    2, 0x09 /* Protected */,
      16,    2,  108,    2, 0x09 /* Protected */,
      18,    1,  113,    2, 0x09 /* Protected */,
      19,    1,  116,    2, 0x09 /* Protected */,
      20,    1,  119,    2, 0x09 /* Protected */,
      21,    4,  122,    2, 0x09 /* Protected */,
      25,    1,  131,    2, 0x09 /* Protected */,
      26,    0,  134,    2, 0x09 /* Protected */,
      27,    1,  135,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,   17,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int, 0x80000000 | 3, QMetaType::Int,    4,   22,   23,   24,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 10,   11,

       0        // eod
};

void KPlato::NodeItemModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        NodeItemModel *_t = static_cast<NodeItemModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->nodeInserted((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 1: _t->projectShownChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->setProject((*reinterpret_cast< Project*(*)>(_a[1]))); break;
        case 3: _t->setScheduleManager((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 4: _t->setShowProject((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->slotWbsDefinitionChanged(); break;
        case 6: _t->slotNodeChanged((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 7: _t->slotNodeToBeInserted((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 8: _t->slotNodeInserted((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 9: _t->slotNodeToBeRemoved((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 10: _t->slotNodeRemoved((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 11: _t->slotNodeToBeMoved((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< Node*(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 12: _t->slotNodeMoved((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 13: _t->slotLayoutChanged(); break;
        case 14: _t->slotProjectCalculated((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            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;
        case 14:
            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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (NodeItemModel::*_t)(Node * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NodeItemModel::nodeInserted)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (NodeItemModel::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NodeItemModel::projectShownChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KPlato::NodeItemModel::staticMetaObject = {
    { &ItemModelBase::staticMetaObject, qt_meta_stringdata_KPlato__NodeItemModel.data,
      qt_meta_data_KPlato__NodeItemModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlato::NodeItemModel::nodeInserted(Node * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KPlato::NodeItemModel::projectShownChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
struct qt_meta_stringdata_KPlato__GanttItemModel_t {
    QByteArrayData data[1];
    char stringdata0[23];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__GanttItemModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__GanttItemModel_t qt_meta_stringdata_KPlato__GanttItemModel = {
    {
QT_MOC_LITERAL(0, 0, 22) // "KPlato::GanttItemModel"

    },
    "KPlato::GanttItemModel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__GanttItemModel[] = {

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

       0        // eod
};

void KPlato::GanttItemModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KPlato::GanttItemModel::staticMetaObject = {
    { &NodeItemModel::staticMetaObject, qt_meta_stringdata_KPlato__GanttItemModel.data,
      qt_meta_data_KPlato__GanttItemModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::GanttItemModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = NodeItemModel::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_KPlato__MilestoneItemModel_t {
    QByteArrayData data[23];
    char stringdata0[296];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__MilestoneItemModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__MilestoneItemModel_t qt_meta_stringdata_KPlato__MilestoneItemModel = {
    {
QT_MOC_LITERAL(0, 0, 26), // "KPlato::MilestoneItemModel"
QT_MOC_LITERAL(1, 27, 10), // "setProject"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 8), // "Project*"
QT_MOC_LITERAL(4, 48, 7), // "project"
QT_MOC_LITERAL(5, 56, 18), // "setScheduleManager"
QT_MOC_LITERAL(6, 75, 16), // "ScheduleManager*"
QT_MOC_LITERAL(7, 92, 2), // "sm"
QT_MOC_LITERAL(8, 95, 15), // "slotNodeChanged"
QT_MOC_LITERAL(9, 111, 5), // "Node*"
QT_MOC_LITERAL(10, 117, 20), // "slotNodeToBeInserted"
QT_MOC_LITERAL(11, 138, 4), // "node"
QT_MOC_LITERAL(12, 143, 3), // "row"
QT_MOC_LITERAL(13, 147, 16), // "slotNodeInserted"
QT_MOC_LITERAL(14, 164, 19), // "slotNodeToBeRemoved"
QT_MOC_LITERAL(15, 184, 15), // "slotNodeRemoved"
QT_MOC_LITERAL(16, 200, 17), // "slotNodeToBeMoved"
QT_MOC_LITERAL(17, 218, 3), // "pos"
QT_MOC_LITERAL(18, 222, 9), // "newParent"
QT_MOC_LITERAL(19, 232, 6), // "newPos"
QT_MOC_LITERAL(20, 239, 13), // "slotNodeMoved"
QT_MOC_LITERAL(21, 253, 17), // "slotLayoutChanged"
QT_MOC_LITERAL(22, 271, 24) // "slotWbsDefinitionChanged"

    },
    "KPlato::MilestoneItemModel\0setProject\0"
    "\0Project*\0project\0setScheduleManager\0"
    "ScheduleManager*\0sm\0slotNodeChanged\0"
    "Node*\0slotNodeToBeInserted\0node\0row\0"
    "slotNodeInserted\0slotNodeToBeRemoved\0"
    "slotNodeRemoved\0slotNodeToBeMoved\0pos\0"
    "newParent\0newPos\0slotNodeMoved\0"
    "slotLayoutChanged\0slotWbsDefinitionChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__MilestoneItemModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x0a /* Public */,
       5,    1,   72,    2, 0x0a /* Public */,
       8,    1,   75,    2, 0x09 /* Protected */,
      10,    2,   78,    2, 0x09 /* Protected */,
      13,    1,   83,    2, 0x09 /* Protected */,
      14,    1,   86,    2, 0x09 /* Protected */,
      15,    1,   89,    2, 0x09 /* Protected */,
      16,    4,   92,    2, 0x09 /* Protected */,
      20,    1,  101,    2, 0x09 /* Protected */,
      21,    0,  104,    2, 0x09 /* Protected */,
      22,    0,  105,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    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::MilestoneItemModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MilestoneItemModel *_t = static_cast<MilestoneItemModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setProject((*reinterpret_cast< Project*(*)>(_a[1]))); break;
        case 1: _t->setScheduleManager((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); 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;
        case 7: _t->slotNodeToBeMoved((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< Node*(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 8: _t->slotNodeMoved((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 9: _t->slotLayoutChanged(); break;
        case 10: _t->slotWbsDefinitionChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            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::MilestoneItemModel::staticMetaObject = {
    { &ItemModelBase::staticMetaObject, qt_meta_stringdata_KPlato__MilestoneItemModel.data,
      qt_meta_data_KPlato__MilestoneItemModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::MilestoneItemModel::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}
struct qt_meta_stringdata_KPlato__NodeSortFilterProxyModel_t {
    QByteArrayData data[1];
    char stringdata0[33];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__NodeSortFilterProxyModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__NodeSortFilterProxyModel_t qt_meta_stringdata_KPlato__NodeSortFilterProxyModel = {
    {
QT_MOC_LITERAL(0, 0, 32) // "KPlato::NodeSortFilterProxyModel"

    },
    "KPlato::NodeSortFilterProxyModel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__NodeSortFilterProxyModel[] = {

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

       0        // eod
};

void KPlato::NodeSortFilterProxyModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject KPlato::NodeSortFilterProxyModel::staticMetaObject = {
    { &QSortFilterProxyModel::staticMetaObject, qt_meta_stringdata_KPlato__NodeSortFilterProxyModel.data,
      qt_meta_data_KPlato__NodeSortFilterProxyModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::NodeSortFilterProxyModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSortFilterProxyModel::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_KPlato__TaskModuleModel_t {
    QByteArrayData data[12];
    char stringdata0[134];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__TaskModuleModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__TaskModuleModel_t qt_meta_stringdata_KPlato__TaskModuleModel = {
    {
QT_MOC_LITERAL(0, 0, 23), // "KPlato::TaskModuleModel"
QT_MOC_LITERAL(1, 24, 14), // "executeCommand"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 14), // "KUndo2Command*"
QT_MOC_LITERAL(4, 55, 3), // "cmd"
QT_MOC_LITERAL(5, 59, 14), // "saveTaskModule"
QT_MOC_LITERAL(6, 74, 3), // "url"
QT_MOC_LITERAL(7, 78, 8), // "Project*"
QT_MOC_LITERAL(8, 87, 7), // "project"
QT_MOC_LITERAL(9, 95, 16), // "removeTaskModule"
QT_MOC_LITERAL(10, 112, 15), // "loadTaskModules"
QT_MOC_LITERAL(11, 128, 5) // "files"

    },
    "KPlato::TaskModuleModel\0executeCommand\0"
    "\0KUndo2Command*\0cmd\0saveTaskModule\0"
    "url\0Project*\0project\0removeTaskModule\0"
    "loadTaskModules\0files"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__TaskModuleModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   34,    2, 0x06 /* Public */,
       5,    2,   37,    2, 0x06 /* Public */,
       9,    1,   42,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,   45,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::QUrl, 0x80000000 | 7,    6,    8,
    QMetaType::Void, QMetaType::QUrl,    6,

 // slots: parameters
    QMetaType::Void, QMetaType::QStringList,   11,

       0        // eod
};

void KPlato::TaskModuleModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskModuleModel *_t = static_cast<TaskModuleModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->executeCommand((*reinterpret_cast< KUndo2Command*(*)>(_a[1]))); break;
        case 1: _t->saveTaskModule((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< Project*(*)>(_a[2]))); break;
        case 2: _t->removeTaskModule((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 3: _t->loadTaskModules((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TaskModuleModel::*_t)(KUndo2Command * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskModuleModel::executeCommand)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TaskModuleModel::*_t)(const QUrl & , Project * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskModuleModel::saveTaskModule)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TaskModuleModel::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskModuleModel::removeTaskModule)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KPlato::TaskModuleModel::staticMetaObject = {
    { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_KPlato__TaskModuleModel.data,
      qt_meta_data_KPlato__TaskModuleModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlato::TaskModuleModel::executeCommand(KUndo2Command * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KPlato::TaskModuleModel::saveTaskModule(const QUrl & _t1, Project * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KPlato::TaskModuleModel::removeTaskModule(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
