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

#include "../../../../mauikit-filebrowsing-4.0.2/src/code/libwebdavclient/lib/utils/WebDAVReply.hpp"
#include <QtNetwork/QSslError>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'WebDAVReply.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.1. 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_ZN11WebDAVReplyE_t {};
} // unnamed namespace

template <> constexpr inline auto WebDAVReply::qt_create_metaobjectdata<qt_meta_tag_ZN11WebDAVReplyE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "WebDAVReply",
        "listDirResponse",
        "",
        "QNetworkReply*",
        "listDirReply",
        "QList<WebDAVItem>",
        "items",
        "downloadResponse",
        "downloadReply",
        "downloadProgressResponse",
        "bytesReceived",
        "bytesTotal",
        "uploadFinished",
        "uploadReply",
        "createDirFinished",
        "createDirReply",
        "copyFinished",
        "copyReply",
        "moveFinished",
        "moveReply",
        "removeFinished",
        "removeReply",
        "error",
        "QNetworkReply::NetworkError",
        "err"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'listDirResponse'
        QtMocHelpers::SignalData<void(QNetworkReply *, QList<WebDAVItem>)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 5, 6 },
        }}),
        // Signal 'downloadResponse'
        QtMocHelpers::SignalData<void(QNetworkReply *)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 8 },
        }}),
        // Signal 'downloadProgressResponse'
        QtMocHelpers::SignalData<void(qint64, qint64)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::LongLong, 10 }, { QMetaType::LongLong, 11 },
        }}),
        // Signal 'uploadFinished'
        QtMocHelpers::SignalData<void(QNetworkReply *)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 13 },
        }}),
        // Signal 'createDirFinished'
        QtMocHelpers::SignalData<void(QNetworkReply *)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 15 },
        }}),
        // Signal 'copyFinished'
        QtMocHelpers::SignalData<void(QNetworkReply *)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 17 },
        }}),
        // Signal 'moveFinished'
        QtMocHelpers::SignalData<void(QNetworkReply *)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 19 },
        }}),
        // Signal 'removeFinished'
        QtMocHelpers::SignalData<void(QNetworkReply *)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 21 },
        }}),
        // Signal 'error'
        QtMocHelpers::SignalData<void(QNetworkReply::NetworkError)>(22, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 23, 24 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<WebDAVReply, qt_meta_tag_ZN11WebDAVReplyE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject WebDAVReply::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11WebDAVReplyE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11WebDAVReplyE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11WebDAVReplyE_t>.metaTypes,
    nullptr
} };

void WebDAVReply::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<WebDAVReply *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->listDirResponse((*reinterpret_cast<std::add_pointer_t<QNetworkReply*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QList<WebDAVItem>>>(_a[2]))); break;
        case 1: _t->downloadResponse((*reinterpret_cast<std::add_pointer_t<QNetworkReply*>>(_a[1]))); break;
        case 2: _t->downloadProgressResponse((*reinterpret_cast<std::add_pointer_t<qint64>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<qint64>>(_a[2]))); break;
        case 3: _t->uploadFinished((*reinterpret_cast<std::add_pointer_t<QNetworkReply*>>(_a[1]))); break;
        case 4: _t->createDirFinished((*reinterpret_cast<std::add_pointer_t<QNetworkReply*>>(_a[1]))); break;
        case 5: _t->copyFinished((*reinterpret_cast<std::add_pointer_t<QNetworkReply*>>(_a[1]))); break;
        case 6: _t->moveFinished((*reinterpret_cast<std::add_pointer_t<QNetworkReply*>>(_a[1]))); break;
        case 7: _t->removeFinished((*reinterpret_cast<std::add_pointer_t<QNetworkReply*>>(_a[1]))); break;
        case 8: _t->error((*reinterpret_cast<std::add_pointer_t<QNetworkReply::NetworkError>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply* >(); break;
            }
            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< QNetworkReply* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QNetworkReply::NetworkError >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (WebDAVReply::*)(QNetworkReply * , QList<WebDAVItem> )>(_a, &WebDAVReply::listDirResponse, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebDAVReply::*)(QNetworkReply * )>(_a, &WebDAVReply::downloadResponse, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebDAVReply::*)(qint64 , qint64 )>(_a, &WebDAVReply::downloadProgressResponse, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebDAVReply::*)(QNetworkReply * )>(_a, &WebDAVReply::uploadFinished, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebDAVReply::*)(QNetworkReply * )>(_a, &WebDAVReply::createDirFinished, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebDAVReply::*)(QNetworkReply * )>(_a, &WebDAVReply::copyFinished, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebDAVReply::*)(QNetworkReply * )>(_a, &WebDAVReply::moveFinished, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebDAVReply::*)(QNetworkReply * )>(_a, &WebDAVReply::removeFinished, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (WebDAVReply::*)(QNetworkReply::NetworkError )>(_a, &WebDAVReply::error, 8))
            return;
    }
}

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

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

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

// SIGNAL 0
void WebDAVReply::listDirResponse(QNetworkReply * _t1, QList<WebDAVItem> _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void WebDAVReply::downloadResponse(QNetworkReply * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void WebDAVReply::downloadProgressResponse(qint64 _t1, qint64 _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void WebDAVReply::uploadFinished(QNetworkReply * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void WebDAVReply::createDirFinished(QNetworkReply * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void WebDAVReply::copyFinished(QNetworkReply * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void WebDAVReply::moveFinished(QNetworkReply * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void WebDAVReply::removeFinished(QNetworkReply * _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void WebDAVReply::error(QNetworkReply::NetworkError _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}
QT_WARNING_POP
