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

#include <memory>
#include "../socket/qabstractsocket.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qabstractsocket.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_QAbstractSocket_t {
    QByteArrayData data[72];
    char stringdata0[1311];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QAbstractSocket_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QAbstractSocket_t qt_meta_stringdata_QAbstractSocket = {
    {
QT_MOC_LITERAL(0, 0, 15), // "QAbstractSocket"
QT_MOC_LITERAL(1, 16, 9), // "hostFound"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 9), // "connected"
QT_MOC_LITERAL(4, 37, 12), // "disconnected"
QT_MOC_LITERAL(5, 50, 12), // "stateChanged"
QT_MOC_LITERAL(6, 63, 28), // "QAbstractSocket::SocketState"
QT_MOC_LITERAL(7, 92, 5), // "error"
QT_MOC_LITERAL(8, 98, 28), // "QAbstractSocket::SocketError"
QT_MOC_LITERAL(9, 127, 13), // "errorOccurred"
QT_MOC_LITERAL(10, 141, 27), // "proxyAuthenticationRequired"
QT_MOC_LITERAL(11, 169, 13), // "QNetworkProxy"
QT_MOC_LITERAL(12, 183, 5), // "proxy"
QT_MOC_LITERAL(13, 189, 15), // "QAuthenticator*"
QT_MOC_LITERAL(14, 205, 13), // "authenticator"
QT_MOC_LITERAL(15, 219, 23), // "_q_connectToNextAddress"
QT_MOC_LITERAL(16, 243, 18), // "_q_startConnecting"
QT_MOC_LITERAL(17, 262, 9), // "QHostInfo"
QT_MOC_LITERAL(18, 272, 25), // "_q_abortConnectionAttempt"
QT_MOC_LITERAL(19, 298, 17), // "_q_testConnection"
QT_MOC_LITERAL(20, 316, 10), // "SocketType"
QT_MOC_LITERAL(21, 327, 9), // "TcpSocket"
QT_MOC_LITERAL(22, 337, 9), // "UdpSocket"
QT_MOC_LITERAL(23, 347, 10), // "SctpSocket"
QT_MOC_LITERAL(24, 358, 17), // "UnknownSocketType"
QT_MOC_LITERAL(25, 376, 20), // "NetworkLayerProtocol"
QT_MOC_LITERAL(26, 397, 12), // "IPv4Protocol"
QT_MOC_LITERAL(27, 410, 12), // "IPv6Protocol"
QT_MOC_LITERAL(28, 423, 13), // "AnyIPProtocol"
QT_MOC_LITERAL(29, 437, 27), // "UnknownNetworkLayerProtocol"
QT_MOC_LITERAL(30, 465, 11), // "SocketError"
QT_MOC_LITERAL(31, 477, 22), // "ConnectionRefusedError"
QT_MOC_LITERAL(32, 500, 21), // "RemoteHostClosedError"
QT_MOC_LITERAL(33, 522, 17), // "HostNotFoundError"
QT_MOC_LITERAL(34, 540, 17), // "SocketAccessError"
QT_MOC_LITERAL(35, 558, 19), // "SocketResourceError"
QT_MOC_LITERAL(36, 578, 18), // "SocketTimeoutError"
QT_MOC_LITERAL(37, 597, 21), // "DatagramTooLargeError"
QT_MOC_LITERAL(38, 619, 12), // "NetworkError"
QT_MOC_LITERAL(39, 632, 17), // "AddressInUseError"
QT_MOC_LITERAL(40, 650, 30), // "SocketAddressNotAvailableError"
QT_MOC_LITERAL(41, 681, 31), // "UnsupportedSocketOperationError"
QT_MOC_LITERAL(42, 713, 30), // "UnfinishedSocketOperationError"
QT_MOC_LITERAL(43, 744, 32), // "ProxyAuthenticationRequiredError"
QT_MOC_LITERAL(44, 777, 23), // "SslHandshakeFailedError"
QT_MOC_LITERAL(45, 801, 27), // "ProxyConnectionRefusedError"
QT_MOC_LITERAL(46, 829, 26), // "ProxyConnectionClosedError"
QT_MOC_LITERAL(47, 856, 27), // "ProxyConnectionTimeoutError"
QT_MOC_LITERAL(48, 884, 18), // "ProxyNotFoundError"
QT_MOC_LITERAL(49, 903, 18), // "ProxyProtocolError"
QT_MOC_LITERAL(50, 922, 14), // "OperationError"
QT_MOC_LITERAL(51, 937, 16), // "SslInternalError"
QT_MOC_LITERAL(52, 954, 23), // "SslInvalidUserDataError"
QT_MOC_LITERAL(53, 978, 14), // "TemporaryError"
QT_MOC_LITERAL(54, 993, 18), // "UnknownSocketError"
QT_MOC_LITERAL(55, 1012, 11), // "SocketState"
QT_MOC_LITERAL(56, 1024, 16), // "UnconnectedState"
QT_MOC_LITERAL(57, 1041, 15), // "HostLookupState"
QT_MOC_LITERAL(58, 1057, 15), // "ConnectingState"
QT_MOC_LITERAL(59, 1073, 14), // "ConnectedState"
QT_MOC_LITERAL(60, 1088, 10), // "BoundState"
QT_MOC_LITERAL(61, 1099, 14), // "ListeningState"
QT_MOC_LITERAL(62, 1114, 12), // "ClosingState"
QT_MOC_LITERAL(63, 1127, 12), // "SocketOption"
QT_MOC_LITERAL(64, 1140, 14), // "LowDelayOption"
QT_MOC_LITERAL(65, 1155, 15), // "KeepAliveOption"
QT_MOC_LITERAL(66, 1171, 18), // "MulticastTtlOption"
QT_MOC_LITERAL(67, 1190, 23), // "MulticastLoopbackOption"
QT_MOC_LITERAL(68, 1214, 19), // "TypeOfServiceOption"
QT_MOC_LITERAL(69, 1234, 26), // "SendBufferSizeSocketOption"
QT_MOC_LITERAL(70, 1261, 29), // "ReceiveBufferSizeSocketOption"
QT_MOC_LITERAL(71, 1291, 19) // "PathMtuSocketOption"

    },
    "QAbstractSocket\0hostFound\0\0connected\0"
    "disconnected\0stateChanged\0"
    "QAbstractSocket::SocketState\0error\0"
    "QAbstractSocket::SocketError\0errorOccurred\0"
    "proxyAuthenticationRequired\0QNetworkProxy\0"
    "proxy\0QAuthenticator*\0authenticator\0"
    "_q_connectToNextAddress\0_q_startConnecting\0"
    "QHostInfo\0_q_abortConnectionAttempt\0"
    "_q_testConnection\0SocketType\0TcpSocket\0"
    "UdpSocket\0SctpSocket\0UnknownSocketType\0"
    "NetworkLayerProtocol\0IPv4Protocol\0"
    "IPv6Protocol\0AnyIPProtocol\0"
    "UnknownNetworkLayerProtocol\0SocketError\0"
    "ConnectionRefusedError\0RemoteHostClosedError\0"
    "HostNotFoundError\0SocketAccessError\0"
    "SocketResourceError\0SocketTimeoutError\0"
    "DatagramTooLargeError\0NetworkError\0"
    "AddressInUseError\0SocketAddressNotAvailableError\0"
    "UnsupportedSocketOperationError\0"
    "UnfinishedSocketOperationError\0"
    "ProxyAuthenticationRequiredError\0"
    "SslHandshakeFailedError\0"
    "ProxyConnectionRefusedError\0"
    "ProxyConnectionClosedError\0"
    "ProxyConnectionTimeoutError\0"
    "ProxyNotFoundError\0ProxyProtocolError\0"
    "OperationError\0SslInternalError\0"
    "SslInvalidUserDataError\0TemporaryError\0"
    "UnknownSocketError\0SocketState\0"
    "UnconnectedState\0HostLookupState\0"
    "ConnectingState\0ConnectedState\0"
    "BoundState\0ListeningState\0ClosingState\0"
    "SocketOption\0LowDelayOption\0KeepAliveOption\0"
    "MulticastTtlOption\0MulticastLoopbackOption\0"
    "TypeOfServiceOption\0SendBufferSizeSocketOption\0"
    "ReceiveBufferSizeSocketOption\0"
    "PathMtuSocketOption"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QAbstractSocket[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      11,   14, // methods
       0,    0, // properties
       5,   92, // enums/sets
       0,    0, // constructors
       0,       // flags
       7,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    0,   70,    2, 0x06 /* Public */,
       4,    0,   71,    2, 0x06 /* Public */,
       5,    1,   72,    2, 0x06 /* Public */,
       7,    1,   75,    2, 0x06 /* Public */,
       9,    1,   78,    2, 0x06 /* Public */,
      10,    2,   81,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      15,    0,   86,    2, 0x08 /* Private */,
      16,    1,   87,    2, 0x08 /* Private */,
      18,    0,   90,    2, 0x08 /* Private */,
      19,    0,   91,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6,    2,
    QMetaType::Void, 0x80000000 | 8,    2,
    QMetaType::Void, 0x80000000 | 8,    2,
    QMetaType::Void, 0x80000000 | 11, 0x80000000 | 13,   12,   14,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17,    2,
    QMetaType::Void,
    QMetaType::Void,

 // enums: name, alias, flags, count, data
      20,   20, 0x0,    4,  117,
      25,   25, 0x0,    4,  125,
      30,   30, 0x0,   24,  133,
      55,   55, 0x0,    7,  181,
      63,   63, 0x0,    8,  195,

 // enum data: key, value
      21, uint(QAbstractSocket::TcpSocket),
      22, uint(QAbstractSocket::UdpSocket),
      23, uint(QAbstractSocket::SctpSocket),
      24, uint(QAbstractSocket::UnknownSocketType),
      26, uint(QAbstractSocket::IPv4Protocol),
      27, uint(QAbstractSocket::IPv6Protocol),
      28, uint(QAbstractSocket::AnyIPProtocol),
      29, uint(QAbstractSocket::UnknownNetworkLayerProtocol),
      31, uint(QAbstractSocket::ConnectionRefusedError),
      32, uint(QAbstractSocket::RemoteHostClosedError),
      33, uint(QAbstractSocket::HostNotFoundError),
      34, uint(QAbstractSocket::SocketAccessError),
      35, uint(QAbstractSocket::SocketResourceError),
      36, uint(QAbstractSocket::SocketTimeoutError),
      37, uint(QAbstractSocket::DatagramTooLargeError),
      38, uint(QAbstractSocket::NetworkError),
      39, uint(QAbstractSocket::AddressInUseError),
      40, uint(QAbstractSocket::SocketAddressNotAvailableError),
      41, uint(QAbstractSocket::UnsupportedSocketOperationError),
      42, uint(QAbstractSocket::UnfinishedSocketOperationError),
      43, uint(QAbstractSocket::ProxyAuthenticationRequiredError),
      44, uint(QAbstractSocket::SslHandshakeFailedError),
      45, uint(QAbstractSocket::ProxyConnectionRefusedError),
      46, uint(QAbstractSocket::ProxyConnectionClosedError),
      47, uint(QAbstractSocket::ProxyConnectionTimeoutError),
      48, uint(QAbstractSocket::ProxyNotFoundError),
      49, uint(QAbstractSocket::ProxyProtocolError),
      50, uint(QAbstractSocket::OperationError),
      51, uint(QAbstractSocket::SslInternalError),
      52, uint(QAbstractSocket::SslInvalidUserDataError),
      53, uint(QAbstractSocket::TemporaryError),
      54, uint(QAbstractSocket::UnknownSocketError),
      56, uint(QAbstractSocket::UnconnectedState),
      57, uint(QAbstractSocket::HostLookupState),
      58, uint(QAbstractSocket::ConnectingState),
      59, uint(QAbstractSocket::ConnectedState),
      60, uint(QAbstractSocket::BoundState),
      61, uint(QAbstractSocket::ListeningState),
      62, uint(QAbstractSocket::ClosingState),
      64, uint(QAbstractSocket::LowDelayOption),
      65, uint(QAbstractSocket::KeepAliveOption),
      66, uint(QAbstractSocket::MulticastTtlOption),
      67, uint(QAbstractSocket::MulticastLoopbackOption),
      68, uint(QAbstractSocket::TypeOfServiceOption),
      69, uint(QAbstractSocket::SendBufferSizeSocketOption),
      70, uint(QAbstractSocket::ReceiveBufferSizeSocketOption),
      71, uint(QAbstractSocket::PathMtuSocketOption),

       0        // eod
};

void QAbstractSocket::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QAbstractSocket *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->hostFound(); break;
        case 1: _t->connected(); break;
        case 2: _t->disconnected(); break;
        case 3: _t->stateChanged((*reinterpret_cast< QAbstractSocket::SocketState(*)>(_a[1]))); break;
        case 4: _t->error((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break;
        case 5: _t->errorOccurred((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break;
        case 6: _t->proxyAuthenticationRequired((*reinterpret_cast< const QNetworkProxy(*)>(_a[1])),(*reinterpret_cast< QAuthenticator*(*)>(_a[2]))); break;
        case 7: _t->d_func()->_q_connectToNextAddress(); break;
        case 8: _t->d_func()->_q_startConnecting((*reinterpret_cast< const QHostInfo(*)>(_a[1]))); break;
        case 9: _t->d_func()->_q_abortConnectionAttempt(); break;
        case 10: _t->d_func()->_q_testConnection(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketState >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketError >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketError >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QAbstractSocket::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSocket::hostFound)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QAbstractSocket::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSocket::connected)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QAbstractSocket::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSocket::disconnected)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QAbstractSocket::*)(QAbstractSocket::SocketState );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSocket::stateChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QAbstractSocket::*)(QAbstractSocket::SocketError );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSocket::error)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QAbstractSocket::*)(QAbstractSocket::SocketError );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSocket::errorOccurred)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QAbstractSocket::*)(const QNetworkProxy & , QAuthenticator * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QAbstractSocket::proxyAuthenticationRequired)) {
                *result = 6;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QAbstractSocket::staticMetaObject = { {
    QMetaObject::SuperData::link<QIODevice::staticMetaObject>(),
    qt_meta_stringdata_QAbstractSocket.data,
    qt_meta_data_QAbstractSocket,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QAbstractSocket::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QIODevice::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    return _id;
}

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

// SIGNAL 1
void QAbstractSocket::connected()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

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

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

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

// SIGNAL 5
void QAbstractSocket::errorOccurred(QAbstractSocket::SocketError _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void QAbstractSocket::proxyAuthenticationRequired(const QNetworkProxy & _t1, QAuthenticator * _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, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
