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

#include "../../../../kimap-26.04.1/src/sessionthread_p.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


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

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN5KIMAP13SessionThreadE_t {};
} // unnamed namespace

template <> constexpr inline auto KIMAP::SessionThread::qt_create_metaobjectdata<qt_meta_tag_ZN5KIMAP13SessionThreadE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KIMAP::SessionThread",
        "socketConnected",
        "",
        "socketDisconnected",
        "socketActivity",
        "socketError",
        "QAbstractSocket::SocketError",
        "responseReceived",
        "KIMAP::Response",
        "response",
        "encryptionNegotiationResult",
        "QSsl::SslProtocol",
        "sslError",
        "KSslErrorUiData",
        "closeSocket",
        "startSsl",
        "protocol",
        "sslErrorHandlerResponse",
        "reconnect",
        "threadInit",
        "threadQuit",
        "readMessage",
        "writeDataQueue",
        "sslConnected",
        "doCloseSocket",
        "slotSocketError",
        "slotSocketDisconnected",
        "doStartSsl",
        "doSslErrorHandlerResponse",
        "setUseProxyInternal",
        "useProxy"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'socketConnected'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'socketDisconnected'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'socketActivity'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'socketError'
        QtMocHelpers::SignalData<void(QAbstractSocket::SocketError)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 2 },
        }}),
        // Signal 'responseReceived'
        QtMocHelpers::SignalData<void(const KIMAP::Response &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'encryptionNegotiationResult'
        QtMocHelpers::SignalData<void(bool, QSsl::SslProtocol)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 2 }, { 0x80000000 | 11, 2 },
        }}),
        // Signal 'sslError'
        QtMocHelpers::SignalData<void(const KSslErrorUiData &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 2 },
        }}),
        // Slot 'closeSocket'
        QtMocHelpers::SlotData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'startSsl'
        QtMocHelpers::SlotData<void(QSsl::SslProtocol)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 11, 16 },
        }}),
        // Slot 'sslErrorHandlerResponse'
        QtMocHelpers::SlotData<void(bool)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 9 },
        }}),
        // Slot 'reconnect'
        QtMocHelpers::SlotData<void()>(18, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'threadInit'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'threadQuit'
        QtMocHelpers::SlotData<void()>(20, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'readMessage'
        QtMocHelpers::SlotData<void()>(21, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'writeDataQueue'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'sslConnected'
        QtMocHelpers::SlotData<void()>(23, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'doCloseSocket'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'slotSocketError'
        QtMocHelpers::SlotData<void(QAbstractSocket::SocketError)>(25, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 6, 2 },
        }}),
        // Slot 'slotSocketDisconnected'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'doStartSsl'
        QtMocHelpers::SlotData<void(QSsl::SslProtocol)>(27, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 11, 2 },
        }}),
        // Slot 'doSslErrorHandlerResponse'
        QtMocHelpers::SlotData<void(bool)>(28, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 9 },
        }}),
        // Slot 'setUseProxyInternal'
        QtMocHelpers::SlotData<void(bool)>(29, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::Bool, 30 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<SessionThread, qt_meta_tag_ZN5KIMAP13SessionThreadE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KIMAP::SessionThread::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5KIMAP13SessionThreadE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5KIMAP13SessionThreadE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN5KIMAP13SessionThreadE_t>.metaTypes,
    nullptr
} };

void KIMAP::SessionThread::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<SessionThread *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->socketConnected(); break;
        case 1: _t->socketDisconnected(); break;
        case 2: _t->socketActivity(); break;
        case 3: _t->socketError((*reinterpret_cast<std::add_pointer_t<QAbstractSocket::SocketError>>(_a[1]))); break;
        case 4: _t->responseReceived((*reinterpret_cast<std::add_pointer_t<KIMAP::Response>>(_a[1]))); break;
        case 5: _t->encryptionNegotiationResult((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QSsl::SslProtocol>>(_a[2]))); break;
        case 6: _t->sslError((*reinterpret_cast<std::add_pointer_t<KSslErrorUiData>>(_a[1]))); break;
        case 7: _t->closeSocket(); break;
        case 8: _t->startSsl((*reinterpret_cast<std::add_pointer_t<QSsl::SslProtocol>>(_a[1]))); break;
        case 9: _t->sslErrorHandlerResponse((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 10: _t->reconnect(); break;
        case 11: _t->threadInit(); break;
        case 12: _t->threadQuit(); break;
        case 13: _t->readMessage(); break;
        case 14: _t->writeDataQueue(); break;
        case 15: _t->sslConnected(); break;
        case 16: _t->doCloseSocket(); break;
        case 17: _t->slotSocketError((*reinterpret_cast<std::add_pointer_t<QAbstractSocket::SocketError>>(_a[1]))); break;
        case 18: _t->slotSocketDisconnected(); break;
        case 19: _t->doStartSsl((*reinterpret_cast<std::add_pointer_t<QSsl::SslProtocol>>(_a[1]))); break;
        case 20: _t->doSslErrorHandlerResponse((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 21: _t->setUseProxyInternal((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAbstractSocket::SocketError >(); break;
            }
            break;
        case 17:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QAbstractSocket::SocketError >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (SessionThread::*)()>(_a, &SessionThread::socketConnected, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (SessionThread::*)()>(_a, &SessionThread::socketDisconnected, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (SessionThread::*)()>(_a, &SessionThread::socketActivity, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (SessionThread::*)(QAbstractSocket::SocketError )>(_a, &SessionThread::socketError, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (SessionThread::*)(const KIMAP::Response & )>(_a, &SessionThread::responseReceived, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (SessionThread::*)(bool , QSsl::SslProtocol )>(_a, &SessionThread::encryptionNegotiationResult, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (SessionThread::*)(const KSslErrorUiData & )>(_a, &SessionThread::sslError, 6))
            return;
    }
}

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

void *KIMAP::SessionThread::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5KIMAP13SessionThreadE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int KIMAP::SessionThread::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 < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    }
    return _id;
}

// SIGNAL 0
void KIMAP::SessionThread::socketConnected()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KIMAP::SessionThread::socketDisconnected()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KIMAP::SessionThread::socketActivity()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void KIMAP::SessionThread::socketError(QAbstractSocket::SocketError _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void KIMAP::SessionThread::responseReceived(const KIMAP::Response & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void KIMAP::SessionThread::encryptionNegotiationResult(bool _t1, QSsl::SslProtocol _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2);
}

// SIGNAL 6
void KIMAP::SessionThread::sslError(const KSslErrorUiData & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
