/****************************************************************************
** Meta object code from reading C++ file 'kcharselect.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 "../../../../kwidgetsaddons-6.26.0/src/kcharselect.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 'kcharselect.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_ZN11KCharSelectE_t {};
} // unnamed namespace

template <> constexpr inline auto KCharSelect::qt_create_metaobjectdata<qt_meta_tag_ZN11KCharSelectE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "KCharSelect",
        "currentFontChanged",
        "",
        "QFont",
        "font",
        "currentCharChanged",
        "c",
        "currentCodePointChanged",
        "codePoint",
        "displayedCharsChanged",
        "charSelected",
        "codePointSelected",
        "setCurrentChar",
        "setCurrentCodePoint",
        "setCurrentFont",
        "currentFont",
        "currentChar",
        "currentCodePoint",
        "displayedChars",
        "QList<QChar>",
        "displayedCodePoints",
        "QList<uint>",
        "allPlanesEnabled"
    };

    QtMocHelpers::UintData qt_methods {
        // Signal 'currentFontChanged'
        QtMocHelpers::SignalData<void(const QFont &)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Signal 'currentCharChanged'
        QtMocHelpers::SignalData<void(const QChar &)>(5, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QChar, 6 },
        }}),
        // Signal 'currentCodePointChanged'
        QtMocHelpers::SignalData<void(uint)>(7, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 8 },
        }}),
        // Signal 'displayedCharsChanged'
        QtMocHelpers::SignalData<void()>(9, 2, QMC::AccessPublic, QMetaType::Void),
        // Signal 'charSelected'
        QtMocHelpers::SignalData<void(const QChar &)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QChar, 6 },
        }}),
        // Signal 'codePointSelected'
        QtMocHelpers::SignalData<void(uint)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 8 },
        }}),
        // Slot 'setCurrentChar'
        QtMocHelpers::SlotData<void(const QChar &)>(12, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::QChar, 6 },
        }}),
        // Slot 'setCurrentCodePoint'
        QtMocHelpers::SlotData<void(uint)>(13, 2, QMC::AccessPublic, QMetaType::Void, {{
            { QMetaType::UInt, 8 },
        }}),
        // Slot 'setCurrentFont'
        QtMocHelpers::SlotData<void(const QFont &)>(14, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
    };
    QtMocHelpers::UintData qt_properties {
        // property 'currentFont'
        QtMocHelpers::PropertyData<QFont>(15, 0x80000000 | 3, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag | QMC::StdCppSet),
        // property 'currentChar'
        QtMocHelpers::PropertyData<QChar>(16, QMetaType::QChar, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
        // property 'currentCodePoint'
        QtMocHelpers::PropertyData<uint>(17, QMetaType::UInt, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet, 2),
        // property 'displayedChars'
        QtMocHelpers::PropertyData<QList<QChar>>(18, 0x80000000 | 19, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'displayedCodePoints'
        QtMocHelpers::PropertyData<QList<uint>>(20, 0x80000000 | 21, QMC::DefaultPropertyFlags | QMC::EnumOrFlag),
        // property 'allPlanesEnabled'
        QtMocHelpers::PropertyData<bool>(22, QMetaType::Bool, QMC::DefaultPropertyFlags | QMC::Writable | QMC::StdCppSet),
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<KCharSelect, qt_meta_tag_ZN11KCharSelectE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject KCharSelect::staticMetaObject = { {
    QMetaObject::SuperData::link<QWidget::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11KCharSelectE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN11KCharSelectE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN11KCharSelectE_t>.metaTypes,
    nullptr
} };

void KCharSelect::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<KCharSelect *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->currentFontChanged((*reinterpret_cast<std::add_pointer_t<QFont>>(_a[1]))); break;
        case 1: _t->currentCharChanged((*reinterpret_cast<std::add_pointer_t<QChar>>(_a[1]))); break;
        case 2: _t->currentCodePointChanged((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 3: _t->displayedCharsChanged(); break;
        case 4: _t->charSelected((*reinterpret_cast<std::add_pointer_t<QChar>>(_a[1]))); break;
        case 5: _t->codePointSelected((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 6: _t->setCurrentChar((*reinterpret_cast<std::add_pointer_t<QChar>>(_a[1]))); break;
        case 7: _t->setCurrentCodePoint((*reinterpret_cast<std::add_pointer_t<uint>>(_a[1]))); break;
        case 8: _t->setCurrentFont((*reinterpret_cast<std::add_pointer_t<QFont>>(_a[1]))); break;
        default: ;
        }
    }
    if (_c == QMetaObject::IndexOfMethod) {
        if (QtMocHelpers::indexOfMethod<void (KCharSelect::*)(const QFont & )>(_a, &KCharSelect::currentFontChanged, 0))
            return;
        if (QtMocHelpers::indexOfMethod<void (KCharSelect::*)(const QChar & )>(_a, &KCharSelect::currentCharChanged, 1))
            return;
        if (QtMocHelpers::indexOfMethod<void (KCharSelect::*)(uint )>(_a, &KCharSelect::currentCodePointChanged, 2))
            return;
        if (QtMocHelpers::indexOfMethod<void (KCharSelect::*)()>(_a, &KCharSelect::displayedCharsChanged, 3))
            return;
        if (QtMocHelpers::indexOfMethod<void (KCharSelect::*)(const QChar & )>(_a, &KCharSelect::charSelected, 4))
            return;
        if (QtMocHelpers::indexOfMethod<void (KCharSelect::*)(uint )>(_a, &KCharSelect::codePointSelected, 5))
            return;
    }
    if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<QChar> >(); break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<uint> >(); break;
        }
    }
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QFont*>(_v) = _t->currentFont(); break;
        case 1: *reinterpret_cast<QChar*>(_v) = _t->currentChar(); break;
        case 2: *reinterpret_cast<uint*>(_v) = _t->currentCodePoint(); break;
        case 3: *reinterpret_cast<QList<QChar>*>(_v) = _t->displayedChars(); break;
        case 4: *reinterpret_cast<QList<uint>*>(_v) = _t->displayedCodePoints(); break;
        case 5: *reinterpret_cast<bool*>(_v) = _t->allPlanesEnabled(); break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setCurrentFont(*reinterpret_cast<QFont*>(_v)); break;
        case 1: _t->setCurrentChar(*reinterpret_cast<QChar*>(_v)); break;
        case 2: _t->setCurrentCodePoint(*reinterpret_cast<uint*>(_v)); break;
        case 5: _t->setAllPlanesEnabled(*reinterpret_cast<bool*>(_v)); break;
        default: break;
        }
    }
}

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

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

int KCharSelect::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 9)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 9)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 9;
    }
    if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::BindableProperty
            || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    }
    return _id;
}

// SIGNAL 0
void KCharSelect::currentFontChanged(const QFont & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 0, nullptr, _t1);
}

// SIGNAL 1
void KCharSelect::currentCharChanged(const QChar & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 1, nullptr, _t1);
}

// SIGNAL 2
void KCharSelect::currentCodePointChanged(uint _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 2, nullptr, _t1);
}

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

// SIGNAL 4
void KCharSelect::charSelected(const QChar & _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 4, nullptr, _t1);
}

// SIGNAL 5
void KCharSelect::codePointSelected(uint _t1)
{
    QMetaObject::activate<void>(this, &staticMetaObject, 5, nullptr, _t1);
}
QT_WARNING_POP
