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

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

template <> constexpr inline auto OrgFreedesktopAkonadiSendLaterAgentInterface::qt_create_metaobjectdata<qt_meta_tag_ZN44OrgFreedesktopAkonadiSendLaterAgentInterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "OrgFreedesktopAkonadiSendLaterAgentInterface",
        "addItem",
        "QDBusPendingReply<>",
        "",
        "datetime",
        "recurrence",
        "recurrenceValue",
        "recurrenceUnit",
        "itemId",
        "subject",
        "to",
        "enabledAgent",
        "QDBusPendingReply<bool>",
        "printDebugInfo",
        "QDBusPendingReply<QString>",
        "reload",
        "removeItem",
        "item",
        "setEnableAgent",
        "in0"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'addItem'
        QtMocHelpers::SlotData<QDBusPendingReply<>(qlonglong, bool, int, int, qlonglong, const QString &, const QString &)>(1, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::LongLong, 4 }, { QMetaType::Bool, 5 }, { QMetaType::Int, 6 }, { QMetaType::Int, 7 },
            { QMetaType::LongLong, 8 }, { QMetaType::QString, 9 }, { QMetaType::QString, 10 },
        }}),
        // Slot 'enabledAgent'
        QtMocHelpers::SlotData<QDBusPendingReply<bool>()>(11, 3, QMC::AccessPublic, 0x80000000 | 12),
        // Slot 'printDebugInfo'
        QtMocHelpers::SlotData<QDBusPendingReply<QString>()>(13, 3, QMC::AccessPublic, 0x80000000 | 14),
        // Slot 'reload'
        QtMocHelpers::SlotData<QDBusPendingReply<>()>(15, 3, QMC::AccessPublic, 0x80000000 | 2),
        // Slot 'removeItem'
        QtMocHelpers::SlotData<QDBusPendingReply<>(qlonglong)>(16, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::LongLong, 17 },
        }}),
        // Slot 'setEnableAgent'
        QtMocHelpers::SlotData<QDBusPendingReply<>(bool)>(18, 3, QMC::AccessPublic, 0x80000000 | 2, {{
            { QMetaType::Bool, 19 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<OrgFreedesktopAkonadiSendLaterAgentInterface, qt_meta_tag_ZN44OrgFreedesktopAkonadiSendLaterAgentInterfaceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject OrgFreedesktopAkonadiSendLaterAgentInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN44OrgFreedesktopAkonadiSendLaterAgentInterfaceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN44OrgFreedesktopAkonadiSendLaterAgentInterfaceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN44OrgFreedesktopAkonadiSendLaterAgentInterfaceE_t>.metaTypes,
    nullptr
} };

void OrgFreedesktopAkonadiSendLaterAgentInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<OrgFreedesktopAkonadiSendLaterAgentInterface *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { QDBusPendingReply<> _r = _t->addItem((*reinterpret_cast<std::add_pointer_t<qlonglong>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<qlonglong>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[6])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[7])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 1: { QDBusPendingReply<bool> _r = _t->enabledAgent();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 2: { QDBusPendingReply<QString> _r = _t->printDebugInfo();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<QString>*>(_a[0]) = std::move(_r); }  break;
        case 3: { QDBusPendingReply<> _r = _t->reload();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 4: { QDBusPendingReply<> _r = _t->removeItem((*reinterpret_cast<std::add_pointer_t<qlonglong>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<> _r = _t->setEnableAgent((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

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

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

int OrgFreedesktopAkonadiSendLaterAgentInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 6;
    }
    return _id;
}
QT_WARNING_POP
