/****************************************************************************
** Meta object code from reading C++ file 'CoreFileInfo.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 "../../../../amarok-3.3.3/src/scripting/scriptengine/qtbindings/CoreFileInfo.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 'CoreFileInfo.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_ZN10QtBindings4Core8FileInfoE_t {};
} // unnamed namespace

template <> constexpr inline auto QtBindings::Core::FileInfo::qt_create_metaobjectdata<qt_meta_tag_ZN10QtBindings4Core8FileInfoE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "QtBindings::Core::FileInfo",
        "absoluteDir",
        "QDir",
        "",
        "absoluteFilePath",
        "absolutePath",
        "baseName",
        "bundleName",
        "caching",
        "canonicalFilePath",
        "canonicalPath",
        "completeBaseName",
        "completeSuffix",
        "birthTime",
        "metadataChangeTime",
        "dir",
        "exists",
        "fileName",
        "filePath",
        "group",
        "groupId",
        "isAbsolute",
        "isBundle",
        "isDir",
        "isExecutable",
        "isFile",
        "isHidden",
        "isNativePath",
        "isReadable",
        "isRelative",
        "isRoot",
        "isSymLink",
        "isWritable",
        "lastModified",
        "lastRead",
        "makeAbsolute",
        "owner",
        "ownerId",
        "path",
        "permission",
        "QFile::Permissions",
        "permissions",
        "refresh",
        "setCaching",
        "on",
        "setFile",
        "file",
        "QFile",
        "size",
        "suffix",
        "swap",
        "QFileInfo&",
        "other",
        "symLinkTarget",
        "FileInfo",
        "QFileInfo",
        "fileinfo",
        "fileInfo",
        "QFileInfoPrivate*",
        "d"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'absoluteDir'
        QtMocHelpers::SlotData<QDir() const>(1, 3, QMC::AccessPublic, 0x80000000 | 2),
        // Slot 'absoluteFilePath'
        QtMocHelpers::SlotData<QString() const>(4, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'absolutePath'
        QtMocHelpers::SlotData<QString() const>(5, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'baseName'
        QtMocHelpers::SlotData<QString() const>(6, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'bundleName'
        QtMocHelpers::SlotData<QString() const>(7, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'caching'
        QtMocHelpers::SlotData<bool() const>(8, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'canonicalFilePath'
        QtMocHelpers::SlotData<QString() const>(9, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'canonicalPath'
        QtMocHelpers::SlotData<QString() const>(10, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'completeBaseName'
        QtMocHelpers::SlotData<QString() const>(11, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'completeSuffix'
        QtMocHelpers::SlotData<QString() const>(12, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'birthTime'
        QtMocHelpers::SlotData<QDateTime() const>(13, 3, QMC::AccessPublic, QMetaType::QDateTime),
        // Slot 'metadataChangeTime'
        QtMocHelpers::SlotData<QDateTime() const>(14, 3, QMC::AccessPublic, QMetaType::QDateTime),
        // Slot 'dir'
        QtMocHelpers::SlotData<QDir() const>(15, 3, QMC::AccessPublic, 0x80000000 | 2),
        // Slot 'exists'
        QtMocHelpers::SlotData<bool() const>(16, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'fileName'
        QtMocHelpers::SlotData<QString() const>(17, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'filePath'
        QtMocHelpers::SlotData<QString() const>(18, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'group'
        QtMocHelpers::SlotData<QString() const>(19, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'groupId'
        QtMocHelpers::SlotData<uint() const>(20, 3, QMC::AccessPublic, QMetaType::UInt),
        // Slot 'isAbsolute'
        QtMocHelpers::SlotData<bool() const>(21, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'isBundle'
        QtMocHelpers::SlotData<bool() const>(22, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'isDir'
        QtMocHelpers::SlotData<bool() const>(23, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'isExecutable'
        QtMocHelpers::SlotData<bool() const>(24, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'isFile'
        QtMocHelpers::SlotData<bool() const>(25, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'isHidden'
        QtMocHelpers::SlotData<bool() const>(26, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'isNativePath'
        QtMocHelpers::SlotData<bool() const>(27, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'isReadable'
        QtMocHelpers::SlotData<bool() const>(28, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'isRelative'
        QtMocHelpers::SlotData<bool() const>(29, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'isRoot'
        QtMocHelpers::SlotData<bool() const>(30, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'isSymLink'
        QtMocHelpers::SlotData<bool() const>(31, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'isWritable'
        QtMocHelpers::SlotData<bool() const>(32, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'lastModified'
        QtMocHelpers::SlotData<QDateTime() const>(33, 3, QMC::AccessPublic, QMetaType::QDateTime),
        // Slot 'lastRead'
        QtMocHelpers::SlotData<QDateTime() const>(34, 3, QMC::AccessPublic, QMetaType::QDateTime),
        // Slot 'makeAbsolute'
        QtMocHelpers::SlotData<bool()>(35, 3, QMC::AccessPublic, QMetaType::Bool),
        // Slot 'owner'
        QtMocHelpers::SlotData<QString() const>(36, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'ownerId'
        QtMocHelpers::SlotData<uint() const>(37, 3, QMC::AccessPublic, QMetaType::UInt),
        // Slot 'path'
        QtMocHelpers::SlotData<QString() const>(38, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'permission'
        QtMocHelpers::SlotData<bool(QFile::Permissions) const>(39, 3, QMC::AccessPublic, QMetaType::Bool, {{
            { 0x80000000 | 40, 41 },
        }}),
        // Slot 'permissions'
        QtMocHelpers::SlotData<QFile::Permissions() const>(41, 3, QMC::AccessPublic, 0x80000000 | 40),
        // Slot 'refresh'
        QtMocHelpers::SlotData<void()>(42, 3, QMC::AccessPublic, QMetaType::Void),
        // Slot 'setCaching'
        QtMocHelpers::SlotData<void(bool)>(43, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::Bool, 44 },
        }}),
        // Slot 'setFile'
        QtMocHelpers::SlotData<void(const QDir &, const QString &)>(45, 3, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 2, 15 }, { QMetaType::QString, 46 },
        }}),
        // Slot 'setFile'
        QtMocHelpers::SlotData<void(const QFile &)>(45, 3, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 47, 46 },
        }}),
        // Slot 'setFile'
        QtMocHelpers::SlotData<void(const QString &)>(45, 3, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 46 },
        }}),
        // Slot 'size'
        QtMocHelpers::SlotData<qint64() const>(48, 3, QMC::AccessPublic, QMetaType::LongLong),
        // Slot 'suffix'
        QtMocHelpers::SlotData<QString() const>(49, 3, QMC::AccessPublic, QMetaType::QString),
        // Slot 'swap'
        QtMocHelpers::SlotData<void(QFileInfo &)>(50, 3, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 51, 52 },
        }}),
        // Slot 'symLinkTarget'
        QtMocHelpers::SlotData<QString() const>(53, 3, QMC::AccessPublic, QMetaType::QString),
        // Method 'exists'
        QtMocHelpers::MethodData<bool(const QString &)>(16, 3, QMC::AccessPublic, QMetaType::Bool, {{
            { QMetaType::QString, 46 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    using Constructor = QtMocHelpers::NoType;
    QtMocHelpers::UintData qt_constructors {
        QtMocHelpers::ConstructorData<Constructor()>(3, QMC::AccessPublic),
        QtMocHelpers::ConstructorData<Constructor(const QString &)>(3, QMC::AccessPublic, {{
            { QMetaType::QString, 46 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(const QFile &)>(3, QMC::AccessPublic, {{
            { 0x80000000 | 47, 46 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(const QDir &, const QString &)>(3, QMC::AccessPublic, {{
            { 0x80000000 | 2, 15 }, { QMetaType::QString, 46 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(const QFileInfo &)>(3, QMC::AccessPublic, {{
            { 0x80000000 | 55, 56 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(const FileInfo &)>(3, QMC::AccessPublic, {{
            { 0x80000000 | 54, 57 },
        }}),
        QtMocHelpers::ConstructorData<Constructor(QFileInfoPrivate *)>(3, QMC::AccessPublic, {{
            { 0x80000000 | 58, 59 },
        }}),
    };
    return QtMocHelpers::metaObjectData<FileInfo, qt_meta_tag_ZN10QtBindings4Core8FileInfoE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums, qt_constructors);
}
Q_CONSTINIT const QMetaObject QtBindings::Core::FileInfo::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10QtBindings4Core8FileInfoE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10QtBindings4Core8FileInfoE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN10QtBindings4Core8FileInfoE_t>.metaTypes,
    nullptr
} };

void QtBindings::Core::FileInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FileInfo *>(_o);
    if (_c == QMetaObject::CreateInstance) {
        switch (_id) {
        case 0: { FileInfo *_r = new FileInfo();
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 1: { FileInfo *_r = new FileInfo((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 2: { FileInfo *_r = new FileInfo((*reinterpret_cast<std::add_pointer_t<QFile>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 3: { FileInfo *_r = new FileInfo((*reinterpret_cast<std::add_pointer_t<QDir>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 4: { FileInfo *_r = new FileInfo((*reinterpret_cast<std::add_pointer_t<QFileInfo>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 5: { FileInfo *_r = new FileInfo((*reinterpret_cast<std::add_pointer_t<FileInfo>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        case 6: { FileInfo *_r = new FileInfo((*reinterpret_cast<std::add_pointer_t<QFileInfoPrivate*>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QObject**>(_a[0]) = _r; } break;
        default: break;
        }
    }
    if (_c == QMetaObject::ConstructInPlace) {
        switch (_id) {
        case 0: { new (_a[0]) FileInfo(); } break;
        case 1: { new (_a[0]) FileInfo((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); } break;
        case 2: { new (_a[0]) FileInfo((*reinterpret_cast<std::add_pointer_t<QFile>>(_a[1]))); } break;
        case 3: { new (_a[0]) FileInfo((*reinterpret_cast<std::add_pointer_t<QDir>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); } break;
        case 4: { new (_a[0]) FileInfo((*reinterpret_cast<std::add_pointer_t<QFileInfo>>(_a[1]))); } break;
        case 5: { new (_a[0]) FileInfo((*reinterpret_cast<std::add_pointer_t<FileInfo>>(_a[1]))); } break;
        case 6: { new (_a[0]) FileInfo((*reinterpret_cast<std::add_pointer_t<QFileInfoPrivate*>>(_a[1]))); } break;
        default: break;
        }
    }
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { QDir _r = _t->absoluteDir();
            if (_a[0]) *reinterpret_cast<QDir*>(_a[0]) = std::move(_r); }  break;
        case 1: { QString _r = _t->absoluteFilePath();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 2: { QString _r = _t->absolutePath();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 3: { QString _r = _t->baseName();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 4: { QString _r = _t->bundleName();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 5: { bool _r = _t->caching();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 6: { QString _r = _t->canonicalFilePath();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 7: { QString _r = _t->canonicalPath();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 8: { QString _r = _t->completeBaseName();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 9: { QString _r = _t->completeSuffix();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 10: { QDateTime _r = _t->birthTime();
            if (_a[0]) *reinterpret_cast<QDateTime*>(_a[0]) = std::move(_r); }  break;
        case 11: { QDateTime _r = _t->metadataChangeTime();
            if (_a[0]) *reinterpret_cast<QDateTime*>(_a[0]) = std::move(_r); }  break;
        case 12: { QDir _r = _t->dir();
            if (_a[0]) *reinterpret_cast<QDir*>(_a[0]) = std::move(_r); }  break;
        case 13: { bool _r = _t->exists();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 14: { QString _r = _t->fileName();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 15: { QString _r = _t->filePath();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 16: { QString _r = _t->group();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 17: { uint _r = _t->groupId();
            if (_a[0]) *reinterpret_cast<uint*>(_a[0]) = std::move(_r); }  break;
        case 18: { bool _r = _t->isAbsolute();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 19: { bool _r = _t->isBundle();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 20: { bool _r = _t->isDir();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 21: { bool _r = _t->isExecutable();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 22: { bool _r = _t->isFile();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 23: { bool _r = _t->isHidden();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 24: { bool _r = _t->isNativePath();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 25: { bool _r = _t->isReadable();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 26: { bool _r = _t->isRelative();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 27: { bool _r = _t->isRoot();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 28: { bool _r = _t->isSymLink();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 29: { bool _r = _t->isWritable();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 30: { QDateTime _r = _t->lastModified();
            if (_a[0]) *reinterpret_cast<QDateTime*>(_a[0]) = std::move(_r); }  break;
        case 31: { QDateTime _r = _t->lastRead();
            if (_a[0]) *reinterpret_cast<QDateTime*>(_a[0]) = std::move(_r); }  break;
        case 32: { bool _r = _t->makeAbsolute();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 33: { QString _r = _t->owner();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 34: { uint _r = _t->ownerId();
            if (_a[0]) *reinterpret_cast<uint*>(_a[0]) = std::move(_r); }  break;
        case 35: { QString _r = _t->path();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 36: { bool _r = _t->permission((*reinterpret_cast<std::add_pointer_t<QFile::Permissions>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 37: { QFile::Permissions _r = _t->permissions();
            if (_a[0]) *reinterpret_cast<QFile::Permissions*>(_a[0]) = std::move(_r); }  break;
        case 38: _t->refresh(); break;
        case 39: _t->setCaching((*reinterpret_cast<std::add_pointer_t<bool>>(_a[1]))); break;
        case 40: _t->setFile((*reinterpret_cast<std::add_pointer_t<QDir>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[2]))); break;
        case 41: _t->setFile((*reinterpret_cast<std::add_pointer_t<QFile>>(_a[1]))); break;
        case 42: _t->setFile((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1]))); break;
        case 43: { qint64 _r = _t->size();
            if (_a[0]) *reinterpret_cast<qint64*>(_a[0]) = std::move(_r); }  break;
        case 44: { QString _r = _t->suffix();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 45: _t->swap((*reinterpret_cast<std::add_pointer_t<QFileInfo&>>(_a[1]))); break;
        case 46: { QString _r = _t->symLinkTarget();
            if (_a[0]) *reinterpret_cast<QString*>(_a[0]) = std::move(_r); }  break;
        case 47: { bool _r = _t->exists((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

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

void *QtBindings::Core::FileInfo::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN10QtBindings4Core8FileInfoE_t>.strings))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QFileInfo"))
        return static_cast< QFileInfo*>(this);
    if (!strcmp(_clname, "QtBindings::Base<FileInfo>"))
        return static_cast< QtBindings::Base<FileInfo>*>(this);
    return QObject::qt_metacast(_clname);
}

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