/****************************************************************************
** Meta object code from reading C++ file 'appcontext.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 "../../../iDescriptor/src/appcontext.h"
#include <QtGui/qtextcursor.h>
#include <QtNetwork/QSslError>
#include <QtNetwork/QSslPreSharedKeyAuthenticator>
#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 'appcontext.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_ZN10AppContextE_t {};
} // unnamed namespace

template <> constexpr inline auto AppContext::qt_create_metaobjectdata<qt_meta_tag_ZN10AppContextE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "AppContext",
        "deviceAdded",
        "",
        "std::shared_ptr<iDescriptorDevice>",
        "device",
        "deviceRemoved",
        "udid",
        "std::string",
        "macAddress",
        "wasWireless",
        "devicePaired",
        "devicePasswordProtected",
        "deviceAlreadyExists",
        "iDescriptor::Uniq",
        "uniq",
        "deviceAlreadyExistsMAC",
        "deviceBecameWired",
        "recoveryDeviceAdded",
        "const iDescriptorRecoveryDevice*",
        "deviceInfo",
        "recoveryDeviceRemoved",
        "uint64_t",
        "ecid",
        "devicePairPending",
        "devicePairingExpired",
        "noPairingFileForWirelessDevice",
        "initFailed",
        "initStarted",
        "pairingFailed",
        "deviceChange",
        "currentDeviceSelectionChanged",
        "DeviceSelection",
        "selection",
        "deviceHeartbeatFailed",
        "tries",
        "removeDevice",
        "ask_backend",
        "addDevice",
        "iDescriptor::IdeviceConnectionType",
        "connType",
        "AddType",
        "addType",
        "info",
        "wifiMacAddress",
        "ipAddress",
        "heartbeatFailed",
        "addRecoveryDevice",
        "removeRecoveryDevice"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'deviceAdded'
        QtMocHelpers::SignalData<void(std::shared_ptr<iDescriptorDevice>)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'deviceRemoved'
        QtMocHelpers::SignalData<void(const QString &, const std::string &, bool)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 }, { 0x80000000 | 7, 8 }, { QMetaType::Bool, 9 },
        }}),
        // Signal 'devicePaired'
        QtMocHelpers::SignalData<void(std::shared_ptr<iDescriptorDevice>)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'devicePasswordProtected'
        QtMocHelpers::SignalData<void(const QString &)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'deviceAlreadyExists'
        QtMocHelpers::SignalData<void(const iDescriptor::Uniq &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Signal 'deviceAlreadyExistsMAC'
        QtMocHelpers::SignalData<void(const iDescriptor::Uniq &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Signal 'deviceBecameWired'
        QtMocHelpers::SignalData<void(const QString &)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'recoveryDeviceAdded'
        QtMocHelpers::SignalData<void(const iDescriptorRecoveryDevice *)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 19 },
        }}),
        // Signal 'recoveryDeviceRemoved'
        QtMocHelpers::SignalData<void(uint64_t)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 21, 22 },
        }}),
        // Signal 'devicePairPending'
        QtMocHelpers::SignalData<void(const QString &)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'devicePairingExpired'
        QtMocHelpers::SignalData<void(const QString &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'noPairingFileForWirelessDevice'
        QtMocHelpers::SignalData<void(const QString &)>(25, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 },
        }}),
        // Signal 'initFailed'
        QtMocHelpers::SignalData<void(const QString &)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'initStarted'
        QtMocHelpers::SignalData<void(const QString &)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'pairingFailed'
        QtMocHelpers::SignalData<void(const QString &)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 6 },
        }}),
        // Signal 'deviceChange'
        QtMocHelpers::SignalData<void()>(29, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'currentDeviceSelectionChanged'
        QtMocHelpers::SignalData<void(const DeviceSelection &)>(30, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Signal 'deviceHeartbeatFailed'
        QtMocHelpers::SignalData<void(const QString &, int)>(33, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 }, { QMetaType::Int, 34 },
        }}),
        // Slot 'removeDevice'
        QtMocHelpers::SlotData<void(iDescriptor::Uniq, bool)>(35, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 14 }, { QMetaType::Bool, 36 },
        }}),
        // Slot 'removeDevice'
        QtMocHelpers::SlotData<void(iDescriptor::Uniq)>(35, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Slot 'addDevice'
        QtMocHelpers::SlotData<void(iDescriptor::Uniq, iDescriptor::IdeviceConnectionType, AddType, QString, QString, QString)>(37, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 6 }, { 0x80000000 | 38, 39 }, { 0x80000000 | 40, 41 }, { QMetaType::QString, 42 },
            { QMetaType::QString, 43 }, { QMetaType::QString, 44 },
        }}),
        // Slot 'addDevice'
        QtMocHelpers::SlotData<void(iDescriptor::Uniq, iDescriptor::IdeviceConnectionType, AddType, QString, QString)>(37, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 13, 6 }, { 0x80000000 | 38, 39 }, { 0x80000000 | 40, 41 }, { QMetaType::QString, 42 },
            { QMetaType::QString, 43 },
        }}),
        // Slot 'addDevice'
        QtMocHelpers::SlotData<void(iDescriptor::Uniq, iDescriptor::IdeviceConnectionType, AddType, QString)>(37, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 13, 6 }, { 0x80000000 | 38, 39 }, { 0x80000000 | 40, 41 }, { QMetaType::QString, 42 },
        }}),
        // Slot 'addDevice'
        QtMocHelpers::SlotData<void(iDescriptor::Uniq, iDescriptor::IdeviceConnectionType, AddType)>(37, 2, QMC::AccessPublic | QMC::MethodCloned, QMetaType::Void, {{
            { 0x80000000 | 13, 6 }, { 0x80000000 | 38, 39 }, { 0x80000000 | 40, 41 },
        }}),
        // Slot 'heartbeatFailed'
        QtMocHelpers::SlotData<void(const QString &, int)>(45, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 8 }, { QMetaType::Int, 34 },
        }}),
        // Slot 'addRecoveryDevice'
        QtMocHelpers::SlotData<void(uint64_t)>(46, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 21, 22 },
        }}),
        // Slot 'removeRecoveryDevice'
        QtMocHelpers::SlotData<void(uint64_t)>(47, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 21, 22 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<AppContext, qt_meta_tag_ZN10AppContextE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject AppContext::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10AppContextE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10AppContextE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10AppContextE_t>.metaTypes,
    nullptr
} };

void AppContext::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<AppContext *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->deviceAdded((*reinterpret_cast<std::add_pointer_t<std::shared_ptr<iDescriptorDevice>>>(_a[1]))); break;
        case 1: _t->deviceRemoved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<std::string>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3]))); break;
        case 2: _t->devicePaired((*reinterpret_cast<std::add_pointer_t<std::shared_ptr<iDescriptorDevice>>>(_a[1]))); break;
        case 3: _t->devicePasswordProtected((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: _t->deviceAlreadyExists((*reinterpret_cast<std::add_pointer_t<iDescriptor::Uniq>>(_a[1]))); break;
        case 5: _t->deviceAlreadyExistsMAC((*reinterpret_cast<std::add_pointer_t<iDescriptor::Uniq>>(_a[1]))); break;
        case 6: _t->deviceBecameWired((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 7: _t->recoveryDeviceAdded((*reinterpret_cast<std::add_pointer_t<const iDescriptorRecoveryDevice*>>(_a[1]))); break;
        case 8: _t->recoveryDeviceRemoved((*reinterpret_cast<std::add_pointer_t<uint64_t>>(_a[1]))); break;
        case 9: _t->devicePairPending((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->devicePairingExpired((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 11: _t->noPairingFileForWirelessDevice((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: _t->initFailed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 13: _t->initStarted((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 14: _t->pairingFailed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 15: _t->deviceChange(); break;
        case 16: _t->currentDeviceSelectionChanged((*reinterpret_cast<std::add_pointer_t<DeviceSelection>>(_a[1]))); break;
        case 17: _t->deviceHeartbeatFailed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 18: _t->removeDevice((*reinterpret_cast<std::add_pointer_t<iDescriptor::Uniq>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 19: _t->removeDevice((*reinterpret_cast<std::add_pointer_t<iDescriptor::Uniq>>(_a[1]))); break;
        case 20: _t->addDevice((*reinterpret_cast<std::add_pointer_t<iDescriptor::Uniq>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<iDescriptor::IdeviceConnectionType>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<AddType>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[6]))); break;
        case 21: _t->addDevice((*reinterpret_cast<std::add_pointer_t<iDescriptor::Uniq>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<iDescriptor::IdeviceConnectionType>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<AddType>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[5]))); break;
        case 22: _t->addDevice((*reinterpret_cast<std::add_pointer_t<iDescriptor::Uniq>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<iDescriptor::IdeviceConnectionType>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<AddType>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4]))); break;
        case 23: _t->addDevice((*reinterpret_cast<std::add_pointer_t<iDescriptor::Uniq>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<iDescriptor::IdeviceConnectionType>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<AddType>>(_a[3]))); break;
        case 24: _t->heartbeatFailed((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2]))); break;
        case 25: _t->addRecoveryDevice((*reinterpret_cast<std::add_pointer_t<uint64_t>>(_a[1]))); break;
        case 26: _t->removeRecoveryDevice((*reinterpret_cast<std::add_pointer_t<uint64_t>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(std::shared_ptr<iDescriptorDevice> )>(_a, &AppContext::deviceAdded, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const QString & , const std::string & , bool )>(_a, &AppContext::deviceRemoved, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(std::shared_ptr<iDescriptorDevice> )>(_a, &AppContext::devicePaired, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const QString & )>(_a, &AppContext::devicePasswordProtected, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const iDescriptor::Uniq & )>(_a, &AppContext::deviceAlreadyExists, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const iDescriptor::Uniq & )>(_a, &AppContext::deviceAlreadyExistsMAC, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const QString & )>(_a, &AppContext::deviceBecameWired, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const iDescriptorRecoveryDevice * )>(_a, &AppContext::recoveryDeviceAdded, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(uint64_t )>(_a, &AppContext::recoveryDeviceRemoved, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const QString & )>(_a, &AppContext::devicePairPending, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const QString & )>(_a, &AppContext::devicePairingExpired, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const QString & )>(_a, &AppContext::noPairingFileForWirelessDevice, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const QString & )>(_a, &AppContext::initFailed, 12))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const QString & )>(_a, &AppContext::initStarted, 13))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const QString & )>(_a, &AppContext::pairingFailed, 14))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)()>(_a, &AppContext::deviceChange, 15))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const DeviceSelection & )>(_a, &AppContext::currentDeviceSelectionChanged, 16))
            return;
        if (QtMocHelpers::indexOfMethod<void (AppContext::*)(const QString & , int )>(_a, &AppContext::deviceHeartbeatFailed, 17))
            return;
    }
}

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

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

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

// SIGNAL 0
void AppContext::deviceAdded(std::shared_ptr<iDescriptorDevice> _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void AppContext::deviceRemoved(const QString & _t1, const std::string & _t2, bool _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3);
}

// SIGNAL 2
void AppContext::devicePaired(std::shared_ptr<iDescriptorDevice> _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void AppContext::devicePasswordProtected(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void AppContext::deviceAlreadyExists(const iDescriptor::Uniq & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void AppContext::deviceAlreadyExistsMAC(const iDescriptor::Uniq & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void AppContext::deviceBecameWired(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void AppContext::recoveryDeviceAdded(const iDescriptorRecoveryDevice * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void AppContext::recoveryDeviceRemoved(uint64_t _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void AppContext::devicePairPending(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void AppContext::devicePairingExpired(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1);
}

// SIGNAL 11
void AppContext::noPairingFileForWirelessDevice(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 11, nullptr, _t1);
}

// SIGNAL 12
void AppContext::initFailed(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}

// SIGNAL 13
void AppContext::initStarted(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 13, nullptr, _t1);
}

// SIGNAL 14
void AppContext::pairingFailed(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 14, nullptr, _t1);
}

// SIGNAL 15
void AppContext::deviceChange()
{
    QMetaObject::activate(this, &staticMetaObject, 15, nullptr);
}

// SIGNAL 16
void AppContext::currentDeviceSelectionChanged(const DeviceSelection & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 16, nullptr, _t1);
}

// SIGNAL 17
void AppContext::deviceHeartbeatFailed(const QString & _t1, int _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 17, nullptr, _t1, _t2);
}
QT_WARNING_POP
