/****************************************************************************
** Meta object code from reading C++ file 'videodevices.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 "../../../jami-client-qt/src/app/videodevices.h"
#include <QtNetwork/QSslError>
#include <QtGui/qtextcursor.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 'videodevices.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_ZN21VideoInputDeviceModelE_t {};
} // unnamed namespace

template <> constexpr inline auto VideoInputDeviceModel::qt_create_metaobjectdata<qt_meta_tag_ZN21VideoInputDeviceModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "VideoInputDeviceModel",
        "reset",
        "",
        "getCurrentIndex",
        "Role",
        "DeviceName",
        "DeviceId"
    };

    QtMocHelpers::UintData qt_methods {
        // Method 'reset'
        QtMocHelpers::MethodData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'getCurrentIndex'
        QtMocHelpers::MethodData<int() const>(3, 2, QMC::AccessPublic, QMetaType::Int),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Role'
        QtMocHelpers::EnumData<enum Role>(4, 4, QMC::EnumFlags{}).add({
            {    5, Role::DeviceName },
            {    6, Role::DeviceId },
        }),
    };
    return QtMocHelpers::metaObjectData<VideoInputDeviceModel, qt_meta_tag_ZN21VideoInputDeviceModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject VideoInputDeviceModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21VideoInputDeviceModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN21VideoInputDeviceModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN21VideoInputDeviceModelE_t>.metaTypes,
    nullptr
} };

void VideoInputDeviceModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<VideoInputDeviceModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->reset(); break;
        case 1: { int _r = _t->getCurrentIndex();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

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

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

int VideoInputDeviceModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 2;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN26VideoFormatResolutionModelE_t {};
} // unnamed namespace

template <> constexpr inline auto VideoFormatResolutionModel::qt_create_metaobjectdata<qt_meta_tag_ZN26VideoFormatResolutionModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "VideoFormatResolutionModel",
        "reset",
        "",
        "getCurrentIndex",
        "Role",
        "Resolution"
    };

    QtMocHelpers::UintData qt_methods {
        // Method 'reset'
        QtMocHelpers::MethodData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'getCurrentIndex'
        QtMocHelpers::MethodData<int() const>(3, 2, QMC::AccessPublic, QMetaType::Int),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Role'
        QtMocHelpers::EnumData<enum Role>(4, 4, QMC::EnumFlags{}).add({
            {    5, Role::Resolution },
        }),
    };
    return QtMocHelpers::metaObjectData<VideoFormatResolutionModel, qt_meta_tag_ZN26VideoFormatResolutionModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject VideoFormatResolutionModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN26VideoFormatResolutionModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN26VideoFormatResolutionModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN26VideoFormatResolutionModelE_t>.metaTypes,
    nullptr
} };

void VideoFormatResolutionModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<VideoFormatResolutionModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->reset(); break;
        case 1: { int _r = _t->getCurrentIndex();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

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

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

int VideoFormatResolutionModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 2;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN19VideoFormatFpsModelE_t {};
} // unnamed namespace

template <> constexpr inline auto VideoFormatFpsModel::qt_create_metaobjectdata<qt_meta_tag_ZN19VideoFormatFpsModelE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "VideoFormatFpsModel",
        "reset",
        "",
        "getCurrentIndex",
        "Role",
        "FPS",
        "FPS_Float"
    };

    QtMocHelpers::UintData qt_methods {
        // Method 'reset'
        QtMocHelpers::MethodData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Method 'getCurrentIndex'
        QtMocHelpers::MethodData<int() const>(3, 2, QMC::AccessPublic, QMetaType::Int),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Role'
        QtMocHelpers::EnumData<enum Role>(4, 4, QMC::EnumFlags{}).add({
            {    5, Role::FPS },
            {    6, Role::FPS_Float },
        }),
    };
    return QtMocHelpers::metaObjectData<VideoFormatFpsModel, qt_meta_tag_ZN19VideoFormatFpsModelE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject VideoFormatFpsModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19VideoFormatFpsModelE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19VideoFormatFpsModelE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19VideoFormatFpsModelE_t>.metaTypes,
    nullptr
} };

void VideoFormatFpsModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<VideoFormatFpsModel *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->reset(); break;
        case 1: { int _r = _t->getCurrentIndex();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

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

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

int VideoFormatFpsModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 2;
    }
    return _id;
}
namespace {
struct qt_meta_tag_ZN12VideoDevicesE_t {};
} // unnamed namespace

template <> constexpr inline auto VideoDevices::qt_create_metaobjectdata<qt_meta_tag_ZN12VideoDevicesE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "VideoDevices",
        "QML.Singleton",
        "true",
        "listSizeChanged",
        "",
        "defaultChannelChanged",
        "defaultIdChanged",
        "defaultNameChanged",
        "defaultResChanged",
        "defaultFpsChanged",
        "screenSharingDefaultFpsChanged",
        "deviceSourceModelChanged",
        "resSourceModelChanged",
        "fpsSourceModelChanged",
        "sharingFpsSourceModelChanged",
        "deviceAvailable",
        "deviceListChanged",
        "inputs",
        "onVideoDeviceEvent",
        "setDefaultDevice",
        "index",
        "getDefaultDevice",
        "startDevice",
        "deviceId",
        "force",
        "stopDevice",
        "setDefaultDeviceRes",
        "setDefaultDeviceFps",
        "setDisplayFPS",
        "fps",
        "listSize",
        "defaultChannel",
        "defaultId",
        "defaultName",
        "defaultRes",
        "defaultFps",
        "screenSharingDefaultFps",
        "deviceSourceModel",
        "QVariant",
        "resSourceModel",
        "fpsSourceModel",
        "sharingFpsSourceModel"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'listSizeChanged'
        QtMocHelpers::SignalData<void()>(3, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'defaultChannelChanged'
        QtMocHelpers::SignalData<void()>(5, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'defaultIdChanged'
        QtMocHelpers::SignalData<void()>(6, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'defaultNameChanged'
        QtMocHelpers::SignalData<void()>(7, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'defaultResChanged'
        QtMocHelpers::SignalData<void()>(8, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'defaultFpsChanged'
        QtMocHelpers::SignalData<void()>(9, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'screenSharingDefaultFpsChanged'
        QtMocHelpers::SignalData<void()>(10, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'deviceSourceModelChanged'
        QtMocHelpers::SignalData<void()>(11, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'resSourceModelChanged'
        QtMocHelpers::SignalData<void()>(12, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'fpsSourceModelChanged'
        QtMocHelpers::SignalData<void()>(13, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'sharingFpsSourceModelChanged'
        QtMocHelpers::SignalData<void()>(14, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'deviceAvailable'
        QtMocHelpers::SignalData<void()>(15, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'deviceListChanged'
        QtMocHelpers::SignalData<void(int)>(16, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 17 },
        }}),
        // Slot 'onVideoDeviceEvent'
        QtMocHelpers::SlotData<void()>(18, 4, QMC::AccessPrivate, QMetaType::Void),
        // Method 'setDefaultDevice'
        QtMocHelpers::MethodData<void(int)>(19, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Method 'getDefaultDevice'
        QtMocHelpers::MethodData<const QString()>(21, 4, QMC::AccessPublic, QMetaType::QString),
        // Method 'startDevice'
        QtMocHelpers::MethodData<QString(const QString &, bool)>(22, 4, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 23 }, { QMetaType::Bool, 24 },
        }}),
        // Method 'startDevice'
        QtMocHelpers::MethodData<QString(const QString &)>(22, 4, QMC::AccessPublic | QMC::MethodCloned, QMetaType::QString, {{
            { QMetaType::QString, 23 },
        }}),
        // Method 'stopDevice'
        QtMocHelpers::MethodData<void(const QString &)>(25, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 23 },
        }}),
        // Method 'setDefaultDeviceRes'
        QtMocHelpers::MethodData<void(int)>(26, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Method 'setDefaultDeviceFps'
        QtMocHelpers::MethodData<void(int)>(27, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Method 'setDisplayFPS'
        QtMocHelpers::MethodData<void(const QString &)>(28, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 29 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'listSize'
        QtMocHelpers::PropertyData<int>(30, QMetaType::Int, QMC::DefaultPropertyFlags, 0),
        // property 'defaultChannel'
        QtMocHelpers::PropertyData<QString>(31, QMetaType::QString, QMC::DefaultPropertyFlags, 1),
        // property 'defaultId'
        QtMocHelpers::PropertyData<QString>(32, QMetaType::QString, QMC::DefaultPropertyFlags, 2),
        // property 'defaultName'
        QtMocHelpers::PropertyData<QString>(33, QMetaType::QString, QMC::DefaultPropertyFlags, 3),
        // property 'defaultRes'
        QtMocHelpers::PropertyData<QString>(34, QMetaType::QString, QMC::DefaultPropertyFlags, 4),
        // property 'defaultFps'
        QtMocHelpers::PropertyData<int>(35, QMetaType::Int, QMC::DefaultPropertyFlags, 5),
        // property 'screenSharingDefaultFps'
        QtMocHelpers::PropertyData<int>(36, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable, 6),
        // property 'deviceSourceModel'
        QtMocHelpers::PropertyData<QVariant>(37, 0x80000000 | 38, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 7),
        // property 'resSourceModel'
        QtMocHelpers::PropertyData<QVariant>(39, 0x80000000 | 38, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 8),
        // property 'fpsSourceModel'
        QtMocHelpers::PropertyData<QVariant>(40, 0x80000000 | 38, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 9),
        // property 'sharingFpsSourceModel'
        QtMocHelpers::PropertyData<QVariant>(41, 0x80000000 | 38, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 10),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<VideoDevices, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject VideoDevices::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12VideoDevicesE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12VideoDevicesE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12VideoDevicesE_t>.metaTypes,
    nullptr
} };

void VideoDevices::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<VideoDevices *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->listSizeChanged(); break;
        case 1: _t->defaultChannelChanged(); break;
        case 2: _t->defaultIdChanged(); break;
        case 3: _t->defaultNameChanged(); break;
        case 4: _t->defaultResChanged(); break;
        case 5: _t->defaultFpsChanged(); break;
        case 6: _t->screenSharingDefaultFpsChanged(); break;
        case 7: _t->deviceSourceModelChanged(); break;
        case 8: _t->resSourceModelChanged(); break;
        case 9: _t->fpsSourceModelChanged(); break;
        case 10: _t->sharingFpsSourceModelChanged(); break;
        case 11: _t->deviceAvailable(); break;
        case 12: _t->deviceListChanged((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 13: _t->onVideoDeviceEvent(); break;
        case 14: _t->setDefaultDevice((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 15: { QString _r = _t->getDefaultDevice();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 16: { QString _r = _t->startDevice((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 17: { QString _r = _t->startDevice((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->stopDevice((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 19: _t->setDefaultDeviceRes((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 20: _t->setDefaultDeviceFps((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 21: _t->setDisplayFPS((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (VideoDevices::*)()>(_a, &VideoDevices::listSizeChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoDevices::*)()>(_a, &VideoDevices::defaultChannelChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoDevices::*)()>(_a, &VideoDevices::defaultIdChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoDevices::*)()>(_a, &VideoDevices::defaultNameChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoDevices::*)()>(_a, &VideoDevices::defaultResChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoDevices::*)()>(_a, &VideoDevices::defaultFpsChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoDevices::*)()>(_a, &VideoDevices::screenSharingDefaultFpsChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoDevices::*)()>(_a, &VideoDevices::deviceSourceModelChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoDevices::*)()>(_a, &VideoDevices::resSourceModelChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoDevices::*)()>(_a, &VideoDevices::fpsSourceModelChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoDevices::*)()>(_a, &VideoDevices::sharingFpsSourceModelChanged, 10))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoDevices::*)()>(_a, &VideoDevices::deviceAvailable, 11))
            return;
        if (QtMocHelpers::indexOfMethod<void (VideoDevices::*)(int )>(_a, &VideoDevices::deviceListChanged, 12))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<int*>(_v) = _t->get_listSize(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->get_defaultChannel(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->get_defaultId(); break;
        case 3: *reinterpret_cast<QString*>(_v) = _t->get_defaultName(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->get_defaultRes(); break;
        case 5: *reinterpret_cast<int*>(_v) = _t->get_defaultFps(); break;
        case 6: *reinterpret_cast<int*>(_v) = _t->screenSharingDefaultFps_; break;
        case 7: *reinterpret_cast<QVariant*>(_v) = _t->get_deviceSourceModel(); break;
        case 8: *reinterpret_cast<QVariant*>(_v) = _t->get_resSourceModel(); break;
        case 9: *reinterpret_cast<QVariant*>(_v) = _t->get_fpsSourceModel(); break;
        case 10: *reinterpret_cast<QVariant*>(_v) = _t->get_sharingFpsSourceModel(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 6:
            if (QtMocHelpers::setProperty(_t->screenSharingDefaultFps_, *reinterpret_cast<int*>(_v)))
                Q_EMIT _t->screenSharingDefaultFpsChanged();
            break;
        default: break;
        }
    }
}

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

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

int VideoDevices::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 < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 22;
    }
    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 VideoDevices::listSizeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

// SIGNAL 2
void VideoDevices::defaultIdChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void VideoDevices::defaultNameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void VideoDevices::defaultResChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void VideoDevices::defaultFpsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void VideoDevices::screenSharingDefaultFpsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void VideoDevices::deviceSourceModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void VideoDevices::resSourceModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void VideoDevices::fpsSourceModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void VideoDevices::sharingFpsSourceModelChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void VideoDevices::deviceAvailable()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void VideoDevices::deviceListChanged(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 12, nullptr, _t1);
}
QT_WARNING_POP
