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

template <> constexpr inline auto DAccountManagerService::qt_create_metaobjectdata<qt_meta_tag_ZN22DAccountManagerServiceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DAccountManagerService",
        "D-Bus Interface",
        "com.deepin.dataserver.Calendar.AccountManager",
        "accountUpdate",
        "",
        "getAccountList",
        "remindJob",
        "accountID",
        "alarmID",
        "updateRemindJob",
        "isClear",
        "notifyMsgHanding",
        "operationNum",
        "downloadByAccountID",
        "uploadNetWorkAccountData",
        "getCalendarGeneralSettings",
        "setCalendarGeneralSettings",
        "cgSet",
        "calendarIsShow",
        "isShow",
        "login",
        "logout",
        "isSupportUid",
        "firstDayOfWeek",
        "timeFormatType",
        "firstDayOfWeekSource",
        "timeFormatTypeSource"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'accountUpdate'
        QtMocHelpers::SignalData<void()>(3, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void),
        // Slot 'getAccountList'
        QtMocHelpers::SlotData<QString()>(5, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::QString),
        // Slot 'remindJob'
        QtMocHelpers::SlotData<void(const QString &, const QString &)>(6, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::QString, 7 }, { QMetaType::QString, 8 },
        }}),
        // Slot 'updateRemindJob'
        QtMocHelpers::SlotData<void(bool)>(9, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::Bool, 10 },
        }}),
        // Slot 'notifyMsgHanding'
        QtMocHelpers::SlotData<void(const QString &, const QString &, const qint32)>(11, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::QString, 7 }, { QMetaType::QString, 8 }, { QMetaType::Int, 12 },
        }}),
        // Slot 'downloadByAccountID'
        QtMocHelpers::SlotData<void(const QString &)>(13, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::QString, 7 },
        }}),
        // Slot 'uploadNetWorkAccountData'
        QtMocHelpers::SlotData<void()>(14, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void),
        // Slot 'getCalendarGeneralSettings'
        QtMocHelpers::SlotData<QString()>(15, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::QString),
        // Slot 'setCalendarGeneralSettings'
        QtMocHelpers::SlotData<void(const QString &)>(16, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::QString, 17 },
        }}),
        // Slot 'calendarIsShow'
        QtMocHelpers::SlotData<void(const bool &)>(18, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::Bool, 19 },
        }}),
        // Slot 'login'
        QtMocHelpers::SlotData<void()>(20, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void),
        // Slot 'logout'
        QtMocHelpers::SlotData<void()>(21, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void),
        // Slot 'isSupportUid'
        QtMocHelpers::SlotData<bool()>(22, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Bool),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'firstDayOfWeek'
        QtMocHelpers::PropertyData<int>(23, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'timeFormatType'
        QtMocHelpers::PropertyData<int>(24, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'firstDayOfWeekSource'
        QtMocHelpers::PropertyData<int>(25, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'timeFormatTypeSource'
        QtMocHelpers::PropertyData<int>(26, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<DAccountManagerService, qt_meta_tag_ZN22DAccountManagerServiceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject DAccountManagerService::staticMetaObject = { {
    QMetaObject::SuperData::link<DServiceBase::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN22DAccountManagerServiceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN22DAccountManagerServiceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN22DAccountManagerServiceE_t>.metaTypes,
    nullptr
} };

void DAccountManagerService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DAccountManagerService *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->accountUpdate(); break;
        case 1: { QString _r = _t->getAccountList();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->remindJob((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 3: _t->updateRemindJob((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->notifyMsgHanding((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<qint32>>(_a[3]))); break;
        case 5: _t->downloadByAccountID((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: _t->uploadNetWorkAccountData(); break;
        case 7: { QString _r = _t->getCalendarGeneralSettings();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 8: _t->setCalendarGeneralSettings((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 9: _t->calendarIsShow((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->login(); break;
        case 11: _t->logout(); break;
        case 12: { bool _r = _t->isSupportUid();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DAccountManagerService::*)()>(_a, &DAccountManagerService::accountUpdate, 0))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->getfirstDayOfWeek(); break;
        case 1: *reinterpret_cast<int*>(_v) = _t->getTimeFormatType(); break;
        case 2: *reinterpret_cast<int*>(_v) = _t->getFirstDayOfWeekSource(); break;
        case 3: *reinterpret_cast<int*>(_v) = _t->getTimeFormatTypeSource(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFirstDayOfWeek(*reinterpret_cast<int*>(_v)); break;
        case 1: _t->setTimeFormatType(*reinterpret_cast<int*>(_v)); break;
        case 2: _t->setFirstDayOfWeekSource(*reinterpret_cast<int*>(_v)); break;
        case 3: _t->setTimeFormatTypeSource(*reinterpret_cast<int*>(_v)); break;
        default: break;
        }
    }
}

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

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

int DAccountManagerService::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DServiceBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 13;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    }
    return _id;
}

// SIGNAL 0
void DAccountManagerService::accountUpdate()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
