/****************************************************************************
** Meta object code from reading C++ file 'widget-extension.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/extension/widget-extension.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'widget-extension.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__WidgetMetadata_t {
    QByteArrayData data[22];
    char stringdata0[182];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UkuiMenu__WidgetMetadata_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UkuiMenu__WidgetMetadata_t qt_meta_stringdata_UkuiMenu__WidgetMetadata = {
    {
QT_MOC_LITERAL(0, 0, 24), // "UkuiMenu::WidgetMetadata"
QT_MOC_LITERAL(1, 25, 3), // "Key"
QT_MOC_LITERAL(2, 29, 2), // "Id"
QT_MOC_LITERAL(3, 32, 4), // "Icon"
QT_MOC_LITERAL(4, 37, 4), // "Name"
QT_MOC_LITERAL(5, 42, 7), // "Tooltip"
QT_MOC_LITERAL(6, 50, 7), // "Version"
QT_MOC_LITERAL(7, 58, 11), // "Description"
QT_MOC_LITERAL(8, 70, 4), // "Main"
QT_MOC_LITERAL(9, 75, 4), // "Type"
QT_MOC_LITERAL(10, 80, 4), // "Flag"
QT_MOC_LITERAL(11, 85, 4), // "Data"
QT_MOC_LITERAL(12, 90, 9), // "TypeValue"
QT_MOC_LITERAL(13, 100, 6), // "Widget"
QT_MOC_LITERAL(14, 107, 6), // "Button"
QT_MOC_LITERAL(15, 114, 7), // "AppList"
QT_MOC_LITERAL(16, 122, 5), // "Types"
QT_MOC_LITERAL(17, 128, 9), // "FlagValue"
QT_MOC_LITERAL(18, 138, 15), // "OnlySmallScreen"
QT_MOC_LITERAL(19, 154, 14), // "OnlyFullScreen"
QT_MOC_LITERAL(20, 169, 6), // "Normal"
QT_MOC_LITERAL(21, 176, 5) // "Flags"

    },
    "UkuiMenu::WidgetMetadata\0Key\0Id\0Icon\0"
    "Name\0Tooltip\0Version\0Description\0Main\0"
    "Type\0Flag\0Data\0TypeValue\0Widget\0Button\0"
    "AppList\0Types\0FlagValue\0OnlySmallScreen\0"
    "OnlyFullScreen\0Normal\0Flags"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UkuiMenu__WidgetMetadata[] = {

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

 // enums: name, alias, flags, count, data
       1,    1, 0x0,   10,   39,
      12,   12, 0x0,    3,   59,
      16,   12, 0x1,    3,   65,
      17,   17, 0x0,    3,   71,
      21,   17, 0x1,    3,   77,

 // enum data: key, value
       2, uint(UkuiMenu::WidgetMetadata::Id),
       3, uint(UkuiMenu::WidgetMetadata::Icon),
       4, uint(UkuiMenu::WidgetMetadata::Name),
       5, uint(UkuiMenu::WidgetMetadata::Tooltip),
       6, uint(UkuiMenu::WidgetMetadata::Version),
       7, uint(UkuiMenu::WidgetMetadata::Description),
       8, uint(UkuiMenu::WidgetMetadata::Main),
       9, uint(UkuiMenu::WidgetMetadata::Type),
      10, uint(UkuiMenu::WidgetMetadata::Flag),
      11, uint(UkuiMenu::WidgetMetadata::Data),
      13, uint(UkuiMenu::WidgetMetadata::Widget),
      14, uint(UkuiMenu::WidgetMetadata::Button),
      15, uint(UkuiMenu::WidgetMetadata::AppList),
      13, uint(UkuiMenu::WidgetMetadata::Widget),
      14, uint(UkuiMenu::WidgetMetadata::Button),
      15, uint(UkuiMenu::WidgetMetadata::AppList),
      18, uint(UkuiMenu::WidgetMetadata::OnlySmallScreen),
      19, uint(UkuiMenu::WidgetMetadata::OnlyFullScreen),
      20, uint(UkuiMenu::WidgetMetadata::Normal),
      18, uint(UkuiMenu::WidgetMetadata::OnlySmallScreen),
      19, uint(UkuiMenu::WidgetMetadata::OnlyFullScreen),
      20, uint(UkuiMenu::WidgetMetadata::Normal),

       0        // eod
};

QT_INIT_METAOBJECT const QMetaObject UkuiMenu::WidgetMetadata::staticMetaObject = { {
    nullptr,
    qt_meta_stringdata_UkuiMenu__WidgetMetadata.data,
    qt_meta_data_UkuiMenu__WidgetMetadata,
    nullptr,
    nullptr,
    nullptr
} };

struct qt_meta_stringdata_UkuiMenu__WidgetExtension_t {
    QByteArrayData data[3];
    char stringdata0[39];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UkuiMenu__WidgetExtension_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UkuiMenu__WidgetExtension_t qt_meta_stringdata_UkuiMenu__WidgetExtension = {
    {
QT_MOC_LITERAL(0, 0, 25), // "UkuiMenu::WidgetExtension"
QT_MOC_LITERAL(1, 26, 11), // "dataUpdated"
QT_MOC_LITERAL(2, 38, 0) // ""

    },
    "UkuiMenu::WidgetExtension\0dataUpdated\0"
    ""
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UkuiMenu__WidgetExtension[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,

       0        // eod
};

void UkuiMenu::WidgetExtension::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<WidgetExtension *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->dataUpdated(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (WidgetExtension::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&WidgetExtension::dataUpdated)) {
                *result = 0;
                return;
            }
        }
    }
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject UkuiMenu::WidgetExtension::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_UkuiMenu__WidgetExtension.data,
    qt_meta_data_UkuiMenu__WidgetExtension,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *UkuiMenu::WidgetExtension::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_UkuiMenu__WidgetExtension.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int UkuiMenu::WidgetExtension::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 < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}

// SIGNAL 0
void UkuiMenu::WidgetExtension::dataUpdated()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
