/****************************************************************************
** Meta object code from reading C++ file 'connectioninterface.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 "../../../../networkmanager-qt-6.29.0/src/dbus/connectioninterface.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 'connectioninterface.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_ZN55OrgFreedesktopNetworkManagerSettingsConnectionInterfaceE_t {};
} // unnamed namespace

template <> constexpr inline auto OrgFreedesktopNetworkManagerSettingsConnectionInterface::qt_create_metaobjectdata<qt_meta_tag_ZN55OrgFreedesktopNetworkManagerSettingsConnectionInterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "OrgFreedesktopNetworkManagerSettingsConnectionInterface",
        "PropertiesChanged",
        "",
        "QVariantMap",
        "properties",
        "Removed",
        "Updated",
        "ClearSecrets",
        "QDBusPendingReply<>",
        "Delete",
        "GetSecrets",
        "QDBusPendingReply<NMVariantMapMap>",
        "setting_name",
        "GetSettings",
        "Save",
        "Update",
        "NMVariantMapMap",
        "UpdateUnsaved",
        "Unsaved"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'PropertiesChanged'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'Removed'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'Updated'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'ClearSecrets'
        QtMocHelpers::SlotData<QDBusPendingReply<>()>(7, 2, QMC::AccessPublic, 0x80000000 | 8),
        // Slot 'Delete'
        QtMocHelpers::SlotData<QDBusPendingReply<>()>(9, 2, QMC::AccessPublic, 0x80000000 | 8),
        // Slot 'GetSecrets'
        QtMocHelpers::SlotData<QDBusPendingReply<NMVariantMapMap>(const QString &)>(10, 2, QMC::AccessPublic, 0x80000000 | 11, {{
            { QMetaType::QString, 12 },
        }}),
        // Slot 'GetSettings'
        QtMocHelpers::SlotData<QDBusPendingReply<NMVariantMapMap>()>(13, 2, QMC::AccessPublic, 0x80000000 | 11),
        // Slot 'Save'
        QtMocHelpers::SlotData<QDBusPendingReply<>()>(14, 2, QMC::AccessPublic, 0x80000000 | 8),
        // Slot 'Update'
        QtMocHelpers::SlotData<QDBusPendingReply<>(NMVariantMapMap)>(15, 2, QMC::AccessPublic, 0x80000000 | 8, {{
            { 0x80000000 | 16, 4 },
        }}),
        // Slot 'UpdateUnsaved'
        QtMocHelpers::SlotData<QDBusPendingReply<>(NMVariantMapMap)>(17, 2, QMC::AccessPublic, 0x80000000 | 8, {{
            { 0x80000000 | 16, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'Unsaved'
        QtMocHelpers::PropertyData<bool>(18, QMetaType::Bool, QMC::DefaultPropertyFlags),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<OrgFreedesktopNetworkManagerSettingsConnectionInterface, qt_meta_tag_ZN55OrgFreedesktopNetworkManagerSettingsConnectionInterfaceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject OrgFreedesktopNetworkManagerSettingsConnectionInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN55OrgFreedesktopNetworkManagerSettingsConnectionInterfaceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN55OrgFreedesktopNetworkManagerSettingsConnectionInterfaceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN55OrgFreedesktopNetworkManagerSettingsConnectionInterfaceE_t>.metaTypes,
    nullptr
} };

void OrgFreedesktopNetworkManagerSettingsConnectionInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<OrgFreedesktopNetworkManagerSettingsConnectionInterface *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->PropertiesChanged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 1: _t->Removed(); break;
        case 2: _t->Updated(); break;
        case 3: { QDBusPendingReply<> _r = _t->ClearSecrets();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 4: { QDBusPendingReply<> _r = _t->Delete();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<NMVariantMapMap> _r = _t->GetSecrets((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<NMVariantMapMap>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusPendingReply<NMVariantMapMap> _r = _t->GetSettings();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<NMVariantMapMap>*>(_a[0]) = std::move(_r); }  break;
        case 7: { QDBusPendingReply<> _r = _t->Save();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusPendingReply<> _r = _t->Update((*reinterpret_cast<std::add_pointer_t<NMVariantMapMap>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusPendingReply<> _r = _t->UpdateUnsaved((*reinterpret_cast<std::add_pointer_t<NMVariantMapMap>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< NMVariantMapMap >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< NMVariantMapMap >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (OrgFreedesktopNetworkManagerSettingsConnectionInterface::*)(const QVariantMap & )>(_a, &OrgFreedesktopNetworkManagerSettingsConnectionInterface::PropertiesChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (OrgFreedesktopNetworkManagerSettingsConnectionInterface::*)()>(_a, &OrgFreedesktopNetworkManagerSettingsConnectionInterface::Removed, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (OrgFreedesktopNetworkManagerSettingsConnectionInterface::*)()>(_a, &OrgFreedesktopNetworkManagerSettingsConnectionInterface::Updated, 2))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<bool*>(_v) = _t->unsaved(); break;
        default: break;
        }
    }
}

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

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

int OrgFreedesktopNetworkManagerSettingsConnectionInterface::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void OrgFreedesktopNetworkManagerSettingsConnectionInterface::PropertiesChanged(const QVariantMap & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void OrgFreedesktopNetworkManagerSettingsConnectionInterface::Removed()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void OrgFreedesktopNetworkManagerSettingsConnectionInterface::Updated()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
