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

template <> constexpr inline auto DbusAccountRequest::qt_create_metaobjectdata<qt_meta_tag_ZN18DbusAccountRequestE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DbusAccountRequest",
        "signalCreateScheduleFinish",
        "",
        "scheduleID",
        "signalGetAccountInfoFinish",
        "DAccount::Ptr",
        "signalGetScheduleFinish",
        "DSchedule::Ptr",
        "signalGetScheduleTypeListFinish",
        "DScheduleType::List",
        "signalGetScheduleListFinish",
        "QMap<QDate,DSchedule::List>",
        "signalSearchScheduleListFinish",
        "signalGetSysColorsFinish",
        "DTypeColor::List",
        "slotCallFinished",
        "CDBusPendingCallWatcher*"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'signalCreateScheduleFinish'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'signalGetAccountInfoFinish'
        QtMocHelpers::SignalData<void(DAccount::Ptr)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 2 },
        }}),
        // Signal 'signalGetScheduleFinish'
        QtMocHelpers::SignalData<void(const DSchedule::Ptr &)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 2 },
        }}),
        // Signal 'signalGetScheduleTypeListFinish'
        QtMocHelpers::SignalData<void(DScheduleType::List)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 9, 2 },
        }}),
        // Signal 'signalGetScheduleListFinish'
        QtMocHelpers::SignalData<void(QMap<QDate,DSchedule::List>)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 2 },
        }}),
        // Signal 'signalSearchScheduleListFinish'
        QtMocHelpers::SignalData<void(QMap<QDate,DSchedule::List>)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 2 },
        }}),
        // Signal 'signalGetSysColorsFinish'
        QtMocHelpers::SignalData<void(DTypeColor::List)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 2 },
        }}),
        // Slot 'slotCallFinished'
        QtMocHelpers::SlotData<void(CDBusPendingCallWatcher *)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 16, 2 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DbusAccountRequest, qt_meta_tag_ZN18DbusAccountRequestE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject DbusAccountRequest::staticMetaObject = { {
    QMetaObject::SuperData::link<DbusRequestBase::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18DbusAccountRequestE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18DbusAccountRequestE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18DbusAccountRequestE_t>.metaTypes,
    nullptr
} };

void DbusAccountRequest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DbusAccountRequest *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->signalCreateScheduleFinish((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->signalGetAccountInfoFinish((*reinterpret_cast<std::add_pointer_t<DAccount::Ptr>>(_a[1]))); break;
        case 2: _t->signalGetScheduleFinish((*reinterpret_cast<std::add_pointer_t<DSchedule::Ptr>>(_a[1]))); break;
        case 3: _t->signalGetScheduleTypeListFinish((*reinterpret_cast<std::add_pointer_t<DScheduleType::List>>(_a[1]))); break;
        case 4: _t->signalGetScheduleListFinish((*reinterpret_cast<std::add_pointer_t<QMap<QDate,DSchedule::List>>>(_a[1]))); break;
        case 5: _t->signalSearchScheduleListFinish((*reinterpret_cast<std::add_pointer_t<QMap<QDate,DSchedule::List>>>(_a[1]))); break;
        case 6: _t->signalGetSysColorsFinish((*reinterpret_cast<std::add_pointer_t<DTypeColor::List>>(_a[1]))); break;
        case 7: _t->slotCallFinished((*reinterpret_cast<std::add_pointer_t<CDBusPendingCallWatcher*>>(_a[1]))); 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< CDBusPendingCallWatcher* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DbusAccountRequest::*)(const QString & )>(_a, &DbusAccountRequest::signalCreateScheduleFinish, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DbusAccountRequest::*)(DAccount::Ptr )>(_a, &DbusAccountRequest::signalGetAccountInfoFinish, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DbusAccountRequest::*)(const DSchedule::Ptr & )>(_a, &DbusAccountRequest::signalGetScheduleFinish, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DbusAccountRequest::*)(DScheduleType::List )>(_a, &DbusAccountRequest::signalGetScheduleTypeListFinish, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DbusAccountRequest::*)(QMap<QDate,DSchedule::List> )>(_a, &DbusAccountRequest::signalGetScheduleListFinish, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DbusAccountRequest::*)(QMap<QDate,DSchedule::List> )>(_a, &DbusAccountRequest::signalSearchScheduleListFinish, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (DbusAccountRequest::*)(DTypeColor::List )>(_a, &DbusAccountRequest::signalGetSysColorsFinish, 6))
            return;
    }
}

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

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

int DbusAccountRequest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = DbusRequestBase::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void DbusAccountRequest::signalCreateScheduleFinish(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void DbusAccountRequest::signalGetAccountInfoFinish(DAccount::Ptr _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void DbusAccountRequest::signalGetScheduleFinish(const DSchedule::Ptr & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void DbusAccountRequest::signalGetScheduleTypeListFinish(DScheduleType::List _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void DbusAccountRequest::signalGetScheduleListFinish(QMap<QDate,DSchedule::List> _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void DbusAccountRequest::signalSearchScheduleListFinish(QMap<QDate,DSchedule::List> _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void DbusAccountRequest::signalGetSysColorsFinish(DTypeColor::List _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
