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

#include "../../../../../qmapshack-V_1.20.1/src/qmapshack/device/dbus/org.gtk.vfs.MountTracker.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 'org.gtk.vfs.MountTracker.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.2. 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_ZN30OrgGtkVfsMountTrackerInterfaceE_t {};
} // unnamed namespace

template <> constexpr inline auto OrgGtkVfsMountTrackerInterface::qt_create_metaobjectdata<qt_meta_tag_ZN30OrgGtkVfsMountTrackerInterfaceE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "OrgGtkVfsMountTrackerInterface",
        "Mounted",
        "",
        "GVFSMount",
        "mount",
        "Unmounted",
        "ListMountTypes",
        "QDBusPendingReply<QStringList>",
        "ListMountableInfo",
        "QDBusPendingReply<GVFSMountableList>",
        "ListMounts",
        "QDBusPendingReply<GVFSMountList>",
        "ListMounts2",
        "user_visible_only",
        "LookupMount",
        "QDBusPendingReply<GVFSMount>",
        "GVFSMountSpec",
        "mount_spec",
        "LookupMountByFusePath",
        "fuse_path",
        "MountLocation",
        "QDBusPendingReply<>",
        "GVFSMountSource",
        "mount_source",
        "RegisterFuse",
        "RegisterMount",
        "QDBusObjectPath",
        "obj_path",
        "display_name",
        "stable_name",
        "x_content_types",
        "icon",
        "symbolic_icon",
        "prefered_filename_encoding",
        "user_visible",
        "default_location",
        "UnregisterMount"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'Mounted'
        QtMocHelpers::SignalData<void(GVFSMount)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'Unmounted'
        QtMocHelpers::SignalData<void(GVFSMount)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'ListMountTypes'
        QtMocHelpers::SlotData<QDBusPendingReply<QStringList>()>(6, 2, QMC::AccessPublic, 0x80000000 | 7),
        // Slot 'ListMountableInfo'
        QtMocHelpers::SlotData<QDBusPendingReply<GVFSMountableList>()>(8, 2, QMC::AccessPublic, 0x80000000 | 9),
        // Slot 'ListMounts'
        QtMocHelpers::SlotData<QDBusPendingReply<GVFSMountList>()>(10, 2, QMC::AccessPublic, 0x80000000 | 11),
        // Slot 'ListMounts2'
        QtMocHelpers::SlotData<QDBusPendingReply<GVFSMountList>(bool)>(12, 2, QMC::AccessPublic, 0x80000000 | 11, {{
            { QMetaType::Bool, 13 },
        }}),
        // Slot 'LookupMount'
        QtMocHelpers::SlotData<QDBusPendingReply<GVFSMount>(GVFSMountSpec)>(14, 2, QMC::AccessPublic, 0x80000000 | 15, {{
            { 0x80000000 | 16, 17 },
        }}),
        // Slot 'LookupMountByFusePath'
        QtMocHelpers::SlotData<QDBusPendingReply<GVFSMount>(const QByteArray &)>(18, 2, QMC::AccessPublic, 0x80000000 | 15, {{
            { QMetaType::QByteArray, 19 },
        }}),
        // Slot 'MountLocation'
        QtMocHelpers::SlotData<QDBusPendingReply<>(GVFSMountSpec, GVFSMountSource)>(20, 2, QMC::AccessPublic, 0x80000000 | 21, {{
            { 0x80000000 | 16, 17 }, { 0x80000000 | 22, 23 },
        }}),
        // Slot 'RegisterFuse'
        QtMocHelpers::SlotData<QDBusPendingReply<>()>(24, 2, QMC::AccessPublic, 0x80000000 | 21),
        // Slot 'RegisterMount'
        QtMocHelpers::SlotData<QDBusPendingReply<>(const QDBusObjectPath &, const QString &, const QString &, const QString &, const QString &, const QString &, const QString &, bool, GVFSMountSpec, const QByteArray &)>(25, 2, QMC::AccessPublic, 0x80000000 | 21, {{
            { 0x80000000 | 26, 27 }, { QMetaType::QString, 28 }, { QMetaType::QString, 29 }, { QMetaType::QString, 30 },
            { QMetaType::QString, 31 }, { QMetaType::QString, 32 }, { QMetaType::QString, 33 }, { QMetaType::Bool, 34 },
            { 0x80000000 | 16, 17 }, { QMetaType::QByteArray, 35 },
        }}),
        // Slot 'UnregisterMount'
        QtMocHelpers::SlotData<QDBusPendingReply<>(const QDBusObjectPath &)>(36, 2, QMC::AccessPublic, 0x80000000 | 21, {{
            { 0x80000000 | 26, 27 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<OrgGtkVfsMountTrackerInterface, qt_meta_tag_ZN30OrgGtkVfsMountTrackerInterfaceE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject OrgGtkVfsMountTrackerInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QDBusAbstractInterface::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN30OrgGtkVfsMountTrackerInterfaceE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN30OrgGtkVfsMountTrackerInterfaceE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN30OrgGtkVfsMountTrackerInterfaceE_t>.metaTypes,
    nullptr
} };

void OrgGtkVfsMountTrackerInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<OrgGtkVfsMountTrackerInterface *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->Mounted((*reinterpret_cast<std::add_pointer_t<GVFSMount>>(_a[1]))); break;
        case 1: _t->Unmounted((*reinterpret_cast<std::add_pointer_t<GVFSMount>>(_a[1]))); break;
        case 2: { QDBusPendingReply<QStringList> _r = _t->ListMountTypes();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<QStringList>*>(_a[0]) = std::move(_r); }  break;
        case 3: { QDBusPendingReply<GVFSMountableList> _r = _t->ListMountableInfo();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<GVFSMountableList>*>(_a[0]) = std::move(_r); }  break;
        case 4: { QDBusPendingReply<GVFSMountList> _r = _t->ListMounts();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<GVFSMountList>*>(_a[0]) = std::move(_r); }  break;
        case 5: { QDBusPendingReply<GVFSMountList> _r = _t->ListMounts2((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<GVFSMountList>*>(_a[0]) = std::move(_r); }  break;
        case 6: { QDBusPendingReply<GVFSMount> _r = _t->LookupMount((*reinterpret_cast<std::add_pointer_t<GVFSMountSpec>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<GVFSMount>*>(_a[0]) = std::move(_r); }  break;
        case 7: { QDBusPendingReply<GVFSMount> _r = _t->LookupMountByFusePath((*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<GVFSMount>*>(_a[0]) = std::move(_r); }  break;
        case 8: { QDBusPendingReply<> _r = _t->MountLocation((*reinterpret_cast<std::add_pointer_t<GVFSMountSpec>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<GVFSMountSource>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 9: { QDBusPendingReply<> _r = _t->RegisterFuse();
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDBusPendingReply<> _r = _t->RegisterMount((*reinterpret_cast<std::add_pointer_t<QDBusObjectPath>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[6])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[7])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[8])),(*reinterpret_cast<std::add_pointer_t<GVFSMountSpec>>(_a[9])),(*reinterpret_cast<std::add_pointer_t<QByteArray>>(_a[10])));
            if (_a[0]) *reinterpret_cast<QDBusPendingReply<>*>(_a[0]) = std::move(_r); }  break;
        case 11: { QDBusPendingReply<> _r = _t->UnregisterMount((*reinterpret_cast<std::add_pointer_t<QDBusObjectPath>>(_a[1])));
            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 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GVFSMount >(); break;
            }
            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< GVFSMount >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GVFSMountSpec >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 1:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GVFSMountSource >(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GVFSMountSpec >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType(); break;
            case 8:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< GVFSMountSpec >(); break;
            case 0:
                *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType::fromType< QDBusObjectPath >(); break;
            }
            break;
        case 11:
            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;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (OrgGtkVfsMountTrackerInterface::*)(GVFSMount )>(_a, &OrgGtkVfsMountTrackerInterface::Mounted, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (OrgGtkVfsMountTrackerInterface::*)(GVFSMount )>(_a, &OrgGtkVfsMountTrackerInterface::Unmounted, 1))
            return;
    }
}

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

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

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

// SIGNAL 0
void OrgGtkVfsMountTrackerInterface::Mounted(GVFSMount _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void OrgGtkVfsMountTrackerInterface::Unmounted(GVFSMount _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}
QT_WARNING_POP
