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

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

template <> constexpr inline auto SettingsAdaptor::qt_create_metaobjectdata<qt_meta_tag_ZN15SettingsAdaptorE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "SettingsAdaptor",
        "D-Bus Interface",
        "org.kde.Akonadi.Birthdays.Settings",
        "D-Bus Introspection",
        "  <interface name=\"org.kde.Akonadi.Birthdays.Settings\">\n    <me"
        "thod name=\"save\"/>\n    <method name=\"filterOnCategories\">\n  "
        "    <arg direction=\"out\" type=\"b\"/>\n    </method>\n    <metho"
        "d name=\"setFilterOnCategories\">\n      <arg direction=\"in\" typ"
        "e=\"b\"/>\n    </method>\n    <method name=\"filterCategories\">\n"
        "      <arg direction=\"out\" type=\"as\"/>\n    </method>\n    <me"
        "thod name=\"setFilterCategories\">\n      <arg direction=\"in\" ty"
        "pe=\"as\"/>\n    </method>\n    <method name=\"enableAlarm\">\n   "
        "   <arg direction=\"out\" type=\"b\"/>\n    </method>\n    <method"
        " name=\"setEnableAlarm\">\n      <arg direction=\"in\" type=\"b\"/"
        ">\n    </method>\n    <method name=\"alarmDays\">\n      <arg dire"
        "ction=\"out\" type=\"i\"/>\n    </method>\n    <method name=\"setA"
        "larmDays\">\n      <arg direction=\"in\" type=\"i\"/>\n    </metho"
        "d>\n  </interface>\n",
        "alarmDays",
        "",
        "enableAlarm",
        "filterCategories",
        "filterOnCategories",
        "save",
        "setAlarmDays",
        "in0",
        "setEnableAlarm",
        "setFilterCategories",
        "setFilterOnCategories"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'alarmDays'
        QtMocHelpers::SlotData<int()>(5, 6, QMC::AccessPublic, QMetaType::Int),
        // Slot 'enableAlarm'
        QtMocHelpers::SlotData<bool()>(7, 6, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'filterCategories'
        QtMocHelpers::SlotData<QStringList()>(8, 6, QMC::AccessPublic, QMetaType::QStringList),
        // Slot 'filterOnCategories'
        QtMocHelpers::SlotData<bool()>(9, 6, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'save'
        QtMocHelpers::SlotData<void()>(10, 6, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setAlarmDays'
        QtMocHelpers::SlotData<void(int)>(11, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 12 },
        }}),
        // Slot 'setEnableAlarm'
        QtMocHelpers::SlotData<void(bool)>(13, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 12 },
        }}),
        // Slot 'setFilterCategories'
        QtMocHelpers::SlotData<void(const QStringList &)>(14, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 12 },
        }}),
        // Slot 'setFilterOnCategories'
        QtMocHelpers::SlotData<void(bool)>(15, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 12 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
    });
    return QtMocHelpers::metaObjectData<SettingsAdaptor, qt_meta_tag_ZN15SettingsAdaptorE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject SettingsAdaptor::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractAdaptor::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15SettingsAdaptorE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15SettingsAdaptorE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15SettingsAdaptorE_t>.metaTypes,
    nullptr
} };

void SettingsAdaptor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SettingsAdaptor *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { int _r = _t->alarmDays();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 1: { bool _r = _t->enableAlarm();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 2: { QStringList _r = _t->filterCategories();
            if (_a[0]) *reinterpret_cast<QStringList*>(_a[0]) = std::move(_r); }  break;
        case 3: { bool _r = _t->filterOnCategories();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 4: _t->save(); break;
        case 5: _t->setAlarmDays((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 6: _t->setEnableAlarm((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 7: _t->setFilterCategories((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 8: _t->setFilterOnCategories((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
}

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

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

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