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

#include "../../../../src/plasma-framework-5.12.0/src/declarativeimports/calendar/calendar.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'calendar.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.2. 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
struct qt_meta_stringdata_Calendar_t {
    QByteArrayData data[38];
    char stringdata[422];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Calendar_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Calendar_t qt_meta_stringdata_Calendar = {
    {
QT_MOC_LITERAL(0, 0, 8), // "Calendar"
QT_MOC_LITERAL(1, 9, 20), // "displayedDateChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 12), // "todayChanged"
QT_MOC_LITERAL(4, 44, 12), // "typesChanged"
QT_MOC_LITERAL(5, 57, 11), // "daysChanged"
QT_MOC_LITERAL(6, 69, 12), // "weeksChanged"
QT_MOC_LITERAL(7, 82, 21), // "firstDayOfWeekChanged"
QT_MOC_LITERAL(8, 104, 19), // "errorMessageChanged"
QT_MOC_LITERAL(9, 124, 16), // "monthNameChanged"
QT_MOC_LITERAL(10, 141, 11), // "yearChanged"
QT_MOC_LITERAL(11, 153, 17), // "weeksModelChanged"
QT_MOC_LITERAL(12, 171, 10), // "updateData"
QT_MOC_LITERAL(13, 182, 9), // "nextMonth"
QT_MOC_LITERAL(14, 192, 13), // "previousMonth"
QT_MOC_LITERAL(15, 206, 8), // "nextYear"
QT_MOC_LITERAL(16, 215, 12), // "previousYear"
QT_MOC_LITERAL(17, 228, 7), // "dayName"
QT_MOC_LITERAL(18, 236, 7), // "weekday"
QT_MOC_LITERAL(19, 244, 11), // "currentWeek"
QT_MOC_LITERAL(20, 256, 12), // "resetToToday"
QT_MOC_LITERAL(21, 269, 13), // "displayedDate"
QT_MOC_LITERAL(22, 283, 5), // "today"
QT_MOC_LITERAL(23, 289, 5), // "types"
QT_MOC_LITERAL(24, 295, 10), // "weeksModel"
QT_MOC_LITERAL(25, 306, 4), // "days"
QT_MOC_LITERAL(26, 311, 5), // "weeks"
QT_MOC_LITERAL(27, 317, 14), // "firstDayOfWeek"
QT_MOC_LITERAL(28, 332, 4), // "year"
QT_MOC_LITERAL(29, 337, 12), // "errorMessage"
QT_MOC_LITERAL(30, 350, 9), // "monthName"
QT_MOC_LITERAL(31, 360, 9), // "daysModel"
QT_MOC_LITERAL(32, 370, 19), // "QAbstractListModel*"
QT_MOC_LITERAL(33, 390, 4), // "Type"
QT_MOC_LITERAL(34, 395, 7), // "Holiday"
QT_MOC_LITERAL(35, 403, 5), // "Event"
QT_MOC_LITERAL(36, 409, 4), // "Todo"
QT_MOC_LITERAL(37, 414, 7) // "Journal"

    },
    "Calendar\0displayedDateChanged\0\0"
    "todayChanged\0typesChanged\0daysChanged\0"
    "weeksChanged\0firstDayOfWeekChanged\0"
    "errorMessageChanged\0monthNameChanged\0"
    "yearChanged\0weeksModelChanged\0updateData\0"
    "nextMonth\0previousMonth\0nextYear\0"
    "previousYear\0dayName\0weekday\0currentWeek\0"
    "resetToToday\0displayedDate\0today\0types\0"
    "weeksModel\0days\0weeks\0firstDayOfWeek\0"
    "year\0errorMessage\0monthName\0daysModel\0"
    "QAbstractListModel*\0Type\0Holiday\0Event\0"
    "Todo\0Journal"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Calendar[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      18,   14, // methods
      11,  124, // properties
       1,  168, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  104,    2, 0x06 /* Public */,
       3,    0,  105,    2, 0x06 /* Public */,
       4,    0,  106,    2, 0x06 /* Public */,
       5,    0,  107,    2, 0x06 /* Public */,
       6,    0,  108,    2, 0x06 /* Public */,
       7,    0,  109,    2, 0x06 /* Public */,
       8,    0,  110,    2, 0x06 /* Public */,
       9,    0,  111,    2, 0x06 /* Public */,
      10,    0,  112,    2, 0x06 /* Public */,
      11,    0,  113,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    0,  114,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      13,    0,  115,    2, 0x02 /* Public */,
      14,    0,  116,    2, 0x02 /* Public */,
      15,    0,  117,    2, 0x02 /* Public */,
      16,    0,  118,    2, 0x02 /* Public */,
      17,    1,  119,    2, 0x02 /* Public */,
      19,    0,  122,    2, 0x02 /* Public */,
      20,    0,  123,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::QString, QMetaType::Int,   18,
    QMetaType::Int,
    QMetaType::Void,

 // properties: name, type, flags
      21, QMetaType::QDate, 0x00495103,
      22, QMetaType::QDate, 0x00495103,
      23, QMetaType::Int, 0x00495103,
      24, QMetaType::QJsonArray, 0x00495001,
      25, QMetaType::Int, 0x00495103,
      26, QMetaType::Int, 0x00495103,
      27, QMetaType::Int, 0x00495103,
      28, QMetaType::Int, 0x00495001,
      29, QMetaType::QString, 0x00495001,
      30, QMetaType::QString, 0x00495001,
      31, 0x80000000 | 32, 0x00095409,

 // properties: notify_signal_id
       0,
       1,
       2,
       9,
       3,
       4,
       5,
       8,
       6,
       7,
       0,

 // enums: name, flags, count, data
      33, 0x0,    4,  172,

 // enum data: key, value
      34, uint(Calendar::Holiday),
      35, uint(Calendar::Event),
      36, uint(Calendar::Todo),
      37, uint(Calendar::Journal),

       0        // eod
};

void Calendar::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Calendar *_t = static_cast<Calendar *>(_o);
        switch (_id) {
        case 0: _t->displayedDateChanged(); break;
        case 1: _t->todayChanged(); break;
        case 2: _t->typesChanged(); break;
        case 3: _t->daysChanged(); break;
        case 4: _t->weeksChanged(); break;
        case 5: _t->firstDayOfWeekChanged(); break;
        case 6: _t->errorMessageChanged(); break;
        case 7: _t->monthNameChanged(); break;
        case 8: _t->yearChanged(); break;
        case 9: _t->weeksModelChanged(); break;
        case 10: _t->updateData(); break;
        case 11: _t->nextMonth(); break;
        case 12: _t->previousMonth(); break;
        case 13: _t->nextYear(); break;
        case 14: _t->previousYear(); break;
        case 15: { QString _r = _t->dayName((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 16: { int _r = _t->currentWeek();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 17: _t->resetToToday(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Calendar::displayedDateChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Calendar::todayChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Calendar::typesChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Calendar::daysChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Calendar::weeksChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Calendar::firstDayOfWeekChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Calendar::errorMessageChanged)) {
                *result = 6;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Calendar::monthNameChanged)) {
                *result = 7;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Calendar::yearChanged)) {
                *result = 8;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Calendar::weeksModelChanged)) {
                *result = 9;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 10:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractListModel* >(); break;
        }
    }

}

const QMetaObject Calendar::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Calendar.data,
      qt_meta_data_Calendar,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Calendar::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Calendar.stringdata))
        return static_cast<void*>(const_cast< Calendar*>(this));
    return QObject::qt_metacast(_clname);
}

int 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 < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 18;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QDate*>(_v) = displayedDate(); break;
        case 1: *reinterpret_cast< QDate*>(_v) = today(); break;
        case 2: *reinterpret_cast< int*>(_v) = types(); break;
        case 3: *reinterpret_cast< QJsonArray*>(_v) = weeksModel(); break;
        case 4: *reinterpret_cast< int*>(_v) = days(); break;
        case 5: *reinterpret_cast< int*>(_v) = weeks(); break;
        case 6: *reinterpret_cast< int*>(_v) = firstDayOfWeek(); break;
        case 7: *reinterpret_cast< int*>(_v) = year(); break;
        case 8: *reinterpret_cast< QString*>(_v) = errorMessage(); break;
        case 9: *reinterpret_cast< QString*>(_v) = monthName(); break;
        case 10: *reinterpret_cast< QAbstractListModel**>(_v) = daysModel(); break;
        default: break;
        }
        _id -= 11;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setDisplayedDate(*reinterpret_cast< QDate*>(_v)); break;
        case 1: setToday(*reinterpret_cast< QDate*>(_v)); break;
        case 2: setTypes(*reinterpret_cast< int*>(_v)); break;
        case 4: setDays(*reinterpret_cast< int*>(_v)); break;
        case 5: setWeeks(*reinterpret_cast< int*>(_v)); break;
        case 6: setFirstDayOfWeek(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
        _id -= 11;
    } else if (_c == QMetaObject::ResetProperty) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 11;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 11;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Calendar::displayedDateChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void Calendar::todayChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void Calendar::typesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void Calendar::daysChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void Calendar::weeksChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void Calendar::firstDayOfWeekChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void Calendar::errorMessageChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}

// SIGNAL 7
void Calendar::monthNameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void Calendar::yearChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}

// SIGNAL 9
void Calendar::weeksModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
