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

#include "helper_interface.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 'helper_interface.h' 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_ZN35DevJonmagonKdiskmarkHelperInterfaceE_t {};
} // unnamed namespace

template <> constexpr inline auto DevJonmagonKdiskmarkHelperInterface::qt_create_metaobjectdata<qt_meta_tag_ZN35DevJonmagonKdiskmarkHelperInterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DevJonmagonKdiskmarkHelperInterface",
        "taskFinished",
        "",
        "in0",
        "in1",
        "in2",
        "checkCowStatus",
        "QDBusPendingReply<QVariantMap>",
        "path",
        "createNoCowDirectory",
        "endSession",
        "flushPageCache",
        "initSession",
        "prepareBenchmarkFile",
        "benchmarkPath",
        "fileSize",
        "fillZeros",
        "removeBenchmarkFile",
        "startBenchmarkTest",
        "measuringTime",
        "randomReadPercentage",
        "cacheBypass",
        "continuousGeneration",
        "blockSize",
        "queueDepth",
        "threads",
        "rw",
        "stopCurrentTask"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'taskFinished'
        QtMocHelpers::SignalData<void(bool, const QString &, const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 }, { QMetaType::QString, 4 }, { QMetaType::QString, 5 },
        }}),
        // Slot 'checkCowStatus'
        QtMocHelpers::SlotData<QDBusPendingReply<QVariantMap>(const QString &)>(6, 2, QMC::AccessPublic, 0x80000000 | 7, {{
            { QMetaType::QString, 8 },
        }}),
        // Slot 'createNoCowDirectory'
        QtMocHelpers::SlotData<QDBusPendingReply<QVariantMap>(const QString &)>(9, 2, QMC::AccessPublic, 0x80000000 | 7, {{
            { QMetaType::QString, 8 },
        }}),
        // Slot 'endSession'
        QtMocHelpers::SlotData<QDBusPendingReply<QVariantMap>()>(10, 2, QMC::AccessPublic, 0x80000000 | 7),
        // Slot 'flushPageCache'
        QtMocHelpers::SlotData<QDBusPendingReply<QVariantMap>()>(11, 2, QMC::AccessPublic, 0x80000000 | 7),
        // Slot 'initSession'
        QtMocHelpers::SlotData<QDBusPendingReply<QVariantMap>()>(12, 2, QMC::AccessPublic, 0x80000000 | 7),
        // Slot 'prepareBenchmarkFile'
        QtMocHelpers::SlotData<QDBusPendingReply<QVariantMap>(const QString &, int, bool)>(13, 2, QMC::AccessPublic, 0x80000000 | 7, {{
            { QMetaType::QString, 14 }, { QMetaType::Int, 15 }, { QMetaType::Bool, 16 },
        }}),
        // Slot 'removeBenchmarkFile'
        QtMocHelpers::SlotData<QDBusPendingReply<QVariantMap>()>(17, 2, QMC::AccessPublic, 0x80000000 | 7),
        // Slot 'startBenchmarkTest'
        QtMocHelpers::SlotData<QDBusPendingReply<QVariantMap>(int, int, int, bool, bool, bool, int, int, int, const QString &)>(18, 2, QMC::AccessPublic, 0x80000000 | 7, {{
            { QMetaType::Int, 19 }, { QMetaType::Int, 15 }, { QMetaType::Int, 20 }, { QMetaType::Bool, 16 },
            { QMetaType::Bool, 21 }, { QMetaType::Bool, 22 }, { QMetaType::Int, 23 }, { QMetaType::Int, 24 },
            { QMetaType::Int, 25 }, { QMetaType::QString, 26 },
        }}),
        // Slot 'stopCurrentTask'
        QtMocHelpers::SlotData<QDBusPendingReply<QVariantMap>()>(27, 2, QMC::AccessPublic, 0x80000000 | 7),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<DevJonmagonKdiskmarkHelperInterface, qt_meta_tag_ZN35DevJonmagonKdiskmarkHelperInterfaceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject DevJonmagonKdiskmarkHelperInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN35DevJonmagonKdiskmarkHelperInterfaceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN35DevJonmagonKdiskmarkHelperInterfaceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN35DevJonmagonKdiskmarkHelperInterfaceE_t>.metaTypes,
    nullptr
} };

void DevJonmagonKdiskmarkHelperInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DevJonmagonKdiskmarkHelperInterface *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->taskFinished((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 1: { QDBusPendingReply<QVariantMap> _r = _t->checkCowStatus((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<QVariantMap>*>(_a[0]) = std::move(_r); }  break;
        case 2: { QDBusPendingReply<QVariantMap> _r = _t->createNoCowDirectory((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<QVariantMap>*>(_a[0]) = std::move(_r); }  break;
        case 3: { QDBusPendingReply<QVariantMap> _r = _t->endSession();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<QVariantMap>*>(_a[0]) = std::move(_r); }  break;
        case 4: { QDBusPendingReply<QVariantMap> _r = _t->flushPageCache();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<QVariantMap>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<QVariantMap> _r = _t->initSession();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<QVariantMap>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusPendingReply<QVariantMap> _r = _t->prepareBenchmarkFile((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[3])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<QVariantMap>*>(_a[0]) = std::move(_r); }  break;
        case 7: { QDBusPendingReply<QVariantMap> _r = _t->removeBenchmarkFile();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<QVariantMap>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusPendingReply<QVariantMap> _r = _t->startBenchmarkTest((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[6])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[7])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[8])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[9])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[10])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<QVariantMap>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusPendingReply<QVariantMap> _r = _t->stopCurrentTask();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<QVariantMap>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DevJonmagonKdiskmarkHelperInterface::*)(bool , const QString & , const QString & )>(_a, &DevJonmagonKdiskmarkHelperInterface::taskFinished, 0))
            return;
    }
}

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

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

int DevJonmagonKdiskmarkHelperInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractInterface::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void DevJonmagonKdiskmarkHelperInterface::taskFinished(bool _t1, const QString & _t2, const QString & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}
QT_WARNING_POP
