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

#include <memory>
#include "../../../src/data-entity.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'data-entity.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.10. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_UkuiMenu__DataType_t {
    QByteArrayData data[6];
    char stringdata0[50];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UkuiMenu__DataType_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UkuiMenu__DataType_t qt_meta_stringdata_UkuiMenu__DataType = {
    {
QT_MOC_LITERAL(0, 0, 18), // "UkuiMenu::DataType"
QT_MOC_LITERAL(1, 19, 4), // "Type"
QT_MOC_LITERAL(2, 24, 6), // "Normal"
QT_MOC_LITERAL(3, 31, 5), // "Label"
QT_MOC_LITERAL(4, 37, 6), // "Folder"
QT_MOC_LITERAL(5, 44, 5) // "Files"

    },
    "UkuiMenu::DataType\0Type\0Normal\0Label\0"
    "Folder\0Files"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UkuiMenu__DataType[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       0,    0, // properties
       1,   14, // enums/sets
       0,    0, // constructors
       4,       // flags
       0,       // signalCount

 // enums: name, alias, flags, count, data
       1,    1, 0x0,    4,   19,

 // enum data: key, value
       2, uint(UkuiMenu::DataType::Normal),
       3, uint(UkuiMenu::DataType::Label),
       4, uint(UkuiMenu::DataType::Folder),
       5, uint(UkuiMenu::DataType::Files),

       0        // eod
};

QT_INIT_METAOBJECT const QMetaObject UkuiMenu::DataType::staticMetaObject = { {
    nullptr,
    qt_meta_stringdata_UkuiMenu__DataType.data,
    qt_meta_data_UkuiMenu__DataType,
    nullptr,
    nullptr,
    nullptr
} };

struct qt_meta_stringdata_UkuiMenu__DataEntity_t {
    QByteArrayData data[8];
    char stringdata0[72];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UkuiMenu__DataEntity_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UkuiMenu__DataEntity_t qt_meta_stringdata_UkuiMenu__DataEntity = {
    {
QT_MOC_LITERAL(0, 0, 20), // "UkuiMenu::DataEntity"
QT_MOC_LITERAL(1, 21, 4), // "type"
QT_MOC_LITERAL(2, 26, 14), // "DataType::Type"
QT_MOC_LITERAL(3, 41, 2), // "id"
QT_MOC_LITERAL(4, 44, 4), // "icon"
QT_MOC_LITERAL(5, 49, 4), // "name"
QT_MOC_LITERAL(6, 54, 7), // "comment"
QT_MOC_LITERAL(7, 62, 9) // "extraData"

    },
    "UkuiMenu::DataEntity\0type\0DataType::Type\0"
    "id\0icon\0name\0comment\0extraData"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UkuiMenu__DataEntity[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       0,    0, // methods
       6,   14, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       4,       // flags
       0,       // signalCount

 // properties: name, type, flags
       1, 0x80000000 | 2, 0x0009510b,
       3, QMetaType::QString, 0x00095001,
       4, QMetaType::QString, 0x00095103,
       5, QMetaType::QString, 0x00095103,
       6, QMetaType::QString, 0x00095103,
       7, QMetaType::QString, 0x00095103,

       0        // eod
};

void UkuiMenu::DataEntity::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        auto *_t = reinterpret_cast<DataEntity *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< DataType::Type*>(_v) = _t->type(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->id(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->icon(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->comment(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->extraData(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = reinterpret_cast<DataEntity *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setType(*reinterpret_cast< DataType::Type*>(_v)); break;
        case 2: _t->setIcon(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setName(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setComment(*reinterpret_cast< QString*>(_v)); break;
        case 5: _t->setExtraData(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

static const QMetaObject::SuperData qt_meta_extradata_UkuiMenu__DataEntity[] = {
    QMetaObject::SuperData::link<UkuiMenu::DataType::staticMetaObject>(),
    nullptr
};

QT_INIT_METAOBJECT const QMetaObject UkuiMenu::DataEntity::staticMetaObject = { {
    nullptr,
    qt_meta_stringdata_UkuiMenu__DataEntity.data,
    qt_meta_data_UkuiMenu__DataEntity,
    qt_static_metacall,
    qt_meta_extradata_UkuiMenu__DataEntity,
    nullptr
} };

QT_WARNING_POP
QT_END_MOC_NAMESPACE
