/****************************************************************************
** Meta object code from reading C++ file 'qdesk_monitor.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_monitor.h"
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdesk_monitor.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_QDeskMonitor_t {
    uint offsetsAndSizes[38];
    char stringdata0[13];
    char stringdata1[10];
    char stringdata2[1];
    char stringdata3[12];
    char stringdata4[6];
    char stringdata5[12];
    char stringdata6[10];
    char stringdata7[14];
    char stringdata8[3];
    char stringdata9[20];
    char stringdata10[17];
    char stringdata11[20];
    char stringdata12[18];
    char stringdata13[15];
    char stringdata14[23];
    char stringdata15[20];
    char stringdata16[21];
    char stringdata17[13];
    char stringdata18[8];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_QDeskMonitor_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_QDeskMonitor_t qt_meta_stringdata_QDeskMonitor = {
    {
        QT_MOC_LITERAL(0, 12),  // "QDeskMonitor"
        QT_MOC_LITERAL(13, 9),  // "sig_event"
        QT_MOC_LITERAL(23, 0),  // ""
        QT_MOC_LITERAL(24, 11),  // "QDESK_Event"
        QT_MOC_LITERAL(36, 5),  // "event"
        QT_MOC_LITERAL(42, 11),  // "std::string"
        QT_MOC_LITERAL(54, 9),  // "event_str"
        QT_MOC_LITERAL(64, 13),  // "sig_connected"
        QT_MOC_LITERAL(78, 2),  // "fd"
        QT_MOC_LITERAL(81, 19),  // "sig_signalConnected"
        QT_MOC_LITERAL(101, 16),  // "sig_p2pConnected"
        QT_MOC_LITERAL(118, 19),  // "sig_p2pDisconnected"
        QT_MOC_LITERAL(138, 17),  // "sig_authSuccessed"
        QT_MOC_LITERAL(156, 14),  // "sig_authFailed"
        QT_MOC_LITERAL(171, 22),  // "sig_videoStreamCreated"
        QT_MOC_LITERAL(194, 19),  // "sig_videoStreamStop"
        QT_MOC_LITERAL(214, 20),  // "sig_p2pFailedTooMany"
        QT_MOC_LITERAL(235, 12),  // "sig_received"
        QT_MOC_LITERAL(248, 7)   // "message"
    },
    "QDeskMonitor",
    "sig_event",
    "",
    "QDESK_Event",
    "event",
    "std::string",
    "event_str",
    "sig_connected",
    "fd",
    "sig_signalConnected",
    "sig_p2pConnected",
    "sig_p2pDisconnected",
    "sig_authSuccessed",
    "sig_authFailed",
    "sig_videoStreamCreated",
    "sig_videoStreamStop",
    "sig_p2pFailedTooMany",
    "sig_received",
    "message"
};
#undef QT_MOC_LITERAL
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_QDeskMonitor[] = {

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

 // signals: name, argc, parameters, tag, flags, initial metatype offsets
       1,    2,   80,    2, 0x06,    1 /* Public */,
       7,    1,   85,    2, 0x06,    4 /* Public */,
       9,    0,   88,    2, 0x06,    6 /* Public */,
      10,    1,   89,    2, 0x06,    7 /* Public */,
      11,    1,   92,    2, 0x06,    9 /* Public */,
      12,    0,   95,    2, 0x06,   11 /* Public */,
      13,    0,   96,    2, 0x06,   12 /* Public */,
      14,    1,   97,    2, 0x06,   13 /* Public */,
      15,    0,  100,    2, 0x06,   15 /* Public */,
      16,    0,  101,    2, 0x06,   16 /* Public */,
      17,    2,  102,    2, 0x06,   17 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QByteArray,    8,   18,

       0        // eod
};

Q_CONSTINIT const QMetaObject QDeskMonitor::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QDeskMonitor.offsetsAndSizes,
    qt_meta_data_QDeskMonitor,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_QDeskMonitor_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<QDeskMonitor, std::true_type>,
        // method 'sig_event'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<QDESK_Event, std::false_type>,
        QtPrivate::TypeAndForceComplete<const std::string &, std::false_type>,
        // method 'sig_connected'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'sig_signalConnected'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'sig_p2pConnected'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'sig_p2pDisconnected'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'sig_authSuccessed'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'sig_authFailed'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'sig_videoStreamCreated'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'sig_videoStreamStop'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'sig_p2pFailedTooMany'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'sig_received'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>
    >,
    nullptr
} };

void QDeskMonitor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QDeskMonitor *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->sig_event((*reinterpret_cast< std::add_pointer_t<QDESK_Event>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<std::string>>(_a[2]))); break;
        case 1: _t->sig_connected((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        case 2: _t->sig_signalConnected(); break;
        case 3: _t->sig_p2pConnected((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        case 4: _t->sig_p2pDisconnected((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->sig_authSuccessed(); break;
        case 6: _t->sig_authFailed(); break;
        case 7: _t->sig_videoStreamCreated((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        case 8: _t->sig_videoStreamStop(); break;
        case 9: _t->sig_p2pFailedTooMany(); break;
        case 10: _t->sig_received((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<QByteArray>>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QDeskMonitor::*)(QDESK_Event , const std::string & );
            if (_t _q_method = &QDeskMonitor::sig_event; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QDeskMonitor::*)(int );
            if (_t _q_method = &QDeskMonitor::sig_connected; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QDeskMonitor::*)();
            if (_t _q_method = &QDeskMonitor::sig_signalConnected; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QDeskMonitor::*)(int );
            if (_t _q_method = &QDeskMonitor::sig_p2pConnected; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QDeskMonitor::*)(int );
            if (_t _q_method = &QDeskMonitor::sig_p2pDisconnected; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QDeskMonitor::*)();
            if (_t _q_method = &QDeskMonitor::sig_authSuccessed; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QDeskMonitor::*)();
            if (_t _q_method = &QDeskMonitor::sig_authFailed; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QDeskMonitor::*)(int );
            if (_t _q_method = &QDeskMonitor::sig_videoStreamCreated; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (QDeskMonitor::*)();
            if (_t _q_method = &QDeskMonitor::sig_videoStreamStop; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (QDeskMonitor::*)();
            if (_t _q_method = &QDeskMonitor::sig_p2pFailedTooMany; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (QDeskMonitor::*)(int , const QByteArray & );
            if (_t _q_method = &QDeskMonitor::sig_received; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 10;
                return;
            }
        }
    }
}

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

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

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

// SIGNAL 0
void QDeskMonitor::sig_event(QDESK_Event _t1, const std::string & _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);
}

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

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

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

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

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

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

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

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

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

// SIGNAL 10
void QDeskMonitor::sig_received(int _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, 10, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
