/****************************************************************************
** Meta object code from reading C++ file 'calendarmainwindow.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/widget/calendarmainwindow.h"
#include <QtGui/qtextcursor.h>
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'calendarmainwindow.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_ZN18CalendarmainwindowE_t {};
} // unnamed namespace

template <> constexpr inline auto Calendarmainwindow::qt_create_metaobjectdata<qt_meta_tag_ZN18CalendarmainwindowE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Calendarmainwindow",
        "slotTheme",
        "",
        "type",
        "slotOpenSchedule",
        "job",
        "slotViewShortcut",
        "slotCurrentDateUpdate",
        "slotSetSearchFocus",
        "slotapplicationStateChanged",
        "Qt::ApplicationState",
        "state",
        "setScheduleHide",
        "slotstackWClicked",
        "QAbstractButton*",
        "bt",
        "slotWUpdateSchedule",
        "slotSreturnPressed",
        "slotStextChanged",
        "slotStextfocusChanged",
        "onFocus",
        "slotSearchEdit",
        "slotSearchSelectSchedule",
        "DSchedule::Ptr",
        "scheduleInfo",
        "slotViewtransparentFrame",
        "isShow",
        "slotSetButtonBox",
        "slotSwitchView",
        "viewIndex",
        "slotNewSchedule",
        "slotOpenSettingDialog",
        "slotShowPrivacy",
        "slotDeleteitem",
        "slotSetMaxSize",
        "slotSearchFocusSwitch",
        "slotSidebarStatusChange",
        "slotShowSyncToast",
        "syncNum",
        "slotAccountUpdate"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'slotTheme'
        QtMocHelpers::SlotData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Slot 'slotOpenSchedule'
        QtMocHelpers::SlotData<void(QString)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'slotViewShortcut'
        QtMocHelpers::SlotData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotCurrentDateUpdate'
        QtMocHelpers::SlotData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotSetSearchFocus'
        QtMocHelpers::SlotData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotapplicationStateChanged'
        QtMocHelpers::SlotData<void(Qt::ApplicationState)>(9, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Slot 'setScheduleHide'
        QtMocHelpers::SlotData<void()>(12, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotstackWClicked'
        QtMocHelpers::SlotData<void(QAbstractButton *)>(13, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 14, 15 },
        }}),
        // Slot 'slotWUpdateSchedule'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSreturnPressed'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotStextChanged'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotStextfocusChanged'
        QtMocHelpers::SlotData<void(bool)>(19, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 20 },
        }}),
        // Slot 'slotSearchEdit'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSearchSelectSchedule'
        QtMocHelpers::SlotData<void(const DSchedule::Ptr &)>(22, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 23, 24 },
        }}),
        // Slot 'slotViewtransparentFrame'
        QtMocHelpers::SlotData<void(const bool)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 26 },
        }}),
        // Slot 'slotSetButtonBox'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSwitchView'
        QtMocHelpers::SlotData<void(const int)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 29 },
        }}),
        // Slot 'slotNewSchedule'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotOpenSettingDialog'
        QtMocHelpers::SlotData<void()>(31, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotShowPrivacy'
        QtMocHelpers::SlotData<void()>(32, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotDeleteitem'
        QtMocHelpers::SlotData<void()>(33, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSetMaxSize'
        QtMocHelpers::SlotData<void()>(34, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSearchFocusSwitch'
        QtMocHelpers::SlotData<void()>(35, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSidebarStatusChange'
        QtMocHelpers::SlotData<void(bool)>(36, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 2 },
        }}),
        // Slot 'slotShowSyncToast'
        QtMocHelpers::SlotData<void(int)>(37, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Int, 38 },
        }}),
        // Slot 'slotAccountUpdate'
        QtMocHelpers::SlotData<void()>(39, 2, QMC::AccessPrivate, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Calendarmainwindow, qt_meta_tag_ZN18CalendarmainwindowE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Calendarmainwindow::staticMetaObject = { {
    QMetaObject::SuperData::link<DMainWindow::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18CalendarmainwindowE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18CalendarmainwindowE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18CalendarmainwindowE_t>.metaTypes,
    nullptr
} };

void Calendarmainwindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Calendarmainwindow *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->slotTheme((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->slotOpenSchedule((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 2: _t->slotViewShortcut(); break;
        case 3: _t->slotCurrentDateUpdate(); break;
        case 4: _t->slotSetSearchFocus(); break;
        case 5: _t->slotapplicationStateChanged((*reinterpret_cast<std::add_pointer_t<Qt::ApplicationState>>(_a[1]))); break;
        case 6: _t->setScheduleHide(); break;
        case 7: _t->slotstackWClicked((*reinterpret_cast<std::add_pointer_t<QAbstractButton*>>(_a[1]))); break;
        case 8: _t->slotWUpdateSchedule(); break;
        case 9: _t->slotSreturnPressed(); break;
        case 10: _t->slotStextChanged(); break;
        case 11: _t->slotStextfocusChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 12: _t->slotSearchEdit(); break;
        case 13: _t->slotSearchSelectSchedule((*reinterpret_cast<std::add_pointer_t<DSchedule::Ptr>>(_a[1]))); break;
        case 14: _t->slotViewtransparentFrame((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 15: _t->slotSetButtonBox(); break;
        case 16: _t->slotSwitchView((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 17: _t->slotNewSchedule(); break;
        case 18: _t->slotOpenSettingDialog(); break;
        case 19: _t->slotShowPrivacy(); break;
        case 20: _t->slotDeleteitem(); break;
        case 21: _t->slotSetMaxSize(); break;
        case 22: _t->slotSearchFocusSwitch(); break;
        case 23: _t->slotSidebarStatusChange((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 24: _t->slotShowSyncToast((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 25: _t->slotAccountUpdate(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAbstractButton* >(); break;
            }
            break;
        }
    }
}

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

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

int Calendarmainwindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DMainWindow::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
    return _id;
}
QT_WARNING_POP
