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

#include <memory>
#include "../../../../DeepLinkDeskTopClientShell/server/bridge.h"
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'bridge.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 68
#error "This file was generated using the moc from 6.4.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_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
namespace {
struct qt_meta_stringdata_Bridge_t {
    uint offsetsAndSizes[44];
    char stringdata0[7];
    char stringdata1[15];
    char stringdata2[1];
    char stringdata3[5];
    char stringdata4[16];
    char stringdata5[15];
    char stringdata6[3];
    char stringdata7[3];
    char stringdata8[15];
    char stringdata9[23];
    char stringdata10[18];
    char stringdata11[4];
    char stringdata12[8];
    char stringdata13[14];
    char stringdata14[19];
    char stringdata15[12];
    char stringdata16[12];
    char stringdata17[11];
    char stringdata18[11];
    char stringdata19[15];
    char stringdata20[5];
    char stringdata21[15];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_Bridge_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_Bridge_t qt_meta_stringdata_Bridge = {
    {
        QT_MOC_LITERAL(0, 6),  // "Bridge"
        QT_MOC_LITERAL(7, 14),  // "sig_foldWindow"
        QT_MOC_LITERAL(22, 0),  // ""
        QT_MOC_LITERAL(23, 4),  // "flag"
        QT_MOC_LITERAL(28, 15),  // "sig_closeWindow"
        QT_MOC_LITERAL(44, 14),  // "sig_moveWindow"
        QT_MOC_LITERAL(59, 2),  // "dx"
        QT_MOC_LITERAL(62, 2),  // "dy"
        QT_MOC_LITERAL(65, 14),  // "sig_disconnect"
        QT_MOC_LITERAL(80, 22),  // "sig_setMicrophoneState"
        QT_MOC_LITERAL(103, 17),  // "sig_setMouseState"
        QT_MOC_LITERAL(121, 3),  // "say"
        QT_MOC_LITERAL(125, 7),  // "message"
        QT_MOC_LITERAL(133, 13),  // "getAppVersion"
        QT_MOC_LITERAL(147, 18),  // "getSystemLanguages"
        QT_MOC_LITERAL(166, 11),  // "getDeviceId"
        QT_MOC_LITERAL(178, 11),  // "closeWindow"
        QT_MOC_LITERAL(190, 10),  // "moveWindow"
        QT_MOC_LITERAL(201, 10),  // "disconnect"
        QT_MOC_LITERAL(212, 14),  // "setSwitchState"
        QT_MOC_LITERAL(227, 4),  // "name"
        QT_MOC_LITERAL(232, 14)   // "getSwitchState"
    },
    "Bridge",
    "sig_foldWindow",
    "",
    "flag",
    "sig_closeWindow",
    "sig_moveWindow",
    "dx",
    "dy",
    "sig_disconnect",
    "sig_setMicrophoneState",
    "sig_setMouseState",
    "say",
    "message",
    "getAppVersion",
    "getSystemLanguages",
    "getDeviceId",
    "closeWindow",
    "moveWindow",
    "disconnect",
    "setSwitchState",
    "name",
    "getSwitchState"
};
#undef QT_MOC_LITERAL
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_Bridge[] = {

 // content:
      10,       // revision
       0,       // classname
       0,    0, // classinfo
      15,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       6,       // signalCount

 // signals: name, argc, parameters, tag, flags, initial metatype offsets
       1,    1,  104,    2, 0x06,    1 /* Public */,
       4,    0,  107,    2, 0x06,    3 /* Public */,
       5,    2,  108,    2, 0x06,    4 /* Public */,
       8,    0,  113,    2, 0x06,    7 /* Public */,
       9,    1,  114,    2, 0x06,    8 /* Public */,
      10,    1,  117,    2, 0x06,   10 /* Public */,

 // slots: name, argc, parameters, tag, flags, initial metatype offsets
      11,    1,  120,    2, 0x0a,   12 /* Public */,
      13,    0,  123,    2, 0x0a,   14 /* Public */,
      14,    0,  124,    2, 0x0a,   15 /* Public */,
      15,    0,  125,    2, 0x0a,   16 /* Public */,
      16,    0,  126,    2, 0x0a,   17 /* Public */,
      17,    2,  127,    2, 0x0a,   18 /* Public */,
      18,    0,  132,    2, 0x0a,   21 /* Public */,
      19,    2,  133,    2, 0x0a,   22 /* Public */,
      21,    1,  138,    2, 0x0a,   25 /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    6,    7,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    3,

 // slots: parameters
    QMetaType::QString, QMetaType::QString,   12,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::QString,
    QMetaType::Int,
    QMetaType::Int, QMetaType::Int, QMetaType::Int,    6,    7,
    QMetaType::Int,
    QMetaType::Int, QMetaType::QString, QMetaType::Bool,   20,    3,
    QMetaType::Bool, QMetaType::QString,   20,

       0        // eod
};

Q_CONSTINIT const QMetaObject Bridge::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_Bridge.offsetsAndSizes,
    qt_meta_data_Bridge,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_Bridge_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<Bridge, std::true_type>,
        // method 'sig_foldWindow'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'sig_closeWindow'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'sig_moveWindow'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'sig_disconnect'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'sig_setMicrophoneState'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'sig_setMouseState'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'say'
        QtPrivate::TypeAndForceComplete<QString, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        // method 'getAppVersion'
        QtPrivate::TypeAndForceComplete<QString, std::false_type>,
        // method 'getSystemLanguages'
        QtPrivate::TypeAndForceComplete<QString, std::false_type>,
        // method 'getDeviceId'
        QtPrivate::TypeAndForceComplete<QString, std::false_type>,
        // method 'closeWindow'
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'moveWindow'
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'disconnect'
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'setSwitchState'
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'getSwitchState'
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
    >,
    nullptr
} };

void Bridge::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Bridge *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->sig_foldWindow((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->sig_closeWindow(); break;
        case 2: _t->sig_moveWindow((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 3: _t->sig_disconnect(); break;
        case 4: _t->sig_setMicrophoneState((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->sig_setMouseState((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 6: { QString _r = _t->say((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 7: { QString _r = _t->getAppVersion();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 8: { QString _r = _t->getSystemLanguages();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 9: { QString _r = _t->getDeviceId();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 10: { int _r = _t->closeWindow();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 11: { int _r = _t->moveWindow((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 12: { int _r = _t->disconnect();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 13: { int _r = _t->setSwitchState((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<bool>>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 14: { bool _r = _t->getSwitchState((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Bridge::*)(bool );
            if (_t _q_method = &Bridge::sig_foldWindow; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Bridge::*)();
            if (_t _q_method = &Bridge::sig_closeWindow; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Bridge::*)(int , int );
            if (_t _q_method = &Bridge::sig_moveWindow; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Bridge::*)();
            if (_t _q_method = &Bridge::sig_disconnect; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (Bridge::*)(bool );
            if (_t _q_method = &Bridge::sig_setMicrophoneState; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (Bridge::*)(bool );
            if (_t _q_method = &Bridge::sig_setMouseState; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 5;
                return;
            }
        }
    }
}

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

void *Bridge::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Bridge.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void Bridge::sig_foldWindow(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

// SIGNAL 2
void Bridge::sig_moveWindow(int _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

// SIGNAL 4
void Bridge::sig_setMicrophoneState(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Bridge::sig_setMouseState(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
