/****************************************************************************
** Meta object code from reading C++ file 'kptcalendareditor.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/kptcalendareditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptcalendareditor.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__CalendarTreeView_t {
    QByteArrayData data[15];
    char stringdata0[212];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__CalendarTreeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__CalendarTreeView_t qt_meta_stringdata_KPlato__CalendarTreeView = {
    {
QT_MOC_LITERAL(0, 0, 24), // "KPlato::CalendarTreeView"
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, 20), // "contextMenuRequested"
QT_MOC_LITERAL(7, 116, 12), // "focusChanged"
QT_MOC_LITERAL(8, 129, 26), // "headerContextMenuRequested"
QT_MOC_LITERAL(9, 156, 3), // "pos"
QT_MOC_LITERAL(10, 160, 14), // "QItemSelection"
QT_MOC_LITERAL(11, 175, 8), // "selected"
QT_MOC_LITERAL(12, 184, 10), // "deselected"
QT_MOC_LITERAL(13, 195, 7), // "current"
QT_MOC_LITERAL(14, 203, 8) // "previous"

    },
    "KPlato::CalendarTreeView\0currentChanged\0"
    "\0currentColumnChanged\0selectionChanged\0"
    "QModelIndexList\0contextMenuRequested\0"
    "focusChanged\0headerContextMenuRequested\0"
    "pos\0QItemSelection\0selected\0deselected\0"
    "current\0previous"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__CalendarTreeView[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       8,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // 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,    2,   65,    2, 0x06 /* Public */,
       7,    0,   70,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   71,    2, 0x09 /* Protected */,
       4,    2,   74,    2, 0x09 /* Protected */,
       1,    2,   79,    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,
    QMetaType::Void,

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

       0        // eod
};

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

const QMetaObject KPlato::CalendarTreeView::staticMetaObject = {
    { &TreeViewBase::staticMetaObject, qt_meta_stringdata_KPlato__CalendarTreeView.data,
      qt_meta_data_KPlato__CalendarTreeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int KPlato::CalendarTreeView::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 < 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 KPlato::CalendarTreeView::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::CalendarTreeView::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::CalendarTreeView::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::CalendarTreeView::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);
}

// SIGNAL 4
void KPlato::CalendarTreeView::focusChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}
struct qt_meta_stringdata_KPlato__CalendarDayView_t {
    QByteArrayData data[26];
    char stringdata0[366];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__CalendarDayView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__CalendarDayView_t qt_meta_stringdata_KPlato__CalendarDayView = {
    {
QT_MOC_LITERAL(0, 0, 23), // "KPlato::CalendarDayView"
QT_MOC_LITERAL(1, 24, 14), // "currentChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 20), // "currentColumnChanged"
QT_MOC_LITERAL(4, 61, 16), // "selectionChanged"
QT_MOC_LITERAL(5, 78, 15), // "QModelIndexList"
QT_MOC_LITERAL(6, 94, 20), // "contextMenuRequested"
QT_MOC_LITERAL(7, 115, 12), // "focusChanged"
QT_MOC_LITERAL(8, 128, 14), // "executeCommand"
QT_MOC_LITERAL(9, 143, 14), // "KUndo2Command*"
QT_MOC_LITERAL(10, 158, 3), // "cmd"
QT_MOC_LITERAL(11, 162, 18), // "setCurrentCalendar"
QT_MOC_LITERAL(12, 181, 9), // "Calendar*"
QT_MOC_LITERAL(13, 191, 8), // "calendar"
QT_MOC_LITERAL(14, 200, 26), // "headerContextMenuRequested"
QT_MOC_LITERAL(15, 227, 3), // "pos"
QT_MOC_LITERAL(16, 231, 14), // "QItemSelection"
QT_MOC_LITERAL(17, 246, 8), // "selected"
QT_MOC_LITERAL(18, 255, 10), // "deselected"
QT_MOC_LITERAL(19, 266, 7), // "current"
QT_MOC_LITERAL(20, 274, 8), // "previous"
QT_MOC_LITERAL(21, 283, 11), // "slotSetWork"
QT_MOC_LITERAL(22, 295, 15), // "slotSetVacation"
QT_MOC_LITERAL(23, 311, 16), // "slotSetUndefined"
QT_MOC_LITERAL(24, 328, 30), // "slotIntervalEditDialogFinished"
QT_MOC_LITERAL(25, 359, 6) // "result"

    },
    "KPlato::CalendarDayView\0currentChanged\0"
    "\0currentColumnChanged\0selectionChanged\0"
    "QModelIndexList\0contextMenuRequested\0"
    "focusChanged\0executeCommand\0KUndo2Command*\0"
    "cmd\0setCurrentCalendar\0Calendar*\0"
    "calendar\0headerContextMenuRequested\0"
    "pos\0QItemSelection\0selected\0deselected\0"
    "current\0previous\0slotSetWork\0"
    "slotSetVacation\0slotSetUndefined\0"
    "slotIntervalEditDialogFinished\0result"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__CalendarDayView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       3,    2,   87,    2, 0x06 /* Public */,
       4,    1,   92,    2, 0x06 /* Public */,
       6,    2,   95,    2, 0x06 /* Public */,
       7,    0,  100,    2, 0x06 /* Public */,
       8,    1,  101,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    1,  104,    2, 0x0a /* Public */,
      14,    1,  107,    2, 0x09 /* Protected */,
       4,    2,  110,    2, 0x09 /* Protected */,
       1,    2,  115,    2, 0x09 /* Protected */,
      21,    0,  120,    2, 0x09 /* Protected */,
      22,    0,  121,    2, 0x09 /* Protected */,
      23,    0,  122,    2, 0x09 /* Protected */,
      24,    1,  123,    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,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 9,   10,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void, QMetaType::QPoint,   15,
    QMetaType::Void, 0x80000000 | 16, 0x80000000 | 16,   17,   18,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   19,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   25,

       0        // eod
};

void KPlato::CalendarDayView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CalendarDayView *_t = static_cast<CalendarDayView *>(_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->focusChanged(); break;
        case 5: _t->executeCommand((*reinterpret_cast< KUndo2Command*(*)>(_a[1]))); break;
        case 6: _t->setCurrentCalendar((*reinterpret_cast< Calendar*(*)>(_a[1]))); break;
        case 7: _t->headerContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 8: _t->selectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 9: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 10: _t->slotSetWork(); break;
        case 11: _t->slotSetVacation(); break;
        case 12: _t->slotSetUndefined(); break;
        case 13: _t->slotIntervalEditDialogFinished((*reinterpret_cast< int(*)>(_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 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Calendar* >(); break;
            }
            break;
        case 8:
            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 (CalendarDayView::*_t)(const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CalendarDayView::currentChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (CalendarDayView::*_t)(const QModelIndex & , const QModelIndex & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CalendarDayView::currentColumnChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (CalendarDayView::*_t)(const QModelIndexList & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CalendarDayView::selectionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (CalendarDayView::*_t)(const QModelIndex & , const QPoint & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CalendarDayView::contextMenuRequested)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (CalendarDayView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CalendarDayView::focusChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (CalendarDayView::*_t)(KUndo2Command * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CalendarDayView::executeCommand)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject KPlato::CalendarDayView::staticMetaObject = {
    { &QTableView::staticMetaObject, qt_meta_stringdata_KPlato__CalendarDayView.data,
      qt_meta_data_KPlato__CalendarDayView,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KPlato::CalendarDayView::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::CalendarDayView::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::CalendarDayView::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::CalendarDayView::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);
}

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

// SIGNAL 5
void KPlato::CalendarDayView::executeCommand(KUndo2Command * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
struct qt_meta_stringdata_KPlato__CalendarEditor_t {
    QByteArrayData data[34];
    char stringdata0[537];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__CalendarEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__CalendarEditor_t qt_meta_stringdata_KPlato__CalendarEditor = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KPlato::CalendarEditor"
QT_MOC_LITERAL(1, 23, 11), // "addCalendar"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 9), // "Calendar*"
QT_MOC_LITERAL(4, 46, 8), // "calendar"
QT_MOC_LITERAL(5, 55, 14), // "deleteCalendar"
QT_MOC_LITERAL(6, 70, 16), // "QList<Calendar*>"
QT_MOC_LITERAL(7, 87, 12), // "setGuiActive"
QT_MOC_LITERAL(8, 100, 8), // "activate"
QT_MOC_LITERAL(9, 109, 30), // "slotIntervalEditDialogFinished"
QT_MOC_LITERAL(10, 140, 6), // "result"
QT_MOC_LITERAL(11, 147, 11), // "slotOptions"
QT_MOC_LITERAL(12, 159, 23), // "slotContextMenuCalendar"
QT_MOC_LITERAL(13, 183, 5), // "index"
QT_MOC_LITERAL(14, 189, 3), // "pos"
QT_MOC_LITERAL(15, 193, 18), // "slotContextMenuDay"
QT_MOC_LITERAL(16, 212, 19), // "slotContextMenuDate"
QT_MOC_LITERAL(17, 232, 6), // "QMenu*"
QT_MOC_LITERAL(18, 239, 12), // "QList<QDate>"
QT_MOC_LITERAL(19, 252, 28), // "slotCalendarSelectionChanged"
QT_MOC_LITERAL(20, 281, 15), // "QModelIndexList"
QT_MOC_LITERAL(21, 297, 26), // "slotCurrentCalendarChanged"
QT_MOC_LITERAL(22, 324, 23), // "slotDaySelectionChanged"
QT_MOC_LITERAL(23, 348, 21), // "slotCurrentDayChanged"
QT_MOC_LITERAL(24, 370, 17), // "slotEnableActions"
QT_MOC_LITERAL(25, 388, 15), // "slotAddCalendar"
QT_MOC_LITERAL(26, 404, 18), // "slotAddSubCalendar"
QT_MOC_LITERAL(27, 423, 18), // "slotDeleteCalendar"
QT_MOC_LITERAL(28, 442, 10), // "slotAddDay"
QT_MOC_LITERAL(29, 453, 15), // "slotAddInterval"
QT_MOC_LITERAL(30, 469, 22), // "slotDeleteDaySelection"
QT_MOC_LITERAL(31, 492, 11), // "slotSetWork"
QT_MOC_LITERAL(32, 504, 15), // "slotSetVacation"
QT_MOC_LITERAL(33, 520, 16) // "slotSetUndefined"

    },
    "KPlato::CalendarEditor\0addCalendar\0\0"
    "Calendar*\0calendar\0deleteCalendar\0"
    "QList<Calendar*>\0setGuiActive\0activate\0"
    "slotIntervalEditDialogFinished\0result\0"
    "slotOptions\0slotContextMenuCalendar\0"
    "index\0pos\0slotContextMenuDay\0"
    "slotContextMenuDate\0QMenu*\0QList<QDate>\0"
    "slotCalendarSelectionChanged\0"
    "QModelIndexList\0slotCurrentCalendarChanged\0"
    "slotDaySelectionChanged\0slotCurrentDayChanged\0"
    "slotEnableActions\0slotAddCalendar\0"
    "slotAddSubCalendar\0slotDeleteCalendar\0"
    "slotAddDay\0slotAddInterval\0"
    "slotDeleteDaySelection\0slotSetWork\0"
    "slotSetVacation\0slotSetUndefined"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__CalendarEditor[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       7,    1,  135,    2, 0x0a /* Public */,
       9,    1,  138,    2, 0x09 /* Protected */,
      11,    0,  141,    2, 0x09 /* Protected */,
      12,    2,  142,    2, 0x08 /* Private */,
      15,    2,  147,    2, 0x08 /* Private */,
      16,    2,  152,    2, 0x08 /* Private */,
      16,    2,  157,    2, 0x08 /* Private */,
      19,    1,  162,    2, 0x08 /* Private */,
      21,    1,  165,    2, 0x08 /* Private */,
      22,    1,  168,    2, 0x08 /* Private */,
      23,    1,  171,    2, 0x08 /* Private */,
      24,    0,  174,    2, 0x08 /* Private */,
      25,    0,  175,    2, 0x08 /* Private */,
      26,    0,  176,    2, 0x08 /* Private */,
      27,    0,  177,    2, 0x08 /* Private */,
      28,    0,  178,    2, 0x08 /* Private */,
      29,    0,  179,    2, 0x08 /* Private */,
      30,    0,  180,    2, 0x08 /* Private */,
      31,    0,  181,    2, 0x08 /* Private */,
      32,    0,  182,    2, 0x08 /* Private */,
      33,    0,  183,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,   13,   14,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QPoint,   13,   14,
    QMetaType::Void, 0x80000000 | 17, QMetaType::QDate,    2,    2,
    QMetaType::Void, 0x80000000 | 17, 0x80000000 | 18,    2,    2,
    QMetaType::Void, 0x80000000 | 20,    2,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void, 0x80000000 | 20,    2,
    QMetaType::Void, QMetaType::QModelIndex,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KPlato::CalendarEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CalendarEditor *_t = static_cast<CalendarEditor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->addCalendar((*reinterpret_cast< Calendar*(*)>(_a[1]))); break;
        case 1: _t->deleteCalendar((*reinterpret_cast< const QList<Calendar*>(*)>(_a[1]))); break;
        case 2: _t->setGuiActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->slotIntervalEditDialogFinished((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->slotOptions(); break;
        case 5: _t->slotContextMenuCalendar((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 6: _t->slotContextMenuDay((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2]))); break;
        case 7: _t->slotContextMenuDate((*reinterpret_cast< QMenu*(*)>(_a[1])),(*reinterpret_cast< const QDate(*)>(_a[2]))); break;
        case 8: _t->slotContextMenuDate((*reinterpret_cast< QMenu*(*)>(_a[1])),(*reinterpret_cast< const QList<QDate>(*)>(_a[2]))); break;
        case 9: _t->slotCalendarSelectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 10: _t->slotCurrentCalendarChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 11: _t->slotDaySelectionChanged((*reinterpret_cast< const QModelIndexList(*)>(_a[1]))); break;
        case 12: _t->slotCurrentDayChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1]))); break;
        case 13: _t->slotEnableActions(); break;
        case 14: _t->slotAddCalendar(); break;
        case 15: _t->slotAddSubCalendar(); break;
        case 16: _t->slotDeleteCalendar(); break;
        case 17: _t->slotAddDay(); break;
        case 18: _t->slotAddInterval(); break;
        case 19: _t->slotDeleteDaySelection(); break;
        case 20: _t->slotSetWork(); break;
        case 21: _t->slotSetVacation(); break;
        case 22: _t->slotSetUndefined(); 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< Calendar* >(); break;
            }
            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< QList<Calendar*> >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QDate> >(); break;
            }
            break;
        case 9:
            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 11:
            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 (CalendarEditor::*_t)(Calendar * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CalendarEditor::addCalendar)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (CalendarEditor::*_t)(const QList<Calendar*> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CalendarEditor::deleteCalendar)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject KPlato::CalendarEditor::staticMetaObject = {
    { &ViewBase::staticMetaObject, qt_meta_stringdata_KPlato__CalendarEditor.data,
      qt_meta_data_KPlato__CalendarEditor,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

// SIGNAL 1
void KPlato::CalendarEditor::deleteCalendar(const QList<Calendar*> & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
