/****************************************************************************
** Meta object code from reading C++ file 'kptresourceappointmentsview.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/kptresourceappointmentsview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptresourceappointmentsview.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__ResourceAppointmentsDisplayOptionsPanel_t {
    QByteArrayData data[5];
    char stringdata0[75];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ResourceAppointmentsDisplayOptionsPanel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ResourceAppointmentsDisplayOptionsPanel_t qt_meta_stringdata_KPlato__ResourceAppointmentsDisplayOptionsPanel = {
    {
QT_MOC_LITERAL(0, 0, 47), // "KPlato::ResourceAppointmentsD..."
QT_MOC_LITERAL(1, 48, 7), // "changed"
QT_MOC_LITERAL(2, 56, 0), // ""
QT_MOC_LITERAL(3, 57, 6), // "slotOk"
QT_MOC_LITERAL(4, 64, 10) // "setDefault"

    },
    "KPlato::ResourceAppointmentsDisplayOptionsPanel\0"
    "changed\0\0slotOk\0setDefault"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ResourceAppointmentsDisplayOptionsPanel[] = {

 // 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,    0,   30,    2, 0x0a /* Public */,
       4,    0,   31,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

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

const QMetaObject KPlato::ResourceAppointmentsDisplayOptionsPanel::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_KPlato__ResourceAppointmentsDisplayOptionsPanel.data,
      qt_meta_data_KPlato__ResourceAppointmentsDisplayOptionsPanel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::ResourceAppointmentsDisplayOptionsPanel::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 < 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 KPlato::ResourceAppointmentsDisplayOptionsPanel::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
struct qt_meta_stringdata_KPlato__ResourceAppointmentsSettingsDialog_t {
    QByteArrayData data[3];
    char stringdata0[51];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ResourceAppointmentsSettingsDialog_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ResourceAppointmentsSettingsDialog_t qt_meta_stringdata_KPlato__ResourceAppointmentsSettingsDialog = {
    {
QT_MOC_LITERAL(0, 0, 42), // "KPlato::ResourceAppointmentsS..."
QT_MOC_LITERAL(1, 43, 6), // "slotOk"
QT_MOC_LITERAL(2, 50, 0) // ""

    },
    "KPlato::ResourceAppointmentsSettingsDialog\0"
    "slotOk\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ResourceAppointmentsSettingsDialog[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void KPlato::ResourceAppointmentsSettingsDialog::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ResourceAppointmentsSettingsDialog *_t = static_cast<ResourceAppointmentsSettingsDialog *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotOk(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject KPlato::ResourceAppointmentsSettingsDialog::staticMetaObject = {
    { &KPageDialog::staticMetaObject, qt_meta_stringdata_KPlato__ResourceAppointmentsSettingsDialog.data,
      qt_meta_data_KPlato__ResourceAppointmentsSettingsDialog,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::ResourceAppointmentsSettingsDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KPageDialog::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
struct qt_meta_stringdata_KPlato__ResourceAppointmentsTreeView_t {
    QByteArrayData data[3];
    char stringdata0[52];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ResourceAppointmentsTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ResourceAppointmentsTreeView_t qt_meta_stringdata_KPlato__ResourceAppointmentsTreeView = {
    {
QT_MOC_LITERAL(0, 0, 36), // "KPlato::ResourceAppointmentsT..."
QT_MOC_LITERAL(1, 37, 13), // "slotRefreshed"
QT_MOC_LITERAL(2, 51, 0) // ""

    },
    "KPlato::ResourceAppointmentsTreeView\0"
    "slotRefreshed\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ResourceAppointmentsTreeView[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x09 /* Protected */,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void KPlato::ResourceAppointmentsTreeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ResourceAppointmentsTreeView *_t = static_cast<ResourceAppointmentsTreeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotRefreshed(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject KPlato::ResourceAppointmentsTreeView::staticMetaObject = {
    { &DoubleTreeViewBase::staticMetaObject, qt_meta_stringdata_KPlato__ResourceAppointmentsTreeView.data,
      qt_meta_data_KPlato__ResourceAppointmentsTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::ResourceAppointmentsTreeView::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
struct qt_meta_stringdata_KPlato__ResourceAppointmentsView_t {
    QByteArrayData data[24];
    char stringdata0[341];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__ResourceAppointmentsView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__ResourceAppointmentsView_t qt_meta_stringdata_KPlato__ResourceAppointmentsView = {
    {
QT_MOC_LITERAL(0, 0, 32), // "KPlato::ResourceAppointmentsView"
QT_MOC_LITERAL(1, 33, 16), // "requestPopupMenu"
QT_MOC_LITERAL(2, 50, 0), // ""
QT_MOC_LITERAL(3, 51, 11), // "addResource"
QT_MOC_LITERAL(4, 63, 14), // "ResourceGroup*"
QT_MOC_LITERAL(5, 78, 16), // "deleteObjectList"
QT_MOC_LITERAL(6, 95, 11), // "QObjectList"
QT_MOC_LITERAL(7, 107, 12), // "setGuiActive"
QT_MOC_LITERAL(8, 120, 8), // "activate"
QT_MOC_LITERAL(9, 129, 18), // "setScheduleManager"
QT_MOC_LITERAL(10, 148, 16), // "ScheduleManager*"
QT_MOC_LITERAL(11, 165, 2), // "sm"
QT_MOC_LITERAL(12, 168, 11), // "slotOptions"
QT_MOC_LITERAL(13, 180, 24), // "slotContextMenuRequested"
QT_MOC_LITERAL(14, 205, 5), // "index"
QT_MOC_LITERAL(15, 211, 3), // "pos"
QT_MOC_LITERAL(16, 215, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(17, 236, 15), // "QModelIndexList"
QT_MOC_LITERAL(18, 252, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(19, 271, 17), // "slotEnableActions"
QT_MOC_LITERAL(20, 289, 2), // "on"
QT_MOC_LITERAL(21, 292, 15), // "slotAddResource"
QT_MOC_LITERAL(22, 308, 12), // "slotAddGroup"
QT_MOC_LITERAL(23, 321, 19) // "slotDeleteSelection"

    },
    "KPlato::ResourceAppointmentsView\0"
    "requestPopupMenu\0\0addResource\0"
    "ResourceGroup*\0deleteObjectList\0"
    "QObjectList\0setGuiActive\0activate\0"
    "setScheduleManager\0ScheduleManager*\0"
    "sm\0slotOptions\0slotContextMenuRequested\0"
    "index\0pos\0slotSelectionChanged\0"
    "QModelIndexList\0slotCurrentChanged\0"
    "slotEnableActions\0on\0slotAddResource\0"
    "slotAddGroup\0slotDeleteSelection"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__ResourceAppointmentsView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   79,    2, 0x06 /* Public */,
       3,    1,   84,    2, 0x06 /* Public */,
       5,    1,   87,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   90,    2, 0x0a /* Public */,
       9,    1,   93,    2, 0x0a /* Public */,
      12,    0,   96,    2, 0x09 /* Protected */,
      13,    2,   97,    2, 0x08 /* Private */,
      16,    1,  102,    2, 0x08 /* Private */,
      18,    1,  105,    2, 0x08 /* Private */,
      19,    1,  108,    2, 0x08 /* Private */,
      21,    0,  111,    2, 0x08 /* Private */,
      22,    0,  112,    2, 0x08 /* Private */,
      23,    0,  113,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QPoint,    2,    2,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, 0x80000000 | 6,    2,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,   14,   15,
    QMetaType::Void, 0x80000000 | 17,    2,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, QMetaType::Bool,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KPlato::ResourceAppointmentsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ResourceAppointmentsView *_t = static_cast<ResourceAppointmentsView *>(_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->addResource((*reinterpret_cast< ResourceGroup*(*)>(_a[1]))); break;
        case 2: _t->deleteObjectList((*reinterpret_cast< const QObjectList(*)>(_a[1]))); break;
        case 3: _t->setGuiActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->setScheduleManager((*reinterpret_cast< ScheduleManager*(*)>(_a[1]))); 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->slotSelectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 8: _t->slotCurrentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 9: _t->slotEnableActions((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->slotAddResource(); break;
        case 11: _t->slotAddGroup(); break;
        case 12: _t->slotDeleteSelection(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< QModelIndexList >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ResourceAppointmentsView::*_t)(const QString & , const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceAppointmentsView::requestPopupMenu)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ResourceAppointmentsView::*_t)(ResourceGroup * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceAppointmentsView::addResource)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ResourceAppointmentsView::*_t)(const QObjectList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ResourceAppointmentsView::deleteObjectList)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KPlato::ResourceAppointmentsView::staticMetaObject = {
    { &ViewBase::staticMetaObject, qt_meta_stringdata_KPlato__ResourceAppointmentsView.data,
      qt_meta_data_KPlato__ResourceAppointmentsView,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlato::ResourceAppointmentsView::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 KPlato::ResourceAppointmentsView::addResource(ResourceGroup * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KPlato::ResourceAppointmentsView::deleteObjectList(const QObjectList & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
