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

#include "../../../../PrismLauncher-11.0.2/launcher/MTPixmapCache.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 'MTPixmapCache.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.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_ZN11PixmapCacheE_t {};
} // unnamed namespace

template <> constexpr inline auto PixmapCache::qt_create_metaobjectdata<qt_meta_tag_ZN11PixmapCacheE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "PixmapCache",
        "_cacheLimit",
        "",
        "_clear",
        "_find",
        "key",
        "QPixmap*",
        "pixmap",
        "QPixmapCache::Key",
        "_insert",
        "QPixmap",
        "_remove",
        "_replace",
        "_setCacheLimit",
        "n",
        "_markCacheMissByEviciton",
        "_setFastEvictionThreshold",
        "threshold"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot '_cacheLimit'
        QtMocHelpers::SlotData<int()>(1, 2, QMC::AccessPrivate, QMetaType::Int),
        // Slot '_clear'
        QtMocHelpers::SlotData<bool()>(3, 2, QMC::AccessPrivate, QMetaType::Bool),
        // Slot '_find'
        QtMocHelpers::SlotData<bool(const QString &, QPixmap *)>(4, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { QMetaType::QString, 5 }, { 0x80000000 | 6, 7 },
        }}),
        // Slot '_find'
        QtMocHelpers::SlotData<bool(const QPixmapCache::Key &, QPixmap *)>(4, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { 0x80000000 | 8, 5 }, { 0x80000000 | 6, 7 },
        }}),
        // Slot '_insert'
        QtMocHelpers::SlotData<bool(const QString &, const QPixmap &)>(9, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { QMetaType::QString, 5 }, { 0x80000000 | 10, 7 },
        }}),
        // Slot '_insert'
        QtMocHelpers::SlotData<QPixmapCache::Key(const QPixmap &)>(9, 2, QMC::AccessPrivate, 0x80000000 | 8, {{
            { 0x80000000 | 10, 7 },
        }}),
        // Slot '_remove'
        QtMocHelpers::SlotData<bool(const QString &)>(11, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { QMetaType::QString, 5 },
        }}),
        // Slot '_remove'
        QtMocHelpers::SlotData<bool(const QPixmapCache::Key &)>(11, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { 0x80000000 | 8, 5 },
        }}),
        // Slot '_replace'
        QtMocHelpers::SlotData<bool(const QPixmapCache::Key &, const QPixmap &)>(12, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { 0x80000000 | 8, 5 }, { 0x80000000 | 10, 7 },
        }}),
        // Slot '_setCacheLimit'
        QtMocHelpers::SlotData<bool(int)>(13, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { QMetaType::Int, 14 },
        }}),
        // Slot '_markCacheMissByEviciton'
        QtMocHelpers::SlotData<bool()>(15, 2, QMC::AccessPrivate, QMetaType::Bool),
        // Slot '_setFastEvictionThreshold'
        QtMocHelpers::SlotData<bool(int)>(16, 2, QMC::AccessPrivate, QMetaType::Bool, {{
            { QMetaType::Int, 17 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<PixmapCache, qt_meta_tag_ZN11PixmapCacheE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject PixmapCache::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11PixmapCacheE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11PixmapCacheE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11PixmapCacheE_t>.metaTypes,
    nullptr
} };

void PixmapCache::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<PixmapCache *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: { int _r = _t->_cacheLimit();
            if (_a[0]) *reinterpret_cast<int*>(_a[0]) = std::move(_r); }  break;
        case 1: { bool _r = _t->_clear();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 2: { bool _r = _t->_find((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QPixmap*>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 3: { bool _r = _t->_find((*reinterpret_cast<std::add_pointer_t<QPixmapCache::Key>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QPixmap*>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 4: { bool _r = _t->_insert((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QPixmap>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 5: { QPixmapCache::Key _r = _t->_insert((*reinterpret_cast<std::add_pointer_t<QPixmap>>(_a[1])));
            if (_a[0]) *reinterpret_cast<QPixmapCache::Key*>(_a[0]) = std::move(_r); }  break;
        case 6: { bool _r = _t->_remove((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 7: { bool _r = _t->_remove((*reinterpret_cast<std::add_pointer_t<QPixmapCache::Key>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 8: { bool _r = _t->_replace((*reinterpret_cast<std::add_pointer_t<QPixmapCache::Key>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<QPixmap>>(_a[2])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 9: { bool _r = _t->_setCacheLimit((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 10: { bool _r = _t->_markCacheMissByEviciton();
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        case 11: { bool _r = _t->_setFastEvictionThreshold((*reinterpret_cast<std::add_pointer_t<int>>(_a[1])));
            if (_a[0]) *reinterpret_cast<bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

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

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

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