/****************************************************************************
** Meta object code from reading C++ file 'plasmavault_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 "plasmavault_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 'plasmavault_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_ZN26OrgKdePlasmavaultInterfaceE_t {};
} // unnamed namespace

template <> constexpr inline auto OrgKdePlasmavaultInterface::qt_create_metaobjectdata<qt_meta_tag_ZN26OrgKdePlasmavaultInterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "OrgKdePlasmavaultInterface",
        "hasOpenVaultsChanged",
        "",
        "hasOpenVaults",
        "vaultAdded",
        "PlasmaVault::VaultInfo",
        "vaultData",
        "vaultChanged",
        "vaultRemoved",
        "device",
        "availableDevices",
        "QDBusPendingReply<PlasmaVault::VaultInfoList>",
        "closeAllVaults",
        "QDBusPendingReply<>",
        "closeVault",
        "configureVault",
        "deleteVault",
        "name",
        "forceCloseAllVaults",
        "forceCloseVault",
        "QDBusPendingReply<bool>",
        "openVault",
        "openVaultInFileManager",
        "requestImportVault",
        "requestNewVault",
        "updateStatus"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'hasOpenVaultsChanged'
        QtMocHelpers::SignalData<void(bool)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 3 },
        }}),
        // Signal 'vaultAdded'
        QtMocHelpers::SignalData<void(PlasmaVault::VaultInfo)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Signal 'vaultChanged'
        QtMocHelpers::SignalData<void(PlasmaVault::VaultInfo)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Signal 'vaultRemoved'
        QtMocHelpers::SignalData<void(const QString &)>(8, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'availableDevices'
        QtMocHelpers::SlotData<QDBusPendingReply<PlasmaVault::VaultInfoList>()>(10, 2, QMC::AccessPublic, 0x80000000 | 11),
        // Slot 'closeAllVaults'
        QtMocHelpers::SlotData<QDBusPendingReply<>()>(12, 2, QMC::AccessPublic, 0x80000000 | 13),
        // Slot 'closeVault'
        QtMocHelpers::SlotData<QDBusPendingReply<>(const QString &)>(14, 2, QMC::AccessPublic, 0x80000000 | 13, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'configureVault'
        QtMocHelpers::SlotData<QDBusPendingReply<>(const QString &)>(15, 2, QMC::AccessPublic, 0x80000000 | 13, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'deleteVault'
        QtMocHelpers::SlotData<QDBusPendingReply<>(const QString &, const QString &)>(16, 2, QMC::AccessPublic, 0x80000000 | 13, {{
            { QMetaType::QString, 9 }, { QMetaType::QString, 17 },
        }}),
        // Slot 'forceCloseAllVaults'
        QtMocHelpers::SlotData<QDBusPendingReply<>()>(18, 2, QMC::AccessPublic, 0x80000000 | 13),
        // Slot 'forceCloseVault'
        QtMocHelpers::SlotData<QDBusPendingReply<>(const QString &)>(19, 2, QMC::AccessPublic, 0x80000000 | 13, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'hasOpenVaults'
        QtMocHelpers::SlotData<QDBusPendingReply<bool>()>(3, 2, QMC::AccessPublic, 0x80000000 | 20),
        // Slot 'openVault'
        QtMocHelpers::SlotData<QDBusPendingReply<>(const QString &)>(21, 2, QMC::AccessPublic, 0x80000000 | 13, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'openVaultInFileManager'
        QtMocHelpers::SlotData<QDBusPendingReply<>(const QString &)>(22, 2, QMC::AccessPublic, 0x80000000 | 13, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'requestImportVault'
        QtMocHelpers::SlotData<QDBusPendingReply<>()>(23, 2, QMC::AccessPublic, 0x80000000 | 13),
        // Slot 'requestNewVault'
        QtMocHelpers::SlotData<QDBusPendingReply<>()>(24, 2, QMC::AccessPublic, 0x80000000 | 13),
        // Slot 'updateStatus'
        QtMocHelpers::SlotData<QDBusPendingReply<>()>(25, 2, QMC::AccessPublic, 0x80000000 | 13),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<OrgKdePlasmavaultInterface, qt_meta_tag_ZN26OrgKdePlasmavaultInterfaceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject OrgKdePlasmavaultInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN26OrgKdePlasmavaultInterfaceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN26OrgKdePlasmavaultInterfaceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN26OrgKdePlasmavaultInterfaceE_t>.metaTypes,
    nullptr
} };

void OrgKdePlasmavaultInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<OrgKdePlasmavaultInterface *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->hasOpenVaultsChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 1: _t->vaultAdded((*reinterpret_cast<std::add_pointer_t<PlasmaVault::VaultInfo>>(_a[1]))); break;
        case 2: _t->vaultChanged((*reinterpret_cast<std::add_pointer_t<PlasmaVault::VaultInfo>>(_a[1]))); break;
        case 3: _t->vaultRemoved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 4: { QDBusPendingReply<PlasmaVault::VaultInfoList> _r = _t->availableDevices();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<PlasmaVault::VaultInfoList>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<> _r = _t->closeAllVaults();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusPendingReply<> _r = _t->closeVault((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 7: { QDBusPendingReply<> _r = _t->configureVault((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusPendingReply<> _r = _t->deleteVault((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusPendingReply<> _r = _t->forceCloseAllVaults();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDBusPendingReply<> _r = _t->forceCloseVault((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 11: { QDBusPendingReply<bool> _r = _t->hasOpenVaults();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<bool>*>(_a[0]) = std::move(_r); }  break;
        case 12: { QDBusPendingReply<> _r = _t->openVault((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 13: { QDBusPendingReply<> _r = _t->openVaultInFileManager((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 14: { QDBusPendingReply<> _r = _t->requestImportVault();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 15: { QDBusPendingReply<> _r = _t->requestNewVault();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 16: { QDBusPendingReply<> _r = _t->updateStatus();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); 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< PlasmaVault::VaultInfo >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< PlasmaVault::VaultInfo >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (OrgKdePlasmavaultInterface::*)(bool )>(_a, &OrgKdePlasmavaultInterface::hasOpenVaultsChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (OrgKdePlasmavaultInterface::*)(PlasmaVault::VaultInfo )>(_a, &OrgKdePlasmavaultInterface::vaultAdded, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (OrgKdePlasmavaultInterface::*)(PlasmaVault::VaultInfo )>(_a, &OrgKdePlasmavaultInterface::vaultChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (OrgKdePlasmavaultInterface::*)(const QString & )>(_a, &OrgKdePlasmavaultInterface::vaultRemoved, 3))
            return;
    }
}

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

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

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

// SIGNAL 0
void OrgKdePlasmavaultInterface::hasOpenVaultsChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void OrgKdePlasmavaultInterface::vaultAdded(PlasmaVault::VaultInfo _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void OrgKdePlasmavaultInterface::vaultChanged(PlasmaVault::VaultInfo _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void OrgKdePlasmavaultInterface::vaultRemoved(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}
QT_WARNING_POP
