/****************************************************************************
** Meta object code from reading C++ file 'fontmanager.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 "fontmanager.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 'fontmanager.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_ZN11FontManagerE_t {};
} // unnamed namespace

template <> constexpr inline auto FontManager::qt_create_metaobjectdata<qt_meta_tag_ZN11FontManagerE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "FontManager",
        "fontSourceChanged",
        "",
        "rasterizationChanged",
        "fontNameChanged",
        "fontScalingChanged",
        "fontWidthChanged",
        "lineSpacingChanged",
        "baseFontScalingChanged",
        "lowResolutionFontChanged",
        "filteredFontListChanged",
        "terminalFontChanged",
        "fontFamily",
        "pixelSize",
        "lineSpacing",
        "screenScaling",
        "fontWidth",
        "fallbackFontFamily",
        "lowResolutionFont",
        "refresh",
        "fontList",
        "FontListModel*",
        "filteredFontList",
        "fontSource",
        "rasterization",
        "fontName",
        "fontScaling",
        "baseFontScaling"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'fontSourceChanged'
        QtMocHelpers::SignalData<void()>(1, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'rasterizationChanged'
        QtMocHelpers::SignalData<void()>(3, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'fontNameChanged'
        QtMocHelpers::SignalData<void()>(4, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'fontScalingChanged'
        QtMocHelpers::SignalData<void()>(5, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'fontWidthChanged'
        QtMocHelpers::SignalData<void()>(6, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'lineSpacingChanged'
        QtMocHelpers::SignalData<void()>(7, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'baseFontScalingChanged'
        QtMocHelpers::SignalData<void()>(8, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'lowResolutionFontChanged'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'filteredFontListChanged'
        QtMocHelpers::SignalData<void()>(10, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'terminalFontChanged'
        QtMocHelpers::SignalData<void(QString, int, int, qreal, qreal, QString, bool)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QString, 12 }, { QMetaType::Int, 13 }, { QMetaType::Int, 14 }, { QMetaType::QReal, 15 },
            { QMetaType::QReal, 16 }, { QMetaType::QString, 17 }, { QMetaType::Bool, 18 },
        }}),
        // Method 'refresh'
        QtMocHelpers::MethodData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'fontList'
        QtMocHelpers::PropertyData<FontListModel*>(20, 0x80000000 | 21, QMC::DefaultPropertyFlags | QMC::EnumOrFlag | QMC::Constant),
        // property 'filteredFontList'
        QtMocHelpers::PropertyData<FontListModel*>(22, 0x80000000 | 21, QMC::DefaultPropertyFlags | QMC::EnumOrFlag, 8),
        // property 'fontSource'
        QtMocHelpers::PropertyData<int>(23, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 0),
        // property 'rasterization'
        QtMocHelpers::PropertyData<int>(24, QMetaType::Int, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 1),
        // property 'fontName'
        QtMocHelpers::PropertyData<QString>(25, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'fontScaling'
        QtMocHelpers::PropertyData<qreal>(26, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 3),
        // property 'fontWidth'
        QtMocHelpers::PropertyData<qreal>(16, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 4),
        // property 'lineSpacing'
        QtMocHelpers::PropertyData<qreal>(14, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 5),
        // property 'baseFontScaling'
        QtMocHelpers::PropertyData<qreal>(27, QMetaType::QReal, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 6),
        // property 'lowResolutionFont'
        QtMocHelpers::PropertyData<bool>(18, QMetaType::Bool, QMC::DefaultPropertyFlags, 7),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<FontManager, qt_meta_tag_ZN11FontManagerE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject FontManager::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11FontManagerE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11FontManagerE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11FontManagerE_t>.metaTypes,
    nullptr
} };

void FontManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<FontManager *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->fontSourceChanged(); break;
        case 1: _t->rasterizationChanged(); break;
        case 2: _t->fontNameChanged(); break;
        case 3: _t->fontScalingChanged(); break;
        case 4: _t->fontWidthChanged(); break;
        case 5: _t->lineSpacingChanged(); break;
        case 6: _t->baseFontScalingChanged(); break;
        case 7: _t->lowResolutionFontChanged(); break;
        case 8: _t->filteredFontListChanged(); break;
        case 9: _t->terminalFontChanged((*reinterpret_cast<std::add_pointer_t<QString>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<int>>(_a[3])),(*reinterpret_cast<std::add_pointer_t<qreal>>(_a[4])),(*reinterpret_cast<std::add_pointer_t<qreal>>(_a[5])),(*reinterpret_cast<std::add_pointer_t<QString>>(_a[6])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[7]))); break;
        case 10: _t->refresh(); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (FontManager::*)()>(_a, &FontManager::fontSourceChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (FontManager::*)()>(_a, &FontManager::rasterizationChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (FontManager::*)()>(_a, &FontManager::fontNameChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (FontManager::*)()>(_a, &FontManager::fontScalingChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (FontManager::*)()>(_a, &FontManager::fontWidthChanged, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (FontManager::*)()>(_a, &FontManager::lineSpacingChanged, 5))
            return;
        if (QtMocHelpers::indexOfMethod<void (FontManager::*)()>(_a, &FontManager::baseFontScalingChanged, 6))
            return;
        if (QtMocHelpers::indexOfMethod<void (FontManager::*)()>(_a, &FontManager::lowResolutionFontChanged, 7))
            return;
        if (QtMocHelpers::indexOfMethod<void (FontManager::*)()>(_a, &FontManager::filteredFontListChanged, 8))
            return;
        if (QtMocHelpers::indexOfMethod<void (FontManager::*)(QString , int , int , qreal , qreal , QString , bool )>(_a, &FontManager::terminalFontChanged, 9))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FontListModel* >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<FontListModel**>(_v) = _t->fontList(); break;
        case 1: *reinterpret_cast<FontListModel**>(_v) = _t->filteredFontList(); break;
        case 2: *reinterpret_cast<int*>(_v) = _t->fontSource(); break;
        case 3: *reinterpret_cast<int*>(_v) = _t->rasterization(); break;
        case 4: *reinterpret_cast<QString*>(_v) = _t->fontName(); break;
        case 5: *reinterpret_cast<qreal*>(_v) = _t->fontScaling(); break;
        case 6: *reinterpret_cast<qreal*>(_v) = _t->fontWidth(); break;
        case 7: *reinterpret_cast<qreal*>(_v) = _t->lineSpacing(); break;
        case 8: *reinterpret_cast<qreal*>(_v) = _t->baseFontScaling(); break;
        case 9: *reinterpret_cast<bool*>(_v) = _t->lowResolutionFont(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 2: _t->setFontSource(*reinterpret_cast<int*>(_v)); break;
        case 3: _t->setRasterization(*reinterpret_cast<int*>(_v)); break;
        case 4: _t->setFontName(*reinterpret_cast<QString*>(_v)); break;
        case 5: _t->setFontScaling(*reinterpret_cast<qreal*>(_v)); break;
        case 6: _t->setFontWidth(*reinterpret_cast<qreal*>(_v)); break;
        case 7: _t->setLineSpacing(*reinterpret_cast<qreal*>(_v)); break;
        case 8: _t->setBaseFontScaling(*reinterpret_cast<qreal*>(_v)); break;
        default: break;
        }
    }
}

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

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

int FontManager::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 -= 10;
    }
    return _id;
}

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

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

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

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

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

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

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

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

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

// SIGNAL 9
void FontManager::terminalFontChanged(QString _t1, int _t2, int _t3, qreal _t4, qreal _t5, QString _t6, bool _t7)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 9, nullptr, _t1, _t2, _t3, _t4, _t5, _t6, _t7);
}
QT_WARNING_POP
