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

#include <memory>
#include "../../../SQLiteStudio3/coreSQLiteStudio/common/private/blockingsocketprivate.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'blockingsocketprivate.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_BlockingSocketPrivate_t {
    QByteArrayData data[18];
    char stringdata0[204];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_BlockingSocketPrivate_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_BlockingSocketPrivate_t qt_meta_stringdata_BlockingSocketPrivate = {
    {
QT_MOC_LITERAL(0, 0, 21), // "BlockingSocketPrivate"
QT_MOC_LITERAL(1, 22, 12), // "disconnected"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 14), // "handleSendCall"
QT_MOC_LITERAL(4, 51, 5), // "bytes"
QT_MOC_LITERAL(5, 57, 5), // "bool&"
QT_MOC_LITERAL(6, 63, 6), // "result"
QT_MOC_LITERAL(7, 70, 14), // "handleReadCall"
QT_MOC_LITERAL(8, 85, 5), // "count"
QT_MOC_LITERAL(9, 91, 7), // "timeout"
QT_MOC_LITERAL(10, 99, 11), // "QByteArray&"
QT_MOC_LITERAL(11, 111, 11), // "resultBytes"
QT_MOC_LITERAL(12, 123, 17), // "handleConnectCall"
QT_MOC_LITERAL(13, 141, 4), // "host"
QT_MOC_LITERAL(14, 146, 4), // "port"
QT_MOC_LITERAL(15, 151, 20), // "handleDisconnectCall"
QT_MOC_LITERAL(16, 172, 21), // "handleIsConnectedCall"
QT_MOC_LITERAL(17, 194, 9) // "connected"

    },
    "BlockingSocketPrivate\0disconnected\0\0"
    "handleSendCall\0bytes\0bool&\0result\0"
    "handleReadCall\0count\0timeout\0QByteArray&\0"
    "resultBytes\0handleConnectCall\0host\0"
    "port\0handleDisconnectCall\0"
    "handleIsConnectedCall\0connected"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_BlockingSocketPrivate[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   44,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       3,    2,   45,    2, 0x08 /* Private */,
       7,    4,   50,    2, 0x08 /* Private */,
      12,    3,   59,    2, 0x08 /* Private */,
      15,    0,   66,    2, 0x08 /* Private */,
      16,    1,   67,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QByteArray, 0x80000000 | 5,    4,    6,
    QMetaType::Void, QMetaType::LongLong, QMetaType::Int, 0x80000000 | 10, 0x80000000 | 5,    8,    9,   11,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::Int, 0x80000000 | 5,   13,   14,    6,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,   17,

       0        // eod
};

void BlockingSocketPrivate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<BlockingSocketPrivate *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->disconnected(); break;
        case 1: _t->handleSendCall((*reinterpret_cast< const QByteArray(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 2: _t->handleReadCall((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< QByteArray(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
        case 3: _t->handleConnectCall((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 4: _t->handleDisconnectCall(); break;
        case 5: _t->handleIsConnectedCall((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (BlockingSocketPrivate::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&BlockingSocketPrivate::disconnected)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject BlockingSocketPrivate::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_BlockingSocketPrivate.data,
    qt_meta_data_BlockingSocketPrivate,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void BlockingSocketPrivate::disconnected()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
