/****************************************************************************
** Meta object code from reading C++ file 'main_window.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/main_window.h"
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'main_window.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_MainWindow_t {
    uint offsetsAndSizes[46];
    char stringdata0[11];
    char stringdata1[19];
    char stringdata2[1];
    char stringdata3[8];
    char stringdata4[19];
    char stringdata5[20];
    char stringdata6[3];
    char stringdata7[18];
    char stringdata8[4];
    char stringdata9[20];
    char stringdata10[9];
    char stringdata11[22];
    char stringdata12[17];
    char stringdata13[5];
    char stringdata14[17];
    char stringdata15[12];
    char stringdata16[18];
    char stringdata17[17];
    char stringdata18[3];
    char stringdata19[3];
    char stringdata20[17];
    char stringdata21[15];
    char stringdata22[21];
};
#define QT_MOC_LITERAL(ofs, len) \
    uint(sizeof(qt_meta_stringdata_MainWindow_t::offsetsAndSizes) + ofs), len 
Q_CONSTINIT static const qt_meta_stringdata_MainWindow_t qt_meta_stringdata_MainWindow = {
    {
        QT_MOC_LITERAL(0, 10),  // "MainWindow"
        QT_MOC_LITERAL(11, 18),  // "ipcMessageReceived"
        QT_MOC_LITERAL(30, 0),  // ""
        QT_MOC_LITERAL(31, 7),  // "message"
        QT_MOC_LITERAL(39, 18),  // "webViewLoadStarted"
        QT_MOC_LITERAL(58, 19),  // "webViewLoadFinished"
        QT_MOC_LITERAL(78, 2),  // "ok"
        QT_MOC_LITERAL(81, 17),  // "webViewUrlChanged"
        QT_MOC_LITERAL(99, 3),  // "url"
        QT_MOC_LITERAL(103, 19),  // "webViewLoadProgress"
        QT_MOC_LITERAL(123, 8),  // "progress"
        QT_MOC_LITERAL(132, 21),  // "runJavaScriptServeWss"
        QT_MOC_LITERAL(154, 16),  // "bridgeFoldWindow"
        QT_MOC_LITERAL(171, 4),  // "flag"
        QT_MOC_LITERAL(176, 16),  // "bridgeMicrophone"
        QT_MOC_LITERAL(193, 11),  // "bridgeMouse"
        QT_MOC_LITERAL(205, 17),  // "bridgeCloseWindow"
        QT_MOC_LITERAL(223, 16),  // "bridgeMoveWindow"
        QT_MOC_LITERAL(240, 2),  // "dx"
        QT_MOC_LITERAL(243, 2),  // "dy"
        QT_MOC_LITERAL(246, 16),  // "bridgeDisconnect"
        QT_MOC_LITERAL(263, 14),  // "readyReadStdin"
        QT_MOC_LITERAL(278, 20)   // "onIpcMessageReceived"
    },
    "MainWindow",
    "ipcMessageReceived",
    "",
    "message",
    "webViewLoadStarted",
    "webViewLoadFinished",
    "ok",
    "webViewUrlChanged",
    "url",
    "webViewLoadProgress",
    "progress",
    "runJavaScriptServeWss",
    "bridgeFoldWindow",
    "flag",
    "bridgeMicrophone",
    "bridgeMouse",
    "bridgeCloseWindow",
    "bridgeMoveWindow",
    "dx",
    "dy",
    "bridgeDisconnect",
    "readyReadStdin",
    "onIpcMessageReceived"
};
#undef QT_MOC_LITERAL
} // unnamed namespace

Q_CONSTINIT static const uint qt_meta_data_MainWindow[] = {

 // content:
      10,       // revision
       0,       // classname
       0,    0, // classinfo
      14,   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,    1,   98,    2, 0x06,    1 /* Public */,

 // slots: name, argc, parameters, tag, flags, initial metatype offsets
       4,    0,  101,    2, 0x08,    3 /* Private */,
       5,    1,  102,    2, 0x08,    4 /* Private */,
       7,    1,  105,    2, 0x08,    6 /* Private */,
       9,    1,  108,    2, 0x08,    8 /* Private */,
      11,    1,  111,    2, 0x08,   10 /* Private */,
      12,    1,  114,    2, 0x08,   12 /* Private */,
      14,    1,  117,    2, 0x08,   14 /* Private */,
      15,    1,  120,    2, 0x08,   16 /* Private */,
      16,    0,  123,    2, 0x08,   18 /* Private */,
      17,    2,  124,    2, 0x08,   19 /* Private */,
      20,    0,  129,    2, 0x08,   22 /* Private */,
      21,    0,  130,    2, 0x08,   23 /* Private */,
      22,    1,  131,    2, 0x08,   24 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QByteArray,    3,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    6,
    QMetaType::Void, QMetaType::QUrl,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void, QMetaType::Bool,   13,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   18,   19,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QByteArray,    3,

       0        // eod
};

Q_CONSTINIT const QMetaObject MainWindow::staticMetaObject = { {
    QMetaObject::SuperData::link<QMainWindow::staticMetaObject>(),
    qt_meta_stringdata_MainWindow.offsetsAndSizes,
    qt_meta_data_MainWindow,
    qt_static_metacall,
    nullptr,
    qt_incomplete_metaTypeArray<qt_meta_stringdata_MainWindow_t,
        // Q_OBJECT / Q_GADGET
        QtPrivate::TypeAndForceComplete<MainWindow, std::true_type>,
        // method 'ipcMessageReceived'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>,
        // method 'webViewLoadStarted'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'webViewLoadFinished'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'webViewUrlChanged'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QUrl &, std::false_type>,
        // method 'webViewLoadProgress'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'runJavaScriptServeWss'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QString &, std::false_type>,
        // method 'bridgeFoldWindow'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'bridgeMicrophone'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'bridgeMouse'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<bool, std::false_type>,
        // method 'bridgeCloseWindow'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'bridgeMoveWindow'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        QtPrivate::TypeAndForceComplete<int, std::false_type>,
        // method 'bridgeDisconnect'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'readyReadStdin'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        // method 'onIpcMessageReceived'
        QtPrivate::TypeAndForceComplete<void, std::false_type>,
        QtPrivate::TypeAndForceComplete<const QByteArray &, std::false_type>
    >,
    nullptr
} };

void MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MainWindow *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->ipcMessageReceived((*reinterpret_cast< std::add_pointer_t<QByteArray>>(_a[1]))); break;
        case 1: _t->webViewLoadStarted(); break;
        case 2: _t->webViewLoadFinished((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->webViewUrlChanged((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 4: _t->webViewLoadProgress((*reinterpret_cast< std::add_pointer_t<int>>(_a[1]))); break;
        case 5: _t->runJavaScriptServeWss((*reinterpret_cast< std::add_pointer_t<QString>>(_a[1]))); break;
        case 6: _t->bridgeFoldWindow((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 7: _t->bridgeMicrophone((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 8: _t->bridgeMouse((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->bridgeCloseWindow(); break;
        case 10: _t->bridgeMoveWindow((*reinterpret_cast< std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast< std::add_pointer_t<int>>(_a[2]))); break;
        case 11: _t->bridgeDisconnect(); break;
        case 12: _t->readyReadStdin(); break;
        case 13: _t->onIpcMessageReceived((*reinterpret_cast< std::add_pointer_t<QByteArray>>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (MainWindow::*)(const QByteArray & );
            if (_t _q_method = &MainWindow::ipcMessageReceived; *reinterpret_cast<_t *>(_a[1]) == _q_method) {
                *result = 0;
                return;
            }
        }
    }
}

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

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

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

// SIGNAL 0
void MainWindow::ipcMessageReceived(const QByteArray & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
