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

#include "../../../../libfm-qt-2.4.0/src/core/folder.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 'folder.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.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_ZN2Fm6FolderE_t {};
} // unnamed namespace

template <> constexpr inline auto Fm::Folder::qt_create_metaobjectdata<qt_meta_tag_ZN2Fm6FolderE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "Fm::Folder",
        "startLoading",
        "",
        "finishLoading",
        "filesAdded",
        "FileInfoList&",
        "addedFiles",
        "filesChanged",
        "std::vector<FileInfoPair>&",
        "changePairs",
        "filesRemoved",
        "removedFiles",
        "removed",
        "changed",
        "unmount",
        "contentChanged",
        "fileSystemChanged",
        "error",
        "GErrorPtr",
        "err",
        "Job::ErrorSeverity",
        "severity",
        "Job::ErrorAction&",
        "response",
        "reallyReload",
        "processPendingChanges",
        "onDirListFinished",
        "onFileSystemInfoFinished",
        "onFileInfoFinished",
        "onIdleReload",
        "onMountAdded",
        "Mount",
        "mnt",
        "onMountRemoved"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'startLoading'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'finishLoading'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'filesAdded'
        QtMocHelpers::SignalData<void(FileInfoList &)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 6 },
        }}),
        // Signal 'filesChanged'
        QtMocHelpers::SignalData<void(std::vector<FileInfoPair> &)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 8, 9 },
        }}),
        // Signal 'filesRemoved'
        QtMocHelpers::SignalData<void(FileInfoList &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 5, 11 },
        }}),
        // Signal 'removed'
        QtMocHelpers::SignalData<void()>(12, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'changed'
        QtMocHelpers::SignalData<void()>(13, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'unmount'
        QtMocHelpers::SignalData<void()>(14, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'contentChanged'
        QtMocHelpers::SignalData<void()>(15, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'fileSystemChanged'
        QtMocHelpers::SignalData<void()>(16, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'error'
        QtMocHelpers::SignalData<void(const GErrorPtr &, Job::ErrorSeverity, Job::ErrorAction &)>(17, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 18, 19 }, { 0x80000000 | 20, 21 }, { 0x80000000 | 22, 23 },
        }}),
        // Slot 'reallyReload'
        QtMocHelpers::SlotData<void()>(24, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'processPendingChanges'
        QtMocHelpers::SlotData<void()>(25, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onDirListFinished'
        QtMocHelpers::SlotData<void()>(26, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onFileSystemInfoFinished'
        QtMocHelpers::SlotData<void()>(27, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onFileInfoFinished'
        QtMocHelpers::SlotData<void()>(28, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onIdleReload'
        QtMocHelpers::SlotData<void()>(29, 2, QMC::AccessPrivate, QMetaType::Void),
        // Slot 'onMountAdded'
        QtMocHelpers::SlotData<void(const Mount &)>(30, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
        // Slot 'onMountRemoved'
        QtMocHelpers::SlotData<void(const Mount &)>(33, 2, QMC::AccessPrivate, QMetaType::Void, {{
            { 0x80000000 | 31, 32 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<Folder, qt_meta_tag_ZN2Fm6FolderE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject Fm::Folder::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN2Fm6FolderE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN2Fm6FolderE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN2Fm6FolderE_t>.metaTypes,
    nullptr
} };

void Fm::Folder::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<Folder *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->startLoading(); break;
        case 1: _t->finishLoading(); break;
        case 2: _t->filesAdded((*reinterpret_cast<std::add_pointer_t<FileInfoList&>>(_a[1]))); break;
        case 3: _t->filesChanged((*reinterpret_cast<std::add_pointer_t<std::vector<FileInfoPair>&>>(_a[1]))); break;
        case 4: _t->filesRemoved((*reinterpret_cast<std::add_pointer_t<FileInfoList&>>(_a[1]))); break;
        case 5: _t->removed(); break;
        case 6: _t->changed(); break;
        case 7: _t->unmount(); break;
        case 8: _t->contentChanged(); break;
        case 9: _t->fileSystemChanged(); break;
        case 10: _t->error((*reinterpret_cast<std::add_pointer_t<GErrorPtr>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<Job::ErrorSeverity>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<Job::ErrorAction&>>(_a[3]))); break;
        case 11: _t->reallyReload(); break;
        case 12: _t->processPendingChanges(); break;
        case 13: _t->onDirListFinished(); break;
        case 14: _t->onFileSystemInfoFinished(); break;
        case 15: _t->onFileInfoFinished(); break;
        case 16: _t->onIdleReload(); break;
        case 17: _t->onMountAdded((*reinterpret_cast<std::add_pointer_t<Mount>>(_a[1]))); break;
        case 18: _t->onMountRemoved((*reinterpret_cast<std::add_pointer_t<Mount>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (Folder::*)()>(_a, &Folder::startLoading, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (Folder::*)()>(_a, &Folder::finishLoading, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (Folder::*)(FileInfoList & )>(_a, &Folder::filesAdded, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (Folder::*)(std::vector<FileInfoPair> & )>(_a, &Folder::filesChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (Folder::*)(FileInfoList & )>(_a, &Folder::filesRemoved, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (Folder::*)()>(_a, &Folder::removed, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (Folder::*)()>(_a, &Folder::changed, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (Folder::*)()>(_a, &Folder::unmount, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (Folder::*)()>(_a, &Folder::contentChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (Folder::*)()>(_a, &Folder::fileSystemChanged, 9))
            return;
        if (QtMocHelpers::indexOfMethod<void (Folder::*)(const GErrorPtr & , Job::ErrorSeverity , Job::ErrorAction & )>(_a, &Folder::error, 10))
            return;
    }
}

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

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

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

// SIGNAL 0
void Fm::Folder::startLoading()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void Fm::Folder::finishLoading()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void Fm::Folder::filesAdded(FileInfoList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

// SIGNAL 3
void Fm::Folder::filesChanged(std::vector<FileInfoPair> & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void Fm::Folder::filesRemoved(FileInfoList & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void Fm::Folder::removed()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void Fm::Folder::changed()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void Fm::Folder::unmount()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void Fm::Folder::contentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void Fm::Folder::fileSystemChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void Fm::Folder::error(const GErrorPtr & _t1, Job::ErrorSeverity _t2, Job::ErrorAction & _t3)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 10, nullptr, _t1, _t2, _t3);
}
QT_WARNING_POP
