/****************************************************************************
** Meta object code from reading C++ file 'diskencryptsetup.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 "../../../../../../dde-file-manager/src/services/diskencrypt/dbus/diskencryptsetup.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 'diskencryptsetup.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_ZN16DiskEncryptSetupE_t {};
} // unnamed namespace

template <> constexpr inline auto DiskEncryptSetup::qt_create_metaobjectdata<qt_meta_tag_ZN16DiskEncryptSetupE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "DiskEncryptSetup",
        "D-Bus Interface",
        "org.deepin.Filemanager.DiskEncrypt",
        "EncryptProgress",
        "",
        "dev",
        "devName",
        "progress",
        "DecryptProgress",
        "InitEncResult",
        "QVariantMap",
        "result",
        "EncryptResult",
        "DecryptResult",
        "ChangePassResult",
        "WaitAuthInput",
        "devInfo",
        "InitEncryption",
        "args",
        "ResumeEncryption",
        "Decryption",
        "ChangePassphrase",
        "SetupAuthArgs",
        "IgnoreAuthSetup",
        "TpmToken",
        "DeviceStatus",
        "IsTaskEmpty",
        "IsTaskRunning",
        "PendingDecryptionDevice"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'EncryptProgress'
        QtMocHelpers::SignalData<void(const QString &, const QString &, double)>(3, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::Double, 7 },
        }}),
        // Signal 'DecryptProgress'
        QtMocHelpers::SignalData<void(const QString &, const QString &, double)>(8, 4, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 5 }, { QMetaType::QString, 6 }, { QMetaType::Double, 7 },
        }}),
        // Signal 'InitEncResult'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(9, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'EncryptResult'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(12, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'DecryptResult'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(13, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'ChangePassResult'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(14, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 11 },
        }}),
        // Signal 'WaitAuthInput'
        QtMocHelpers::SignalData<void(const QVariantMap &)>(15, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 16 },
        }}),
        // Slot 'InitEncryption'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(17, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 18 },
        }}),
        // Slot 'ResumeEncryption'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(19, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 18 },
        }}),
        // Slot 'Decryption'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(20, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 18 },
        }}),
        // Slot 'ChangePassphrase'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(21, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 18 },
        }}),
        // Slot 'SetupAuthArgs'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(22, 4, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 10, 18 },
        }}),
        // Slot 'IgnoreAuthSetup'
        QtMocHelpers::SlotData<void()>(23, 4, QMC::AccessPublic, QMetaType::Void),
        // Slot 'TpmToken'
        QtMocHelpers::SlotData<QString(const QString &)>(24, 4, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'DeviceStatus'
        QtMocHelpers::SlotData<int(const QString &)>(25, 4, QMC::AccessPublic, QMetaType::Int, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot 'IsTaskEmpty'
        QtMocHelpers::SlotData<bool()>(26, 4, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'IsTaskRunning'
        QtMocHelpers::SlotData<bool()>(27, 4, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'PendingDecryptionDevice'
        QtMocHelpers::SlotData<QString()>(28, 4, QMC::AccessPublic, QMetaType::QString),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<DiskEncryptSetup, qt_meta_tag_ZN16DiskEncryptSetupE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject DiskEncryptSetup::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusService::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16DiskEncryptSetupE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16DiskEncryptSetupE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN16DiskEncryptSetupE_t>.metaTypes,
    nullptr
} };

void DiskEncryptSetup::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<DiskEncryptSetup *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->EncryptProgress((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[3]))); break;
        case 1: _t->DecryptProgress((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<double>>(_a[3]))); break;
        case 2: _t->InitEncResult((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 3: _t->EncryptResult((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 4: _t->DecryptResult((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 5: _t->ChangePassResult((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 6: _t->WaitAuthInput((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 7: _t->InitEncryption((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 8: _t->ResumeEncryption((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 9: _t->Decryption((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 10: _t->ChangePassphrase((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 11: _t->SetupAuthArgs((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 12: _t->IgnoreAuthSetup(); break;
        case 13: { QString _r = _t->TpmToken((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 14: { int _r = _t->DeviceStatus((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 15: { bool _r = _t->IsTaskEmpty();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 16: { bool _r = _t->IsTaskRunning();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 17: { QString _r = _t->PendingDecryptionDevice();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (DiskEncryptSetup::*)(const QString & , const QString & , double )>(_a, &DiskEncryptSetup::EncryptProgress, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskEncryptSetup::*)(const QString & , const QString & , double )>(_a, &DiskEncryptSetup::DecryptProgress, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskEncryptSetup::*)(const QVariantMap & )>(_a, &DiskEncryptSetup::InitEncResult, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskEncryptSetup::*)(const QVariantMap & )>(_a, &DiskEncryptSetup::EncryptResult, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskEncryptSetup::*)(const QVariantMap & )>(_a, &DiskEncryptSetup::DecryptResult, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskEncryptSetup::*)(const QVariantMap & )>(_a, &DiskEncryptSetup::ChangePassResult, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (DiskEncryptSetup::*)(const QVariantMap & )>(_a, &DiskEncryptSetup::WaitAuthInput, 6))
            return;
    }
}

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

void *DiskEncryptSetup::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN16DiskEncryptSetupE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QDBusContext"))
        return static_cast< QDBusContext*>(this);
    return QDBusService::qt_metacast(_clname);
}

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

// SIGNAL 0
void DiskEncryptSetup::EncryptProgress(const QString & _t1, const QString & _t2, double _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2, _t3);
}

// SIGNAL 1
void DiskEncryptSetup::DecryptProgress(const QString & _t1, const QString & _t2, double _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3);
}

// SIGNAL 2
void DiskEncryptSetup::InitEncResult(const QVariantMap & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void DiskEncryptSetup::EncryptResult(const QVariantMap & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void DiskEncryptSetup::DecryptResult(const QVariantMap & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void DiskEncryptSetup::ChangePassResult(const QVariantMap & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void DiskEncryptSetup::WaitAuthInput(const QVariantMap & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}
QT_WARNING_POP
