/****************************************************************************
** Meta object code from reading C++ file 'qnetworkaccessmanager.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 "../access/qnetworkaccessmanager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qnetworkaccessmanager.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_QNetworkAccessManager_t {
    QByteArrayData data[37];
    char stringdata0[744];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QNetworkAccessManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QNetworkAccessManager_t qt_meta_stringdata_QNetworkAccessManager = {
    {
QT_MOC_LITERAL(0, 0, 21), // "QNetworkAccessManager"
QT_MOC_LITERAL(1, 22, 27), // "proxyAuthenticationRequired"
QT_MOC_LITERAL(2, 50, 0), // ""
QT_MOC_LITERAL(3, 51, 13), // "QNetworkProxy"
QT_MOC_LITERAL(4, 65, 5), // "proxy"
QT_MOC_LITERAL(5, 71, 15), // "QAuthenticator*"
QT_MOC_LITERAL(6, 87, 13), // "authenticator"
QT_MOC_LITERAL(7, 101, 22), // "authenticationRequired"
QT_MOC_LITERAL(8, 124, 14), // "QNetworkReply*"
QT_MOC_LITERAL(9, 139, 5), // "reply"
QT_MOC_LITERAL(10, 145, 8), // "finished"
QT_MOC_LITERAL(11, 154, 9), // "encrypted"
QT_MOC_LITERAL(12, 164, 9), // "sslErrors"
QT_MOC_LITERAL(13, 174, 16), // "QList<QSslError>"
QT_MOC_LITERAL(14, 191, 6), // "errors"
QT_MOC_LITERAL(15, 198, 34), // "preSharedKeyAuthenticationReq..."
QT_MOC_LITERAL(16, 233, 30), // "QSslPreSharedKeyAuthenticator*"
QT_MOC_LITERAL(17, 264, 23), // "networkSessionConnected"
QT_MOC_LITERAL(18, 288, 24), // "networkAccessibleChanged"
QT_MOC_LITERAL(19, 313, 43), // "QNetworkAccessManager::Networ..."
QT_MOC_LITERAL(20, 357, 10), // "accessible"
QT_MOC_LITERAL(21, 368, 30), // "supportedSchemesImplementation"
QT_MOC_LITERAL(22, 399, 17), // "_q_replySslErrors"
QT_MOC_LITERAL(23, 417, 42), // "_q_replyPreSharedKeyAuthentic..."
QT_MOC_LITERAL(24, 460, 23), // "_q_networkSessionClosed"
QT_MOC_LITERAL(25, 484, 29), // "_q_networkSessionStateChanged"
QT_MOC_LITERAL(26, 514, 22), // "QNetworkSession::State"
QT_MOC_LITERAL(27, 537, 23), // "_q_configurationChanged"
QT_MOC_LITERAL(28, 561, 21), // "QNetworkConfiguration"
QT_MOC_LITERAL(29, 583, 23), // "_q_networkSessionFailed"
QT_MOC_LITERAL(30, 607, 29), // "QNetworkSession::SessionError"
QT_MOC_LITERAL(31, 637, 21), // "_q_onlineStateChanged"
QT_MOC_LITERAL(32, 659, 17), // "networkAccessible"
QT_MOC_LITERAL(33, 677, 20), // "NetworkAccessibility"
QT_MOC_LITERAL(34, 698, 20), // "UnknownAccessibility"
QT_MOC_LITERAL(35, 719, 13), // "NotAccessible"
QT_MOC_LITERAL(36, 733, 10) // "Accessible"

    },
    "QNetworkAccessManager\0proxyAuthenticationRequired\0"
    "\0QNetworkProxy\0proxy\0QAuthenticator*\0"
    "authenticator\0authenticationRequired\0"
    "QNetworkReply*\0reply\0finished\0encrypted\0"
    "sslErrors\0QList<QSslError>\0errors\0"
    "preSharedKeyAuthenticationRequired\0"
    "QSslPreSharedKeyAuthenticator*\0"
    "networkSessionConnected\0"
    "networkAccessibleChanged\0"
    "QNetworkAccessManager::NetworkAccessibility\0"
    "accessible\0supportedSchemesImplementation\0"
    "_q_replySslErrors\0"
    "_q_replyPreSharedKeyAuthenticationRequired\0"
    "_q_networkSessionClosed\0"
    "_q_networkSessionStateChanged\0"
    "QNetworkSession::State\0_q_configurationChanged\0"
    "QNetworkConfiguration\0_q_networkSessionFailed\0"
    "QNetworkSession::SessionError\0"
    "_q_onlineStateChanged\0networkAccessible\0"
    "NetworkAccessibility\0UnknownAccessibility\0"
    "NotAccessible\0Accessible"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QNetworkAccessManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   94,    2, 0x06 /* Public */,
       7,    2,   99,    2, 0x06 /* Public */,
      10,    1,  104,    2, 0x06 /* Public */,
      11,    1,  107,    2, 0x06 /* Public */,
      12,    2,  110,    2, 0x06 /* Public */,
      15,    2,  115,    2, 0x06 /* Public */,
      17,    0,  120,    2, 0x06 /* Public */,
      18,    1,  121,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      21,    0,  124,    2, 0x09 /* Protected */,
      22,    1,  125,    2, 0x08 /* Private */,
      23,    1,  128,    2, 0x08 /* Private */,
      24,    0,  131,    2, 0x08 /* Private */,
      25,    1,  132,    2, 0x08 /* Private */,
      27,    1,  135,    2, 0x08 /* Private */,
      29,    1,  138,    2, 0x08 /* Private */,
      31,    1,  141,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 5,    4,    6,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 5,    9,    6,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 13,    9,   14,
    QMetaType::Void, 0x80000000 | 8, 0x80000000 | 16,    9,    6,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 19,   20,

 // slots: parameters
    QMetaType::QStringList,
    QMetaType::Void, 0x80000000 | 13,    2,
    QMetaType::Void, 0x80000000 | 16,    2,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 26,    2,
    QMetaType::Void, 0x80000000 | 28,    2,
    QMetaType::Void, 0x80000000 | 30,    2,
    QMetaType::Void, QMetaType::Bool,    2,

 // properties: name, type, flags
      32, 0x80000000 | 33, 0x0049510b,

 // properties: notify_signal_id
       7,

 // enums: name, alias, flags, count, data
      33,   33, 0x0,    3,  153,

 // enum data: key, value
      34, uint(QNetworkAccessManager::UnknownAccessibility),
      35, uint(QNetworkAccessManager::NotAccessible),
      36, uint(QNetworkAccessManager::Accessible),

       0        // eod
};

void QNetworkAccessManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QNetworkAccessManager *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->proxyAuthenticationRequired((*reinterpret_cast< const QNetworkProxy(*)>(_a[1])),(*reinterpret_cast< QAuthenticator*(*)>(_a[2]))); break;
        case 1: _t->authenticationRequired((*reinterpret_cast< QNetworkReply*(*)>(_a[1])),(*reinterpret_cast< QAuthenticator*(*)>(_a[2]))); break;
        case 2: _t->finished((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
        case 3: _t->encrypted((*reinterpret_cast< QNetworkReply*(*)>(_a[1]))); break;
        case 4: _t->sslErrors((*reinterpret_cast< QNetworkReply*(*)>(_a[1])),(*reinterpret_cast< const QList<QSslError>(*)>(_a[2]))); break;
        case 5: _t->preSharedKeyAuthenticationRequired((*reinterpret_cast< QNetworkReply*(*)>(_a[1])),(*reinterpret_cast< QSslPreSharedKeyAuthenticator*(*)>(_a[2]))); break;
        case 6: _t->networkSessionConnected(); break;
        case 7: _t->networkAccessibleChanged((*reinterpret_cast< QNetworkAccessManager::NetworkAccessibility(*)>(_a[1]))); break;
        case 8: { QStringList _r = _t->supportedSchemesImplementation();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 9: _t->d_func()->_q_replySslErrors((*reinterpret_cast< QList<QSslError>(*)>(_a[1]))); break;
        case 10: _t->d_func()->_q_replyPreSharedKeyAuthenticationRequired((*reinterpret_cast< QSslPreSharedKeyAuthenticator*(*)>(_a[1]))); break;
        case 11: _t->d_func()->_q_networkSessionClosed(); break;
        case 12: _t->d_func()->_q_networkSessionStateChanged((*reinterpret_cast< QNetworkSession::State(*)>(_a[1]))); break;
        case 13: _t->d_func()->_q_configurationChanged((*reinterpret_cast< const QNetworkConfiguration(*)>(_a[1]))); break;
        case 14: _t->d_func()->_q_networkSessionFailed((*reinterpret_cast< QNetworkSession::SessionError(*)>(_a[1]))); break;
        case 15: _t->d_func()->_q_onlineStateChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QSslError> >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSslPreSharedKeyAuthenticator* >(); break;
            }
            break;
        case 9:
            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 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSslPreSharedKeyAuthenticator* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QNetworkAccessManager::*)(const QNetworkProxy & , QAuthenticator * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkAccessManager::proxyAuthenticationRequired)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QNetworkAccessManager::*)(QNetworkReply * , QAuthenticator * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkAccessManager::authenticationRequired)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QNetworkAccessManager::*)(QNetworkReply * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkAccessManager::finished)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QNetworkAccessManager::*)(QNetworkReply * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkAccessManager::encrypted)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QNetworkAccessManager::*)(QNetworkReply * , const QList<QSslError> & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkAccessManager::sslErrors)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QNetworkAccessManager::*)(QNetworkReply * , QSslPreSharedKeyAuthenticator * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkAccessManager::preSharedKeyAuthenticationRequired)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QNetworkAccessManager::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkAccessManager::networkSessionConnected)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QNetworkAccessManager::*)(QNetworkAccessManager::NetworkAccessibility );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QNetworkAccessManager::networkAccessibleChanged)) {
                *result = 7;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QNetworkAccessManager *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< NetworkAccessibility*>(_v) = _t->networkAccessible(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QNetworkAccessManager *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setNetworkAccessible(*reinterpret_cast< NetworkAccessibility*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QNetworkAccessManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QNetworkAccessManager.data,
    qt_meta_data_QNetworkAccessManager,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QNetworkAccessManager::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 1;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 1;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QNetworkAccessManager::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, 0, _a);
}

// SIGNAL 1
void QNetworkAccessManager::authenticationRequired(QNetworkReply * _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, 1, _a);
}

// SIGNAL 2
void QNetworkAccessManager::finished(QNetworkReply * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

// SIGNAL 4
void QNetworkAccessManager::sslErrors(QNetworkReply * _t1, const QList<QSslError> & _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, 4, _a);
}

// SIGNAL 5
void QNetworkAccessManager::preSharedKeyAuthenticationRequired(QNetworkReply * _t1, QSslPreSharedKeyAuthenticator * _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, 5, _a);
}

// SIGNAL 6
void QNetworkAccessManager::networkSessionConnected()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void QNetworkAccessManager::networkAccessibleChanged(QNetworkAccessManager::NetworkAccessibility _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
