/****************************************************************************
** Meta object code from reading C++ file 'calendar.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/plasma-framework-5.43.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.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_Calendar_t {
    QByteArrayData data[47];
    char stringdata0[544];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Calendar_t, stringdata0) + 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, 10), // "nextDecade"
QT_MOC_LITERAL(18, 239, 14), // "previousDecade"
QT_MOC_LITERAL(19, 254, 7), // "dayName"
QT_MOC_LITERAL(20, 262, 7), // "weekday"
QT_MOC_LITERAL(21, 270, 11), // "currentWeek"
QT_MOC_LITERAL(22, 282, 12), // "resetToToday"
QT_MOC_LITERAL(23, 295, 9), // "goToMonth"
QT_MOC_LITERAL(24, 305, 5), // "month"
QT_MOC_LITERAL(25, 311, 8), // "goToYear"
QT_MOC_LITERAL(26, 320, 4), // "year"
QT_MOC_LITERAL(27, 325, 13), // "displayedDate"
QT_MOC_LITERAL(28, 339, 5), // "today"
QT_MOC_LITERAL(29, 345, 5), // "types"
QT_MOC_LITERAL(30, 351, 10), // "weeksModel"
QT_MOC_LITERAL(31, 362, 4), // "days"
QT_MOC_LITERAL(32, 367, 5), // "weeks"
QT_MOC_LITERAL(33, 373, 14), // "firstDayOfWeek"
QT_MOC_LITERAL(34, 388, 12), // "errorMessage"
QT_MOC_LITERAL(35, 401, 9), // "monthName"
QT_MOC_LITERAL(36, 411, 9), // "daysModel"
QT_MOC_LITERAL(37, 421, 19), // "QAbstractListModel*"
QT_MOC_LITERAL(38, 441, 4), // "Type"
QT_MOC_LITERAL(39, 446, 7), // "Holiday"
QT_MOC_LITERAL(40, 454, 5), // "Event"
QT_MOC_LITERAL(41, 460, 4), // "Todo"
QT_MOC_LITERAL(42, 465, 7), // "Journal"
QT_MOC_LITERAL(43, 473, 21), // "DateMatchingPrecision"
QT_MOC_LITERAL(44, 495, 9), // "MatchYear"
QT_MOC_LITERAL(45, 505, 17), // "MatchYearAndMonth"
QT_MOC_LITERAL(46, 523, 20) // "MatchYearMonthAndDay"

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

static const uint qt_meta_data_Calendar[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      22,   14, // methods
      11,  152, // properties
       2,  196, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  124,    2, 0x06 /* Public */,
       3,    0,  125,    2, 0x06 /* Public */,
       4,    0,  126,    2, 0x06 /* Public */,
       5,    0,  127,    2, 0x06 /* Public */,
       6,    0,  128,    2, 0x06 /* Public */,
       7,    0,  129,    2, 0x06 /* Public */,
       8,    0,  130,    2, 0x06 /* Public */,
       9,    0,  131,    2, 0x06 /* Public */,
      10,    0,  132,    2, 0x06 /* Public */,
      11,    0,  133,    2, 0x06 /* Public */,

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

 // methods: name, argc, parameters, tag, flags
      13,    0,  135,    2, 0x02 /* Public */,
      14,    0,  136,    2, 0x02 /* Public */,
      15,    0,  137,    2, 0x02 /* Public */,
      16,    0,  138,    2, 0x02 /* Public */,
      17,    0,  139,    2, 0x02 /* Public */,
      18,    0,  140,    2, 0x02 /* Public */,
      19,    1,  141,    2, 0x02 /* Public */,
      21,    0,  144,    2, 0x02 /* Public */,
      22,    0,  145,    2, 0x02 /* Public */,
      23,    1,  146,    2, 0x02 /* Public */,
      25,    1,  149,    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::Void,
    QMetaType::Void,
    QMetaType::QString, QMetaType::Int,   20,
    QMetaType::Int,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   24,
    QMetaType::Void, QMetaType::Int,   26,

 // properties: name, type, flags
      27, QMetaType::QDate, 0x00495103,
      28, QMetaType::QDate, 0x00495103,
      29, QMetaType::Int, 0x00495103,
      30, QMetaType::QJsonArray, 0x00495001,
      31, QMetaType::Int, 0x00495103,
      32, QMetaType::Int, 0x00495103,
      33, QMetaType::Int, 0x00495103,
      26, QMetaType::Int, 0x00495001,
      34, QMetaType::QString, 0x00495001,
      35, QMetaType::QString, 0x00495001,
      36, 0x80000000 | 37, 0x00095409,

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

 // enums: name, flags, count, data
      38, 0x0,    4,  204,
      43, 0x0,    3,  212,

 // enum data: key, value
      39, uint(Calendar::Holiday),
      40, uint(Calendar::Event),
      41, uint(Calendar::Todo),
      42, uint(Calendar::Journal),
      44, uint(Calendar::MatchYear),
      45, uint(Calendar::MatchYearAndMonth),
      46, uint(Calendar::MatchYearMonthAndDay),

       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);
        Q_UNUSED(_t)
        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: _t->nextDecade(); break;
        case 16: _t->previousDecade(); break;
        case 17: { QString _r = _t->dayName((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 18: { int _r = _t->currentWeek();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 19: _t->resetToToday(); break;
        case 20: _t->goToMonth((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->goToYear((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::displayedDateChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::todayChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::typesChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::daysChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::weeksChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::firstDayOfWeekChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::errorMessageChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::monthNameChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::yearChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Calendar::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Calendar::weeksModelChanged)) {
                *result = 9;
                return;
            }
        }
    } 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;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Calendar *_t = static_cast<Calendar *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QDate*>(_v) = _t->displayedDate(); break;
        case 1: *reinterpret_cast< QDate*>(_v) = _t->today(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->types(); break;
        case 3: *reinterpret_cast< QJsonArray*>(_v) = _t->weeksModel(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->days(); break;
        case 5: *reinterpret_cast< int*>(_v) = _t->weeks(); break;
        case 6: *reinterpret_cast< int*>(_v) = _t->firstDayOfWeek(); break;
        case 7: *reinterpret_cast< int*>(_v) = _t->year(); break;
        case 8: *reinterpret_cast< QString*>(_v) = _t->errorMessage(); break;
        case 9: *reinterpret_cast< QString*>(_v) = _t->monthName(); break;
        case 10: *reinterpret_cast< QAbstractListModel**>(_v) = _t->daysModel(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Calendar *_t = static_cast<Calendar *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setDisplayedDate(*reinterpret_cast< QDate*>(_v)); break;
        case 1: _t->setToday(*reinterpret_cast< QDate*>(_v)); break;
        case 2: _t->setTypes(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setDays(*reinterpret_cast< int*>(_v)); break;
        case 5: _t->setWeeks(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setFirstDayOfWeek(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Calendar::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Calendar.data,
      qt_meta_data_Calendar,  qt_static_metacall, nullptr, 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 nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Calendar.stringdata0))
        return static_cast<void*>(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 < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 22;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _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;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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

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

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

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

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