/****************************************************************************
** Meta object code from reading C++ file 'bridge.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 "../../../../hana/src/bridge.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 'bridge.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_ZN6BridgeE_t {};
} // unnamed namespace

template <> constexpr inline auto Bridge::qt_create_metaobjectdata<qt_meta_tag_ZN6BridgeE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Bridge",
        "QML.Element",
        "auto",
        "QML.Singleton",
        "true",
        "filesSelected",
        "",
        "QList<QUrl>",
        "urls",
        "clearFiles",
        "run",
        "processFile",
        "index",
        "QUrl",
        "url",
        "thumbGenerated",
        "filePath",
        "thumbPath",
        "thumbnailProgress",
        "progress",
        "urlsFromCmdLineArgs",
        "urlToFilename",
        "urlToLocalFile",
        "localFileToUrl",
        "localFile",
        "parentUrl",
        "parentPath",
        "path",
        "highlightInFileManager",
        "fileUrl",
        "openUrl"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'filesSelected'
        QtMocHelpers::SignalData<void(QList<QUrl>)>(5, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Signal 'clearFiles'
        QtMocHelpers::SignalData<void()>(9, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'run'
        QtMocHelpers::SignalData<void()>(10, 6, QMC::AccessPublic, QMetaType::Void),
        // Signal 'processFile'
        QtMocHelpers::SignalData<void(uint, QUrl)>(11, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 12 }, { 0x80000000 | 13, 14 },
        }}),
        // Signal 'thumbGenerated'
        QtMocHelpers::SignalData<void(uint, const QString &, const QString &)>(15, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 12 }, { QMetaType::QString, 16 }, { QMetaType::QString, 17 },
        }}),
        // Signal 'thumbnailProgress'
        QtMocHelpers::SignalData<void(uint, const QString &, uint)>(18, 6, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 12 }, { QMetaType::QString, 16 }, { QMetaType::UInt, 19 },
        }}),
        // Slot 'urlsFromCmdLineArgs'
        QtMocHelpers::SlotData<QList<QUrl>()>(20, 6, QMC::AccessPublic, 0x80000000 | 7),
        // Slot 'urlToFilename'
        QtMocHelpers::SlotData<QString(QUrl)>(21, 6, QMC::AccessPublic, QMetaType::QString, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Slot 'urlToLocalFile'
        QtMocHelpers::SlotData<QString(QUrl)>(22, 6, QMC::AccessPublic, QMetaType::QString, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Slot 'localFileToUrl'
        QtMocHelpers::SlotData<QUrl(const QString &)>(23, 6, QMC::AccessPublic, 0x80000000 | 13, {{
            { QMetaType::QString, 24 },
        }}),
        // Slot 'parentUrl'
        QtMocHelpers::SlotData<QUrl(QUrl)>(25, 6, QMC::AccessPublic, 0x80000000 | 13, {{
            { 0x80000000 | 13, 14 },
        }}),
        // Slot 'parentPath'
        QtMocHelpers::SlotData<QString(QString)>(26, 6, QMC::AccessPublic, QMetaType::QString, {{
            { QMetaType::QString, 27 },
        }}),
        // Slot 'highlightInFileManager'
        QtMocHelpers::SlotData<void(const QUrl &)>(28, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 29 },
        }}),
        // Slot 'openUrl'
        QtMocHelpers::SlotData<void(const QUrl &)>(30, 6, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 13, 29 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
            {    3,    4 },
    });
    return QtMocHelpers::metaObjectData<Bridge, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject Bridge::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6BridgeE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN6BridgeE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN6BridgeE_t>.metaTypes,
    nullptr
} };

void Bridge::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Bridge *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->filesSelected((*reinterpret_cast<std::add_pointer_t<QList<QUrl>>>(_a[1]))); break;
        case 1: _t->clearFiles(); break;
        case 2: _t->run(); break;
        case 3: _t->processFile((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[2]))); break;
        case 4: _t->thumbGenerated((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[3]))); break;
        case 5: _t->thumbnailProgress((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<uint>>(_a[3]))); break;
        case 6: { QList<QUrl> _r = _t->urlsFromCmdLineArgs();
            if (_a[0]) *reinterpret_cast<QList<QUrl>*>(_a[0]) = std::move(_r); }  break;
        case 7: { QString _r = _t->urlToFilename((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 8: { QString _r = _t->urlToLocalFile((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 9: { QUrl _r = _t->localFileToUrl((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QUrl*>(_a[0]) = std::move(_r); }  break;
        case 10: { QUrl _r = _t->parentUrl((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QUrl*>(_a[0]) = std::move(_r); }  break;
        case 11: { QString _r = _t->parentPath((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->highlightInFileManager((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 13: _t->openUrl((*reinterpret_cast<std::add_pointer_t<QUrl>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Bridge::*)(QList<QUrl> )>(_a, &Bridge::filesSelected, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Bridge::*)()>(_a, &Bridge::clearFiles, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Bridge::*)()>(_a, &Bridge::run, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Bridge::*)(uint , QUrl )>(_a, &Bridge::processFile, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Bridge::*)(uint , const QString & , const QString & )>(_a, &Bridge::thumbGenerated, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Bridge::*)(uint , const QString & , uint )>(_a, &Bridge::thumbnailProgress, 5))
            return;
    }
}

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

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

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

// SIGNAL 0
void Bridge::filesSelected(QList<QUrl> _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void Bridge::clearFiles()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Bridge::run()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void Bridge::processFile(uint _t1, QUrl _t2)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1, _t2);
}

// SIGNAL 4
void Bridge::thumbGenerated(uint _t1, const QString & _t2, const QString & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1, _t2, _t3);
}

// SIGNAL 5
void Bridge::thumbnailProgress(uint _t1, const QString & _t2, uint _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1, _t2, _t3);
}
QT_WARNING_POP
