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

#include "../../../nheko/src/emoji/Emoji.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 'Emoji.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.10.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_ZN5emoji5EmojiE_t {};
} // unnamed namespace

template <> constexpr inline auto emoji::Emoji::qt_create_metaobjectdata<qt_meta_tag_ZN5emoji5EmojiE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "emoji::Emoji",
        "unicode",
        "shortName",
        "unicodeName",
        "category",
        "emoji::Emoji::Category",
        "Category",
        "People",
        "Nature",
        "Food",
        "Activity",
        "Travel",
        "Objects",
        "Symbols",
        "Flags",
        "Search"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
        // property 'unicode'
        QtMocHelpers::PropertyData<QString>(1, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'shortName'
        QtMocHelpers::PropertyData<QString>(2, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'unicodeName'
        QtMocHelpers::PropertyData<QString>(3, QMetaType::QString, QMC::DefaultPropertyFlags | QMC::Constant),
        // property 'category'
        QtMocHelpers::PropertyData<emoji::Emoji::Category>(4, 0x80000000 | 5, QMC::DefaultPropertyFlags | QMC::Writable | QMC::EnumOrFlag),
    };
    QtMocHelpers::UintData qt_enums {
        // enum 'Category'
        QtMocHelpers::EnumData<enum Category>(6, 6, QMC::EnumIsScoped).add({
            {    7, Category::People },
            {    8, Category::Nature },
            {    9, Category::Food },
            {   10, Category::Activity },
            {   11, Category::Travel },
            {   12, Category::Objects },
            {   13, Category::Symbols },
            {   14, Category::Flags },
            {   15, Category::Search },
        }),
    };
    return QtMocHelpers::metaObjectData<Emoji, qt_meta_tag_ZN5emoji5EmojiE_t>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject emoji::Emoji::staticMetaObject = { {
    nullptr,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5emoji5EmojiE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN5emoji5EmojiE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN5emoji5EmojiE_t>.metaTypes,
    nullptr
} };

void emoji::Emoji::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = reinterpret_cast<Emoji *>(_o);
    if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast<QString*>(_v) = _t->unicode(); break;
        case 1: *reinterpret_cast<QString*>(_v) = _t->shortName(); break;
        case 2: *reinterpret_cast<QString*>(_v) = _t->unicodeName(); break;
        case 3: *reinterpret_cast<emoji::Emoji::Category*>(_v) = _t->category; break;
        default: break;
        }
    }
    if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 3: QtMocHelpers::setProperty(_t->category, *reinterpret_cast<emoji::Emoji::Category*>(_v)); break;
        default: break;
        }
    }
}
namespace {
struct qt_meta_tag_ZN5emojiE_t {};
} // unnamed namespace

template <> constexpr inline auto emoji::qt_create_metaobjectdata<qt_meta_tag_ZN5emojiE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "emoji"
    };

    QtMocHelpers::UintData qt_methods {
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<void, qt_meta_tag_ZN5emojiE_t>(QMC::PropertyAccessInStaticMetaCall, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}

static constexpr auto qt_staticMetaObjectContent_ZN5emojiE =
    emoji::qt_create_metaobjectdata<qt_meta_tag_ZN5emojiE_t>();
static constexpr auto qt_staticMetaObjectStaticContent_ZN5emojiE =
    qt_staticMetaObjectContent_ZN5emojiE.staticData;
static constexpr auto qt_staticMetaObjectRelocatingContent_ZN5emojiE =
    qt_staticMetaObjectContent_ZN5emojiE.relocatingData;

Q_CONSTINIT const QMetaObject emoji::staticMetaObject = { {
    nullptr,
    qt_staticMetaObjectStaticContent_ZN5emojiE.stringdata,
    qt_staticMetaObjectStaticContent_ZN5emojiE.data,
    nullptr,
    nullptr,
    qt_staticMetaObjectRelocatingContent_ZN5emojiE.metaTypes,
    nullptr
} };

QT_WARNING_POP
