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

#include "../../src/view/draginfographicsview.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 'draginfographicsview.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN20DragInfoGraphicsViewE_t {};
} // unnamed namespace

template <> constexpr inline auto DragInfoGraphicsView::qt_create_metaobjectdata<qt_meta_tag_ZN20DragInfoGraphicsViewE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DragInfoGraphicsView",
        "signalAngleDelta",
        "",
        "delta",
        "signalsUpdateSchedule",
        "signalScheduleShow",
        "isShow",
        "DSchedule::Ptr",
        "out",
        "signalSceneUpdate",
        "signalSwitchPrePage",
        "signalSwitchNextPage",
        "signalGotoDayView",
        "date",
        "sigStateChange",
        "bState",
        "slotDeleteItem",
        "slotSwitchPrePage",
        "focusDate",
        "isSwitchView",
        "slotSwitchNextPage",
        "slotContextMenu",
        "CFocusItem*",
        "item",
        "slotsetNextFocus",
        "touchSlidePos"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'signalAngleDelta'
        QtMocHelpers::SignalData<void(int)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 3 },
        }}),
        // Signal 'signalsUpdateSchedule'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalScheduleShow'
        QtMocHelpers::SignalData<void(const bool, const DSchedule::Ptr &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 6 }, { 0x80000000 | 7, 8 },
        }}),
        // Signal 'signalScheduleShow'
        QtMocHelpers::SignalData<void(const bool)>(5, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::Bool, 6 },
        }}),
        // Signal 'signalSceneUpdate'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalSwitchPrePage'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalSwitchNextPage'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalGotoDayView'
        QtMocHelpers::SignalData<void(const QDate &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 13 },
        }}),
        // Signal 'sigStateChange'
        QtMocHelpers::SignalData<void(bool)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 15 },
        }}),
        // Slot 'slotDeleteItem'
        QtMocHelpers::SlotData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'slotSwitchPrePage'
        QtMocHelpers::SlotData<void(const QDate &, bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 18 }, { QMetaType::Bool, 19 },
        }}),
        // Slot 'slotSwitchPrePage'
        QtMocHelpers::SlotData<void(const QDate &)>(17, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QDate, 18 },
        }}),
        // Slot 'slotSwitchNextPage'
        QtMocHelpers::SlotData<void(const QDate &, bool)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QDate, 18 }, { QMetaType::Bool, 19 },
        }}),
        // Slot 'slotSwitchNextPage'
        QtMocHelpers::SlotData<void(const QDate &)>(20, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { QMetaType::QDate, 18 },
        }}),
        // Slot 'slotContextMenu'
        QtMocHelpers::SlotData<void(CFocusItem *)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 23 },
        }}),
        // Slot 'slotsetNextFocus'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'touchSlidePos'
        QtMocHelpers::PropertyData<int>(25, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DragInfoGraphicsView, qt_meta_tag_ZN20DragInfoGraphicsViewE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject DragInfoGraphicsView::staticMetaObject = { {
    QMetaObject::SuperData::link<DGraphicsView::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20DragInfoGraphicsViewE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20DragInfoGraphicsViewE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN20DragInfoGraphicsViewE_t>.metaTypes,
    nullptr
} };

void DragInfoGraphicsView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DragInfoGraphicsView *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->signalAngleDelta((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 1: _t->signalsUpdateSchedule(); break;
        case 2: _t->signalScheduleShow((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<DSchedule::Ptr>>(_a[2]))); break;
        case 3: _t->signalScheduleShow((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->signalSceneUpdate(); break;
        case 5: _t->signalSwitchPrePage(); break;
        case 6: _t->signalSwitchNextPage(); break;
        case 7: _t->signalGotoDayView((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 8: _t->sigStateChange((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->slotDeleteItem(); break;
        case 10: _t->slotSwitchPrePage((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 11: _t->slotSwitchPrePage((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 12: _t->slotSwitchNextPage((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 13: _t->slotSwitchNextPage((*reinterpret_cast<std::add_pointer_t<QDate>>(_a[1]))); break;
        case 14: _t->slotContextMenu((*reinterpret_cast<std::add_pointer_t<CFocusItem*>>(_a[1]))); break;
        case 15: _t->slotsetNextFocus(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< CFocusItem* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DragInfoGraphicsView::*)(int )>(_a, &DragInfoGraphicsView::signalAngleDelta, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DragInfoGraphicsView::*)()>(_a, &DragInfoGraphicsView::signalsUpdateSchedule, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DragInfoGraphicsView::*)(const bool , const DSchedule::Ptr & )>(_a, &DragInfoGraphicsView::signalScheduleShow, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DragInfoGraphicsView::*)()>(_a, &DragInfoGraphicsView::signalSceneUpdate, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DragInfoGraphicsView::*)()>(_a, &DragInfoGraphicsView::signalSwitchPrePage, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (DragInfoGraphicsView::*)()>(_a, &DragInfoGraphicsView::signalSwitchNextPage, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (DragInfoGraphicsView::*)(const QDate & )>(_a, &DragInfoGraphicsView::signalGotoDayView, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (DragInfoGraphicsView::*)(bool )>(_a, &DragInfoGraphicsView::sigStateChange, 8))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->getSlidePos(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSlidePos(*reinterpret_cast<int*>(_v)); break;
        default: break;
        }
    }
}

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

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

int DragInfoGraphicsView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DGraphicsView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

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

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

// SIGNAL 2
void DragInfoGraphicsView::signalScheduleShow(const bool _t1, const DSchedule::Ptr & _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

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

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

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

// SIGNAL 7
void DragInfoGraphicsView::signalGotoDayView(const QDate & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void DragInfoGraphicsView::sigStateChange(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}
QT_WARNING_POP
