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

#include "../../../../src/calligraplan-3.1.0/src/libs/models/kptresourceappointmentsmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptresourceappointmentsmodel.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__ResourceAppointmentsItemModel_t {
    QByteArrayData data[36];
    char stringdata0[632];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ResourceAppointmentsItemModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ResourceAppointmentsItemModel_t qt_meta_stringdata_KPlato__ResourceAppointmentsItemModel = {
    {
QT_MOC_LITERAL(0, 0, 37), // "KPlato::ResourceAppointmentsI..."
QT_MOC_LITERAL(1, 38, 9), // "refreshed"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 19), // "appointmentInserted"
QT_MOC_LITERAL(4, 69, 9), // "Resource*"
QT_MOC_LITERAL(5, 79, 12), // "Appointment*"
QT_MOC_LITERAL(6, 92, 18), // "setScheduleManager"
QT_MOC_LITERAL(7, 111, 16), // "ScheduleManager*"
QT_MOC_LITERAL(8, 128, 2), // "sm"
QT_MOC_LITERAL(9, 131, 19), // "slotResourceChanged"
QT_MOC_LITERAL(10, 151, 24), // "slotResourceGroupChanged"
QT_MOC_LITERAL(11, 176, 14), // "ResourceGroup*"
QT_MOC_LITERAL(12, 191, 29), // "slotResourceGroupToBeInserted"
QT_MOC_LITERAL(13, 221, 20), // "const ResourceGroup*"
QT_MOC_LITERAL(14, 242, 5), // "group"
QT_MOC_LITERAL(15, 248, 3), // "row"
QT_MOC_LITERAL(16, 252, 25), // "slotResourceGroupInserted"
QT_MOC_LITERAL(17, 278, 28), // "slotResourceGroupToBeRemoved"
QT_MOC_LITERAL(18, 307, 24), // "slotResourceGroupRemoved"
QT_MOC_LITERAL(19, 332, 24), // "slotResourceToBeInserted"
QT_MOC_LITERAL(20, 357, 20), // "slotResourceInserted"
QT_MOC_LITERAL(21, 378, 15), // "const Resource*"
QT_MOC_LITERAL(22, 394, 8), // "resource"
QT_MOC_LITERAL(23, 403, 23), // "slotResourceToBeRemoved"
QT_MOC_LITERAL(24, 427, 19), // "slotResourceRemoved"
QT_MOC_LITERAL(25, 447, 19), // "slotCalendarChanged"
QT_MOC_LITERAL(26, 467, 9), // "Calendar*"
QT_MOC_LITERAL(27, 477, 3), // "cal"
QT_MOC_LITERAL(28, 481, 21), // "slotProjectCalculated"
QT_MOC_LITERAL(29, 503, 27), // "slotAppointmentToBeInserted"
QT_MOC_LITERAL(30, 531, 1), // "r"
QT_MOC_LITERAL(31, 533, 23), // "slotAppointmentInserted"
QT_MOC_LITERAL(32, 557, 26), // "slotAppointmentToBeRemoved"
QT_MOC_LITERAL(33, 584, 22), // "slotAppointmentRemoved"
QT_MOC_LITERAL(34, 607, 22), // "slotAppointmentChanged"
QT_MOC_LITERAL(35, 630, 1) // "a"

    },
    "KPlato::ResourceAppointmentsItemModel\0"
    "refreshed\0\0appointmentInserted\0Resource*\0"
    "Appointment*\0setScheduleManager\0"
    "ScheduleManager*\0sm\0slotResourceChanged\0"
    "slotResourceGroupChanged\0ResourceGroup*\0"
    "slotResourceGroupToBeInserted\0"
    "const ResourceGroup*\0group\0row\0"
    "slotResourceGroupInserted\0"
    "slotResourceGroupToBeRemoved\0"
    "slotResourceGroupRemoved\0"
    "slotResourceToBeInserted\0slotResourceInserted\0"
    "const Resource*\0resource\0"
    "slotResourceToBeRemoved\0slotResourceRemoved\0"
    "slotCalendarChanged\0Calendar*\0cal\0"
    "slotProjectCalculated\0slotAppointmentToBeInserted\0"
    "r\0slotAppointmentInserted\0"
    "slotAppointmentToBeRemoved\0"
    "slotAppointmentRemoved\0slotAppointmentChanged\0"
    "a"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ResourceAppointmentsItemModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  114,    2, 0x06 /* Public */,
       3,    2,  115,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,  120,    2, 0x0a /* Public */,
       9,    1,  123,    2, 0x09 /* Protected */,
      10,    1,  126,    2, 0x09 /* Protected */,
      12,    2,  129,    2, 0x09 /* Protected */,
      16,    1,  134,    2, 0x09 /* Protected */,
      17,    1,  137,    2, 0x09 /* Protected */,
      18,    1,  140,    2, 0x09 /* Protected */,
      19,    2,  143,    2, 0x09 /* Protected */,
      20,    1,  148,    2, 0x09 /* Protected */,
      23,    1,  151,    2, 0x09 /* Protected */,
      24,    1,  154,    2, 0x09 /* Protected */,
      25,    1,  157,    2, 0x09 /* Protected */,
      28,    1,  160,    2, 0x09 /* Protected */,
      29,    2,  163,    2, 0x09 /* Protected */,
      31,    2,  168,    2, 0x09 /* Protected */,
      32,    2,  173,    2, 0x09 /* Protected */,
      33,    0,  178,    2, 0x09 /* Protected */,
      34,    2,  179,    2, 0x09 /* Protected */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, 0x80000000 | 11,    2,
    QMetaType::Void, 0x80000000 | 13, QMetaType::Int,   14,   15,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 13, QMetaType::Int,   14,   15,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void, 0x80000000 | 21,   22,
    QMetaType::Void, 0x80000000 | 26,   27,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 4, QMetaType::Int,   30,   15,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 5,    2,    2,
    QMetaType::Void, 0x80000000 | 4, QMetaType::Int,   30,   15,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 5,   30,   35,

       0        // eod
};

void KPlato::ResourceAppointmentsItemModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ResourceAppointmentsItemModel *_t = static_cast<ResourceAppointmentsItemModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->refreshed(); break;
        case 1: _t->appointmentInserted((*reinterpret_cast< Resource*(*)>(_a[1])),(*reinterpret_cast< Appointment*(*)>(_a[2]))); break;
        case 2: _t->setScheduleManager((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 3: _t->slotResourceChanged((*reinterpret_cast< Resource*(*)>(_a[1]))); break;
        case 4: _t->slotResourceGroupChanged((*reinterpret_cast< ResourceGroup*(*)>(_a[1]))); break;
        case 5: _t->slotResourceGroupToBeInserted((*reinterpret_cast< const ResourceGroup*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->slotResourceGroupInserted((*reinterpret_cast< const ResourceGroup*(*)>(_a[1]))); break;
        case 7: _t->slotResourceGroupToBeRemoved((*reinterpret_cast< const ResourceGroup*(*)>(_a[1]))); break;
        case 8: _t->slotResourceGroupRemoved((*reinterpret_cast< const ResourceGroup*(*)>(_a[1]))); break;
        case 9: _t->slotResourceToBeInserted((*reinterpret_cast< const ResourceGroup*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 10: _t->slotResourceInserted((*reinterpret_cast< const Resource*(*)>(_a[1]))); break;
        case 11: _t->slotResourceToBeRemoved((*reinterpret_cast< const Resource*(*)>(_a[1]))); break;
        case 12: _t->slotResourceRemoved((*reinterpret_cast< const Resource*(*)>(_a[1]))); break;
        case 13: _t->slotCalendarChanged((*reinterpret_cast< Calendar*(*)>(_a[1]))); break;
        case 14: _t->slotProjectCalculated((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 15: _t->slotAppointmentToBeInserted((*reinterpret_cast< Resource*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 16: _t->slotAppointmentInserted((*reinterpret_cast< Resource*(*)>(_a[1])),(*reinterpret_cast< Appointment*(*)>(_a[2]))); break;
        case 17: _t->slotAppointmentToBeRemoved((*reinterpret_cast< Resource*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 18: _t->slotAppointmentRemoved(); break;
        case 19: _t->slotAppointmentChanged((*reinterpret_cast< Resource*(*)>(_a[1])),(*reinterpret_cast< Appointment*(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ResourceAppointmentsItemModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceAppointmentsItemModel::refreshed)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ResourceAppointmentsItemModel::*_t)(Resource * , Appointment * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceAppointmentsItemModel::appointmentInserted)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KPlato::ResourceAppointmentsItemModel::staticMetaObject = {
    { &ItemModelBase::staticMetaObject, qt_meta_stringdata_KPlato__ResourceAppointmentsItemModel.data,
      qt_meta_data_KPlato__ResourceAppointmentsItemModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlato::ResourceAppointmentsItemModel::refreshed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KPlato::ResourceAppointmentsItemModel::appointmentInserted(Resource * _t1, Appointment * _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);
}
struct qt_meta_stringdata_KPlato__ResourceAppointmentsRowModel_t {
    QByteArrayData data[34];
    char stringdata0[551];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ResourceAppointmentsRowModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ResourceAppointmentsRowModel_t qt_meta_stringdata_KPlato__ResourceAppointmentsRowModel = {
    {
QT_MOC_LITERAL(0, 0, 36), // "KPlato::ResourceAppointmentsR..."
QT_MOC_LITERAL(1, 37, 18), // "setScheduleManager"
QT_MOC_LITERAL(2, 56, 0), // ""
QT_MOC_LITERAL(3, 57, 16), // "ScheduleManager*"
QT_MOC_LITERAL(4, 74, 2), // "sm"
QT_MOC_LITERAL(5, 77, 24), // "slotResourceToBeInserted"
QT_MOC_LITERAL(6, 102, 20), // "const ResourceGroup*"
QT_MOC_LITERAL(7, 123, 5), // "group"
QT_MOC_LITERAL(8, 129, 3), // "row"
QT_MOC_LITERAL(9, 133, 20), // "slotResourceInserted"
QT_MOC_LITERAL(10, 154, 15), // "const Resource*"
QT_MOC_LITERAL(11, 170, 1), // "r"
QT_MOC_LITERAL(12, 172, 23), // "slotResourceToBeRemoved"
QT_MOC_LITERAL(13, 196, 19), // "slotResourceRemoved"
QT_MOC_LITERAL(14, 216, 8), // "resource"
QT_MOC_LITERAL(15, 225, 29), // "slotResourceGroupToBeInserted"
QT_MOC_LITERAL(16, 255, 25), // "slotResourceGroupInserted"
QT_MOC_LITERAL(17, 281, 28), // "slotResourceGroupToBeRemoved"
QT_MOC_LITERAL(18, 310, 24), // "slotResourceGroupRemoved"
QT_MOC_LITERAL(19, 335, 27), // "slotAppointmentToBeInserted"
QT_MOC_LITERAL(20, 363, 9), // "Resource*"
QT_MOC_LITERAL(21, 373, 23), // "slotAppointmentInserted"
QT_MOC_LITERAL(22, 397, 12), // "Appointment*"
QT_MOC_LITERAL(23, 410, 1), // "a"
QT_MOC_LITERAL(24, 412, 26), // "slotAppointmentToBeRemoved"
QT_MOC_LITERAL(25, 439, 22), // "slotAppointmentRemoved"
QT_MOC_LITERAL(26, 462, 22), // "slotAppointmentChanged"
QT_MOC_LITERAL(27, 485, 21), // "slotProjectCalculated"
QT_MOC_LITERAL(28, 507, 10), // "Properties"
QT_MOC_LITERAL(29, 518, 4), // "Name"
QT_MOC_LITERAL(30, 523, 4), // "Type"
QT_MOC_LITERAL(31, 528, 9), // "StartTime"
QT_MOC_LITERAL(32, 538, 7), // "EndTime"
QT_MOC_LITERAL(33, 546, 4) // "Load"

    },
    "KPlato::ResourceAppointmentsRowModel\0"
    "setScheduleManager\0\0ScheduleManager*\0"
    "sm\0slotResourceToBeInserted\0"
    "const ResourceGroup*\0group\0row\0"
    "slotResourceInserted\0const Resource*\0"
    "r\0slotResourceToBeRemoved\0slotResourceRemoved\0"
    "resource\0slotResourceGroupToBeInserted\0"
    "slotResourceGroupInserted\0"
    "slotResourceGroupToBeRemoved\0"
    "slotResourceGroupRemoved\0"
    "slotAppointmentToBeInserted\0Resource*\0"
    "slotAppointmentInserted\0Appointment*\0"
    "a\0slotAppointmentToBeRemoved\0"
    "slotAppointmentRemoved\0slotAppointmentChanged\0"
    "slotProjectCalculated\0Properties\0Name\0"
    "Type\0StartTime\0EndTime\0Load"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ResourceAppointmentsRowModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x0a /* Public */,
       5,    2,   92,    2, 0x09 /* Protected */,
       9,    1,   97,    2, 0x09 /* Protected */,
      12,    1,  100,    2, 0x09 /* Protected */,
      13,    1,  103,    2, 0x09 /* Protected */,
      15,    2,  106,    2, 0x09 /* Protected */,
      16,    1,  111,    2, 0x09 /* Protected */,
      17,    1,  114,    2, 0x09 /* Protected */,
      18,    1,  117,    2, 0x09 /* Protected */,
      19,    2,  120,    2, 0x09 /* Protected */,
      21,    2,  125,    2, 0x09 /* Protected */,
      24,    2,  130,    2, 0x09 /* Protected */,
      25,    0,  135,    2, 0x09 /* Protected */,
      26,    2,  136,    2, 0x09 /* Protected */,
      27,    1,  141,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6, QMetaType::Int,    7,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, 0x80000000 | 10,   14,
    QMetaType::Void, 0x80000000 | 6, QMetaType::Int,    7,    8,
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, 0x80000000 | 20, QMetaType::Int,   11,    8,
    QMetaType::Void, 0x80000000 | 20, 0x80000000 | 22,   11,   23,
    QMetaType::Void, 0x80000000 | 20, QMetaType::Int,   11,    8,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 20, 0x80000000 | 22,   11,   23,
    QMetaType::Void, 0x80000000 | 3,    4,

 // enums: name, flags, count, data
      28, 0x0,    5,  148,

 // enum data: key, value
      29, uint(KPlato::ResourceAppointmentsRowModel::Name),
      30, uint(KPlato::ResourceAppointmentsRowModel::Type),
      31, uint(KPlato::ResourceAppointmentsRowModel::StartTime),
      32, uint(KPlato::ResourceAppointmentsRowModel::EndTime),
      33, uint(KPlato::ResourceAppointmentsRowModel::Load),

       0        // eod
};

void KPlato::ResourceAppointmentsRowModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ResourceAppointmentsRowModel *_t = static_cast<ResourceAppointmentsRowModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setScheduleManager((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        case 1: _t->slotResourceToBeInserted((*reinterpret_cast< const ResourceGroup*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->slotResourceInserted((*reinterpret_cast< const Resource*(*)>(_a[1]))); break;
        case 3: _t->slotResourceToBeRemoved((*reinterpret_cast< const Resource*(*)>(_a[1]))); break;
        case 4: _t->slotResourceRemoved((*reinterpret_cast< const Resource*(*)>(_a[1]))); break;
        case 5: _t->slotResourceGroupToBeInserted((*reinterpret_cast< const ResourceGroup*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 6: _t->slotResourceGroupInserted((*reinterpret_cast< const ResourceGroup*(*)>(_a[1]))); break;
        case 7: _t->slotResourceGroupToBeRemoved((*reinterpret_cast< const ResourceGroup*(*)>(_a[1]))); break;
        case 8: _t->slotResourceGroupRemoved((*reinterpret_cast< const ResourceGroup*(*)>(_a[1]))); break;
        case 9: _t->slotAppointmentToBeInserted((*reinterpret_cast< Resource*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 10: _t->slotAppointmentInserted((*reinterpret_cast< Resource*(*)>(_a[1])),(*reinterpret_cast< Appointment*(*)>(_a[2]))); break;
        case 11: _t->slotAppointmentToBeRemoved((*reinterpret_cast< Resource*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 12: _t->slotAppointmentRemoved(); break;
        case 13: _t->slotAppointmentChanged((*reinterpret_cast< Resource*(*)>(_a[1])),(*reinterpret_cast< Appointment*(*)>(_a[2]))); break;
        case 14: _t->slotProjectCalculated((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject KPlato::ResourceAppointmentsRowModel::staticMetaObject = {
    { &ItemModelBase::staticMetaObject, qt_meta_stringdata_KPlato__ResourceAppointmentsRowModel.data,
      qt_meta_data_KPlato__ResourceAppointmentsRowModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::ResourceAppointmentsRowModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ItemModelBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 15)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 15;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 15)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 15;
    }
    return _id;
}
struct qt_meta_stringdata_KPlato__ResourceAppointmentsGanttModel_t {
    QByteArrayData data[1];
    char stringdata0[39];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ResourceAppointmentsGanttModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ResourceAppointmentsGanttModel_t qt_meta_stringdata_KPlato__ResourceAppointmentsGanttModel = {
    {
QT_MOC_LITERAL(0, 0, 38) // "KPlato::ResourceAppointmentsG..."

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

static const uint qt_meta_data_KPlato__ResourceAppointmentsGanttModel[] = {

 // 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::ResourceAppointmentsGanttModel::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::ResourceAppointmentsGanttModel::staticMetaObject = {
    { &ResourceAppointmentsRowModel::staticMetaObject, qt_meta_stringdata_KPlato__ResourceAppointmentsGanttModel.data,
      qt_meta_data_KPlato__ResourceAppointmentsGanttModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::ResourceAppointmentsGanttModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ResourceAppointmentsRowModel::qt_metacall(_c, _id, _a);
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
