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

#include "../../src/customWidget/scheduleview.h"
#include <QtGui/qtextcursor.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'scheduleview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN13CScheduleViewE_t {};
} // unnamed namespace

template <> constexpr inline auto CScheduleView::qt_create_metaobjectdata<qt_meta_tag_ZN13CScheduleViewE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "CScheduleView",
        "signalsCurrentScheduleDate",
        "",
        "date",
        "signalAngleDelta",
        "delta",
        "signalSwitchPrePage",
        "signalSwitchNextPage",
        "slotPosHours",
        "QList<int>",
        "vPos",
        "vHours",
        "currentTimeType",
        "setDate",
        "slotupdateSchedule",
        "slotDeleteitem",
        "slotCurrentScheduleDate",
        "slotScheduleShow",
        "isShow",
        "DSchedule::Ptr",
        "out",
        "slotUpdatePaint",
        "topM",
        "slotUpdateScene",
        "slotSwitchView",
        "focusDate",
        "CWeekDayGraphicsview::ViewType",
        "viewtype",
        "setItemFocus"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'signalsCurrentScheduleDate'
        QtMocHelpers::SignalData<void(QDate)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 3 },
        }}),
        // Signal 'signalAngleDelta'
        QtMocHelpers::SignalData<void(int)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 5 },
        }}),
        // Signal 'signalSwitchPrePage'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalSwitchNextPage'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotPosHours'
        QtMocHelpers::SlotData<void(QVector<int>, QVector<int>, int)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 10 }, { 0x80000000 | 9, 11 }, { QMetaType::Int, 12 },
        }}),
        // Slot 'slotPosHours'
        QtMocHelpers::SlotData<void(QVector<int>, QVector<int>)>(8, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 9, 10 }, { 0x80000000 | 9, 11 },
        }}),
        // Slot 'setDate'
        QtMocHelpers::SlotData<void(QDate)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 3 },
        }}),
        // Slot 'slotupdateSchedule'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotDeleteitem'
        QtMocHelpers::SlotData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotCurrentScheduleDate'
        QtMocHelpers::SlotData<void(QDate)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 3 },
        }}),
        // Slot 'slotScheduleShow'
        QtMocHelpers::SlotData<void(const bool, const DSchedule::Ptr &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 18 }, { 0x80000000 | 19, 20 },
        }}),
        // Slot 'slotScheduleShow'
        QtMocHelpers::SlotData<void(const bool)>(17, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Bool, 18 },
        }}),
        // Slot 'slotUpdatePaint'
        QtMocHelpers::SlotData<void(const int)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 22 },
        }}),
        // Slot 'slotUpdateScene'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotSwitchView'
        QtMocHelpers::SlotData<void(const QDate &, CWeekDayGraphicsview::ViewType, bool)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 25 }, { 0x80000000 | 26, 27 }, { QMetaType::Bool, 28 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<CScheduleView, qt_meta_tag_ZN13CScheduleViewE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject CScheduleView::staticMetaObject = { {
    QMetaObject::SuperData::link<DFrame::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13CScheduleViewE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13CScheduleViewE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN13CScheduleViewE_t>.metaTypes,
    nullptr
} };

void CScheduleView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<CScheduleView *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->signalsCurrentScheduleDate((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 1: _t->signalAngleDelta((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->signalSwitchPrePage(); break;
        case 3: _t->signalSwitchNextPage(); break;
        case 4: _t->slotPosHours((*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3]))); break;
        case 5: _t->slotPosHours((*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QList<int>>>(_a[2]))); break;
        case 6: _t->setDate((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 7: _t->slotupdateSchedule(); break;
        case 8: _t->slotDeleteitem(); break;
        case 9: _t->slotCurrentScheduleDate((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 10: _t->slotScheduleShow((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<DSchedule::Ptr>>(_a[2]))); break;
        case 11: _t->slotScheduleShow((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 12: _t->slotUpdatePaint((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 13: _t->slotUpdateScene(); break;
        case 14: _t->slotSwitchView((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<CWeekDayGraphicsview::ViewType>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QList<int> >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (CScheduleView::*)(QDate )>(_a, &CScheduleView::signalsCurrentScheduleDate, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (CScheduleView::*)(int )>(_a, &CScheduleView::signalAngleDelta, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (CScheduleView::*)()>(_a, &CScheduleView::signalSwitchPrePage, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (CScheduleView::*)()>(_a, &CScheduleView::signalSwitchNextPage, 3))
            return;
    }
}

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

void *CScheduleView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN13CScheduleViewE_t>.strings))
        return static_cast<void*>(this);
    return DFrame::qt_metacast(_clname);
}

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

// SIGNAL 0
void CScheduleView::signalsCurrentScheduleDate(QDate _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void CScheduleView::signalAngleDelta(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

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

// SIGNAL 3
void CScheduleView::signalSwitchNextPage()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
