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

#include <memory>
#include "../../../ServerLMS/serverlmswidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'serverlmswidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.14.2. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_ServerLMSWidget_t {
    QByteArrayData data[26];
    char stringdata0[340];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ServerLMSWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ServerLMSWidget_t qt_meta_stringdata_ServerLMSWidget = {
    {
QT_MOC_LITERAL(0, 0, 15), // "ServerLMSWidget"
QT_MOC_LITERAL(1, 16, 12), // "sigRecognize"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 12), // "sigGetSocket"
QT_MOC_LITERAL(4, 43, 11), // "QTcpSocket*"
QT_MOC_LITERAL(5, 55, 6), // "sigLog"
QT_MOC_LITERAL(6, 62, 3), // "log"
QT_MOC_LITERAL(7, 66, 20), // "slot_LanguageChanged"
QT_MOC_LITERAL(8, 87, 8), // "language"
QT_MOC_LITERAL(9, 96, 9), // "addClient"
QT_MOC_LITERAL(10, 106, 7), // "qintptr"
QT_MOC_LITERAL(11, 114, 10), // "descriptor"
QT_MOC_LITERAL(12, 125, 14), // "ClientHandler*"
QT_MOC_LITERAL(13, 140, 6), // "client"
QT_MOC_LITERAL(14, 147, 21), // "slotUpdateListClients"
QT_MOC_LITERAL(15, 169, 22), // "slot_BlockAutorization"
QT_MOC_LITERAL(16, 192, 5), // "block"
QT_MOC_LITERAL(17, 198, 21), // "slot_msgToClientReady"
QT_MOC_LITERAL(18, 220, 5), // "login"
QT_MOC_LITERAL(19, 226, 4), // "text"
QT_MOC_LITERAL(20, 231, 12), // "slotAddToLog"
QT_MOC_LITERAL(21, 244, 3), // "msg"
QT_MOC_LITERAL(22, 248, 18), // "slotAddToMessanger"
QT_MOC_LITERAL(23, 267, 25), // "on_btnStartServer_clicked"
QT_MOC_LITERAL(24, 293, 24), // "on_btnStopServer_clicked"
QT_MOC_LITERAL(25, 318, 21) // "on_btnTaskSet_clicked"

    },
    "ServerLMSWidget\0sigRecognize\0\0"
    "sigGetSocket\0QTcpSocket*\0sigLog\0log\0"
    "slot_LanguageChanged\0language\0addClient\0"
    "qintptr\0descriptor\0ClientHandler*\0"
    "client\0slotUpdateListClients\0"
    "slot_BlockAutorization\0block\0"
    "slot_msgToClientReady\0login\0text\0"
    "slotAddToLog\0msg\0slotAddToMessanger\0"
    "on_btnStartServer_clicked\0"
    "on_btnStopServer_clicked\0on_btnTaskSet_clicked"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ServerLMSWidget[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      13,   14, // methods
       0,    0, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   79,    2, 0x06 /* Public */,
       3,    0,   80,    2, 0x06 /* Public */,
       5,    1,   81,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    1,   84,    2, 0x0a /* Public */,
       9,    2,   87,    2, 0x0a /* Public */,
      14,    0,   92,    2, 0x0a /* Public */,
      15,    1,   93,    2, 0x0a /* Public */,
      17,    2,   96,    2, 0x08 /* Private */,
      20,    1,  101,    2, 0x08 /* Private */,
      22,    2,  104,    2, 0x08 /* Private */,
      23,    0,  109,    2, 0x08 /* Private */,
      24,    0,  110,    2, 0x08 /* Private */,
      25,    0,  111,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    0x80000000 | 4,
    QMetaType::Void, QMetaType::QString,    6,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void, 0x80000000 | 10, 0x80000000 | 12,   11,   13,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   16,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   18,   19,
    QMetaType::Void, QMetaType::QString,   21,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   18,   19,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void ServerLMSWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<ServerLMSWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigRecognize(); break;
        case 1: { QTcpSocket* _r = _t->sigGetSocket();
            if (_a[0]) *reinterpret_cast< QTcpSocket**>(_a[0]) = std::move(_r); }  break;
        case 2: _t->sigLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 3: _t->slot_LanguageChanged((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 4: _t->addClient((*reinterpret_cast< qintptr(*)>(_a[1])),(*reinterpret_cast< ClientHandler*(*)>(_a[2]))); break;
        case 5: _t->slotUpdateListClients(); break;
        case 6: _t->slot_BlockAutorization((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->slot_msgToClientReady((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 8: _t->slotAddToLog((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 9: _t->slotAddToMessanger((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 10: _t->on_btnStartServer_clicked(); break;
        case 11: _t->on_btnStopServer_clicked(); break;
        case 12: _t->on_btnTaskSet_clicked(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< ClientHandler* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (ServerLMSWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ServerLMSWidget::sigRecognize)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = QTcpSocket * (ServerLMSWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ServerLMSWidget::sigGetSocket)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (ServerLMSWidget::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ServerLMSWidget::sigLog)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject ServerLMSWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_meta_stringdata_ServerLMSWidget.data,
    qt_meta_data_ServerLMSWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int ServerLMSWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void ServerLMSWidget::sigRecognize()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
QTcpSocket * ServerLMSWidget::sigGetSocket()
{
    QTcpSocket* _t0{};
    void *_a[] = { const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t0))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
    return _t0;
}

// SIGNAL 2
void ServerLMSWidget::sigLog(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
