/****************************************************************************
** Meta object code from reading C++ file 'kptcalendar.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/kernel/kptcalendar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kptcalendar.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__Calendar_t {
    QByteArrayData data[20];
    char stringdata0[269];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPlato__Calendar_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPlato__Calendar_t qt_meta_stringdata_KPlato__Calendar = {
    {
QT_MOC_LITERAL(0, 0, 16), // "KPlato::Calendar"
QT_MOC_LITERAL(1, 17, 7), // "changed"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 9), // "Calendar*"
QT_MOC_LITERAL(4, 36, 12), // "CalendarDay*"
QT_MOC_LITERAL(5, 49, 13), // "TimeInterval*"
QT_MOC_LITERAL(6, 63, 16), // "weekdayToBeAdded"
QT_MOC_LITERAL(7, 80, 3), // "day"
QT_MOC_LITERAL(8, 84, 5), // "index"
QT_MOC_LITERAL(9, 90, 12), // "weekdayAdded"
QT_MOC_LITERAL(10, 103, 18), // "weekdayToBeRemoved"
QT_MOC_LITERAL(11, 122, 14), // "weekdayRemoved"
QT_MOC_LITERAL(12, 137, 12), // "dayToBeAdded"
QT_MOC_LITERAL(13, 150, 8), // "dayAdded"
QT_MOC_LITERAL(14, 159, 14), // "dayToBeRemoved"
QT_MOC_LITERAL(15, 174, 10), // "dayRemoved"
QT_MOC_LITERAL(16, 185, 21), // "workIntervalToBeAdded"
QT_MOC_LITERAL(17, 207, 17), // "workIntervalAdded"
QT_MOC_LITERAL(18, 225, 23), // "workIntervalToBeRemoved"
QT_MOC_LITERAL(19, 249, 19) // "workIntervalRemoved"

    },
    "KPlato::Calendar\0changed\0\0Calendar*\0"
    "CalendarDay*\0TimeInterval*\0weekdayToBeAdded\0"
    "day\0index\0weekdayAdded\0weekdayToBeRemoved\0"
    "weekdayRemoved\0dayToBeAdded\0dayAdded\0"
    "dayToBeRemoved\0dayRemoved\0"
    "workIntervalToBeAdded\0workIntervalAdded\0"
    "workIntervalToBeRemoved\0workIntervalRemoved"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPlato__Calendar[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,
       1,    1,   92,    2, 0x06 /* Public */,
       1,    1,   95,    2, 0x06 /* Public */,
       6,    2,   98,    2, 0x06 /* Public */,
       9,    1,  103,    2, 0x06 /* Public */,
      10,    1,  106,    2, 0x06 /* Public */,
      11,    1,  109,    2, 0x06 /* Public */,
      12,    2,  112,    2, 0x06 /* Public */,
      13,    1,  117,    2, 0x06 /* Public */,
      14,    1,  120,    2, 0x06 /* Public */,
      15,    1,  123,    2, 0x06 /* Public */,
      16,    3,  126,    2, 0x06 /* Public */,
      17,    2,  133,    2, 0x06 /* Public */,
      18,    2,  138,    2, 0x06 /* Public */,
      19,    2,  143,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    2,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, 0x80000000 | 5,    2,
    QMetaType::Void, 0x80000000 | 4, QMetaType::Int,    7,    8,
    QMetaType::Void, 0x80000000 | 4,    7,
    QMetaType::Void, 0x80000000 | 4,    7,
    QMetaType::Void, 0x80000000 | 4,    7,
    QMetaType::Void, 0x80000000 | 4, QMetaType::Int,    7,    8,
    QMetaType::Void, 0x80000000 | 4,    7,
    QMetaType::Void, 0x80000000 | 4,    7,
    QMetaType::Void, 0x80000000 | 4,    7,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 5, QMetaType::Int,    2,    2,    8,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 5,    2,    2,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 5,    2,    2,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 5,    2,    2,

       0        // eod
};

void KPlato::Calendar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Calendar *_t = static_cast<Calendar *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->changed((*reinterpret_cast< Calendar*(*)>(_a[1]))); break;
        case 1: _t->changed((*reinterpret_cast< CalendarDay*(*)>(_a[1]))); break;
        case 2: _t->changed((*reinterpret_cast< TimeInterval*(*)>(_a[1]))); break;
        case 3: _t->weekdayToBeAdded((*reinterpret_cast< CalendarDay*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->weekdayAdded((*reinterpret_cast< CalendarDay*(*)>(_a[1]))); break;
        case 5: _t->weekdayToBeRemoved((*reinterpret_cast< CalendarDay*(*)>(_a[1]))); break;
        case 6: _t->weekdayRemoved((*reinterpret_cast< CalendarDay*(*)>(_a[1]))); break;
        case 7: _t->dayToBeAdded((*reinterpret_cast< CalendarDay*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 8: _t->dayAdded((*reinterpret_cast< CalendarDay*(*)>(_a[1]))); break;
        case 9: _t->dayToBeRemoved((*reinterpret_cast< CalendarDay*(*)>(_a[1]))); break;
        case 10: _t->dayRemoved((*reinterpret_cast< CalendarDay*(*)>(_a[1]))); break;
        case 11: _t->workIntervalToBeAdded((*reinterpret_cast< CalendarDay*(*)>(_a[1])),(*reinterpret_cast< TimeInterval*(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 12: _t->workIntervalAdded((*reinterpret_cast< CalendarDay*(*)>(_a[1])),(*reinterpret_cast< TimeInterval*(*)>(_a[2]))); break;
        case 13: _t->workIntervalToBeRemoved((*reinterpret_cast< CalendarDay*(*)>(_a[1])),(*reinterpret_cast< TimeInterval*(*)>(_a[2]))); break;
        case 14: _t->workIntervalRemoved((*reinterpret_cast< CalendarDay*(*)>(_a[1])),(*reinterpret_cast< TimeInterval*(*)>(_a[2]))); 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;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Calendar::*_t)(Calendar * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::changed)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(CalendarDay * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::changed)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(TimeInterval * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::changed)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(CalendarDay * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::weekdayToBeAdded)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(CalendarDay * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::weekdayAdded)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(CalendarDay * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::weekdayToBeRemoved)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(CalendarDay * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::weekdayRemoved)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(CalendarDay * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::dayToBeAdded)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(CalendarDay * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::dayAdded)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(CalendarDay * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::dayToBeRemoved)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(CalendarDay * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::dayRemoved)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(CalendarDay * , TimeInterval * , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::workIntervalToBeAdded)) {
                *result = 11;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(CalendarDay * , TimeInterval * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::workIntervalAdded)) {
                *result = 12;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(CalendarDay * , TimeInterval * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::workIntervalToBeRemoved)) {
                *result = 13;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)(CalendarDay * , TimeInterval * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::workIntervalRemoved)) {
                *result = 14;
                return;
            }
        }
    }
}

const QMetaObject KPlato::Calendar::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KPlato__Calendar.data,
      qt_meta_data_KPlato__Calendar,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

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

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

// SIGNAL 3
void KPlato::Calendar::weekdayToBeAdded(CalendarDay * _t1, int _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::Calendar::weekdayAdded(CalendarDay * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

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

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

// SIGNAL 7
void KPlato::Calendar::dayToBeAdded(CalendarDay * _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

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

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

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

// SIGNAL 11
void KPlato::Calendar::workIntervalToBeAdded(CalendarDay * _t1, TimeInterval * _t2, int _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}

// SIGNAL 12
void KPlato::Calendar::workIntervalAdded(CalendarDay * _t1, TimeInterval * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 12, _a);
}

// SIGNAL 13
void KPlato::Calendar::workIntervalToBeRemoved(CalendarDay * _t1, TimeInterval * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 13, _a);
}

// SIGNAL 14
void KPlato::Calendar::workIntervalRemoved(CalendarDay * _t1, TimeInterval * _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 14, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
