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

#include "../../src/ksmtp-17.12.3/src/sessionthread_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'sessionthread_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_KSmtp__SessionThread_t {
    QByteArrayData data[22];
    char stringdata0[297];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KSmtp__SessionThread_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KSmtp__SessionThread_t qt_meta_stringdata_KSmtp__SessionThread = {
    {
QT_MOC_LITERAL(0, 0, 20), // "KSmtp::SessionThread"
QT_MOC_LITERAL(1, 21, 27), // "encryptionNegotiationResult"
QT_MOC_LITERAL(2, 49, 0), // ""
QT_MOC_LITERAL(3, 50, 9), // "encrypted"
QT_MOC_LITERAL(4, 60, 22), // "KTcpSocket::SslVersion"
QT_MOC_LITERAL(5, 83, 7), // "version"
QT_MOC_LITERAL(6, 91, 16), // "responseReceived"
QT_MOC_LITERAL(7, 108, 14), // "ServerResponse"
QT_MOC_LITERAL(8, 123, 8), // "response"
QT_MOC_LITERAL(9, 132, 8), // "sslError"
QT_MOC_LITERAL(10, 141, 15), // "KSslErrorUiData"
QT_MOC_LITERAL(11, 157, 9), // "reconnect"
QT_MOC_LITERAL(12, 167, 11), // "closeSocket"
QT_MOC_LITERAL(13, 179, 8), // "startSsl"
QT_MOC_LITERAL(14, 188, 8), // "sendData"
QT_MOC_LITERAL(15, 197, 7), // "payload"
QT_MOC_LITERAL(16, 205, 12), // "sslConnected"
QT_MOC_LITERAL(17, 218, 14), // "writeDataQueue"
QT_MOC_LITERAL(18, 233, 12), // "readResponse"
QT_MOC_LITERAL(19, 246, 13), // "doCloseSocket"
QT_MOC_LITERAL(20, 260, 24), // "doHandleSslErrorResponse"
QT_MOC_LITERAL(21, 285, 11) // "ignoreError"

    },
    "KSmtp::SessionThread\0encryptionNegotiationResult\0"
    "\0encrypted\0KTcpSocket::SslVersion\0"
    "version\0responseReceived\0ServerResponse\0"
    "response\0sslError\0KSslErrorUiData\0"
    "reconnect\0closeSocket\0startSsl\0sendData\0"
    "payload\0sslConnected\0writeDataQueue\0"
    "readResponse\0doCloseSocket\0"
    "doHandleSslErrorResponse\0ignoreError"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KSmtp__SessionThread[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   74,    2, 0x06 /* Public */,
       6,    1,   79,    2, 0x06 /* Public */,
       9,    1,   82,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,   85,    2, 0x0a /* Public */,
      12,    0,   86,    2, 0x0a /* Public */,
      13,    1,   87,    2, 0x0a /* Public */,
      14,    1,   90,    2, 0x0a /* Public */,
      16,    0,   93,    2, 0x08 /* Private */,
      17,    0,   94,    2, 0x08 /* Private */,
      18,    0,   95,    2, 0x08 /* Private */,
      19,    0,   96,    2, 0x08 /* Private */,
      20,    1,   97,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool, 0x80000000 | 4,    3,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 10,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, QMetaType::QByteArray,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   21,

       0        // eod
};

void KSmtp::SessionThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SessionThread *_t = static_cast<SessionThread *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->encryptionNegotiationResult((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< KTcpSocket::SslVersion(*)>(_a[2]))); break;
        case 1: _t->responseReceived((*reinterpret_cast< const ServerResponse(*)>(_a[1]))); break;
        case 2: _t->sslError((*reinterpret_cast< const KSslErrorUiData(*)>(_a[1]))); break;
        case 3: _t->reconnect(); break;
        case 4: _t->closeSocket(); break;
        case 5: _t->startSsl((*reinterpret_cast< KTcpSocket::SslVersion(*)>(_a[1]))); break;
        case 6: _t->sendData((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 7: _t->sslConnected(); break;
        case 8: _t->writeDataQueue(); break;
        case 9: _t->readResponse(); break;
        case 10: _t->doCloseSocket(); break;
        case 11: _t->doHandleSslErrorResponse((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (SessionThread::*_t)(bool , KTcpSocket::SslVersion );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SessionThread::encryptionNegotiationResult)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (SessionThread::*_t)(const ServerResponse & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SessionThread::responseReceived)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (SessionThread::*_t)(const KSslErrorUiData & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SessionThread::sslError)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject KSmtp::SessionThread::staticMetaObject = {
    { &QThread::staticMetaObject, qt_meta_stringdata_KSmtp__SessionThread.data,
      qt_meta_data_KSmtp__SessionThread,  qt_static_metacall, nullptr, nullptr}
};


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

void *KSmtp::SessionThread::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KSmtp__SessionThread.stringdata0))
        return static_cast<void*>(this);
    return QThread::qt_metacast(_clname);
}

int KSmtp::SessionThread::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QThread::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
    return _id;
}

// SIGNAL 0
void KSmtp::SessionThread::encryptionNegotiationResult(bool _t1, KTcpSocket::SslVersion _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KSmtp::SessionThread::responseReceived(const ServerResponse & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KSmtp::SessionThread::sslError(const KSslErrorUiData & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
