/****************************************************************************
** Meta object code from reading C++ file 'filemenumanager.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 "../../../../koko-26.08.0/src/filemenumanager.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 'filemenumanager.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_ZN15FileMenuManagerE_t {};
} // unnamed namespace

template <> constexpr inline auto FileMenuManager::qt_create_metaobjectdata<qt_meta_tag_ZN15FileMenuManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "FileMenuManager",
        "QML.Element",
        "auto",
        "urlsChanged",
        "",
        "enabledChanged",
        "canSaveAsChanged",
        "canOpenFolderChanged",
        "canOpenWithChanged",
        "canCopyChanged",
        "canCopyPathChanged",
        "canMoveToTrashChanged",
        "canDeleteFileChanged",
        "canPrintChanged",
        "urls",
        "QList<QUrl>",
        "enabled",
        "canSaveAs",
        "canOpenFolder",
        "canOpenWith",
        "canCopy",
        "canCopyPath",
        "canMoveToTrash",
        "canDeleteFile",
        "canPrint"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'urlsChanged'
        QtMocHelpers::SignalData<void()>(3, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'enabledChanged'
        QtMocHelpers::SignalData<void()>(5, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'canSaveAsChanged'
        QtMocHelpers::SignalData<void()>(6, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'canOpenFolderChanged'
        QtMocHelpers::SignalData<void()>(7, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'canOpenWithChanged'
        QtMocHelpers::SignalData<void()>(8, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'canCopyChanged'
        QtMocHelpers::SignalData<void()>(9, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'canCopyPathChanged'
        QtMocHelpers::SignalData<void()>(10, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'canMoveToTrashChanged'
        QtMocHelpers::SignalData<void()>(11, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'canDeleteFileChanged'
        QtMocHelpers::SignalData<void()>(12, 4, QMC::AccessPublic, QMetaType::Void),
        // Signal 'canPrintChanged'
        QtMocHelpers::SignalData<void()>(13, 4, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'urls'
        QtMocHelpers::PropertyData<QList<QUrl>>(14, 0x80000000 | 15, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet | QMC::Final, 0),
        // property 'enabled'
        QtMocHelpers::PropertyData<bool>(16, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet | QMC::Final, 1),
        // property 'canSaveAs'
        QtMocHelpers::PropertyData<bool>(17, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 2),
        // property 'canOpenFolder'
        QtMocHelpers::PropertyData<bool>(18, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 3),
        // property 'canOpenWith'
        QtMocHelpers::PropertyData<bool>(19, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 4),
        // property 'canCopy'
        QtMocHelpers::PropertyData<bool>(20, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 5),
        // property 'canCopyPath'
        QtMocHelpers::PropertyData<bool>(21, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 6),
        // property 'canMoveToTrash'
        QtMocHelpers::PropertyData<bool>(22, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 7),
        // property 'canDeleteFile'
        QtMocHelpers::PropertyData<bool>(23, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 8),
        // property 'canPrint'
        QtMocHelpers::PropertyData<bool>(24, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Final, 9),
    };
    QtMocHelpers::UintData qt_enums {
    };
    QtMocHelpers::UintData qt_constructors {};
    QtMocHelpers::ClassInfos qt_classinfo({
            {    1,    2 },
    });
    return QtMocHelpers::metaObjectData<FileMenuManager, void>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors, qt_classinfo);
}
Q_CONSTINIT const QMetaObject FileMenuManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15FileMenuManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN15FileMenuManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN15FileMenuManagerE_t>.metaTypes,
    nullptr
} };

void FileMenuManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FileMenuManager *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->urlsChanged(); break;
        case 1: _t->enabledChanged(); break;
        case 2: _t->canSaveAsChanged(); break;
        case 3: _t->canOpenFolderChanged(); break;
        case 4: _t->canOpenWithChanged(); break;
        case 5: _t->canCopyChanged(); break;
        case 6: _t->canCopyPathChanged(); break;
        case 7: _t->canMoveToTrashChanged(); break;
        case 8: _t->canDeleteFileChanged(); break;
        case 9: _t->canPrintChanged(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FileMenuManager::*)()>(_a, &FileMenuManager::urlsChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileMenuManager::*)()>(_a, &FileMenuManager::enabledChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileMenuManager::*)()>(_a, &FileMenuManager::canSaveAsChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileMenuManager::*)()>(_a, &FileMenuManager::canOpenFolderChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileMenuManager::*)()>(_a, &FileMenuManager::canOpenWithChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileMenuManager::*)()>(_a, &FileMenuManager::canCopyChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileMenuManager::*)()>(_a, &FileMenuManager::canCopyPathChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileMenuManager::*)()>(_a, &FileMenuManager::canMoveToTrashChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileMenuManager::*)()>(_a, &FileMenuManager::canDeleteFileChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (FileMenuManager::*)()>(_a, &FileMenuManager::canPrintChanged, 9))
            return;
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QList<QUrl>*>(_v) = _t->urls(); break;
        case 1: *reinterpret_cast<bool*>(_v) = _t->enabled(); break;
        case 2: *reinterpret_cast<bool*>(_v) = _t->canSaveAs(); break;
        case 3: *reinterpret_cast<bool*>(_v) = _t->canOpenFolder(); break;
        case 4: *reinterpret_cast<bool*>(_v) = _t->canOpenWith(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->canCopy(); break;
        case 6: *reinterpret_cast<bool*>(_v) = _t->canCopyPath(); break;
        case 7: *reinterpret_cast<bool*>(_v) = _t->canMoveToTrash(); break;
        case 8: *reinterpret_cast<bool*>(_v) = _t->canDeleteFile(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->canPrint(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setUrls(*reinterpret_cast<QList<QUrl>*>(_v)); break;
        case 1: _t->setEnabled(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

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

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

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

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

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

// SIGNAL 3
void FileMenuManager::canOpenFolderChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

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

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

// SIGNAL 6
void FileMenuManager::canCopyPathChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void FileMenuManager::canMoveToTrashChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void FileMenuManager::canDeleteFileChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void FileMenuManager::canPrintChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
