/****************************************************************************
** Meta object code from reading C++ file 'taskworkpackagemodel.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/workpackage/taskworkpackagemodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'taskworkpackagemodel.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_KPlatoWork__TaskWorkPackageModel_t {
    QByteArrayData data[40];
    char stringdata0[554];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlatoWork__TaskWorkPackageModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlatoWork__TaskWorkPackageModel_t qt_meta_stringdata_KPlatoWork__TaskWorkPackageModel = {
    {
QT_MOC_LITERAL(0, 0, 32), // "KPlatoWork::TaskWorkPackageModel"
QT_MOC_LITERAL(1, 33, 14), // "addWorkPackage"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 12), // "WorkPackage*"
QT_MOC_LITERAL(4, 62, 7), // "package"
QT_MOC_LITERAL(5, 70, 3), // "row"
QT_MOC_LITERAL(6, 74, 17), // "removeWorkPackage"
QT_MOC_LITERAL(7, 92, 15), // "slotNodeChanged"
QT_MOC_LITERAL(8, 108, 5), // "Node*"
QT_MOC_LITERAL(9, 114, 20), // "slotNodeToBeInserted"
QT_MOC_LITERAL(10, 135, 4), // "node"
QT_MOC_LITERAL(11, 140, 16), // "slotNodeInserted"
QT_MOC_LITERAL(12, 157, 19), // "slotNodeToBeRemoved"
QT_MOC_LITERAL(13, 177, 15), // "slotNodeRemoved"
QT_MOC_LITERAL(14, 193, 17), // "slotDocumentAdded"
QT_MOC_LITERAL(15, 211, 9), // "Document*"
QT_MOC_LITERAL(16, 221, 3), // "doc"
QT_MOC_LITERAL(17, 225, 5), // "index"
QT_MOC_LITERAL(18, 231, 19), // "slotDocumentRemoved"
QT_MOC_LITERAL(19, 251, 19), // "slotDocumentChanged"
QT_MOC_LITERAL(20, 271, 10), // "Properties"
QT_MOC_LITERAL(21, 282, 8), // "NodeName"
QT_MOC_LITERAL(22, 291, 8), // "NodeType"
QT_MOC_LITERAL(23, 300, 15), // "NodeResponsible"
QT_MOC_LITERAL(24, 316, 15), // "NodeDescription"
QT_MOC_LITERAL(25, 332, 13), // "NodeStartTime"
QT_MOC_LITERAL(26, 346, 11), // "NodeEndTime"
QT_MOC_LITERAL(27, 358, 15), // "NodeAssignments"
QT_MOC_LITERAL(28, 374, 13), // "NodeCompleted"
QT_MOC_LITERAL(29, 388, 16), // "NodeActualEffort"
QT_MOC_LITERAL(30, 405, 19), // "NodeRemainingEffort"
QT_MOC_LITERAL(31, 425, 17), // "NodePlannedEffort"
QT_MOC_LITERAL(32, 443, 15), // "NodeActualStart"
QT_MOC_LITERAL(33, 459, 11), // "NodeStarted"
QT_MOC_LITERAL(34, 471, 16), // "NodeActualFinish"
QT_MOC_LITERAL(35, 488, 12), // "NodeFinished"
QT_MOC_LITERAL(36, 501, 10), // "NodeStatus"
QT_MOC_LITERAL(37, 512, 14), // "NodeStatusNote"
QT_MOC_LITERAL(38, 527, 11), // "ProjectName"
QT_MOC_LITERAL(39, 539, 14) // "ProjectManager"

    },
    "KPlatoWork::TaskWorkPackageModel\0"
    "addWorkPackage\0\0WorkPackage*\0package\0"
    "row\0removeWorkPackage\0slotNodeChanged\0"
    "Node*\0slotNodeToBeInserted\0node\0"
    "slotNodeInserted\0slotNodeToBeRemoved\0"
    "slotNodeRemoved\0slotDocumentAdded\0"
    "Document*\0doc\0index\0slotDocumentRemoved\0"
    "slotDocumentChanged\0Properties\0NodeName\0"
    "NodeType\0NodeResponsible\0NodeDescription\0"
    "NodeStartTime\0NodeEndTime\0NodeAssignments\0"
    "NodeCompleted\0NodeActualEffort\0"
    "NodeRemainingEffort\0NodePlannedEffort\0"
    "NodeActualStart\0NodeStarted\0"
    "NodeActualFinish\0NodeFinished\0NodeStatus\0"
    "NodeStatusNote\0ProjectName\0ProjectManager"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlatoWork__TaskWorkPackageModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   64,    2, 0x0a /* Public */,
       6,    2,   69,    2, 0x0a /* Public */,
       7,    1,   74,    2, 0x09 /* Protected */,
       9,    2,   77,    2, 0x09 /* Protected */,
      11,    1,   82,    2, 0x09 /* Protected */,
      12,    1,   85,    2, 0x09 /* Protected */,
      13,    1,   88,    2, 0x09 /* Protected */,
      14,    3,   91,    2, 0x09 /* Protected */,
      18,    3,   98,    2, 0x09 /* Protected */,
      19,    3,  105,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, 0x80000000 | 8,    2,
    QMetaType::Void, 0x80000000 | 8, QMetaType::Int,   10,    5,
    QMetaType::Void, 0x80000000 | 8,   10,
    QMetaType::Void, 0x80000000 | 8,   10,
    QMetaType::Void, 0x80000000 | 8,   10,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 15, QMetaType::Int,   10,   16,   17,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 15, QMetaType::Int,   10,   16,   17,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 15, QMetaType::Int,   10,   16,   17,

 // enums: name, flags, count, data
      20, 0x0,   19,  116,

 // enum data: key, value
      21, uint(KPlatoWork::TaskWorkPackageModel::NodeName),
      22, uint(KPlatoWork::TaskWorkPackageModel::NodeType),
      23, uint(KPlatoWork::TaskWorkPackageModel::NodeResponsible),
      24, uint(KPlatoWork::TaskWorkPackageModel::NodeDescription),
      25, uint(KPlatoWork::TaskWorkPackageModel::NodeStartTime),
      26, uint(KPlatoWork::TaskWorkPackageModel::NodeEndTime),
      27, uint(KPlatoWork::TaskWorkPackageModel::NodeAssignments),
      28, uint(KPlatoWork::TaskWorkPackageModel::NodeCompleted),
      29, uint(KPlatoWork::TaskWorkPackageModel::NodeActualEffort),
      30, uint(KPlatoWork::TaskWorkPackageModel::NodeRemainingEffort),
      31, uint(KPlatoWork::TaskWorkPackageModel::NodePlannedEffort),
      32, uint(KPlatoWork::TaskWorkPackageModel::NodeActualStart),
      33, uint(KPlatoWork::TaskWorkPackageModel::NodeStarted),
      34, uint(KPlatoWork::TaskWorkPackageModel::NodeActualFinish),
      35, uint(KPlatoWork::TaskWorkPackageModel::NodeFinished),
      36, uint(KPlatoWork::TaskWorkPackageModel::NodeStatus),
      37, uint(KPlatoWork::TaskWorkPackageModel::NodeStatusNote),
      38, uint(KPlatoWork::TaskWorkPackageModel::ProjectName),
      39, uint(KPlatoWork::TaskWorkPackageModel::ProjectManager),

       0        // eod
};

void KPlatoWork::TaskWorkPackageModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskWorkPackageModel *_t = static_cast<TaskWorkPackageModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->addWorkPackage((*reinterpret_cast< WorkPackage*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->removeWorkPackage((*reinterpret_cast< WorkPackage*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); 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->slotDocumentAdded((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< Document*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 8: _t->slotDocumentRemoved((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< Document*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 9: _t->slotDocumentChanged((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< Document*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        default: ;
        }
    }
}

const QMetaObject KPlatoWork::TaskWorkPackageModel::staticMetaObject = {
    { &ItemModelBase::staticMetaObject, qt_meta_stringdata_KPlatoWork__TaskWorkPackageModel.data,
      qt_meta_data_KPlatoWork__TaskWorkPackageModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

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