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

template <> constexpr inline auto VCardSettingsAdaptor::qt_create_metaobjectdata<qt_meta_tag_ZN20VCardSettingsAdaptorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "VCardSettingsAdaptor",
        "D-Bus Interface",
        "org.kde.Akonadi.VCard.Settings",
        "D-Bus Introspection",
        "  <interface name=\"org.kde.Akonadi.VCard.Settings\">\n    <method"
        " name=\"save\"/>\n    <method name=\"path\">\n      <arg direction"
        "=\"out\" type=\"s\"/>\n    </method>\n    <method name=\"setPath\""
        ">\n      <arg direction=\"in\" type=\"s\"/>\n    </method>\n    <m"
        "ethod name=\"displayName\">\n      <arg direction=\"out\" type=\"s"
        "\"/>\n    </method>\n    <method name=\"setDisplayName\">\n      <"
        "arg direction=\"in\" type=\"s\"/>\n    </method>\n    <method name"
        "=\"readOnly\">\n      <arg direction=\"out\" type=\"b\"/>\n    </m"
        "ethod>\n    <method name=\"setReadOnly\">\n      <arg direction=\""
        "in\" type=\"b\"/>\n    </method>\n    <method name=\"monitorFile\""
        ">\n      <arg direction=\"out\" type=\"b\"/>\n    </method>\n    <"
        "method name=\"setMonitorFile\">\n      <arg direction=\"in\" type="
        "\"b\"/>\n    </method>\n    <method name=\"periodicUpdate\">\n    "
        "  <arg direction=\"out\" type=\"b\"/>\n    </method>\n    <method "
        "name=\"setPeriodicUpdate\">\n      <arg direction=\"in\" type=\"b\""
        "/>\n    </method>\n    <method name=\"updatePeriod\">\n      <arg "
        "direction=\"out\" type=\"i\"/>\n    </method>\n    <method name=\""
        "setUpdatePeriod\">\n      <arg direction=\"in\" type=\"i\"/>\n    "
        "</method>\n  </interface>\n",
        "displayName",
        "",
        "monitorFile",
        "path",
        "periodicUpdate",
        "readOnly",
        "save",
        "setDisplayName",
        "in0",
        "setMonitorFile",
        "setPath",
        "setPeriodicUpdate",
        "setReadOnly",
        "setUpdatePeriod",
        "updatePeriod"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'displayName'
        QtMocHelpers::SlotData<QString()>(5, 6, QMC::AccessPublic, QMetaType::QString),
        // Slot 'monitorFile'
        QtMocHelpers::SlotData<bool()>(7, 6, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'path'
        QtMocHelpers::SlotData<QString()>(8, 6, QMC::AccessPublic, QMetaType::QString),
        // Slot 'periodicUpdate'
        QtMocHelpers::SlotData<bool()>(9, 6, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'readOnly'
        QtMocHelpers::SlotData<bool()>(10, 6, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'save'
        QtMocHelpers::SlotData<void()>(11, 6, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setDisplayName'
        QtMocHelpers::SlotData<void(const QString &)>(12, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 },
        }}),
        // Slot 'setMonitorFile'
        QtMocHelpers::SlotData<void(bool)>(14, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 13 },
        }}),
        // Slot 'setPath'
        QtMocHelpers::SlotData<void(const QString &)>(15, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 13 },
        }}),
        // Slot 'setPeriodicUpdate'
        QtMocHelpers::SlotData<void(bool)>(16, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 13 },
        }}),
        // Slot 'setReadOnly'
        QtMocHelpers::SlotData<void(bool)>(17, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 13 },
        }}),
        // Slot 'setUpdatePeriod'
        QtMocHelpers::SlotData<void(int)>(18, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 13 },
        }}),
        // Slot 'updatePeriod'
        QtMocHelpers::SlotData<int()>(19, 6, QMC::AccessPublic, QMetaType::Int),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
    });
    return QtMocHelpers::metaObjectData<VCardSettingsAdaptor, qt_meta_tag_ZN20VCardSettingsAdaptorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject VCardSettingsAdaptor::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractAdaptor::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20VCardSettingsAdaptorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN20VCardSettingsAdaptorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN20VCardSettingsAdaptorE_t>.metaTypes,
    nullptr
} };

void VCardSettingsAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<VCardSettingsAdaptor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { QString _r = _t->displayName();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 1: { bool _r = _t->monitorFile();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 2: { QString _r = _t->path();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 3: { bool _r = _t->periodicUpdate();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 4: { bool _r = _t->readOnly();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->save(); break;
        case 6: _t->setDisplayName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 7: _t->setMonitorFile((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 8: _t->setPath((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 9: _t->setPeriodicUpdate((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->setReadOnly((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 11: _t->setUpdatePeriod((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 12: { int _r = _t->updatePeriod();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

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

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

int VCardSettingsAdaptor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractAdaptor::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;
    }
    return _id;
}
QT_WARNING_POP
