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

template <> constexpr inline auto FMH::FileLoader::qt_create_metaobjectdata<qt_meta_tag_ZN3FMH10FileLoaderE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "FMH::FileLoader",
        "finished",
        "",
        "FMH::MODEL_LIST",
        "items",
        "QList<QUrl>",
        "urls",
        "start",
        "recursive",
        "nameFilters",
        "QDir::Filters",
        "filters",
        "limit",
        "itemsReady",
        "itemReady",
        "FMH::MODEL",
        "item",
        "getFiles",
        "paths"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'finished'
        QtMocHelpers::SignalData<void(FMH::MODEL_LIST, QList<QUrl>)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 5, 6 },
        }}),
        // Signal 'start'
        QtMocHelpers::SignalData<void(QList<QUrl>, bool, QStringList, QDir::Filters, uint)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 }, { QMetaType::Bool, 8 }, { QMetaType::QStringList, 9 }, { 0x80000000 | 10, 11 },
            { QMetaType::UInt, 12 },
        }}),
        // Signal 'itemsReady'
        QtMocHelpers::SignalData<void(FMH::MODEL_LIST, QList<QUrl>)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 5, 6 },
        }}),
        // Signal 'itemReady'
        QtMocHelpers::SignalData<void(FMH::MODEL, QList<QUrl>)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 15, 16 }, { 0x80000000 | 5, 6 },
        }}),
        // Slot 'getFiles'
        QtMocHelpers::SlotData<void(QList<QUrl>, bool, const QStringList &, const QDir::Filters &, uint)>(17, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 5, 18 }, { QMetaType::Bool, 8 }, { QMetaType::QStringList, 9 }, { 0x80000000 | 10, 11 },
            { QMetaType::UInt, 12 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FileLoader, qt_meta_tag_ZN3FMH10FileLoaderE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject FMH::FileLoader::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3FMH10FileLoaderE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN3FMH10FileLoaderE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN3FMH10FileLoaderE_t>.metaTypes,
    nullptr
} };

void FMH::FileLoader::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FileLoader *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->finished((*reinterpret_cast<std::add_pointer_t<FMH::MODEL_LIST>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[2]))); break;
        case 1: _t->start((*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QDir::Filters>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[5]))); break;
        case 2: _t->itemsReady((*reinterpret_cast<std::add_pointer_t<FMH::MODEL_LIST>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[2]))); break;
        case 3: _t->itemReady((*reinterpret_cast<std::add_pointer_t<FMH::MODEL>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[2]))); break;
        case 4: _t->getFiles((*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QStringList>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<QDir::Filters>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[5]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FileLoader::*)(FMH::MODEL_LIST , QList<QUrl> )>(_a, &FileLoader::finished, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileLoader::*)(QList<QUrl> , bool , QStringList , QDir::Filters , uint )>(_a, &FileLoader::start, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileLoader::*)(FMH::MODEL_LIST , QList<QUrl> )>(_a, &FileLoader::itemsReady, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileLoader::*)(FMH::MODEL , QList<QUrl> )>(_a, &FileLoader::itemReady, 3))
            return;
    }
}

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

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

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

// SIGNAL 0
void FMH::FileLoader::finished(FMH::MODEL_LIST _t1, QList<QUrl> _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1, _t2);
}

// SIGNAL 1
void FMH::FileLoader::start(QList<QUrl> _t1, bool _t2, QStringList _t3, QDir::Filters _t4, uint _t5)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1, _t2, _t3, _t4, _t5);
}

// SIGNAL 2
void FMH::FileLoader::itemsReady(FMH::MODEL_LIST _t1, QList<QUrl> _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1, _t2);
}

// SIGNAL 3
void FMH::FileLoader::itemReady(FMH::MODEL _t1, QList<QUrl> _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2);
}
QT_WARNING_POP
