/****************************************************************************
** Meta object code from reading C++ file 'qdesk_client.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/qdesk_client.h"
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdesk_client.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_QDeskClient_t {
    uint offsetsAndSizes[64];
    char stringdata0[12];
    char stringdata1[23];
    char stringdata2[1];
    char stringdata3[14];
    char stringdata4[7];
    char stringdata5[8];
    char stringdata6[13];
    char stringdata7[12];
    char stringdata8[6];
    char stringdata9[12];
    char stringdata10[10];
    char stringdata11[15];
    char stringdata12[3];
    char stringdata13[20];
    char stringdata14[21];
    char stringdata15[18];
    char stringdata16[26];
    char stringdata17[23];
    char stringdata18[19];
    char stringdata19[14];
    char stringdata20[7];
    char stringdata21[16];
    char stringdata22[18];
    char stringdata23[15];
    char stringdata24[21];
    char stringdata25[19];
    char stringdata26[7];
    char stringdata27[9];
    char stringdata28[13];
    char stringdata29[14];
    char stringdata30[26];
    char stringdata31[27];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_QDeskClient_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_QDeskClient_t qt_meta_stringdata_QDeskClient = {
    {
        QT_MOC_LITERAL(0, 11),  // "QDeskClient"
        QT_MOC_LITERAL(12, 22),  // "sig_ipcMessageReceived"
        QT_MOC_LITERAL(35, 0),  // ""
        QT_MOC_LITERAL(36, 13),  // "QLocalSocket*"
        QT_MOC_LITERAL(50, 6),  // "client"
        QT_MOC_LITERAL(57, 7),  // "message"
        QT_MOC_LITERAL(65, 12),  // "onQDeskEvent"
        QT_MOC_LITERAL(78, 11),  // "QDESK_Event"
        QT_MOC_LITERAL(90, 5),  // "event"
        QT_MOC_LITERAL(96, 11),  // "std::string"
        QT_MOC_LITERAL(108, 9),  // "event_str"
        QT_MOC_LITERAL(118, 14),  // "onQDeskConnect"
        QT_MOC_LITERAL(133, 2),  // "fd"
        QT_MOC_LITERAL(136, 19),  // "onQDeskP2pConnected"
        QT_MOC_LITERAL(156, 20),  // "onQDeskAuthSuccessed"
        QT_MOC_LITERAL(177, 17),  // "onQDeskAuthFailed"
        QT_MOC_LITERAL(195, 25),  // "onQDeskVideoStreamCreated"
        QT_MOC_LITERAL(221, 22),  // "onQDeskVideoStreamStop"
        QT_MOC_LITERAL(244, 18),  // "onP2pFailedTooMany"
        QT_MOC_LITERAL(263, 13),  // "handleResults"
        QT_MOC_LITERAL(277, 6),  // "result"
        QT_MOC_LITERAL(284, 15),  // "onIpcConnection"
        QT_MOC_LITERAL(300, 17),  // "onIpcDisconnected"
        QT_MOC_LITERAL(318, 14),  // "onIpcReadyRead"
        QT_MOC_LITERAL(333, 20),  // "onIpcMessageReceived"
        QT_MOC_LITERAL(354, 18),  // "onHandleIpcMessage"
        QT_MOC_LITERAL(373, 6),  // "sender"
        QT_MOC_LITERAL(380, 8),  // "root_obj"
        QT_MOC_LITERAL(389, 12),  // "QJsonObject&"
        QT_MOC_LITERAL(402, 13),  // "onP2pReceived"
        QT_MOC_LITERAL(416, 25),  // "onAudioInputStreamStarted"
        QT_MOC_LITERAL(442, 26)   // "onAudioEncodeThreadResults"
    },
    "QDeskClient",
    "sig_ipcMessageReceived",
    "",
    "QLocalSocket*",
    "client",
    "message",
    "onQDeskEvent",
    "QDESK_Event",
    "event",
    "std::string",
    "event_str",
    "onQDeskConnect",
    "fd",
    "onQDeskP2pConnected",
    "onQDeskAuthSuccessed",
    "onQDeskAuthFailed",
    "onQDeskVideoStreamCreated",
    "onQDeskVideoStreamStop",
    "onP2pFailedTooMany",
    "handleResults",
    "result",
    "onIpcConnection",
    "onIpcDisconnected",
    "onIpcReadyRead",
    "onIpcMessageReceived",
    "onHandleIpcMessage",
    "sender",
    "root_obj",
    "QJsonObject&",
    "onP2pReceived",
    "onAudioInputStreamStarted",
    "onAudioEncodeThreadResults"
};
#undef QT_MOC_LITERAL
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_QDeskClient[] = {

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

 // signals: name, argc, parameters, tag, flags, initial metatype offsets
       1,    2,  122,    2, 0x06,    1 /* Public */,

 // slots: name, argc, parameters, tag, flags, initial metatype offsets
       6,    2,  127,    2, 0x0a,    4 /* Public */,
      11,    1,  132,    2, 0x0a,    7 /* Public */,
      13,    1,  135,    2, 0x0a,    9 /* Public */,
      14,    0,  138,    2, 0x0a,   11 /* Public */,
      15,    0,  139,    2, 0x0a,   12 /* Public */,
      16,    1,  140,    2, 0x0a,   13 /* Public */,
      17,    0,  143,    2, 0x0a,   15 /* Public */,
      18,    0,  144,    2, 0x0a,   16 /* Public */,
      19,    1,  145,    2, 0x0a,   17 /* Public */,
      21,    0,  148,    2, 0x0a,   19 /* Public */,
      22,    0,  149,    2, 0x0a,   20 /* Public */,
      23,    0,  150,    2, 0x0a,   21 /* Public */,
      24,    2,  151,    2, 0x0a,   22 /* Public */,
      25,    3,  156,    2, 0x0a,   25 /* Public */,
      29,    2,  163,    2, 0x0a,   29 /* Public */,
      30,    0,  168,    2, 0x0a,   32 /* Public */,
      31,    1,  169,    2, 0x0a,   33 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::QByteArray,    4,    5,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7, 0x80000000 | 9,    8,   10,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QByteArray,    4,    5,
    QMetaType::Void, 0x80000000 | 3, QMetaType::QJsonObject, 0x80000000 | 28,   26,   27,   20,
    QMetaType::Void, QMetaType::Int, QMetaType::QByteArray,   12,    5,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   20,

       0        // eod
};

Q_CONSTINIT const QMetaObject QDeskClient::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QDeskClient.offsetsAndSizes,
    qt_meta_data_QDeskClient,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_QDeskClient_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<QDeskClient, std::true_type>,
        // method 'sig_ipcMessageReceived'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<QLocalSocket *, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>,
        // method 'onQDeskEvent'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<QDESK_Event, std::false_type>,
        QtPrivate::TypeAndForceComplete<const std::string &, std::false_type>,
        // method 'onQDeskConnect'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'onQDeskP2pConnected'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'onQDeskAuthSuccessed'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'onQDeskAuthFailed'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'onQDeskVideoStreamCreated'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'onQDeskVideoStreamStop'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'onP2pFailedTooMany'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'handleResults'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        // method 'onIpcConnection'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'onIpcDisconnected'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'onIpcReadyRead'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'onIpcMessageReceived'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<QLocalSocket *, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>,
        // method 'onHandleIpcMessage'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<QLocalSocket *, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QJsonObject &, std::false_type>,
        QtPrivate::TypeAndForceComplete<QJsonObject &, std::false_type>,
        // method 'onP2pReceived'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>,
        // method 'onAudioInputStreamStarted'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'onAudioEncodeThreadResults'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>
    >,
    nullptr
} };

void QDeskClient::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QDeskClient *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->sig_ipcMessageReceived((*reinterpret_cast< std::add_pointer_t<QLocalSocket*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QByteArray>>(_a[2]))); break;
        case 1: _t->onQDeskEvent((*reinterpret_cast< std::add_pointer_t<QDESK_Event>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<std::string>>(_a[2]))); break;
        case 2: _t->onQDeskConnect((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        case 3: _t->onQDeskP2pConnected((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        case 4: _t->onQDeskAuthSuccessed(); break;
        case 5: _t->onQDeskAuthFailed(); break;
        case 6: _t->onQDeskVideoStreamCreated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        case 7: _t->onQDeskVideoStreamStop(); break;
        case 8: _t->onP2pFailedTooMany(); break;
        case 9: _t->handleResults((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->onIpcConnection(); break;
        case 11: _t->onIpcDisconnected(); break;
        case 12: _t->onIpcReadyRead(); break;
        case 13: _t->onIpcMessageReceived((*reinterpret_cast< std::add_pointer_t<QLocalSocket*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QByteArray>>(_a[2]))); break;
        case 14: _t->onHandleIpcMessage((*reinterpret_cast< std::add_pointer_t<QLocalSocket*>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QJsonObject>>(_a[2])),(*reinterpret_cast< std::add_pointer_t<QJsonObject&>>(_a[3]))); break;
        case 15: _t->onP2pReceived((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QByteArray>>(_a[2]))); break;
        case 16: _t->onAudioInputStreamStarted(); break;
        case 17: _t->onAudioEncodeThreadResults((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QDeskClient::*)(QLocalSocket * , const QByteArray & );
            if (_t _q_method = &QDeskClient::sig_ipcMessageReceived; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 0;
                return;
            }
        }
    }
}

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

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

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

// SIGNAL 0
void QDeskClient::sig_ipcMessageReceived(QLocalSocket * _t1, const QByteArray & _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, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
