/****************************************************************************
** Meta object code from reading C++ file 'accountitem.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/dataManage/accountitem.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 'accountitem.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_ZN11AccountItemE_t {};
} // unnamed namespace

template <> constexpr inline auto AccountItem::qt_create_metaobjectdata<qt_meta_tag_ZN11AccountItemE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AccountItem",
        "signalAccountDataUpdate",
        "",
        "signalScheduleUpdate",
        "signalScheduleTypeUpdate",
        "signalSearchScheduleUpdate",
        "signalLogout",
        "DAccount::Type",
        "signalDtLastUpdate",
        "signalAccountStateChange",
        "signalSyncStateChange",
        "DAccount::AccountSyncState",
        "slotGetAccountInfoFinish",
        "DAccount::Ptr",
        "slotGetScheduleTypeListFinish",
        "DScheduleType::List",
        "slotGetScheduleListFinish",
        "QMap<QDate,DSchedule::List>",
        "slotSearchScheduleListFinish",
        "slotGetSysColorsFinish",
        "DTypeColor::List",
        "slotAccountStateChange",
        "DAccount::AccountStates",
        "slotSyncStateChange",
        "getDtLastUpdate",
        "slotSearchUpdata"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'signalAccountDataUpdate'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalScheduleUpdate'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalScheduleTypeUpdate'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalSearchScheduleUpdate'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalLogout'
        QtMocHelpers::SignalData<void(DAccount::Type)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 },
        }}),
        // Signal 'signalDtLastUpdate'
        QtMocHelpers::SignalData<void(QString)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 2 },
        }}),
        // Signal 'signalAccountStateChange'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalSyncStateChange'
        QtMocHelpers::SignalData<void(DAccount::AccountSyncState)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 2 },
        }}),
        // Slot 'slotGetAccountInfoFinish'
        QtMocHelpers::SlotData<void(DAccount::Ptr)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 2 },
        }}),
        // Slot 'slotGetScheduleTypeListFinish'
        QtMocHelpers::SlotData<void(DScheduleType::List)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 2 },
        }}),
        // Slot 'slotGetScheduleListFinish'
        QtMocHelpers::SlotData<void(QMap<QDate,DSchedule::List>)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 2 },
        }}),
        // Slot 'slotSearchScheduleListFinish'
        QtMocHelpers::SlotData<void(QMap<QDate,DSchedule::List>)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 17, 2 },
        }}),
        // Slot 'slotGetSysColorsFinish'
        QtMocHelpers::SlotData<void(DTypeColor::List)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 20, 2 },
        }}),
        // Slot 'slotAccountStateChange'
        QtMocHelpers::SlotData<void(DAccount::AccountStates)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 22, 2 },
        }}),
        // Slot 'slotSyncStateChange'
        QtMocHelpers::SlotData<void(DAccount::AccountSyncState)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 2 },
        }}),
        // Slot 'getDtLastUpdate'
        QtMocHelpers::SlotData<QString()>(24, 2, QMC::AccessPublic, QMetaType::QString),
        // Slot 'slotSearchUpdata'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AccountItem, qt_meta_tag_ZN11AccountItemE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AccountItem::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11AccountItemE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11AccountItemE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11AccountItemE_t>.metaTypes,
    nullptr
} };

void AccountItem::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AccountItem *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->signalAccountDataUpdate(); break;
        case 1: _t->signalScheduleUpdate(); break;
        case 2: _t->signalScheduleTypeUpdate(); break;
        case 3: _t->signalSearchScheduleUpdate(); break;
        case 4: _t->signalLogout((*reinterpret_cast<std::add_pointer_t<DAccount::Type>>(_a[1]))); break;
        case 5: _t->signalDtLastUpdate((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: _t->signalAccountStateChange(); break;
        case 7: _t->signalSyncStateChange((*reinterpret_cast<std::add_pointer_t<DAccount::AccountSyncState>>(_a[1]))); break;
        case 8: _t->slotGetAccountInfoFinish((*reinterpret_cast<std::add_pointer_t<DAccount::Ptr>>(_a[1]))); break;
        case 9: _t->slotGetScheduleTypeListFinish((*reinterpret_cast<std::add_pointer_t<DScheduleType::List>>(_a[1]))); break;
        case 10: _t->slotGetScheduleListFinish((*reinterpret_cast<std::add_pointer_t<QMap<QDate,DSchedule::List>>>(_a[1]))); break;
        case 11: _t->slotSearchScheduleListFinish((*reinterpret_cast<std::add_pointer_t<QMap<QDate,DSchedule::List>>>(_a[1]))); break;
        case 12: _t->slotGetSysColorsFinish((*reinterpret_cast<std::add_pointer_t<DTypeColor::List>>(_a[1]))); break;
        case 13: _t->slotAccountStateChange((*reinterpret_cast<std::add_pointer_t<DAccount::AccountStates>>(_a[1]))); break;
        case 14: _t->slotSyncStateChange((*reinterpret_cast<std::add_pointer_t<DAccount::AccountSyncState>>(_a[1]))); break;
        case 15: { QString _r = _t->getDtLastUpdate();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 16: _t->slotSearchUpdata(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AccountItem::*)()>(_a, &AccountItem::signalAccountDataUpdate, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AccountItem::*)()>(_a, &AccountItem::signalScheduleUpdate, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AccountItem::*)()>(_a, &AccountItem::signalScheduleTypeUpdate, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (AccountItem::*)()>(_a, &AccountItem::signalSearchScheduleUpdate, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (AccountItem::*)(DAccount::Type )>(_a, &AccountItem::signalLogout, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (AccountItem::*)(QString )>(_a, &AccountItem::signalDtLastUpdate, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (AccountItem::*)()>(_a, &AccountItem::signalAccountStateChange, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (AccountItem::*)(DAccount::AccountSyncState )>(_a, &AccountItem::signalSyncStateChange, 7))
            return;
    }
}

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

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

int AccountItem::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 < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 17;
    }
    return _id;
}

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

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

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

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

// SIGNAL 4
void AccountItem::signalLogout(DAccount::Type _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void AccountItem::signalDtLastUpdate(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

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

// SIGNAL 7
void AccountItem::signalSyncStateChange(DAccount::AccountSyncState _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}
QT_WARNING_POP
