/****************************************************************************
** Meta object code from reading C++ file 'kptscheduleeditor.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/kptscheduleeditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptscheduleeditor.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__ScheduleTreeView_t {
    QByteArrayData data[11];
    char stringdata0[147];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ScheduleTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ScheduleTreeView_t qt_meta_stringdata_KPlato__ScheduleTreeView = {
    {
QT_MOC_LITERAL(0, 0, 24), // "KPlato::ScheduleTreeView"
QT_MOC_LITERAL(1, 25, 14), // "currentChanged"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 20), // "currentColumnChanged"
QT_MOC_LITERAL(4, 62, 16), // "selectionChanged"
QT_MOC_LITERAL(5, 79, 15), // "QModelIndexList"
QT_MOC_LITERAL(6, 95, 14), // "QItemSelection"
QT_MOC_LITERAL(7, 110, 8), // "selected"
QT_MOC_LITERAL(8, 119, 10), // "deselected"
QT_MOC_LITERAL(9, 130, 7), // "current"
QT_MOC_LITERAL(10, 138, 8) // "previous"

    },
    "KPlato::ScheduleTreeView\0currentChanged\0"
    "\0currentColumnChanged\0selectionChanged\0"
    "QModelIndexList\0QItemSelection\0selected\0"
    "deselected\0current\0previous"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ScheduleTreeView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x06 /* Public */,
       3,    2,   42,    2, 0x06 /* Public */,
       4,    1,   47,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    2,   50,    2, 0x09 /* Protected */,
       1,    2,   55,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    2,    2,
    QMetaType::Void, 0x80000000 | 5,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 6,    7,    8,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    9,   10,

       0        // eod
};

void KPlato::ScheduleTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ScheduleTreeView *_t = static_cast<ScheduleTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 1: _t->currentColumnChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 2: _t->selectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 3: _t->selectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 4: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); 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< QModelIndexList >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ScheduleTreeView::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleTreeView::currentChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ScheduleTreeView::*_t)(const QModelIndex & , const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleTreeView::currentColumnChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ScheduleTreeView::*_t)(const QModelIndexList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleTreeView::selectionChanged)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KPlato::ScheduleTreeView::staticMetaObject = {
    { &TreeViewBase::staticMetaObject, qt_meta_stringdata_KPlato__ScheduleTreeView.data,
      qt_meta_data_KPlato__ScheduleTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

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

// SIGNAL 2
void KPlato::ScheduleTreeView::selectionChanged(const QModelIndexList & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
struct qt_meta_stringdata_KPlato__ScheduleEditor_t {
    QByteArrayData data[30];
    char stringdata0[484];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ScheduleEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ScheduleEditor_t qt_meta_stringdata_KPlato__ScheduleEditor = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KPlato::ScheduleEditor"
QT_MOC_LITERAL(1, 23, 17), // "calculateSchedule"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 8), // "Project*"
QT_MOC_LITERAL(4, 51, 16), // "ScheduleManager*"
QT_MOC_LITERAL(5, 68, 16), // "baselineSchedule"
QT_MOC_LITERAL(6, 85, 18), // "addScheduleManager"
QT_MOC_LITERAL(7, 104, 21), // "deleteScheduleManager"
QT_MOC_LITERAL(8, 126, 24), // "SelectionScheduleChanged"
QT_MOC_LITERAL(9, 151, 24), // "scheduleSelectionChanged"
QT_MOC_LITERAL(10, 176, 2), // "sm"
QT_MOC_LITERAL(11, 179, 19), // "moveScheduleManager"
QT_MOC_LITERAL(12, 199, 9), // "newparent"
QT_MOC_LITERAL(13, 209, 5), // "index"
QT_MOC_LITERAL(14, 215, 12), // "setGuiActive"
QT_MOC_LITERAL(15, 228, 8), // "activate"
QT_MOC_LITERAL(16, 237, 11), // "slotOptions"
QT_MOC_LITERAL(17, 249, 24), // "slotContextMenuRequested"
QT_MOC_LITERAL(18, 274, 3), // "pos"
QT_MOC_LITERAL(19, 278, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(20, 299, 15), // "QModelIndexList"
QT_MOC_LITERAL(21, 315, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(22, 334, 20), // "updateActionsEnabled"
QT_MOC_LITERAL(23, 355, 17), // "slotEnableActions"
QT_MOC_LITERAL(24, 373, 21), // "slotCalculateSchedule"
QT_MOC_LITERAL(25, 395, 20), // "slotBaselineSchedule"
QT_MOC_LITERAL(26, 416, 15), // "slotAddSchedule"
QT_MOC_LITERAL(27, 432, 18), // "slotAddSubSchedule"
QT_MOC_LITERAL(28, 451, 19), // "slotDeleteSelection"
QT_MOC_LITERAL(29, 471, 12) // "slotMoveLeft"

    },
    "KPlato::ScheduleEditor\0calculateSchedule\0"
    "\0Project*\0ScheduleManager*\0baselineSchedule\0"
    "addScheduleManager\0deleteScheduleManager\0"
    "SelectionScheduleChanged\0"
    "scheduleSelectionChanged\0sm\0"
    "moveScheduleManager\0newparent\0index\0"
    "setGuiActive\0activate\0slotOptions\0"
    "slotContextMenuRequested\0pos\0"
    "slotSelectionChanged\0QModelIndexList\0"
    "slotCurrentChanged\0updateActionsEnabled\0"
    "slotEnableActions\0slotCalculateSchedule\0"
    "slotBaselineSchedule\0slotAddSchedule\0"
    "slotAddSubSchedule\0slotDeleteSelection\0"
    "slotMoveLeft"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ScheduleEditor[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  114,    2, 0x06 /* Public */,
       5,    2,  119,    2, 0x06 /* Public */,
       6,    1,  124,    2, 0x06 /* Public */,
       7,    2,  127,    2, 0x06 /* Public */,
       8,    0,  132,    2, 0x06 /* Public */,
       9,    1,  133,    2, 0x06 /* Public */,
      11,    3,  136,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    1,  143,    2, 0x0a /* Public */,
      16,    0,  146,    2, 0x09 /* Protected */,
      17,    2,  147,    2, 0x08 /* Private */,
      19,    1,  152,    2, 0x08 /* Private */,
      21,    1,  155,    2, 0x08 /* Private */,
      22,    1,  158,    2, 0x08 /* Private */,
      23,    0,  161,    2, 0x08 /* Private */,
      24,    0,  162,    2, 0x08 /* Private */,
      25,    0,  163,    2, 0x08 /* Private */,
      26,    0,  164,    2, 0x08 /* Private */,
      27,    0,  165,    2, 0x08 /* Private */,
      28,    0,  166,    2, 0x08 /* Private */,
      29,    0,  167,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 4,    2,    2,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 4,    2,    2,
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 4,    2,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,   10,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 4, QMetaType::Int,   10,   12,   13,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   15,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,   13,   18,
    QMetaType::Void, 0x80000000 | 20,    2,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::QModelIndex,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KPlato::ScheduleEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ScheduleEditor *_t = static_cast<ScheduleEditor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->calculateSchedule((*reinterpret_cast< Project*(*)>(_a[1])),(*reinterpret_cast< ScheduleManager*(*)>(_a[2]))); break;
        case 1: _t->baselineSchedule((*reinterpret_cast< Project*(*)>(_a[1])),(*reinterpret_cast< ScheduleManager*(*)>(_a[2]))); break;
        case 2: _t->addScheduleManager((*reinterpret_cast< Project*(*)>(_a[1]))); break;
        case 3: _t->deleteScheduleManager((*reinterpret_cast< Project*(*)>(_a[1])),(*reinterpret_cast< ScheduleManager*(*)>(_a[2]))); break;
        case 4: _t->SelectionScheduleChanged(); break;
        case 5: _t->scheduleSelectionChanged((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 6: _t->moveScheduleManager((*reinterpret_cast< ScheduleManager*(*)>(_a[1])),(*reinterpret_cast< ScheduleManager*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 7: _t->setGuiActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->slotOptions(); break;
        case 9: _t->slotContextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 10: _t->slotSelectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 11: _t->slotCurrentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 12: _t->updateActionsEnabled((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 13: _t->slotEnableActions(); break;
        case 14: _t->slotCalculateSchedule(); break;
        case 15: _t->slotBaselineSchedule(); break;
        case 16: _t->slotAddSchedule(); break;
        case 17: _t->slotAddSubSchedule(); break;
        case 18: _t->slotDeleteSelection(); break;
        case 19: _t->slotMoveLeft(); 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< ScheduleManager* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ScheduleManager* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ScheduleManager* >(); break;
            }
            break;
        case 5:
            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 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ScheduleManager* >(); 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 (ScheduleEditor::*_t)(Project * , ScheduleManager * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleEditor::calculateSchedule)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ScheduleEditor::*_t)(Project * , ScheduleManager * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleEditor::baselineSchedule)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ScheduleEditor::*_t)(Project * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleEditor::addScheduleManager)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (ScheduleEditor::*_t)(Project * , ScheduleManager * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleEditor::deleteScheduleManager)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (ScheduleEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleEditor::SelectionScheduleChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (ScheduleEditor::*_t)(ScheduleManager * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleEditor::scheduleSelectionChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (ScheduleEditor::*_t)(ScheduleManager * , ScheduleManager * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleEditor::moveScheduleManager)) {
                *result = 6;
                return;
            }
        }
    }
}

const QMetaObject KPlato::ScheduleEditor::staticMetaObject = {
    { &ViewBase::staticMetaObject, qt_meta_stringdata_KPlato__ScheduleEditor.data,
      qt_meta_data_KPlato__ScheduleEditor,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlato::ScheduleEditor::calculateSchedule(Project * _t1, ScheduleManager * _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 1
void KPlato::ScheduleEditor::baselineSchedule(Project * _t1, ScheduleManager * _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::ScheduleEditor::addScheduleManager(Project * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KPlato::ScheduleEditor::deleteScheduleManager(Project * _t1, ScheduleManager * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

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

// SIGNAL 5
void KPlato::ScheduleEditor::scheduleSelectionChanged(ScheduleManager * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KPlato::ScheduleEditor::moveScheduleManager(ScheduleManager * _t1, ScheduleManager * _t2, int _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
struct qt_meta_stringdata_KPlato__ScheduleLogTreeView_t {
    QByteArrayData data[19];
    char stringdata0[267];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ScheduleLogTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ScheduleLogTreeView_t qt_meta_stringdata_KPlato__ScheduleLogTreeView = {
    {
QT_MOC_LITERAL(0, 0, 27), // "KPlato::ScheduleLogTreeView"
QT_MOC_LITERAL(1, 28, 14), // "currentChanged"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 20), // "currentColumnChanged"
QT_MOC_LITERAL(4, 65, 16), // "selectionChanged"
QT_MOC_LITERAL(5, 82, 15), // "QModelIndexList"
QT_MOC_LITERAL(6, 98, 20), // "contextMenuRequested"
QT_MOC_LITERAL(7, 119, 12), // "slotEditCopy"
QT_MOC_LITERAL(8, 132, 16), // "contextMenuEvent"
QT_MOC_LITERAL(9, 149, 18), // "QContextMenuEvent*"
QT_MOC_LITERAL(10, 168, 1), // "e"
QT_MOC_LITERAL(11, 170, 26), // "headerContextMenuRequested"
QT_MOC_LITERAL(12, 197, 3), // "pos"
QT_MOC_LITERAL(13, 201, 14), // "QItemSelection"
QT_MOC_LITERAL(14, 216, 8), // "selected"
QT_MOC_LITERAL(15, 225, 10), // "deselected"
QT_MOC_LITERAL(16, 236, 7), // "current"
QT_MOC_LITERAL(17, 244, 8), // "previous"
QT_MOC_LITERAL(18, 253, 13) // "slotShowDebug"

    },
    "KPlato::ScheduleLogTreeView\0currentChanged\0"
    "\0currentColumnChanged\0selectionChanged\0"
    "QModelIndexList\0contextMenuRequested\0"
    "slotEditCopy\0contextMenuEvent\0"
    "QContextMenuEvent*\0e\0headerContextMenuRequested\0"
    "pos\0QItemSelection\0selected\0deselected\0"
    "current\0previous\0slotShowDebug"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ScheduleLogTreeView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   64,    2, 0x06 /* Public */,
       3,    2,   67,    2, 0x06 /* Public */,
       4,    1,   72,    2, 0x06 /* Public */,
       6,    2,   75,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   80,    2, 0x0a /* Public */,
       8,    1,   81,    2, 0x09 /* Protected */,
      11,    1,   84,    2, 0x09 /* Protected */,
       4,    2,   87,    2, 0x09 /* Protected */,
       1,    2,   92,    2, 0x09 /* Protected */,
      18,    1,   97,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,    2,    2,
    QMetaType::Void, 0x80000000 | 5,    2,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,    2,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, QMetaType::QPoint,   12,
    QMetaType::Void, 0x80000000 | 13, 0x80000000 | 13,   14,   15,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   16,   17,
    QMetaType::Void, QMetaType::Bool,    2,

       0        // eod
};

void KPlato::ScheduleLogTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ScheduleLogTreeView *_t = static_cast<ScheduleLogTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 1: _t->currentColumnChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 2: _t->selectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 3: _t->contextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 4: _t->slotEditCopy(); break;
        case 5: _t->contextMenuEvent((*reinterpret_cast< QContextMenuEvent*(*)>(_a[1]))); break;
        case 6: _t->headerContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 7: _t->selectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 8: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 9: _t->slotShowDebug((*reinterpret_cast< bool(*)>(_a[1]))); 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< QModelIndexList >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ScheduleLogTreeView::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleLogTreeView::currentChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ScheduleLogTreeView::*_t)(const QModelIndex & , const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleLogTreeView::currentColumnChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ScheduleLogTreeView::*_t)(const QModelIndexList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleLogTreeView::selectionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (ScheduleLogTreeView::*_t)(const QModelIndex & , const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleLogTreeView::contextMenuRequested)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KPlato::ScheduleLogTreeView::staticMetaObject = {
    { &QTreeView::staticMetaObject, qt_meta_stringdata_KPlato__ScheduleLogTreeView.data,
      qt_meta_data_KPlato__ScheduleLogTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::ScheduleLogTreeView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTreeView::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

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

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

// SIGNAL 2
void KPlato::ScheduleLogTreeView::selectionChanged(const QModelIndexList & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KPlato::ScheduleLogTreeView::contextMenuRequested(const QModelIndex & _t1, const QPoint & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
struct qt_meta_stringdata_KPlato__ScheduleLogView_t {
    QByteArrayData data[25];
    char stringdata0[335];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ScheduleLogView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ScheduleLogView_t qt_meta_stringdata_KPlato__ScheduleLogView = {
    {
QT_MOC_LITERAL(0, 0, 23), // "KPlato::ScheduleLogView"
QT_MOC_LITERAL(1, 24, 8), // "editNode"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 5), // "Node*"
QT_MOC_LITERAL(4, 40, 4), // "node"
QT_MOC_LITERAL(5, 45, 12), // "editResource"
QT_MOC_LITERAL(6, 58, 9), // "Resource*"
QT_MOC_LITERAL(7, 68, 8), // "resource"
QT_MOC_LITERAL(8, 77, 12), // "setGuiActive"
QT_MOC_LITERAL(9, 90, 8), // "activate"
QT_MOC_LITERAL(10, 99, 12), // "slotEditCopy"
QT_MOC_LITERAL(11, 112, 8), // "slotEdit"
QT_MOC_LITERAL(12, 121, 11), // "slotOptions"
QT_MOC_LITERAL(13, 133, 24), // "slotContextMenuRequested"
QT_MOC_LITERAL(14, 158, 5), // "index"
QT_MOC_LITERAL(15, 164, 3), // "pos"
QT_MOC_LITERAL(16, 168, 28), // "slotScheduleSelectionChanged"
QT_MOC_LITERAL(17, 197, 16), // "ScheduleManager*"
QT_MOC_LITERAL(18, 214, 2), // "sm"
QT_MOC_LITERAL(19, 217, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(20, 238, 15), // "QModelIndexList"
QT_MOC_LITERAL(21, 254, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(22, 273, 20), // "updateActionsEnabled"
QT_MOC_LITERAL(23, 294, 17), // "slotEnableActions"
QT_MOC_LITERAL(24, 312, 22) // "const ScheduleManager*"

    },
    "KPlato::ScheduleLogView\0editNode\0\0"
    "Node*\0node\0editResource\0Resource*\0"
    "resource\0setGuiActive\0activate\0"
    "slotEditCopy\0slotEdit\0slotOptions\0"
    "slotContextMenuRequested\0index\0pos\0"
    "slotScheduleSelectionChanged\0"
    "ScheduleManager*\0sm\0slotSelectionChanged\0"
    "QModelIndexList\0slotCurrentChanged\0"
    "updateActionsEnabled\0slotEnableActions\0"
    "const ScheduleManager*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ScheduleLogView[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       8,    1,   80,    2, 0x0a /* Public */,
      10,    0,   83,    2, 0x0a /* Public */,
      11,    0,   84,    2, 0x0a /* Public */,
      12,    0,   85,    2, 0x09 /* Protected */,
      13,    2,   86,    2, 0x08 /* Private */,
      16,    1,   91,    2, 0x08 /* Private */,
      19,    1,   94,    2, 0x08 /* Private */,
      21,    1,   97,    2, 0x08 /* Private */,
      22,    1,  100,    2, 0x08 /* Private */,
      23,    1,  103,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,   14,   15,
    QMetaType::Void, 0x80000000 | 17,   18,
    QMetaType::Void, 0x80000000 | 20,    2,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::QModelIndex,   14,
    QMetaType::Void, 0x80000000 | 24,   18,

       0        // eod
};

void KPlato::ScheduleLogView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ScheduleLogView *_t = static_cast<ScheduleLogView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->editNode((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 1: _t->editResource((*reinterpret_cast< Resource*(*)>(_a[1]))); break;
        case 2: _t->setGuiActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->slotEditCopy(); break;
        case 4: _t->slotEdit(); break;
        case 5: _t->slotOptions(); break;
        case 6: _t->slotContextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 7: _t->slotScheduleSelectionChanged((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 8: _t->slotSelectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 9: _t->slotCurrentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 10: _t->updateActionsEnabled((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 11: _t->slotEnableActions((*reinterpret_cast< const ScheduleManager*(*)>(_a[1]))); 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< Resource* >(); break;
            }
            break;
        case 7:
            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 8:
            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 (ScheduleLogView::*_t)(Node * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleLogView::editNode)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ScheduleLogView::*_t)(Resource * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleLogView::editResource)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KPlato::ScheduleLogView::staticMetaObject = {
    { &ViewBase::staticMetaObject, qt_meta_stringdata_KPlato__ScheduleLogView.data,
      qt_meta_data_KPlato__ScheduleLogView,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

// SIGNAL 1
void KPlato::ScheduleLogView::editResource(Resource * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
struct qt_meta_stringdata_KPlato__ScheduleHandlerView_t {
    QByteArrayData data[18];
    char stringdata0[206];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ScheduleHandlerView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ScheduleHandlerView_t qt_meta_stringdata_KPlato__ScheduleHandlerView = {
    {
QT_MOC_LITERAL(0, 0, 27), // "KPlato::ScheduleHandlerView"
QT_MOC_LITERAL(1, 28, 29), // "currentScheduleManagerChanged"
QT_MOC_LITERAL(2, 58, 0), // ""
QT_MOC_LITERAL(3, 59, 16), // "ScheduleManager*"
QT_MOC_LITERAL(4, 76, 8), // "editNode"
QT_MOC_LITERAL(5, 85, 5), // "Node*"
QT_MOC_LITERAL(6, 91, 4), // "node"
QT_MOC_LITERAL(7, 96, 12), // "editResource"
QT_MOC_LITERAL(8, 109, 9), // "Resource*"
QT_MOC_LITERAL(9, 119, 8), // "resource"
QT_MOC_LITERAL(10, 128, 12), // "setGuiActive"
QT_MOC_LITERAL(11, 141, 8), // "activate"
QT_MOC_LITERAL(12, 150, 16), // "slotGuiActivated"
QT_MOC_LITERAL(13, 167, 9), // "ViewBase*"
QT_MOC_LITERAL(14, 177, 1), // "v"
QT_MOC_LITERAL(15, 179, 6), // "active"
QT_MOC_LITERAL(16, 186, 17), // "currentTabChanged"
QT_MOC_LITERAL(17, 204, 1) // "i"

    },
    "KPlato::ScheduleHandlerView\0"
    "currentScheduleManagerChanged\0\0"
    "ScheduleManager*\0editNode\0Node*\0node\0"
    "editResource\0Resource*\0resource\0"
    "setGuiActive\0activate\0slotGuiActivated\0"
    "ViewBase*\0v\0active\0currentTabChanged\0"
    "i"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ScheduleHandlerView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x06 /* Public */,
       4,    1,   47,    2, 0x06 /* Public */,
       7,    1,   50,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,   53,    2, 0x0a /* Public */,
      12,    2,   56,    2, 0x09 /* Protected */,
      16,    1,   61,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,   11,
    QMetaType::Void, 0x80000000 | 13, QMetaType::Bool,   14,   15,
    QMetaType::Void, QMetaType::Int,   17,

       0        // eod
};

void KPlato::ScheduleHandlerView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ScheduleHandlerView *_t = static_cast<ScheduleHandlerView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->currentScheduleManagerChanged((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 1: _t->editNode((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 2: _t->editResource((*reinterpret_cast< Resource*(*)>(_a[1]))); break;
        case 3: _t->setGuiActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->slotGuiActivated((*reinterpret_cast< ViewBase*(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 5: _t->currentTabChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ScheduleManager* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Resource* >(); 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< ViewBase* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ScheduleHandlerView::*_t)(ScheduleManager * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleHandlerView::currentScheduleManagerChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ScheduleHandlerView::*_t)(Node * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleHandlerView::editNode)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ScheduleHandlerView::*_t)(Resource * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ScheduleHandlerView::editResource)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KPlato::ScheduleHandlerView::staticMetaObject = {
    { &SplitterView::staticMetaObject, qt_meta_stringdata_KPlato__ScheduleHandlerView.data,
      qt_meta_data_KPlato__ScheduleHandlerView,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

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

// SIGNAL 2
void KPlato::ScheduleHandlerView::editResource(Resource * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
struct qt_meta_stringdata_KPlato__SchedulingRange_t {
    QByteArrayData data[9];
    char stringdata0[110];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__SchedulingRange_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__SchedulingRange_t qt_meta_stringdata_KPlato__SchedulingRange = {
    {
QT_MOC_LITERAL(0, 0, 23), // "KPlato::SchedulingRange"
QT_MOC_LITERAL(1, 24, 10), // "setProject"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 8), // "Project*"
QT_MOC_LITERAL(4, 45, 7), // "project"
QT_MOC_LITERAL(5, 53, 18), // "slotProjectChanged"
QT_MOC_LITERAL(6, 72, 5), // "Node*"
QT_MOC_LITERAL(7, 78, 16), // "slotStartChanged"
QT_MOC_LITERAL(8, 95, 14) // "slotEndChanged"

    },
    "KPlato::SchedulingRange\0setProject\0\0"
    "Project*\0project\0slotProjectChanged\0"
    "Node*\0slotStartChanged\0slotEndChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__SchedulingRange[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   34,    2, 0x0a /* Public */,
       5,    1,   37,    2, 0x0a /* Public */,
       7,    0,   40,    2, 0x0a /* Public */,
       8,    0,   41,    2, 0x0a /* Public */,

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

       0        // eod
};

void KPlato::SchedulingRange::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SchedulingRange *_t = static_cast<SchedulingRange *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setProject((*reinterpret_cast< Project*(*)>(_a[1]))); break;
        case 1: _t->slotProjectChanged((*reinterpret_cast< Node*(*)>(_a[1]))); break;
        case 2: _t->slotStartChanged(); break;
        case 3: _t->slotEndChanged(); break;
        default: ;
        }
    }
}

const QMetaObject KPlato::SchedulingRange::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KPlato__SchedulingRange.data,
      qt_meta_data_KPlato__SchedulingRange,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlato::SchedulingRange::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlato__SchedulingRange.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui::SchedulingRange"))
        return static_cast< Ui::SchedulingRange*>(this);
    return QWidget::qt_metacast(_clname);
}

int KPlato::SchedulingRange::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::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;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
