/****************************************************************************
** Meta object code from reading C++ file 'fm.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 "../../../../mauikit-filebrowsing-4.0.2/src/code/fm.h"
#include <QtCore/qmetatype.h>
#include <QtCore/QList>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'fm.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_ZN2FME_t {};
} // unnamed namespace

template <> constexpr inline auto FM::qt_create_metaobjectdata<qt_meta_tag_ZN2FME_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "FM",
        "cloudServerContentReady",
        "",
        "FMStatic::PATH_CONTENT",
        "list",
        "cloudItemReady",
        "FMH::MODEL",
        "item",
        "QUrl",
        "path",
        "pathContentReady",
        "pathContentItemsReady",
        "pathContentChanged",
        "pathContentItemsChanged",
        "QList<std::pair<FMH::MODEL,FMH::MODEL>>",
        "items",
        "pathContentItemsRemoved",
        "warningMessage",
        "message",
        "loadProgress",
        "percent",
        "dirCreated",
        "dir",
        "newItem",
        "openCloudItem",
        "QVariantMap",
        "getCloudItem",
        "copy",
        "QList<QUrl>",
        "urls",
        "where",
        "cut",
        "createCloudDir",
        "name"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'cloudServerContentReady'
        QtMocHelpers::SignalData<void(FMStatic::PATH_CONTENT)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'cloudItemReady'
        QtMocHelpers::SignalData<void(FMH::MODEL, QUrl)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { 0x80000000 | 8, 9 },
        }}),
        // Signal 'pathContentReady'
        QtMocHelpers::SignalData<void(QUrl)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'pathContentItemsReady'
        QtMocHelpers::SignalData<void(FMStatic::PATH_CONTENT)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'pathContentChanged'
        QtMocHelpers::SignalData<void(QUrl)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'pathContentItemsChanged'
        QtMocHelpers::SignalData<void(QVector<QPair<FMH::MODEL,FMH::MODEL>>)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 15 },
        }}),
        // Signal 'pathContentItemsRemoved'
        QtMocHelpers::SignalData<void(FMStatic::PATH_CONTENT)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'warningMessage'
        QtMocHelpers::SignalData<void(QString)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 18 },
        }}),
        // Signal 'loadProgress'
        QtMocHelpers::SignalData<void(int)>(19, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Int, 20 },
        }}),
        // Signal 'dirCreated'
        QtMocHelpers::SignalData<void(FMH::MODEL)>(21, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 22 },
        }}),
        // Signal 'newItem'
        QtMocHelpers::SignalData<void(FMH::MODEL, QUrl)>(23, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 6, 7 }, { 0x80000000 | 8, 9 },
        }}),
        // Slot 'openCloudItem'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(24, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 25, 7 },
        }}),
        // Slot 'getCloudItem'
        QtMocHelpers::SlotData<void(const QVariantMap &)>(26, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 25, 7 },
        }}),
        // Slot 'copy'
        QtMocHelpers::SlotData<bool(const QList<QUrl> &, const QUrl &)>(27, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 28, 29 }, { 0x80000000 | 8, 30 },
        }}),
        // Slot 'cut'
        QtMocHelpers::SlotData<bool(const QList<QUrl> &, const QUrl &)>(31, 2, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 28, 29 }, { 0x80000000 | 8, 30 },
        }}),
        // Method 'createCloudDir'
        QtMocHelpers::MethodData<void(const QString &, const QString &)>(32, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 9 }, { QMetaType::QString, 33 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FM, qt_meta_tag_ZN2FME_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject FM::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN2FME_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN2FME_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN2FME_t>.metaTypes,
    nullptr
} };

void FM::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FM *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->cloudServerContentReady((*reinterpret_cast<std::add_pointer_t<FMStatic::PATH_CONTENT>>(_a[1]))); break;
        case 1: _t->cloudItemReady((*reinterpret_cast<std::add_pointer_t<FMH::MODEL>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2]))); break;
        case 2: _t->pathContentReady((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 3: _t->pathContentItemsReady((*reinterpret_cast<std::add_pointer_t<FMStatic::PATH_CONTENT>>(_a[1]))); break;
        case 4: _t->pathContentChanged((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 5: _t->pathContentItemsChanged((*reinterpret_cast<std::add_pointer_t<QList<std::pair<FMH::MODEL,FMH::MODEL>>>>(_a[1]))); break;
        case 6: _t->pathContentItemsRemoved((*reinterpret_cast<std::add_pointer_t<FMStatic::PATH_CONTENT>>(_a[1]))); break;
        case 7: _t->warningMessage((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 8: _t->loadProgress((*reinterpret_cast<std::add_pointer_t<int>>(_a[1]))); break;
        case 9: _t->dirCreated((*reinterpret_cast<std::add_pointer_t<FMH::MODEL>>(_a[1]))); break;
        case 10: _t->newItem((*reinterpret_cast<std::add_pointer_t<FMH::MODEL>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2]))); break;
        case 11: _t->openCloudItem((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 12: _t->getCloudItem((*reinterpret_cast<std::add_pointer_t<QVariantMap>>(_a[1]))); break;
        case 13: { bool _r = _t->copy((*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 14: { bool _r = _t->cut((*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 15: _t->createCloudDir((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FM::*)(FMStatic::PATH_CONTENT )>(_a, &FM::cloudServerContentReady, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (FM::*)(FMH::MODEL , QUrl )>(_a, &FM::cloudItemReady, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (FM::*)(QUrl )>(_a, &FM::pathContentReady, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (FM::*)(FMStatic::PATH_CONTENT )>(_a, &FM::pathContentItemsReady, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (FM::*)(QUrl )>(_a, &FM::pathContentChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (FM::*)(QVector<QPair<FMH::MODEL,FMH::MODEL>> )>(_a, &FM::pathContentItemsChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (FM::*)(FMStatic::PATH_CONTENT )>(_a, &FM::pathContentItemsRemoved, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (FM::*)(QString )>(_a, &FM::warningMessage, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (FM::*)(int )>(_a, &FM::loadProgress, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (FM::*)(FMH::MODEL )>(_a, &FM::dirCreated, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (FM::*)(FMH::MODEL , QUrl )>(_a, &FM::newItem, 10))
            return;
    }
}

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

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

int FM::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 16;
    }
    return _id;
}

// SIGNAL 0
void FM::cloudServerContentReady(FMStatic::PATH_CONTENT _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void FM::cloudItemReady(FMH::MODEL _t1, QUrl _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2);
}

// SIGNAL 2
void FM::pathContentReady(QUrl _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void FM::pathContentItemsReady(FMStatic::PATH_CONTENT _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void FM::pathContentChanged(QUrl _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void FM::pathContentItemsChanged(QVector<QPair<FMH::MODEL,FMH::MODEL>> _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}

// SIGNAL 6
void FM::pathContentItemsRemoved(FMStatic::PATH_CONTENT _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 6, nullptr, _t1);
}

// SIGNAL 7
void FM::warningMessage(QString _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 7, nullptr, _t1);
}

// SIGNAL 8
void FM::loadProgress(int _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 8, nullptr, _t1);
}

// SIGNAL 9
void FM::dirCreated(FMH::MODEL _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1);
}

// SIGNAL 10
void FM::newItem(FMH::MODEL _t1, QUrl _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1, _t2);
}
QT_WARNING_POP
