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

template <> constexpr inline auto DAccountModule::qt_create_metaobjectdata<qt_meta_tag_ZN14DAccountModuleE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DAccountModule",
        "signalScheduleUpdate",
        "",
        "signalScheduleTypeUpdate",
        "signalCloseNotification",
        "notifyID",
        "signalAccountState",
        "signalSyncState",
        "signalDtLastUpdate",
        "signalSettingChange",
        "signalSyncFinished",
        "slotOpenCalendar",
        "alarmID",
        "slotSyncState",
        "syncState",
        "slotDateUpdate",
        "DDataSyncBase::UpdateTypes",
        "updateType"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'signalScheduleUpdate'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalScheduleTypeUpdate'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalCloseNotification'
        QtMocHelpers::SignalData<void(quint64)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::ULongLong, 5 },
        }}),
        // Signal 'signalAccountState'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalSyncState'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalDtLastUpdate'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalSettingChange'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'signalSyncFinished'
        QtMocHelpers::SignalData<void(int)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 2 },
        }}),
        // Slot 'slotOpenCalendar'
        QtMocHelpers::SlotData<void(const QString &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 12 },
        }}),
        // Slot 'slotSyncState'
        QtMocHelpers::SlotData<void(const int)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 14 },
        }}),
        // Slot 'slotDateUpdate'
        QtMocHelpers::SlotData<void(const DDataSyncBase::UpdateTypes)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 17 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DAccountModule, qt_meta_tag_ZN14DAccountModuleE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject DAccountModule::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14DAccountModuleE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN14DAccountModuleE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN14DAccountModuleE_t>.metaTypes,
    nullptr
} };

void DAccountModule::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DAccountModule *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->signalScheduleUpdate(); break;
        case 1: _t->signalScheduleTypeUpdate(); break;
        case 2: _t->signalCloseNotification((*reinterpret_cast<std::add_pointer_t<quint64>>(_a[1]))); break;
        case 3: _t->signalAccountState(); break;
        case 4: _t->signalSyncState(); break;
        case 5: _t->signalDtLastUpdate(); break;
        case 6: _t->signalSettingChange(); break;
        case 7: _t->signalSyncFinished((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->slotOpenCalendar((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 9: _t->slotSyncState((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 10: _t->slotDateUpdate((*reinterpret_cast<std::add_pointer_t<DDataSyncBase::UpdateTypes>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DAccountModule::*)()>(_a, &DAccountModule::signalScheduleUpdate, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DAccountModule::*)()>(_a, &DAccountModule::signalScheduleTypeUpdate, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DAccountModule::*)(quint64 )>(_a, &DAccountModule::signalCloseNotification, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DAccountModule::*)()>(_a, &DAccountModule::signalAccountState, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DAccountModule::*)()>(_a, &DAccountModule::signalSyncState, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DAccountModule::*)()>(_a, &DAccountModule::signalDtLastUpdate, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (DAccountModule::*)()>(_a, &DAccountModule::signalSettingChange, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (DAccountModule::*)(int )>(_a, &DAccountModule::signalSyncFinished, 7))
            return;
    }
}

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

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

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

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

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

// SIGNAL 2
void DAccountModule::signalCloseNotification(quint64 _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

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

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

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

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

// SIGNAL 7
void DAccountModule::signalSyncFinished(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}
QT_WARNING_POP
