/****************************************************************************
** Meta object code from reading C++ file 'taskworkpackageview.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.4)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../../src/calligraplan-3.1.0/src/workpackage/taskworkpackageview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'taskworkpackageview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_KPlatoWork__TaskWorkPackageTreeView_t {
    QByteArrayData data[9];
    char stringdata0[108];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlatoWork__TaskWorkPackageTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlatoWork__TaskWorkPackageTreeView_t qt_meta_stringdata_KPlatoWork__TaskWorkPackageTreeView = {
    {
QT_MOC_LITERAL(0, 0, 35), // "KPlatoWork::TaskWorkPackageTr..."
QT_MOC_LITERAL(1, 36, 13), // "sectionsMoved"
QT_MOC_LITERAL(2, 50, 0), // ""
QT_MOC_LITERAL(3, 51, 13), // "slotActivated"
QT_MOC_LITERAL(4, 65, 5), // "index"
QT_MOC_LITERAL(5, 71, 12), // "setSortOrder"
QT_MOC_LITERAL(6, 84, 3), // "col"
QT_MOC_LITERAL(7, 88, 13), // "Qt::SortOrder"
QT_MOC_LITERAL(8, 102, 5) // "order"

    },
    "KPlatoWork::TaskWorkPackageTreeView\0"
    "sectionsMoved\0\0slotActivated\0index\0"
    "setSortOrder\0col\0Qt::SortOrder\0order"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlatoWork__TaskWorkPackageTreeView[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    1,   30,    2, 0x09 /* Protected */,
       5,    2,   33,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void,

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

       0        // eod
};

void KPlatoWork::TaskWorkPackageTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskWorkPackageTreeView *_t = static_cast<TaskWorkPackageTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sectionsMoved(); break;
        case 1: _t->slotActivated((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 2: _t->setSortOrder((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Qt::SortOrder(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TaskWorkPackageTreeView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TaskWorkPackageTreeView::sectionsMoved)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject KPlatoWork::TaskWorkPackageTreeView::staticMetaObject = {
    { &DoubleTreeViewBase::staticMetaObject, qt_meta_stringdata_KPlatoWork__TaskWorkPackageTreeView.data,
      qt_meta_data_KPlatoWork__TaskWorkPackageTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlatoWork::TaskWorkPackageTreeView::sectionsMoved()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_KPlatoWork__AbstractView_t {
    QByteArrayData data[14];
    char stringdata0[170];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlatoWork__AbstractView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlatoWork__AbstractView_t qt_meta_stringdata_KPlatoWork__AbstractView = {
    {
QT_MOC_LITERAL(0, 0, 24), // "KPlatoWork::AbstractView"
QT_MOC_LITERAL(1, 25, 16), // "requestPopupMenu"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 4), // "name"
QT_MOC_LITERAL(4, 48, 3), // "pos"
QT_MOC_LITERAL(5, 52, 16), // "selectionChanged"
QT_MOC_LITERAL(6, 69, 30), // "slotHeaderContextMenuRequested"
QT_MOC_LITERAL(7, 100, 24), // "slotContextMenuRequested"
QT_MOC_LITERAL(8, 125, 5), // "index"
QT_MOC_LITERAL(9, 131, 5), // "Node*"
QT_MOC_LITERAL(10, 137, 4), // "node"
QT_MOC_LITERAL(11, 142, 9), // "Document*"
QT_MOC_LITERAL(12, 152, 3), // "doc"
QT_MOC_LITERAL(13, 156, 13) // "sectionsMoved"

    },
    "KPlatoWork::AbstractView\0requestPopupMenu\0"
    "\0name\0pos\0selectionChanged\0"
    "slotHeaderContextMenuRequested\0"
    "slotContextMenuRequested\0index\0Node*\0"
    "node\0Document*\0doc\0sectionsMoved"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlatoWork__AbstractView[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       6,    1,   55,    2, 0x09 /* Protected */,
       7,    2,   58,    2, 0x09 /* Protected */,
       7,    2,   63,    2, 0x09 /* Protected */,
       7,    2,   68,    2, 0x09 /* Protected */,
      13,    0,   73,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QPoint,    3,    4,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QPoint,    4,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,    8,    4,
    QMetaType::Void, 0x80000000 | 9, QMetaType::QPoint,   10,    4,
    QMetaType::Void, 0x80000000 | 11, QMetaType::QPoint,   12,    4,
    QMetaType::Void,

       0        // eod
};

void KPlatoWork::AbstractView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AbstractView *_t = static_cast<AbstractView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->requestPopupMenu((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 1: _t->selectionChanged(); break;
        case 2: _t->slotHeaderContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 3: _t->slotContextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 4: _t->slotContextMenuRequested((*reinterpret_cast< Node*(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 5: _t->slotContextMenuRequested((*reinterpret_cast< Document*(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 6: _t->sectionsMoved(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (AbstractView::*_t)(const QString & , const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AbstractView::requestPopupMenu)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AbstractView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AbstractView::selectionChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KPlatoWork::AbstractView::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KPlatoWork__AbstractView.data,
      qt_meta_data_KPlatoWork__AbstractView,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlatoWork::AbstractView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlatoWork__AbstractView.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "ViewActionLists"))
        return static_cast< ViewActionLists*>(this);
    return QWidget::qt_metacast(_clname);
}

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

// SIGNAL 0
void KPlatoWork::AbstractView::requestPopupMenu(const QString & _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, 0, _a);
}

// SIGNAL 1
void KPlatoWork::AbstractView::selectionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
struct qt_meta_stringdata_KPlatoWork__TaskWorkPackageView_t {
    QByteArrayData data[10];
    char stringdata0[135];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlatoWork__TaskWorkPackageView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlatoWork__TaskWorkPackageView_t qt_meta_stringdata_KPlatoWork__TaskWorkPackageView = {
    {
QT_MOC_LITERAL(0, 0, 31), // "KPlatoWork::TaskWorkPackageView"
QT_MOC_LITERAL(1, 32, 11), // "slotOptions"
QT_MOC_LITERAL(2, 44, 0), // ""
QT_MOC_LITERAL(3, 45, 13), // "slotSplitView"
QT_MOC_LITERAL(4, 59, 24), // "slotContextMenuRequested"
QT_MOC_LITERAL(5, 84, 5), // "index"
QT_MOC_LITERAL(6, 90, 3), // "pos"
QT_MOC_LITERAL(7, 94, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(8, 115, 15), // "QModelIndexList"
QT_MOC_LITERAL(9, 131, 3) // "lst"

    },
    "KPlatoWork::TaskWorkPackageView\0"
    "slotOptions\0\0slotSplitView\0"
    "slotContextMenuRequested\0index\0pos\0"
    "slotSelectionChanged\0QModelIndexList\0"
    "lst"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlatoWork__TaskWorkPackageView[] = {

 // 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,    0,   34,    2, 0x09 /* Protected */,
       3,    0,   35,    2, 0x09 /* Protected */,
       4,    2,   36,    2, 0x09 /* Protected */,
       7,    1,   41,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,    5,    6,
    QMetaType::Void, 0x80000000 | 8,    9,

       0        // eod
};

void KPlatoWork::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->slotOptions(); break;
        case 1: _t->slotSplitView(); break;
        case 2: _t->slotContextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 3: _t->slotSelectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QModelIndexList >(); break;
            }
            break;
        }
    }
}

const QMetaObject KPlatoWork::TaskWorkPackageView::staticMetaObject = {
    { &AbstractView::staticMetaObject, qt_meta_stringdata_KPlatoWork__TaskWorkPackageView.data,
      qt_meta_data_KPlatoWork__TaskWorkPackageView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlatoWork::TaskWorkPackageView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractView::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}
struct qt_meta_stringdata_KPlatoWork__GanttItemDelegate_t {
    QByteArrayData data[1];
    char stringdata0[30];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlatoWork__GanttItemDelegate_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlatoWork__GanttItemDelegate_t qt_meta_stringdata_KPlatoWork__GanttItemDelegate = {
    {
QT_MOC_LITERAL(0, 0, 29) // "KPlatoWork::GanttItemDelegate"

    },
    "KPlatoWork::GanttItemDelegate"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlatoWork__GanttItemDelegate[] = {

 // 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 KPlatoWork::GanttItemDelegate::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 KPlatoWork::GanttItemDelegate::staticMetaObject = {
    { &KPlato::GanttItemDelegate::staticMetaObject, qt_meta_stringdata_KPlatoWork__GanttItemDelegate.data,
      qt_meta_data_KPlatoWork__GanttItemDelegate,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlatoWork::GanttItemDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KPlato::GanttItemDelegate::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_KPlatoWork__GanttView_t {
    QByteArrayData data[19];
    char stringdata0[261];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlatoWork__GanttView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlatoWork__GanttView_t qt_meta_stringdata_KPlatoWork__GanttView = {
    {
QT_MOC_LITERAL(0, 0, 21), // "KPlatoWork::GanttView"
QT_MOC_LITERAL(1, 22, 26), // "headerContextMenuRequested"
QT_MOC_LITERAL(2, 49, 0), // ""
QT_MOC_LITERAL(3, 50, 20), // "contextMenuRequested"
QT_MOC_LITERAL(4, 71, 16), // "selectionChanged"
QT_MOC_LITERAL(5, 88, 15), // "QModelIndexList"
QT_MOC_LITERAL(6, 104, 13), // "sectionsMoved"
QT_MOC_LITERAL(7, 118, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(8, 139, 14), // "QItemSelection"
QT_MOC_LITERAL(9, 154, 8), // "selected"
QT_MOC_LITERAL(10, 163, 12), // "deselelected"
QT_MOC_LITERAL(11, 176, 16), // "slotRowsInserted"
QT_MOC_LITERAL(12, 193, 6), // "parent"
QT_MOC_LITERAL(13, 200, 5), // "start"
QT_MOC_LITERAL(14, 206, 3), // "end"
QT_MOC_LITERAL(15, 210, 15), // "slotRowsRemoved"
QT_MOC_LITERAL(16, 226, 18), // "updateDateTimeGrid"
QT_MOC_LITERAL(17, 245, 12), // "WorkPackage*"
QT_MOC_LITERAL(18, 258, 2) // "wp"

    },
    "KPlatoWork::GanttView\0headerContextMenuRequested\0"
    "\0contextMenuRequested\0selectionChanged\0"
    "QModelIndexList\0sectionsMoved\0"
    "slotSelectionChanged\0QItemSelection\0"
    "selected\0deselelected\0slotRowsInserted\0"
    "parent\0start\0end\0slotRowsRemoved\0"
    "updateDateTimeGrid\0WorkPackage*\0wp"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlatoWork__GanttView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   54,    2, 0x06 /* Public */,
       3,    2,   57,    2, 0x06 /* Public */,
       4,    1,   62,    2, 0x06 /* Public */,
       6,    0,   65,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    2,   66,    2, 0x09 /* Protected */,
      11,    3,   71,    2, 0x09 /* Protected */,
      15,    3,   78,    2, 0x09 /* Protected */,
      16,    1,   85,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 8,    9,   10,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   12,   13,   14,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   12,   13,   14,
    QMetaType::Void, 0x80000000 | 17,   18,

       0        // eod
};

void KPlatoWork::GanttView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        GanttView *_t = static_cast<GanttView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->headerContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 1: _t->contextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 2: _t->selectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 3: _t->sectionsMoved(); break;
        case 4: _t->slotSelectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 5: _t->slotRowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 6: _t->slotRowsRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 7: _t->updateDateTimeGrid((*reinterpret_cast< WorkPackage*(*)>(_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 4:
            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 (GanttView::*_t)(const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GanttView::headerContextMenuRequested)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (GanttView::*_t)(const QModelIndex & , const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GanttView::contextMenuRequested)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (GanttView::*_t)(const QModelIndexList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GanttView::selectionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (GanttView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GanttView::sectionsMoved)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KPlatoWork::GanttView::staticMetaObject = {
    { &KPlato::GanttViewBase::staticMetaObject, qt_meta_stringdata_KPlatoWork__GanttView.data,
      qt_meta_data_KPlatoWork__GanttView,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPlatoWork::GanttView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPlatoWork__GanttView.stringdata0))
        return static_cast<void*>(this);
    return KPlato::GanttViewBase::qt_metacast(_clname);
}

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

// SIGNAL 0
void KPlatoWork::GanttView::headerContextMenuRequested(const QPoint & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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

// SIGNAL 3
void KPlatoWork::GanttView::sectionsMoved()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
struct qt_meta_stringdata_KPlatoWork__TaskWPGanttView_t {
    QByteArrayData data[9];
    char stringdata0[117];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlatoWork__TaskWPGanttView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlatoWork__TaskWPGanttView_t qt_meta_stringdata_KPlatoWork__TaskWPGanttView = {
    {
QT_MOC_LITERAL(0, 0, 27), // "KPlatoWork::TaskWPGanttView"
QT_MOC_LITERAL(1, 28, 24), // "slotContextMenuRequested"
QT_MOC_LITERAL(2, 53, 0), // ""
QT_MOC_LITERAL(3, 54, 5), // "index"
QT_MOC_LITERAL(4, 60, 3), // "pos"
QT_MOC_LITERAL(5, 64, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(6, 85, 15), // "QModelIndexList"
QT_MOC_LITERAL(7, 101, 3), // "lst"
QT_MOC_LITERAL(8, 105, 11) // "slotOptions"

    },
    "KPlatoWork::TaskWPGanttView\0"
    "slotContextMenuRequested\0\0index\0pos\0"
    "slotSelectionChanged\0QModelIndexList\0"
    "lst\0slotOptions"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlatoWork__TaskWPGanttView[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   29,    2, 0x09 /* Protected */,
       5,    1,   34,    2, 0x09 /* Protected */,
       8,    0,   37,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,    3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,

       0        // eod
};

void KPlatoWork::TaskWPGanttView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TaskWPGanttView *_t = static_cast<TaskWPGanttView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotContextMenuRequested((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 1: _t->slotSelectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 2: _t->slotOptions(); 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< QModelIndexList >(); break;
            }
            break;
        }
    }
}

const QMetaObject KPlatoWork::TaskWPGanttView::staticMetaObject = {
    { &AbstractView::staticMetaObject, qt_meta_stringdata_KPlatoWork__TaskWPGanttView.data,
      qt_meta_data_KPlatoWork__TaskWPGanttView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlatoWork::TaskWPGanttView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
