/****************************************************************************
** Meta object code from reading C++ file 'service.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 "../../../../plasma-vault-6.6.90/kded/service.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 'service.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_ZN18PlasmaVaultServiceE_t {};
} // unnamed namespace

template <> constexpr inline auto PlasmaVaultService::qt_create_metaobjectdata<qt_meta_tag_ZN18PlasmaVaultServiceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PlasmaVaultService",
        "D-Bus Interface",
        "org.kde.plasmavault",
        "registered",
        "",
        "vaultAdded",
        "PlasmaVault::VaultInfo",
        "vaultData",
        "vaultRemoved",
        "device",
        "vaultChanged",
        "hasOpenVaultsChanged",
        "hasOpenVaults",
        "requestNewVault",
        "requestImportVault",
        "openVault",
        "closeVault",
        "forceCloseVault",
        "configureVault",
        "openVaultInFileManager",
        "availableDevices",
        "PlasmaVault::VaultInfoList",
        "closeAllVaults",
        "forceCloseAllVaults",
        "deleteVault",
        "name",
        "updateStatus",
        "slotRegistered",
        "QDBusObjectPath",
        "path",
        "registerVault",
        "PlasmaVault::Vault*",
        "vault",
        "forgetVault",
        "onVaultStatusChanged",
        "PlasmaVault::VaultInfo::Status",
        "status",
        "onVaultMessageChanged",
        "message",
        "onVaultInfoChanged",
        "onActivitiesChanged",
        "knownActivities",
        "onCurrentActivityChanged",
        "currentActivity",
        "onActivityRemoved",
        "removedActivity"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'registered'
        QtMocHelpers::SignalData<void()>(3, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'vaultAdded'
        QtMocHelpers::SignalData<void(const PlasmaVault::VaultInfo &)>(5, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'vaultRemoved'
        QtMocHelpers::SignalData<void(const QString &)>(8, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Signal 'vaultChanged'
        QtMocHelpers::SignalData<void(const PlasmaVault::VaultInfo &)>(10, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { 0x80000000 | 6, 7 },
        }}),
        // Signal 'hasOpenVaultsChanged'
        QtMocHelpers::SignalData<void(bool)>(11, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::Bool, 12 },
        }}),
        // Slot 'requestNewVault'
        QtMocHelpers::SlotData<void()>(13, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void),
        // Slot 'requestImportVault'
        QtMocHelpers::SlotData<void()>(14, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void),
        // Slot 'openVault'
        QtMocHelpers::SlotData<void(const QString &)>(15, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'closeVault'
        QtMocHelpers::SlotData<void(const QString &)>(16, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'forceCloseVault'
        QtMocHelpers::SlotData<void(const QString &)>(17, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'configureVault'
        QtMocHelpers::SlotData<void(const QString &)>(18, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'openVaultInFileManager'
        QtMocHelpers::SlotData<void(const QString &)>(19, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::QString, 9 },
        }}),
        // Slot 'availableDevices'
        QtMocHelpers::SlotData<PlasmaVault::VaultInfoList() const>(20, 4, QMC::AccessPublic | QMC::MethodScriptable, 0x80000000 | 21),
        // Slot 'hasOpenVaults'
        QtMocHelpers::SlotData<bool() const>(12, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Bool),
        // Slot 'closeAllVaults'
        QtMocHelpers::SlotData<void()>(22, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void),
        // Slot 'forceCloseAllVaults'
        QtMocHelpers::SlotData<void()>(23, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void),
        // Slot 'deleteVault'
        QtMocHelpers::SlotData<void(const QString &, const QString &)>(24, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void, {{
            { QMetaType::QString, 9 }, { QMetaType::QString, 25 },
        }}),
        // Slot 'updateStatus'
        QtMocHelpers::SlotData<void()>(26, 4, QMC::AccessPublic | QMC::MethodScriptable, QMetaType::Void),
        // Slot 'slotRegistered'
        QtMocHelpers::SlotData<void(const QDBusObjectPath &)>(27, 4, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 28, 29 },
        }}),
        // Slot 'registerVault'
        QtMocHelpers::SlotData<void(PlasmaVault::Vault *)>(30, 4, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Slot 'forgetVault'
        QtMocHelpers::SlotData<void(PlasmaVault::Vault *)>(33, 4, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Slot 'onVaultStatusChanged'
        QtMocHelpers::SlotData<void(PlasmaVault::VaultInfo::Status)>(34, 4, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 35, 36 },
        }}),
        // Slot 'onVaultMessageChanged'
        QtMocHelpers::SlotData<void(const QString &)>(37, 4, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 38 },
        }}),
        // Slot 'onVaultInfoChanged'
        QtMocHelpers::SlotData<void()>(39, 4, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onActivitiesChanged'
        QtMocHelpers::SlotData<void(const QStringList &)>(40, 4, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QStringList, 41 },
        }}),
        // Slot 'onCurrentActivityChanged'
        QtMocHelpers::SlotData<void(const QString &)>(42, 4, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 43 },
        }}),
        // Slot 'onActivityRemoved'
        QtMocHelpers::SlotData<void(const QString &)>(44, 4, QMC::AccessPrivate, QMetaType::Void, {{
            { QMetaType::QString, 45 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<PlasmaVaultService, qt_meta_tag_ZN18PlasmaVaultServiceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject PlasmaVaultService::staticMetaObject = { {
    QMetaObject::SuperData::link<KDEDModule::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18PlasmaVaultServiceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN18PlasmaVaultServiceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN18PlasmaVaultServiceE_t>.metaTypes,
    nullptr
} };

void PlasmaVaultService::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PlasmaVaultService *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->registered(); break;
        case 1: _t->vaultAdded((*reinterpret_cast<std::add_pointer_t<PlasmaVault::VaultInfo>>(_a[1]))); break;
        case 2: _t->vaultRemoved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 3: _t->vaultChanged((*reinterpret_cast<std::add_pointer_t<PlasmaVault::VaultInfo>>(_a[1]))); break;
        case 4: _t->hasOpenVaultsChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->requestNewVault(); break;
        case 6: _t->requestImportVault(); break;
        case 7: _t->openVault((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->closeVault((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 9: _t->forceCloseVault((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 10: _t->configureVault((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 11: _t->openVaultInFileManager((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 12: { PlasmaVault::VaultInfoList _r = _t->availableDevices();
            if (_a[0]) *reinterpret_cast<PlasmaVault::VaultInfoList*>(_a[0]) = std::move(_r); }  break;
        case 13: { bool _r = _t->hasOpenVaults();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 14: _t->closeAllVaults(); break;
        case 15: _t->forceCloseAllVaults(); break;
        case 16: _t->deleteVault((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 17: _t->updateStatus(); break;
        case 18: _t->slotRegistered((*reinterpret_cast<std::add_pointer_t<QDBusObjectPath>>(_a[1]))); break;
        case 19: _t->registerVault((*reinterpret_cast<std::add_pointer_t<PlasmaVault::Vault*>>(_a[1]))); break;
        case 20: _t->forgetVault((*reinterpret_cast<std::add_pointer_t<PlasmaVault::Vault*>>(_a[1]))); break;
        case 21: _t->onVaultStatusChanged((*reinterpret_cast<std::add_pointer_t<PlasmaVault::VaultInfo::Status>>(_a[1]))); break;
        case 22: _t->onVaultMessageChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 23: _t->onVaultInfoChanged(); break;
        case 24: _t->onActivitiesChanged((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 25: _t->onCurrentActivityChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 26: _t->onActivityRemoved((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); 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 3:
            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 18:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusObjectPath >(); break;
            }
            break;
        case 19:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< PlasmaVault::Vault* >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< PlasmaVault::Vault* >(); break;
            }
            break;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (PlasmaVaultService::*)()>(_a, &PlasmaVaultService::registered, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlasmaVaultService::*)(const PlasmaVault::VaultInfo & )>(_a, &PlasmaVaultService::vaultAdded, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlasmaVaultService::*)(const QString & )>(_a, &PlasmaVaultService::vaultRemoved, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlasmaVaultService::*)(const PlasmaVault::VaultInfo & )>(_a, &PlasmaVaultService::vaultChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (PlasmaVaultService::*)(bool )>(_a, &PlasmaVaultService::hasOpenVaultsChanged, 4))
            return;
    }
}

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

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

int PlasmaVaultService::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = KDEDModule::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 27)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 27;
    }
    return _id;
}

// SIGNAL 0
void PlasmaVaultService::registered()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

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

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

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