/****************************************************************************
** Meta object code from reading C++ file 'vault.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/engine/vault.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 'vault.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_ZN11PlasmaVault5VaultE_t {};
} // unnamed namespace

template <> constexpr inline auto PlasmaVault::Vault::qt_create_metaobjectdata<qt_meta_tag_ZN11PlasmaVault5VaultE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PlasmaVault::Vault",
        "mountPointChanged",
        "",
        "mountPoint",
        "statusChanged",
        "VaultInfo::Status",
        "status",
        "isInitializedChanged",
        "isInitialized",
        "isOpenedChanged",
        "isOpened",
        "isBusyChanged",
        "isBusy",
        "activitiesChanged",
        "activities",
        "messageChanged",
        "message",
        "nameChanged",
        "name",
        "isOfflineOnlyChanged",
        "isOfflineOnly",
        "infoChanged",
        "device",
        "Device",
        "backend",
        "MountPoint",
        "setMountPoint",
        "setName",
        "setActivities",
        "setIsOfflineOnly",
        "saveConfiguration",
        "PlasmaVault::Device",
        "PlasmaVault::MountPoint"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'mountPointChanged'
        QtMocHelpers::SignalData<void(const QString &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 3 },
        }}),
        // Signal 'statusChanged'
        QtMocHelpers::SignalData<void(VaultInfo::Status)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Signal 'isInitializedChanged'
        QtMocHelpers::SignalData<void(bool)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 8 },
        }}),
        // Signal 'isOpenedChanged'
        QtMocHelpers::SignalData<void(bool)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 10 },
        }}),
        // Signal 'isBusyChanged'
        QtMocHelpers::SignalData<void(bool)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 12 },
        }}),
        // Signal 'activitiesChanged'
        QtMocHelpers::SignalData<void(const QStringList &)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 14 },
        }}),
        // Signal 'messageChanged'
        QtMocHelpers::SignalData<void(const QString &)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 16 },
        }}),
        // Signal 'nameChanged'
        QtMocHelpers::SignalData<void(const QString &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 18 },
        }}),
        // Signal 'isOfflineOnlyChanged'
        QtMocHelpers::SignalData<void(bool)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 20 },
        }}),
        // Signal 'infoChanged'
        QtMocHelpers::SignalData<void()>(21, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'message'
        QtMocHelpers::SlotData<QString() const>(16, 2, QMC::AccessPublic, QMetaType::QString),
        // Slot 'status'
        QtMocHelpers::SlotData<VaultInfo::Status() const>(6, 2, QMC::AccessPublic, 0x80000000 | 5),
        // Slot 'isInitialized'
        QtMocHelpers::SlotData<bool() const>(8, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'isOpened'
        QtMocHelpers::SlotData<bool() const>(10, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'isBusy'
        QtMocHelpers::SlotData<bool() const>(12, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'device'
        QtMocHelpers::SlotData<Device() const>(22, 2, QMC::AccessPublic, 0x80000000 | 23),
        // Slot 'backend'
        QtMocHelpers::SlotData<QString() const>(24, 2, QMC::AccessPublic, QMetaType::QString),
        // Slot 'mountPoint'
        QtMocHelpers::SlotData<MountPoint() const>(3, 2, QMC::AccessPublic, 0x80000000 | 25),
        // Slot 'setMountPoint'
        QtMocHelpers::SlotData<void(const MountPoint &)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 25, 3 },
        }}),
        // Slot 'name'
        QtMocHelpers::SlotData<QString() const>(18, 2, QMC::AccessPublic, QMetaType::QString),
        // Slot 'setName'
        QtMocHelpers::SlotData<void(const QString &)>(27, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 18 },
        }}),
        // Slot 'activities'
        QtMocHelpers::SlotData<QStringList() const>(14, 2, QMC::AccessPublic, QMetaType::QStringList),
        // Slot 'setActivities'
        QtMocHelpers::SlotData<void(const QStringList &)>(28, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QStringList, 14 },
        }}),
        // Slot 'isOfflineOnly'
        QtMocHelpers::SlotData<bool() const>(20, 2, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'setIsOfflineOnly'
        QtMocHelpers::SlotData<void(bool)>(29, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 20 },
        }}),
        // Slot 'saveConfiguration'
        QtMocHelpers::SlotData<void()>(30, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'device'
        QtMocHelpers::PropertyData<PlasmaVault::Device>(22, 0x80000000 | 31, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'mountPoint'
        QtMocHelpers::PropertyData<PlasmaVault::MountPoint>(3, 0x80000000 | 32, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 0),
        // property 'status'
        QtMocHelpers::PropertyData<VaultInfo::Status>(6, 0x80000000 | 5, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 1),
        // property 'isInitialized'
        QtMocHelpers::PropertyData<bool>(8, QMetaType::Bool, QMC::DefaultPropertyFlags, 2),
        // property 'isOpened'
        QtMocHelpers::PropertyData<bool>(10, QMetaType::Bool, QMC::DefaultPropertyFlags, 3),
        // property 'isBusy'
        QtMocHelpers::PropertyData<bool>(12, QMetaType::Bool, QMC::DefaultPropertyFlags, 4),
        // property 'name'
        QtMocHelpers::PropertyData<QString>(18, QMetaType::QString, QMC::DefaultPropertyFlags, 7),
        // property 'message'
        QtMocHelpers::PropertyData<QString>(16, QMetaType::QString, QMC::DefaultPropertyFlags, 6),
        // property 'activities'
        QtMocHelpers::PropertyData<QStringList>(14, QMetaType::QStringList, QMC::DefaultPropertyFlags, 5),
        // property 'isOfflineOnly'
        QtMocHelpers::PropertyData<bool>(20, QMetaType::Bool, QMC::DefaultPropertyFlags, 8),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Vault, qt_meta_tag_ZN11PlasmaVault5VaultE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PlasmaVault::Vault::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11PlasmaVault5VaultE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11PlasmaVault5VaultE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11PlasmaVault5VaultE_t>.metaTypes,
    nullptr
} };

void PlasmaVault::Vault::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Vault *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->mountPointChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 1: _t->statusChanged((*reinterpret_cast<std::add_pointer_t<VaultInfo::Status>>(_a[1]))); break;
        case 2: _t->isInitializedChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 3: _t->isOpenedChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 4: _t->isBusyChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 5: _t->activitiesChanged((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 6: _t->messageChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 7: _t->nameChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->isOfflineOnlyChanged((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 9: _t->infoChanged(); break;
        case 10: { QString _r = _t->message();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 11: { VaultInfo::Status _r = _t->status();
            if (_a[0]) *reinterpret_cast<VaultInfo::Status*>(_a[0]) = std::move(_r); }  break;
        case 12: { bool _r = _t->isInitialized();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 13: { bool _r = _t->isOpened();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 14: { bool _r = _t->isBusy();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 15: { Device _r = _t->device();
            if (_a[0]) *reinterpret_cast<Device*>(_a[0]) = std::move(_r); }  break;
        case 16: { QString _r = _t->backend();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 17: { MountPoint _r = _t->mountPoint();
            if (_a[0]) *reinterpret_cast<MountPoint*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->setMountPoint((*reinterpret_cast<std::add_pointer_t<MountPoint>>(_a[1]))); break;
        case 19: { QString _r = _t->name();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 20: _t->setName((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 21: { QStringList _r = _t->activities();
            if (_a[0]) *reinterpret_cast<QStringList*>(_a[0]) = std::move(_r); }  break;
        case 22: _t->setActivities((*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[1]))); break;
        case 23: { bool _r = _t->isOfflineOnly();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 24: _t->setIsOfflineOnly((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 25: _t->saveConfiguration(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Vault::*)(const QString & )>(_a, &Vault::mountPointChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Vault::*)(VaultInfo::Status )>(_a, &Vault::statusChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Vault::*)(bool )>(_a, &Vault::isInitializedChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Vault::*)(bool )>(_a, &Vault::isOpenedChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Vault::*)(bool )>(_a, &Vault::isBusyChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Vault::*)(const QStringList & )>(_a, &Vault::activitiesChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Vault::*)(const QString & )>(_a, &Vault::messageChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Vault::*)(const QString & )>(_a, &Vault::nameChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Vault::*)(bool )>(_a, &Vault::isOfflineOnlyChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Vault::*)()>(_a, &Vault::infoChanged, 9))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<PlasmaVault::Device*>(_v) = _t->device(); break;
        case 1: *reinterpret_cast<PlasmaVault::MountPoint*>(_v) = _t->mountPoint(); break;
        case 2: *reinterpret_cast<VaultInfo::Status*>(_v) = _t->status(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->isInitialized(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->isOpened(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->isBusy(); break;
        case 6: *reinterpret_cast<QString*>(_v) = _t->name(); break;
        case 7: *reinterpret_cast<QString*>(_v) = _t->message(); break;
        case 8: *reinterpret_cast<QStringList*>(_v) = _t->activities(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->isOfflineOnly(); break;
        default: break;
        }
    }
}

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

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

int PlasmaVault::Vault::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 < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 26;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void PlasmaVault::Vault::mountPointChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

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

// SIGNAL 2
void PlasmaVault::Vault::isInitializedChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void PlasmaVault::Vault::isOpenedChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void PlasmaVault::Vault::isBusyChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void PlasmaVault::Vault::activitiesChanged(const QStringList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void PlasmaVault::Vault::messageChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void PlasmaVault::Vault::nameChanged(const QString & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void PlasmaVault::Vault::isOfflineOnlyChanged(bool _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void PlasmaVault::Vault::infoChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
