/****************************************************************************
** Meta object code from reading C++ file 'qcalendarwidget.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/qtbase-opensource-src-5.4.2/src/widgets/widgets/qcalendarwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qcalendarwidget.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_QCalendarWidget_t {
    QByteArrayData data[58];
    char stringdata[830];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QCalendarWidget_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QCalendarWidget_t qt_meta_stringdata_QCalendarWidget = {
    {
QT_MOC_LITERAL(0, 0, 15), // "QCalendarWidget"
QT_MOC_LITERAL(1, 16, 16), // "selectionChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 7), // "clicked"
QT_MOC_LITERAL(4, 42, 4), // "date"
QT_MOC_LITERAL(5, 47, 9), // "activated"
QT_MOC_LITERAL(6, 57, 18), // "currentPageChanged"
QT_MOC_LITERAL(7, 76, 4), // "year"
QT_MOC_LITERAL(8, 81, 5), // "month"
QT_MOC_LITERAL(9, 87, 15), // "setSelectedDate"
QT_MOC_LITERAL(10, 103, 12), // "setDateRange"
QT_MOC_LITERAL(11, 116, 3), // "min"
QT_MOC_LITERAL(12, 120, 3), // "max"
QT_MOC_LITERAL(13, 124, 14), // "setCurrentPage"
QT_MOC_LITERAL(14, 139, 14), // "setGridVisible"
QT_MOC_LITERAL(15, 154, 4), // "show"
QT_MOC_LITERAL(16, 159, 23), // "setNavigationBarVisible"
QT_MOC_LITERAL(17, 183, 7), // "visible"
QT_MOC_LITERAL(18, 191, 13), // "showNextMonth"
QT_MOC_LITERAL(19, 205, 17), // "showPreviousMonth"
QT_MOC_LITERAL(20, 223, 12), // "showNextYear"
QT_MOC_LITERAL(21, 236, 16), // "showPreviousYear"
QT_MOC_LITERAL(22, 253, 16), // "showSelectedDate"
QT_MOC_LITERAL(23, 270, 9), // "showToday"
QT_MOC_LITERAL(24, 280, 15), // "_q_slotShowDate"
QT_MOC_LITERAL(25, 296, 17), // "_q_slotChangeDate"
QT_MOC_LITERAL(26, 314, 11), // "changeMonth"
QT_MOC_LITERAL(27, 326, 18), // "_q_editingFinished"
QT_MOC_LITERAL(28, 345, 19), // "_q_prevMonthClicked"
QT_MOC_LITERAL(29, 365, 19), // "_q_nextMonthClicked"
QT_MOC_LITERAL(30, 385, 22), // "_q_yearEditingFinished"
QT_MOC_LITERAL(31, 408, 14), // "_q_yearClicked"
QT_MOC_LITERAL(32, 423, 15), // "_q_monthChanged"
QT_MOC_LITERAL(33, 439, 8), // "QAction*"
QT_MOC_LITERAL(34, 448, 3), // "act"
QT_MOC_LITERAL(35, 452, 12), // "selectedDate"
QT_MOC_LITERAL(36, 465, 11), // "minimumDate"
QT_MOC_LITERAL(37, 477, 11), // "maximumDate"
QT_MOC_LITERAL(38, 489, 14), // "firstDayOfWeek"
QT_MOC_LITERAL(39, 504, 13), // "Qt::DayOfWeek"
QT_MOC_LITERAL(40, 518, 11), // "gridVisible"
QT_MOC_LITERAL(41, 530, 13), // "selectionMode"
QT_MOC_LITERAL(42, 544, 13), // "SelectionMode"
QT_MOC_LITERAL(43, 558, 22), // "horizontalHeaderFormat"
QT_MOC_LITERAL(44, 581, 22), // "HorizontalHeaderFormat"
QT_MOC_LITERAL(45, 604, 20), // "verticalHeaderFormat"
QT_MOC_LITERAL(46, 625, 20), // "VerticalHeaderFormat"
QT_MOC_LITERAL(47, 646, 20), // "navigationBarVisible"
QT_MOC_LITERAL(48, 667, 15), // "dateEditEnabled"
QT_MOC_LITERAL(49, 683, 19), // "dateEditAcceptDelay"
QT_MOC_LITERAL(50, 703, 18), // "NoHorizontalHeader"
QT_MOC_LITERAL(51, 722, 20), // "SingleLetterDayNames"
QT_MOC_LITERAL(52, 743, 13), // "ShortDayNames"
QT_MOC_LITERAL(53, 757, 12), // "LongDayNames"
QT_MOC_LITERAL(54, 770, 16), // "NoVerticalHeader"
QT_MOC_LITERAL(55, 787, 14), // "ISOWeekNumbers"
QT_MOC_LITERAL(56, 802, 11), // "NoSelection"
QT_MOC_LITERAL(57, 814, 15) // "SingleSelection"

    },
    "QCalendarWidget\0selectionChanged\0\0"
    "clicked\0date\0activated\0currentPageChanged\0"
    "year\0month\0setSelectedDate\0setDateRange\0"
    "min\0max\0setCurrentPage\0setGridVisible\0"
    "show\0setNavigationBarVisible\0visible\0"
    "showNextMonth\0showPreviousMonth\0"
    "showNextYear\0showPreviousYear\0"
    "showSelectedDate\0showToday\0_q_slotShowDate\0"
    "_q_slotChangeDate\0changeMonth\0"
    "_q_editingFinished\0_q_prevMonthClicked\0"
    "_q_nextMonthClicked\0_q_yearEditingFinished\0"
    "_q_yearClicked\0_q_monthChanged\0QAction*\0"
    "act\0selectedDate\0minimumDate\0maximumDate\0"
    "firstDayOfWeek\0Qt::DayOfWeek\0gridVisible\0"
    "selectionMode\0SelectionMode\0"
    "horizontalHeaderFormat\0HorizontalHeaderFormat\0"
    "verticalHeaderFormat\0VerticalHeaderFormat\0"
    "navigationBarVisible\0dateEditEnabled\0"
    "dateEditAcceptDelay\0NoHorizontalHeader\0"
    "SingleLetterDayNames\0ShortDayNames\0"
    "LongDayNames\0NoVerticalHeader\0"
    "ISOWeekNumbers\0NoSelection\0SingleSelection"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QCalendarWidget[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      24,   14, // methods
      11,  190, // properties
       3,  223, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  134,    2, 0x06 /* Public */,
       3,    1,  135,    2, 0x06 /* Public */,
       5,    1,  138,    2, 0x06 /* Public */,
       6,    2,  141,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    1,  146,    2, 0x0a /* Public */,
      10,    2,  149,    2, 0x0a /* Public */,
      13,    2,  154,    2, 0x0a /* Public */,
      14,    1,  159,    2, 0x0a /* Public */,
      16,    1,  162,    2, 0x0a /* Public */,
      18,    0,  165,    2, 0x0a /* Public */,
      19,    0,  166,    2, 0x0a /* Public */,
      20,    0,  167,    2, 0x0a /* Public */,
      21,    0,  168,    2, 0x0a /* Public */,
      22,    0,  169,    2, 0x0a /* Public */,
      23,    0,  170,    2, 0x0a /* Public */,
      24,    1,  171,    2, 0x08 /* Private */,
      25,    1,  174,    2, 0x08 /* Private */,
      25,    2,  177,    2, 0x08 /* Private */,
      27,    0,  182,    2, 0x08 /* Private */,
      28,    0,  183,    2, 0x08 /* Private */,
      29,    0,  184,    2, 0x08 /* Private */,
      30,    0,  185,    2, 0x08 /* Private */,
      31,    0,  186,    2, 0x08 /* Private */,
      32,    1,  187,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QDate,    4,
    QMetaType::Void, QMetaType::QDate,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    7,    8,

 // slots: parameters
    QMetaType::Void, QMetaType::QDate,    4,
    QMetaType::Void, QMetaType::QDate, QMetaType::QDate,   11,   12,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    7,    8,
    QMetaType::Void, QMetaType::Bool,   15,
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QDate,    4,
    QMetaType::Void, QMetaType::QDate,    4,
    QMetaType::Void, QMetaType::QDate, QMetaType::Bool,    4,   26,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 33,   34,

 // properties: name, type, flags
      35, QMetaType::QDate, 0x00095103,
      36, QMetaType::QDate, 0x00095103,
      37, QMetaType::QDate, 0x00095103,
      38, 0x80000000 | 39, 0x0009510b,
      40, QMetaType::Bool, 0x00095103,
      41, 0x80000000 | 42, 0x0009510b,
      43, 0x80000000 | 44, 0x0009510b,
      45, 0x80000000 | 46, 0x0009510b,
      47, QMetaType::Bool, 0x00095103,
      48, QMetaType::Bool, 0x00095103,
      49, QMetaType::Int, 0x00095103,

 // enums: name, flags, count, data
      44, 0x0,    4,  235,
      46, 0x0,    2,  243,
      42, 0x0,    2,  247,

 // enum data: key, value
      50, uint(QCalendarWidget::NoHorizontalHeader),
      51, uint(QCalendarWidget::SingleLetterDayNames),
      52, uint(QCalendarWidget::ShortDayNames),
      53, uint(QCalendarWidget::LongDayNames),
      54, uint(QCalendarWidget::NoVerticalHeader),
      55, uint(QCalendarWidget::ISOWeekNumbers),
      56, uint(QCalendarWidget::NoSelection),
      57, uint(QCalendarWidget::SingleSelection),

       0        // eod
};

void QCalendarWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QCalendarWidget *_t = static_cast<QCalendarWidget *>(_o);
        switch (_id) {
        case 0: _t->selectionChanged(); break;
        case 1: _t->clicked((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        case 2: _t->activated((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        case 3: _t->currentPageChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->setSelectedDate((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        case 5: _t->setDateRange((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< const QDate(*)>(_a[2]))); break;
        case 6: _t->setCurrentPage((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->setGridVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setNavigationBarVisible((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->showNextMonth(); break;
        case 10: _t->showPreviousMonth(); break;
        case 11: _t->showNextYear(); break;
        case 12: _t->showPreviousYear(); break;
        case 13: _t->showSelectedDate(); break;
        case 14: _t->showToday(); break;
        case 15: _t->d_func()->_q_slotShowDate((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        case 16: _t->d_func()->_q_slotChangeDate((*reinterpret_cast< const QDate(*)>(_a[1]))); break;
        case 17: _t->d_func()->_q_slotChangeDate((*reinterpret_cast< const QDate(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 18: _t->d_func()->_q_editingFinished(); break;
        case 19: _t->d_func()->_q_prevMonthClicked(); break;
        case 20: _t->d_func()->_q_nextMonthClicked(); break;
        case 21: _t->d_func()->_q_yearEditingFinished(); break;
        case 22: _t->d_func()->_q_yearClicked(); break;
        case 23: _t->d_func()->_q_monthChanged((*reinterpret_cast< QAction*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QCalendarWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCalendarWidget::selectionChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QCalendarWidget::*_t)(const QDate & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCalendarWidget::clicked)) {
                *result = 1;
            }
        }
        {
            typedef void (QCalendarWidget::*_t)(const QDate & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCalendarWidget::activated)) {
                *result = 2;
            }
        }
        {
            typedef void (QCalendarWidget::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QCalendarWidget::currentPageChanged)) {
                *result = 3;
            }
        }
    }
}

const QMetaObject QCalendarWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_QCalendarWidget.data,
      qt_meta_data_QCalendarWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int QCalendarWidget::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 < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 24;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QDate*>(_v) = selectedDate(); break;
        case 1: *reinterpret_cast< QDate*>(_v) = minimumDate(); break;
        case 2: *reinterpret_cast< QDate*>(_v) = maximumDate(); break;
        case 3: *reinterpret_cast< Qt::DayOfWeek*>(_v) = firstDayOfWeek(); break;
        case 4: *reinterpret_cast< bool*>(_v) = isGridVisible(); break;
        case 5: *reinterpret_cast< SelectionMode*>(_v) = selectionMode(); break;
        case 6: *reinterpret_cast< HorizontalHeaderFormat*>(_v) = horizontalHeaderFormat(); break;
        case 7: *reinterpret_cast< VerticalHeaderFormat*>(_v) = verticalHeaderFormat(); break;
        case 8: *reinterpret_cast< bool*>(_v) = isNavigationBarVisible(); break;
        case 9: *reinterpret_cast< bool*>(_v) = isDateEditEnabled(); break;
        case 10: *reinterpret_cast< int*>(_v) = dateEditAcceptDelay(); break;
        default: break;
        }
        _id -= 11;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setSelectedDate(*reinterpret_cast< QDate*>(_v)); break;
        case 1: setMinimumDate(*reinterpret_cast< QDate*>(_v)); break;
        case 2: setMaximumDate(*reinterpret_cast< QDate*>(_v)); break;
        case 3: setFirstDayOfWeek(*reinterpret_cast< Qt::DayOfWeek*>(_v)); break;
        case 4: setGridVisible(*reinterpret_cast< bool*>(_v)); break;
        case 5: setSelectionMode(*reinterpret_cast< SelectionMode*>(_v)); break;
        case 6: setHorizontalHeaderFormat(*reinterpret_cast< HorizontalHeaderFormat*>(_v)); break;
        case 7: setVerticalHeaderFormat(*reinterpret_cast< VerticalHeaderFormat*>(_v)); break;
        case 8: setNavigationBarVisible(*reinterpret_cast< bool*>(_v)); break;
        case 9: setDateEditEnabled(*reinterpret_cast< bool*>(_v)); break;
        case 10: setDateEditAcceptDelay(*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)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void QCalendarWidget::clicked(const QDate & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QCalendarWidget::activated(const QDate & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void QCalendarWidget::currentPageChanged(int _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
