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

#include "../../../../networkmanager-qt-6.26.0/src/dbus/iptunneldeviceinterface.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 'iptunneldeviceinterface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.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_ZN51OrgFreedesktopNetworkManagerDeviceIPTunnelInterfaceE_t {};
} // unnamed namespace

template <> constexpr inline auto OrgFreedesktopNetworkManagerDeviceIPTunnelInterface::qt_create_metaobjectdata<qt_meta_tag_ZN51OrgFreedesktopNetworkManagerDeviceIPTunnelInterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "OrgFreedesktopNetworkManagerDeviceIPTunnelInterface",
        "PropertiesChanged",
        "",
        "QVariantMap",
        "properties",
        "EncapsulationLimit",
        "FlowLabel",
        "InputKey",
        "Local",
        "Mode",
        "OutputKey",
        "Parent",
        "QDBusObjectPath",
        "PathMtuDiscovery",
        "Remote",
        "Tos",
        "Ttl"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'PropertiesChanged'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'EncapsulationLimit'
        QtMocHelpers::PropertyData<uchar>(5, QMetaType::UChar, QMC::DefaultPropertyFlags),
        // property 'FlowLabel'
        QtMocHelpers::PropertyData<uint>(6, QMetaType::UInt, QMC::DefaultPropertyFlags),
        // property 'InputKey'
        QtMocHelpers::PropertyData<QString>(7, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'Local'
        QtMocHelpers::PropertyData<QString>(8, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'Mode'
        QtMocHelpers::PropertyData<uint>(9, QMetaType::UInt, QMC::DefaultPropertyFlags),
        // property 'OutputKey'
        QtMocHelpers::PropertyData<QString>(10, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'Parent'
        QtMocHelpers::PropertyData<QDBusObjectPath>(11, 0x80000000 | 12, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'PathMtuDiscovery'
        QtMocHelpers::PropertyData<bool>(13, QMetaType::Bool, QMC::DefaultPropertyFlags),
        // property 'Remote'
        QtMocHelpers::PropertyData<QString>(14, QMetaType::QString, QMC::DefaultPropertyFlags),
        // property 'Tos'
        QtMocHelpers::PropertyData<uchar>(15, QMetaType::UChar, QMC::DefaultPropertyFlags),
        // property 'Ttl'
        QtMocHelpers::PropertyData<uchar>(16, QMetaType::UChar, QMC::DefaultPropertyFlags),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<OrgFreedesktopNetworkManagerDeviceIPTunnelInterface, qt_meta_tag_ZN51OrgFreedesktopNetworkManagerDeviceIPTunnelInterfaceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject OrgFreedesktopNetworkManagerDeviceIPTunnelInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN51OrgFreedesktopNetworkManagerDeviceIPTunnelInterfaceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN51OrgFreedesktopNetworkManagerDeviceIPTunnelInterfaceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN51OrgFreedesktopNetworkManagerDeviceIPTunnelInterfaceE_t>.metaTypes,
    nullptr
} };

void OrgFreedesktopNetworkManagerDeviceIPTunnelInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<OrgFreedesktopNetworkManagerDeviceIPTunnelInterface *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->PropertiesChanged((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (OrgFreedesktopNetworkManagerDeviceIPTunnelInterface::*)(const QVariantMap & )>(_a, &OrgFreedesktopNetworkManagerDeviceIPTunnelInterface::PropertiesChanged, 0))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 6:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDBusObjectPath >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<uchar*>(_v) = _t->encapsulationLimit(); break;
        case 1: *reinterpret_cast<uint*>(_v) = _t->flowLabel(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->inputKey(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->local(); break;
        case 4: *reinterpret_cast<uint*>(_v) = _t->mode(); break;
        case 5: *reinterpret_cast<QString*>(_v) = _t->outputKey(); break;
        case 6: *reinterpret_cast<QDBusObjectPath*>(_v) = _t->parent(); break;
        case 7: *reinterpret_cast<bool*>(_v) = _t->pathMtuDiscovery(); break;
        case 8: *reinterpret_cast<QString*>(_v) = _t->remote(); break;
        case 9: *reinterpret_cast<uchar*>(_v) = _t->tos(); break;
        case 10: *reinterpret_cast<uchar*>(_v) = _t->ttl(); break;
        default: break;
        }
    }
}

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

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

int OrgFreedesktopNetworkManagerDeviceIPTunnelInterface::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 1;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}

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