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

#include "../../../../src/qtbase-opensource-src-5.4.2/src/network/ssl/qsslsocket.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qsslsocket.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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
struct qt_meta_stringdata_QSslSocket_t {
    QByteArrayData data[29];
    char stringdata[466];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QSslSocket_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QSslSocket_t qt_meta_stringdata_QSslSocket = {
    {
QT_MOC_LITERAL(0, 0, 10), // "QSslSocket"
QT_MOC_LITERAL(1, 11, 9), // "encrypted"
QT_MOC_LITERAL(2, 21, 0), // ""
QT_MOC_LITERAL(3, 22, 15), // "peerVerifyError"
QT_MOC_LITERAL(4, 38, 9), // "QSslError"
QT_MOC_LITERAL(5, 48, 5), // "error"
QT_MOC_LITERAL(6, 54, 9), // "sslErrors"
QT_MOC_LITERAL(7, 64, 16), // "QList<QSslError>"
QT_MOC_LITERAL(8, 81, 6), // "errors"
QT_MOC_LITERAL(9, 88, 11), // "modeChanged"
QT_MOC_LITERAL(10, 100, 19), // "QSslSocket::SslMode"
QT_MOC_LITERAL(11, 120, 7), // "newMode"
QT_MOC_LITERAL(12, 128, 21), // "encryptedBytesWritten"
QT_MOC_LITERAL(13, 150, 10), // "totalBytes"
QT_MOC_LITERAL(14, 161, 21), // "startClientEncryption"
QT_MOC_LITERAL(15, 183, 21), // "startServerEncryption"
QT_MOC_LITERAL(16, 205, 15), // "ignoreSslErrors"
QT_MOC_LITERAL(17, 221, 16), // "_q_connectedSlot"
QT_MOC_LITERAL(18, 238, 16), // "_q_hostFoundSlot"
QT_MOC_LITERAL(19, 255, 19), // "_q_disconnectedSlot"
QT_MOC_LITERAL(20, 275, 19), // "_q_stateChangedSlot"
QT_MOC_LITERAL(21, 295, 28), // "QAbstractSocket::SocketState"
QT_MOC_LITERAL(22, 324, 12), // "_q_errorSlot"
QT_MOC_LITERAL(23, 337, 28), // "QAbstractSocket::SocketError"
QT_MOC_LITERAL(24, 366, 16), // "_q_readyReadSlot"
QT_MOC_LITERAL(25, 383, 19), // "_q_bytesWrittenSlot"
QT_MOC_LITERAL(26, 403, 19), // "_q_flushWriteBuffer"
QT_MOC_LITERAL(27, 423, 18), // "_q_flushReadBuffer"
QT_MOC_LITERAL(28, 442, 23) // "_q_resumeImplementation"

    },
    "QSslSocket\0encrypted\0\0peerVerifyError\0"
    "QSslError\0error\0sslErrors\0QList<QSslError>\0"
    "errors\0modeChanged\0QSslSocket::SslMode\0"
    "newMode\0encryptedBytesWritten\0totalBytes\0"
    "startClientEncryption\0startServerEncryption\0"
    "ignoreSslErrors\0_q_connectedSlot\0"
    "_q_hostFoundSlot\0_q_disconnectedSlot\0"
    "_q_stateChangedSlot\0QAbstractSocket::SocketState\0"
    "_q_errorSlot\0QAbstractSocket::SocketError\0"
    "_q_readyReadSlot\0_q_bytesWrittenSlot\0"
    "_q_flushWriteBuffer\0_q_flushReadBuffer\0"
    "_q_resumeImplementation"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QSslSocket[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  104,    2, 0x06 /* Public */,
       3,    1,  105,    2, 0x06 /* Public */,
       6,    1,  108,    2, 0x06 /* Public */,
       9,    1,  111,    2, 0x06 /* Public */,
      12,    1,  114,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    0,  117,    2, 0x0a /* Public */,
      15,    0,  118,    2, 0x0a /* Public */,
      16,    0,  119,    2, 0x0a /* Public */,
      17,    0,  120,    2, 0x08 /* Private */,
      18,    0,  121,    2, 0x08 /* Private */,
      19,    0,  122,    2, 0x08 /* Private */,
      20,    1,  123,    2, 0x08 /* Private */,
      22,    1,  126,    2, 0x08 /* Private */,
      24,    0,  129,    2, 0x08 /* Private */,
      25,    1,  130,    2, 0x08 /* Private */,
      26,    0,  133,    2, 0x08 /* Private */,
      27,    0,  134,    2, 0x08 /* Private */,
      28,    0,  135,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void, QMetaType::LongLong,   13,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 21,    2,
    QMetaType::Void, 0x80000000 | 23,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::LongLong,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void QSslSocket::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QSslSocket *_t = static_cast<QSslSocket *>(_o);
        switch (_id) {
        case 0: _t->encrypted(); break;
        case 1: _t->peerVerifyError((*reinterpret_cast< const QSslError(*)>(_a[1]))); break;
        case 2: _t->sslErrors((*reinterpret_cast< const QList<QSslError>(*)>(_a[1]))); break;
        case 3: _t->modeChanged((*reinterpret_cast< QSslSocket::SslMode(*)>(_a[1]))); break;
        case 4: _t->encryptedBytesWritten((*reinterpret_cast< qint64(*)>(_a[1]))); break;
        case 5: _t->startClientEncryption(); break;
        case 6: _t->startServerEncryption(); break;
        case 7: _t->ignoreSslErrors(); break;
        case 8: _t->d_func()->_q_connectedSlot(); break;
        case 9: _t->d_func()->_q_hostFoundSlot(); break;
        case 10: _t->d_func()->_q_disconnectedSlot(); break;
        case 11: _t->d_func()->_q_stateChangedSlot((*reinterpret_cast< QAbstractSocket::SocketState(*)>(_a[1]))); break;
        case 12: _t->d_func()->_q_errorSlot((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break;
        case 13: _t->d_func()->_q_readyReadSlot(); break;
        case 14: _t->d_func()->_q_bytesWrittenSlot((*reinterpret_cast< qint64(*)>(_a[1]))); break;
        case 15: _t->d_func()->_q_flushWriteBuffer(); break;
        case 16: _t->d_func()->_q_flushReadBuffer(); break;
        case 17: _t->d_func()->_q_resumeImplementation(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QSslError> >(); break;
            }
            break;
        case 11:
            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 12:
            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]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QSslSocket::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QSslSocket::encrypted)) {
                *result = 0;
            }
        }
        {
            typedef void (QSslSocket::*_t)(const QSslError & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QSslSocket::peerVerifyError)) {
                *result = 1;
            }
        }
        {
            typedef void (QSslSocket::*_t)(const QList<QSslError> & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QSslSocket::sslErrors)) {
                *result = 2;
            }
        }
        {
            typedef void (QSslSocket::*_t)(QSslSocket::SslMode );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QSslSocket::modeChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (QSslSocket::*_t)(qint64 );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QSslSocket::encryptedBytesWritten)) {
                *result = 4;
            }
        }
    }
}

const QMetaObject QSslSocket::staticMetaObject = {
    { &QTcpSocket::staticMetaObject, qt_meta_stringdata_QSslSocket.data,
      qt_meta_data_QSslSocket,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *QSslSocket::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QSslSocket.stringdata))
        return static_cast<void*>(const_cast< QSslSocket*>(this));
    return QTcpSocket::qt_metacast(_clname);
}

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

// SIGNAL 0
void QSslSocket::encrypted()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void QSslSocket::peerVerifyError(const QSslError & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QSslSocket::sslErrors(const QList<QSslError> & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void QSslSocket::modeChanged(QSslSocket::SslMode _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void QSslSocket::encryptedBytesWritten(qint64 _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_END_MOC_NAMESPACE
