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

#include "../../../../index-fm-4.0.2/src/controllers/folderconfig.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 'folderconfig.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.9.0. 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_ZN12FolderConfigE_t {};
} // unnamed namespace

template <> constexpr inline auto FolderConfig::qt_create_metaobjectdata<qt_meta_tag_ZN12FolderConfigE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "FolderConfig",
        "sortKeyChanged",
        "",
        "terminalVisibleChanged",
        "pathChanged",
        "path",
        "viewTypeChanged",
        "FMList::VIEW_TYPE",
        "viewType",
        "fallbackSortKeyChanged",
        "fallbackViewTypeChanged",
        "enabledChanged",
        "setViewType",
        "setFallbackSortKey",
        "FMList::SORTBY",
        "fallbackSortKey",
        "setFallbackViewType",
        "fallbackViewType",
        "setEnabled",
        "enabled",
        "sortKey",
        "terminalVisible"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'sortKeyChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'terminalVisibleChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'pathChanged'
        QtMocHelpers::SignalData<void(QUrl)>(4, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QUrl, 5 },
        }}),
        // Signal 'viewTypeChanged'
        QtMocHelpers::SignalData<void(FMList::VIEW_TYPE)>(6, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Signal 'fallbackSortKeyChanged'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'fallbackViewTypeChanged'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'enabledChanged'
        QtMocHelpers::SignalData<void()>(11, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setViewType'
        QtMocHelpers::SlotData<void(FMList::VIEW_TYPE)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 8 },
        }}),
        // Slot 'setFallbackSortKey'
        QtMocHelpers::SlotData<void(FMList::SORTBY)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 14, 15 },
        }}),
        // Slot 'setFallbackViewType'
        QtMocHelpers::SlotData<void(FMList::VIEW_TYPE)>(16, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 7, 17 },
        }}),
        // Slot 'setEnabled'
        QtMocHelpers::SlotData<void(bool)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 19 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'path'
        QtMocHelpers::PropertyData<QUrl>(5, QMetaType::QUrl, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'sortKey'
        QtMocHelpers::PropertyData<FMList::SORTBY>(20, 0x80000000 | 14, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 0),
        // property 'fallbackSortKey'
        QtMocHelpers::PropertyData<FMList::SORTBY>(15, 0x80000000 | 14, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 4),
        // property 'viewType'
        QtMocHelpers::PropertyData<FMList::VIEW_TYPE>(8, 0x80000000 | 7, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 3),
        // property 'fallbackViewType'
        QtMocHelpers::PropertyData<FMList::VIEW_TYPE>(17, 0x80000000 | 7, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet, 5),
        // property 'terminalVisible'
        QtMocHelpers::PropertyData<bool>(21, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'enabled'
        QtMocHelpers::PropertyData<bool>(19, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FolderConfig, qt_meta_tag_ZN12FolderConfigE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT static const QMetaObject::SuperData qt_meta_extradata_ZN12FolderConfigE[] = {
    QMetaObject::SuperData::link<FMList::staticMetaObject>(),
    nullptr
};

Q_CONSTINIT const QMetaObject FolderConfig::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12FolderConfigE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12FolderConfigE_t>.data,
    qt_static_metacall,
    qt_meta_extradata_ZN12FolderConfigE,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN12FolderConfigE_t>.metaTypes,
    nullptr
} };

void FolderConfig::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FolderConfig *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->sortKeyChanged(); break;
        case 1: _t->terminalVisibleChanged(); break;
        case 2: _t->pathChanged((*reinterpret_cast< std::add_pointer_t<QUrl>>(_a[1]))); break;
        case 3: _t->viewTypeChanged((*reinterpret_cast< std::add_pointer_t<FMList::VIEW_TYPE>>(_a[1]))); break;
        case 4: _t->fallbackSortKeyChanged(); break;
        case 5: _t->fallbackViewTypeChanged(); break;
        case 6: _t->enabledChanged(); break;
        case 7: _t->setViewType((*reinterpret_cast< std::add_pointer_t<FMList::VIEW_TYPE>>(_a[1]))); break;
        case 8: _t->setFallbackSortKey((*reinterpret_cast< std::add_pointer_t<FMList::SORTBY>>(_a[1]))); break;
        case 9: _t->setFallbackViewType((*reinterpret_cast< std::add_pointer_t<FMList::VIEW_TYPE>>(_a[1]))); break;
        case 10: _t->setEnabled((*reinterpret_cast< std::add_pointer_t<bool>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FolderConfig::*)()>(_a, &FolderConfig::sortKeyChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (FolderConfig::*)()>(_a, &FolderConfig::terminalVisibleChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (FolderConfig::*)(QUrl )>(_a, &FolderConfig::pathChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (FolderConfig::*)(FMList::VIEW_TYPE )>(_a, &FolderConfig::viewTypeChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (FolderConfig::*)()>(_a, &FolderConfig::fallbackSortKeyChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (FolderConfig::*)()>(_a, &FolderConfig::fallbackViewTypeChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (FolderConfig::*)()>(_a, &FolderConfig::enabledChanged, 6))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QUrl*>(_v) = _t->getPath(); break;
        case 1: *reinterpret_cast<FMList::SORTBY*>(_v) = _t->sortKey(); break;
        case 2: *reinterpret_cast<FMList::SORTBY*>(_v) = _t->fallbackSortKey(); break;
        case 3: *reinterpret_cast<FMList::VIEW_TYPE*>(_v) = _t->viewType(); break;
        case 4: *reinterpret_cast<FMList::VIEW_TYPE*>(_v) = _t->fallbackViewType(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->terminalVisible(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->enabled(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPath(*reinterpret_cast<QUrl*>(_v)); break;
        case 1: _t->setSortKey(*reinterpret_cast<FMList::SORTBY*>(_v)); break;
        case 2: _t->setFallbackSortKey(*reinterpret_cast<FMList::SORTBY*>(_v)); break;
        case 3: _t->setViewType(*reinterpret_cast<FMList::VIEW_TYPE*>(_v)); break;
        case 4: _t->setFallbackViewType(*reinterpret_cast<FMList::VIEW_TYPE*>(_v)); break;
        case 5: _t->setTerminalVisible(*reinterpret_cast<bool*>(_v)); break;
        case 6: _t->setEnabled(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

void *FolderConfig::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN12FolderConfigE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    return QObject::qt_metacast(_clname);
}

int FolderConfig::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 11;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    }
    return _id;
}

// SIGNAL 0
void FolderConfig::sortKeyChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

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

// SIGNAL 3
void FolderConfig::viewTypeChanged(FMList::VIEW_TYPE _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 3, nullptr, _t1);
}

// SIGNAL 4
void FolderConfig::fallbackSortKeyChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void FolderConfig::fallbackViewTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void FolderConfig::enabledChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
