/****************************************************************************
** Meta object code from reading C++ file 'kpttaskeditor.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/ui/kpttaskeditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kpttaskeditor.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__TaskEditorItemModel_t {
    QByteArrayData data[1];
    char stringdata0[28];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__TaskEditorItemModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__TaskEditorItemModel_t qt_meta_stringdata_KPlato__TaskEditorItemModel = {
    {
QT_MOC_LITERAL(0, 0, 27) // "KPlato::TaskEditorItemModel"

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

static const uint qt_meta_data_KPlato__TaskEditorItemModel[] = {

 // 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::TaskEditorItemModel::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::TaskEditorItemModel::staticMetaObject = {
    { &NodeItemModel::staticMetaObject, qt_meta_stringdata_KPlato__TaskEditorItemModel.data,
      qt_meta_data_KPlato__TaskEditorItemModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::TaskEditorItemModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = NodeItemModel::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_KPlato__TaskEditorTreeView_t {
    QByteArrayData data[8];
    char stringdata0[115];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__TaskEditorTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__TaskEditorTreeView_t qt_meta_stringdata_KPlato__TaskEditorTreeView = {
    {
QT_MOC_LITERAL(0, 0, 26), // "KPlato::TaskEditorTreeView"
QT_MOC_LITERAL(1, 27, 20), // "currentColumnChanged"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 15), // "slotDropAllowed"
QT_MOC_LITERAL(4, 65, 5), // "index"
QT_MOC_LITERAL(5, 71, 21), // "dropIndicatorPosition"
QT_MOC_LITERAL(6, 93, 15), // "QDragMoveEvent*"
QT_MOC_LITERAL(7, 109, 5) // "event"

    },
    "KPlato::TaskEditorTreeView\0"
    "currentColumnChanged\0\0slotDropAllowed\0"
    "index\0dropIndicatorPosition\0QDragMoveEvent*\0"
    "event"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__TaskEditorTreeView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   24,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    3,   29,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    2,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, 0x80000000 | 6,    4,    5,    7,

       0        // eod
};

void KPlato::TaskEditorTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskEditorTreeView *_t = static_cast<TaskEditorTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentColumnChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 1: _t->slotDropAllowed((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QDragMoveEvent*(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TaskEditorTreeView::*_t)(const QModelIndex & , const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditorTreeView::currentColumnChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KPlato::TaskEditorTreeView::staticMetaObject = {
    { &DoubleTreeViewBase::staticMetaObject, qt_meta_stringdata_KPlato__TaskEditorTreeView.data,
      qt_meta_data_KPlato__TaskEditorTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlato::TaskEditorTreeView::currentColumnChanged(const QModelIndex & _t1, const QModelIndex & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_KPlato__NodeTreeView_t {
    QByteArrayData data[8];
    char stringdata0[109];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__NodeTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__NodeTreeView_t qt_meta_stringdata_KPlato__NodeTreeView = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KPlato::NodeTreeView"
QT_MOC_LITERAL(1, 21, 20), // "currentColumnChanged"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 15), // "slotDropAllowed"
QT_MOC_LITERAL(4, 59, 5), // "index"
QT_MOC_LITERAL(5, 65, 21), // "dropIndicatorPosition"
QT_MOC_LITERAL(6, 87, 15), // "QDragMoveEvent*"
QT_MOC_LITERAL(7, 103, 5) // "event"

    },
    "KPlato::NodeTreeView\0currentColumnChanged\0"
    "\0slotDropAllowed\0index\0dropIndicatorPosition\0"
    "QDragMoveEvent*\0event"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__NodeTreeView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   24,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    3,   29,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    2,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, 0x80000000 | 6,    4,    5,    7,

       0        // eod
};

void KPlato::NodeTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        NodeTreeView *_t = static_cast<NodeTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentColumnChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 1: _t->slotDropAllowed((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QDragMoveEvent*(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (NodeTreeView::*_t)(const QModelIndex & , const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NodeTreeView::currentColumnChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KPlato::NodeTreeView::staticMetaObject = {
    { &DoubleTreeViewBase::staticMetaObject, qt_meta_stringdata_KPlato__NodeTreeView.data,
      qt_meta_data_KPlato__NodeTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlato::NodeTreeView::currentColumnChanged(const QModelIndex & _t1, const QModelIndex & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_KPlato__TaskEditor_t {
    QByteArrayData data[51];
    char stringdata0[656];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__TaskEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__TaskEditor_t qt_meta_stringdata_KPlato__TaskEditor = {
    {
QT_MOC_LITERAL(0, 0, 18), // "KPlato::TaskEditor"
QT_MOC_LITERAL(1, 19, 12), // "taskSelected"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 5), // "Task*"
QT_MOC_LITERAL(4, 39, 4), // "task"
QT_MOC_LITERAL(5, 44, 8), // "openNode"
QT_MOC_LITERAL(6, 53, 7), // "addTask"
QT_MOC_LITERAL(7, 61, 12), // "addMilestone"
QT_MOC_LITERAL(8, 74, 10), // "addSubtask"
QT_MOC_LITERAL(9, 85, 15), // "addSubMilestone"
QT_MOC_LITERAL(10, 101, 14), // "deleteTaskList"
QT_MOC_LITERAL(11, 116, 12), // "QList<Node*>"
QT_MOC_LITERAL(12, 129, 10), // "moveTaskUp"
QT_MOC_LITERAL(13, 140, 12), // "moveTaskDown"
QT_MOC_LITERAL(14, 153, 10), // "indentTask"
QT_MOC_LITERAL(15, 164, 12), // "unindentTask"
QT_MOC_LITERAL(16, 177, 15), // "loadTaskModules"
QT_MOC_LITERAL(17, 193, 5), // "files"
QT_MOC_LITERAL(18, 199, 14), // "saveTaskModule"
QT_MOC_LITERAL(19, 214, 3), // "url"
QT_MOC_LITERAL(20, 218, 8), // "Project*"
QT_MOC_LITERAL(21, 227, 7), // "project"
QT_MOC_LITERAL(22, 235, 16), // "removeTaskModule"
QT_MOC_LITERAL(23, 252, 12), // "setGuiActive"
QT_MOC_LITERAL(24, 265, 8), // "activate"
QT_MOC_LITERAL(25, 274, 18), // "setScheduleManager"
QT_MOC_LITERAL(26, 293, 16), // "ScheduleManager*"
QT_MOC_LITERAL(27, 310, 2), // "sm"
QT_MOC_LITERAL(28, 313, 14), // "setTaskModules"
QT_MOC_LITERAL(29, 328, 11), // "slotOptions"
QT_MOC_LITERAL(30, 340, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(31, 361, 15), // "QModelIndexList"
QT_MOC_LITERAL(32, 377, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(33, 396, 24), // "slotContextMenuRequested"
QT_MOC_LITERAL(34, 421, 5), // "index"
QT_MOC_LITERAL(35, 427, 3), // "pos"
QT_MOC_LITERAL(36, 431, 4), // "rows"
QT_MOC_LITERAL(37, 436, 17), // "slotEnableActions"
QT_MOC_LITERAL(38, 454, 11), // "slotAddTask"
QT_MOC_LITERAL(39, 466, 14), // "slotAddSubtask"
QT_MOC_LITERAL(40, 481, 16), // "slotAddMilestone"
QT_MOC_LITERAL(41, 498, 19), // "slotAddSubMilestone"
QT_MOC_LITERAL(42, 518, 14), // "slotDeleteTask"
QT_MOC_LITERAL(43, 533, 14), // "slotIndentTask"
QT_MOC_LITERAL(44, 548, 16), // "slotUnindentTask"
QT_MOC_LITERAL(45, 565, 14), // "slotMoveTaskUp"
QT_MOC_LITERAL(46, 580, 16), // "slotMoveTaskDown"
QT_MOC_LITERAL(47, 597, 13), // "slotSplitView"
QT_MOC_LITERAL(48, 611, 16), // "slotProjectShown"
QT_MOC_LITERAL(49, 628, 23), // "taskModuleDoubleClicked"
QT_MOC_LITERAL(50, 652, 3) // "idx"

    },
    "KPlato::TaskEditor\0taskSelected\0\0Task*\0"
    "task\0openNode\0addTask\0addMilestone\0"
    "addSubtask\0addSubMilestone\0deleteTaskList\0"
    "QList<Node*>\0moveTaskUp\0moveTaskDown\0"
    "indentTask\0unindentTask\0loadTaskModules\0"
    "files\0saveTaskModule\0url\0Project*\0"
    "project\0removeTaskModule\0setGuiActive\0"
    "activate\0setScheduleManager\0"
    "ScheduleManager*\0sm\0setTaskModules\0"
    "slotOptions\0slotSelectionChanged\0"
    "QModelIndexList\0slotCurrentChanged\0"
    "slotContextMenuRequested\0index\0pos\0"
    "rows\0slotEnableActions\0slotAddTask\0"
    "slotAddSubtask\0slotAddMilestone\0"
    "slotAddSubMilestone\0slotDeleteTask\0"
    "slotIndentTask\0slotUnindentTask\0"
    "slotMoveTaskUp\0slotMoveTaskDown\0"
    "slotSplitView\0slotProjectShown\0"
    "taskModuleDoubleClicked\0idx"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__TaskEditor[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  184,    2, 0x06 /* Public */,
       5,    0,  187,    2, 0x06 /* Public */,
       6,    0,  188,    2, 0x06 /* Public */,
       7,    0,  189,    2, 0x06 /* Public */,
       8,    0,  190,    2, 0x06 /* Public */,
       9,    0,  191,    2, 0x06 /* Public */,
      10,    1,  192,    2, 0x06 /* Public */,
      12,    0,  195,    2, 0x06 /* Public */,
      13,    0,  196,    2, 0x06 /* Public */,
      14,    0,  197,    2, 0x06 /* Public */,
      15,    0,  198,    2, 0x06 /* Public */,
      16,    1,  199,    2, 0x06 /* Public */,
      18,    2,  202,    2, 0x06 /* Public */,
      22,    1,  207,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      23,    1,  210,    2, 0x0a /* Public */,
      25,    1,  213,    2, 0x0a /* Public */,
      28,    1,  216,    2, 0x0a /* Public */,
      29,    0,  219,    2, 0x09 /* Protected */,
      30,    1,  220,    2, 0x08 /* Private */,
      32,    2,  223,    2, 0x08 /* Private */,
      33,    3,  228,    2, 0x08 /* Private */,
      37,    0,  235,    2, 0x08 /* Private */,
      38,    0,  236,    2, 0x08 /* Private */,
      39,    0,  237,    2, 0x08 /* Private */,
      40,    0,  238,    2, 0x08 /* Private */,
      41,    0,  239,    2, 0x08 /* Private */,
      42,    0,  240,    2, 0x08 /* Private */,
      43,    0,  241,    2, 0x08 /* Private */,
      44,    0,  242,    2, 0x08 /* Private */,
      45,    0,  243,    2, 0x08 /* Private */,
      46,    0,  244,    2, 0x08 /* Private */,
      47,    0,  245,    2, 0x08 /* Private */,
      48,    1,  246,    2, 0x08 /* Private */,
      49,    1,  249,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QStringList,   17,
    QMetaType::Void, QMetaType::QUrl, 0x80000000 | 20,   19,   21,
    QMetaType::Void, QMetaType::QUrl,   19,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   24,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, QMetaType::QStringList,   17,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 31,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    2,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint, 0x80000000 | 31,   34,   35,   36,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::QModelIndex,   50,

       0        // eod
};

void KPlato::TaskEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskEditor *_t = static_cast<TaskEditor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->taskSelected((*reinterpret_cast< Task*(*)>(_a[1]))); break;
        case 1: _t->openNode(); break;
        case 2: _t->addTask(); break;
        case 3: _t->addMilestone(); break;
        case 4: _t->addSubtask(); break;
        case 5: _t->addSubMilestone(); break;
        case 6: _t->deleteTaskList((*reinterpret_cast< const QList<Node*>(*)>(_a[1]))); break;
        case 7: _t->moveTaskUp(); break;
        case 8: _t->moveTaskDown(); break;
        case 9: _t->indentTask(); break;
        case 10: _t->unindentTask(); break;
        case 11: _t->loadTaskModules((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 12: _t->saveTaskModule((*reinterpret_cast< const QUrl(*)>(_a[1])),(*reinterpret_cast< Project*(*)>(_a[2]))); break;
        case 13: _t->removeTaskModule((*reinterpret_cast< const QUrl(*)>(_a[1]))); break;
        case 14: _t->setGuiActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->setScheduleManager((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 16: _t->setTaskModules((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 17: _t->slotOptions(); break;
        case 18: _t->slotSelectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 19: _t->slotCurrentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 20: _t->slotContextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2])),(*reinterpret_cast< const QModelIndexList(*)>(_a[3]))); break;
        case 21: _t->slotEnableActions(); break;
        case 22: _t->slotAddTask(); break;
        case 23: _t->slotAddSubtask(); break;
        case 24: _t->slotAddMilestone(); break;
        case 25: _t->slotAddSubMilestone(); break;
        case 26: _t->slotDeleteTask(); break;
        case 27: _t->slotIndentTask(); break;
        case 28: _t->slotUnindentTask(); break;
        case 29: _t->slotMoveTaskUp(); break;
        case 30: _t->slotMoveTaskDown(); break;
        case 31: _t->slotSplitView(); break;
        case 32: _t->slotProjectShown((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 33: _t->taskModuleDoubleClicked((*reinterpret_cast< QModelIndex(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 15:
            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 18:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QModelIndexList >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QModelIndexList >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TaskEditor::*_t)(Task * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::taskSelected)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TaskEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::openNode)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TaskEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::addTask)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TaskEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::addMilestone)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (TaskEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::addSubtask)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (TaskEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::addSubMilestone)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (TaskEditor::*_t)(const QList<Node*> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::deleteTaskList)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (TaskEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::moveTaskUp)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (TaskEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::moveTaskDown)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (TaskEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::indentTask)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (TaskEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::unindentTask)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (TaskEditor::*_t)(const QStringList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::loadTaskModules)) {
                *result = 11;
                return;
            }
        }
        {
            typedef void (TaskEditor::*_t)(const QUrl & , Project * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::saveTaskModule)) {
                *result = 12;
                return;
            }
        }
        {
            typedef void (TaskEditor::*_t)(const QUrl & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskEditor::removeTaskModule)) {
                *result = 13;
                return;
            }
        }
    }
}

const QMetaObject KPlato::TaskEditor::staticMetaObject = {
    { &ViewBase::staticMetaObject, qt_meta_stringdata_KPlato__TaskEditor.data,
      qt_meta_data_KPlato__TaskEditor,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::TaskEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ViewBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 34)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 34;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 34)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 34;
    }
    return _id;
}

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

// SIGNAL 1
void KPlato::TaskEditor::openNode()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KPlato::TaskEditor::addTask()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void KPlato::TaskEditor::addMilestone()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void KPlato::TaskEditor::addSubtask()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void KPlato::TaskEditor::addSubMilestone()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

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

// SIGNAL 7
void KPlato::TaskEditor::moveTaskUp()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void KPlato::TaskEditor::moveTaskDown()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void KPlato::TaskEditor::indentTask()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void KPlato::TaskEditor::unindentTask()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void KPlato::TaskEditor::loadTaskModules(const QStringList & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void KPlato::TaskEditor::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, 12, _a);
}

// SIGNAL 13
void KPlato::TaskEditor::removeTaskModule(const QUrl & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 13, _a);
}
struct qt_meta_stringdata_KPlato__TaskView_t {
    QByteArrayData data[17];
    char stringdata0[223];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__TaskView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__TaskView_t qt_meta_stringdata_KPlato__TaskView = {
    {
QT_MOC_LITERAL(0, 0, 16), // "KPlato::TaskView"
QT_MOC_LITERAL(1, 17, 8), // "openNode"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 12), // "setGuiActive"
QT_MOC_LITERAL(4, 40, 8), // "activate"
QT_MOC_LITERAL(5, 49, 18), // "setScheduleManager"
QT_MOC_LITERAL(6, 68, 16), // "ScheduleManager*"
QT_MOC_LITERAL(7, 85, 2), // "sm"
QT_MOC_LITERAL(8, 88, 11), // "slotOptions"
QT_MOC_LITERAL(9, 100, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(10, 121, 15), // "QModelIndexList"
QT_MOC_LITERAL(11, 137, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(12, 156, 24), // "slotContextMenuRequested"
QT_MOC_LITERAL(13, 181, 5), // "index"
QT_MOC_LITERAL(14, 187, 3), // "pos"
QT_MOC_LITERAL(15, 191, 17), // "slotEnableActions"
QT_MOC_LITERAL(16, 209, 13) // "slotSplitView"

    },
    "KPlato::TaskView\0openNode\0\0setGuiActive\0"
    "activate\0setScheduleManager\0"
    "ScheduleManager*\0sm\0slotOptions\0"
    "slotSelectionChanged\0QModelIndexList\0"
    "slotCurrentChanged\0slotContextMenuRequested\0"
    "index\0pos\0slotEnableActions\0slotSplitView"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__TaskView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    1,   60,    2, 0x0a /* Public */,
       5,    1,   63,    2, 0x0a /* Public */,
       8,    0,   66,    2, 0x09 /* Protected */,
       9,    1,   67,    2, 0x08 /* Private */,
      11,    2,   70,    2, 0x08 /* Private */,
      12,    2,   75,    2, 0x08 /* Private */,
      15,    0,   80,    2, 0x08 /* Private */,
      16,    0,   81,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 10,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    2,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,   13,   14,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KPlato::TaskView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskView *_t = static_cast<TaskView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->openNode(); break;
        case 1: _t->setGuiActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->setScheduleManager((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 3: _t->slotOptions(); break;
        case 4: _t->slotSelectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 5: _t->slotCurrentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 6: _t->slotContextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 7: _t->slotEnableActions(); break;
        case 8: _t->slotSplitView(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            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 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QModelIndexList >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TaskView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskView::openNode)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KPlato::TaskView::staticMetaObject = {
    { &ViewBase::staticMetaObject, qt_meta_stringdata_KPlato__TaskView.data,
      qt_meta_data_KPlato__TaskView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::TaskView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ViewBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    return _id;
}

// SIGNAL 0
void KPlato::TaskView::openNode()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_KPlato__WorkPackageTreeView_t {
    QByteArrayData data[8];
    char stringdata0[116];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__WorkPackageTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__WorkPackageTreeView_t qt_meta_stringdata_KPlato__WorkPackageTreeView = {
    {
QT_MOC_LITERAL(0, 0, 27), // "KPlato::WorkPackageTreeView"
QT_MOC_LITERAL(1, 28, 20), // "currentColumnChanged"
QT_MOC_LITERAL(2, 49, 0), // ""
QT_MOC_LITERAL(3, 50, 15), // "slotDropAllowed"
QT_MOC_LITERAL(4, 66, 5), // "index"
QT_MOC_LITERAL(5, 72, 21), // "dropIndicatorPosition"
QT_MOC_LITERAL(6, 94, 15), // "QDragMoveEvent*"
QT_MOC_LITERAL(7, 110, 5) // "event"

    },
    "KPlato::WorkPackageTreeView\0"
    "currentColumnChanged\0\0slotDropAllowed\0"
    "index\0dropIndicatorPosition\0QDragMoveEvent*\0"
    "event"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__WorkPackageTreeView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   24,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    3,   29,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    2,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, 0x80000000 | 6,    4,    5,    7,

       0        // eod
};

void KPlato::WorkPackageTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WorkPackageTreeView *_t = static_cast<WorkPackageTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentColumnChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 1: _t->slotDropAllowed((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QDragMoveEvent*(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (WorkPackageTreeView::*_t)(const QModelIndex & , const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WorkPackageTreeView::currentColumnChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KPlato::WorkPackageTreeView::staticMetaObject = {
    { &DoubleTreeViewBase::staticMetaObject, qt_meta_stringdata_KPlato__WorkPackageTreeView.data,
      qt_meta_data_KPlato__WorkPackageTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlato::WorkPackageTreeView::currentColumnChanged(const QModelIndex & _t1, const QModelIndex & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
struct qt_meta_stringdata_KPlato__TaskWorkPackageView_t {
    QByteArrayData data[29];
    char stringdata0[383];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__TaskWorkPackageView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__TaskWorkPackageView_t qt_meta_stringdata_KPlato__TaskWorkPackageView = {
    {
QT_MOC_LITERAL(0, 0, 27), // "KPlato::TaskWorkPackageView"
QT_MOC_LITERAL(1, 28, 15), // "mailWorkpackage"
QT_MOC_LITERAL(2, 44, 0), // ""
QT_MOC_LITERAL(3, 45, 5), // "Node*"
QT_MOC_LITERAL(4, 51, 1), // "n"
QT_MOC_LITERAL(5, 53, 9), // "Resource*"
QT_MOC_LITERAL(6, 63, 1), // "r"
QT_MOC_LITERAL(7, 65, 16), // "mailWorkpackages"
QT_MOC_LITERAL(8, 82, 12), // "QList<Node*>"
QT_MOC_LITERAL(9, 95, 5), // "nodes"
QT_MOC_LITERAL(10, 101, 20), // "checkForWorkPackages"
QT_MOC_LITERAL(11, 122, 12), // "setGuiActive"
QT_MOC_LITERAL(12, 135, 8), // "activate"
QT_MOC_LITERAL(13, 144, 15), // "slotRefreshView"
QT_MOC_LITERAL(14, 160, 18), // "setScheduleManager"
QT_MOC_LITERAL(15, 179, 16), // "ScheduleManager*"
QT_MOC_LITERAL(16, 196, 2), // "sm"
QT_MOC_LITERAL(17, 199, 11), // "slotOptions"
QT_MOC_LITERAL(18, 211, 19), // "slotMailWorkpackage"
QT_MOC_LITERAL(19, 231, 19), // "slotWorkPackageSent"
QT_MOC_LITERAL(20, 251, 8), // "resource"
QT_MOC_LITERAL(21, 260, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(22, 281, 15), // "QModelIndexList"
QT_MOC_LITERAL(23, 297, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(24, 316, 24), // "slotContextMenuRequested"
QT_MOC_LITERAL(25, 341, 5), // "index"
QT_MOC_LITERAL(26, 347, 3), // "pos"
QT_MOC_LITERAL(27, 351, 17), // "slotEnableActions"
QT_MOC_LITERAL(28, 369, 13) // "slotSplitView"

    },
    "KPlato::TaskWorkPackageView\0mailWorkpackage\0"
    "\0Node*\0n\0Resource*\0r\0mailWorkpackages\0"
    "QList<Node*>\0nodes\0checkForWorkPackages\0"
    "setGuiActive\0activate\0slotRefreshView\0"
    "setScheduleManager\0ScheduleManager*\0"
    "sm\0slotOptions\0slotMailWorkpackage\0"
    "slotWorkPackageSent\0resource\0"
    "slotSelectionChanged\0QModelIndexList\0"
    "slotCurrentChanged\0slotContextMenuRequested\0"
    "index\0pos\0slotEnableActions\0slotSplitView"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__TaskWorkPackageView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   89,    2, 0x06 /* Public */,
       1,    1,   94,    2, 0x26 /* Public | MethodCloned */,
       7,    2,   97,    2, 0x06 /* Public */,
      10,    0,  102,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    1,  103,    2, 0x0a /* Public */,
      13,    0,  106,    2, 0x0a /* Public */,
      14,    1,  107,    2, 0x0a /* Public */,
      17,    0,  110,    2, 0x09 /* Protected */,
      18,    0,  111,    2, 0x09 /* Protected */,
      19,    2,  112,    2, 0x09 /* Protected */,
      21,    1,  117,    2, 0x08 /* Private */,
      23,    2,  120,    2, 0x08 /* Private */,
      24,    2,  125,    2, 0x08 /* Private */,
      27,    0,  130,    2, 0x08 /* Private */,
      28,    0,  131,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 5,    9,    6,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 5,    9,   20,
    QMetaType::Void, 0x80000000 | 22,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    2,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,   25,   26,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KPlato::TaskWorkPackageView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskWorkPackageView *_t = static_cast<TaskWorkPackageView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->mailWorkpackage((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< Resource*(*)>(_a[2]))); break;
        case 1: _t->mailWorkpackage((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 2: _t->mailWorkpackages((*reinterpret_cast< const QList<Node*>(*)>(_a[1])),(*reinterpret_cast< Resource*(*)>(_a[2]))); break;
        case 3: _t->checkForWorkPackages(); break;
        case 4: _t->setGuiActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->slotRefreshView(); break;
        case 6: _t->setScheduleManager((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 7: _t->slotOptions(); break;
        case 8: _t->slotMailWorkpackage(); break;
        case 9: _t->slotWorkPackageSent((*reinterpret_cast< const QList<Node*>(*)>(_a[1])),(*reinterpret_cast< Resource*(*)>(_a[2]))); break;
        case 10: _t->slotSelectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 11: _t->slotCurrentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 12: _t->slotContextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 13: _t->slotEnableActions(); break;
        case 14: _t->slotSplitView(); 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 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Resource* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Resource* >(); break;
            }
            break;
        case 6:
            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 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Resource* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QModelIndexList >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TaskWorkPackageView::*_t)(Node * , Resource * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskWorkPackageView::mailWorkpackage)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TaskWorkPackageView::*_t)(const QList<Node*> & , Resource * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskWorkPackageView::mailWorkpackages)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TaskWorkPackageView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskWorkPackageView::checkForWorkPackages)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KPlato::TaskWorkPackageView::staticMetaObject = {
    { &ViewBase::staticMetaObject, qt_meta_stringdata_KPlato__TaskWorkPackageView.data,
      qt_meta_data_KPlato__TaskWorkPackageView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::TaskWorkPackageView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ViewBase::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::TaskWorkPackageView::mailWorkpackage(Node * _t1, Resource * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 2
void KPlato::TaskWorkPackageView::mailWorkpackages(const QList<Node*> & _t1, Resource * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KPlato::TaskWorkPackageView::checkForWorkPackages()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
