/****************************************************************************
** Meta object code from reading C++ file 'app-list-plugin.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/libappdata/app-list-plugin.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'app-list-plugin.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__LabelItem_t {
    QByteArrayData data[8];
    char stringdata0[80];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UkuiMenu__LabelItem_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UkuiMenu__LabelItem_t qt_meta_stringdata_UkuiMenu__LabelItem = {
    {
QT_MOC_LITERAL(0, 0, 19), // "UkuiMenu::LabelItem"
QT_MOC_LITERAL(1, 20, 4), // "type"
QT_MOC_LITERAL(2, 25, 25), // "UkuiMenu::LabelItem::Type"
QT_MOC_LITERAL(3, 51, 5), // "label"
QT_MOC_LITERAL(4, 57, 7), // "display"
QT_MOC_LITERAL(5, 65, 4), // "Type"
QT_MOC_LITERAL(6, 70, 4), // "Text"
QT_MOC_LITERAL(7, 75, 4) // "Icon"

    },
    "UkuiMenu::LabelItem\0type\0"
    "UkuiMenu::LabelItem::Type\0label\0display\0"
    "Type\0Text\0Icon"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UkuiMenu__LabelItem[] = {

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

 // properties: name, type, flags
       1, 0x80000000 | 2, 0x00095009,
       3, QMetaType::QString, 0x00095001,
       4, QMetaType::QString, 0x00095001,

 // enums: name, alias, flags, count, data
       5,    5, 0x0,    2,   28,

 // enum data: key, value
       6, uint(UkuiMenu::LabelItem::Text),
       7, uint(UkuiMenu::LabelItem::Icon),

       0        // eod
};

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

#ifndef QT_NO_PROPERTIES
    if (_c == QMetaObject::ReadProperty) {
        auto *_t = reinterpret_cast<LabelItem *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< UkuiMenu::LabelItem::Type*>(_v) = _t->type(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->labelName(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->displayName(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject UkuiMenu::LabelItem::staticMetaObject = { {
    nullptr,
    qt_meta_stringdata_UkuiMenu__LabelItem.data,
    qt_meta_data_UkuiMenu__LabelItem,
    qt_static_metacall,
    nullptr,
    nullptr
} };

struct qt_meta_stringdata_UkuiMenu__LabelBottle_t {
    QByteArrayData data[7];
    char stringdata0[92];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UkuiMenu__LabelBottle_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UkuiMenu__LabelBottle_t qt_meta_stringdata_UkuiMenu__LabelBottle = {
    {
QT_MOC_LITERAL(0, 0, 21), // "UkuiMenu::LabelBottle"
QT_MOC_LITERAL(1, 22, 13), // "columnChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 13), // "labelsChanged"
QT_MOC_LITERAL(4, 51, 6), // "column"
QT_MOC_LITERAL(5, 58, 6), // "labels"
QT_MOC_LITERAL(6, 65, 26) // "QList<UkuiMenu::LabelItem>"

    },
    "UkuiMenu::LabelBottle\0columnChanged\0"
    "\0labelsChanged\0column\0labels\0"
    "QList<UkuiMenu::LabelItem>"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UkuiMenu__LabelBottle[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   24,    2, 0x06 /* Public */,
       3,    0,   25,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
       4, QMetaType::Int, 0x00495001,
       5, 0x80000000 | 6, 0x00495009,

 // properties: notify_signal_id
       0,
       1,

       0        // eod
};

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

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<LabelBottle *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->column(); break;
        case 1: *reinterpret_cast< QList<UkuiMenu::LabelItem>*>(_v) = _t->labels(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject UkuiMenu::LabelBottle::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_UkuiMenu__LabelBottle.data,
    qt_meta_data_UkuiMenu__LabelBottle,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int UkuiMenu::LabelBottle::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 < 2)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 2)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 2;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void UkuiMenu::LabelBottle::columnChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void UkuiMenu::LabelBottle::labelsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
struct qt_meta_stringdata_UkuiMenu__AppListPluginGroup_t {
    QByteArrayData data[4];
    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__AppListPluginGroup_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UkuiMenu__AppListPluginGroup_t qt_meta_stringdata_UkuiMenu__AppListPluginGroup = {
    {
QT_MOC_LITERAL(0, 0, 28), // "UkuiMenu::AppListPluginGroup"
QT_MOC_LITERAL(1, 29, 5), // "Group"
QT_MOC_LITERAL(2, 35, 7), // "Display"
QT_MOC_LITERAL(3, 43, 6) // "Search"

    },
    "UkuiMenu::AppListPluginGroup\0Group\0"
    "Display\0Search"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UkuiMenu__AppListPluginGroup[] = {

 // 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,    2,   19,

 // enum data: key, value
       2, uint(UkuiMenu::AppListPluginGroup::Display),
       3, uint(UkuiMenu::AppListPluginGroup::Search),

       0        // eod
};

QT_INIT_METAOBJECT const QMetaObject UkuiMenu::AppListPluginGroup::staticMetaObject = { {
    nullptr,
    qt_meta_stringdata_UkuiMenu__AppListPluginGroup.data,
    qt_meta_data_UkuiMenu__AppListPluginGroup,
    nullptr,
    nullptr,
    nullptr
} };

struct qt_meta_stringdata_UkuiMenu__AppListPluginInterface_t {
    QByteArrayData data[3];
    char stringdata0[47];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UkuiMenu__AppListPluginInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UkuiMenu__AppListPluginInterface_t qt_meta_stringdata_UkuiMenu__AppListPluginInterface = {
    {
QT_MOC_LITERAL(0, 0, 32), // "UkuiMenu::AppListPluginInterface"
QT_MOC_LITERAL(1, 33, 12), // "titleChanged"
QT_MOC_LITERAL(2, 46, 0) // ""

    },
    "UkuiMenu::AppListPluginInterface\0"
    "titleChanged\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UkuiMenu__AppListPluginInterface[] = {

 // 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::AppListPluginInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AppListPluginInterface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->titleChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (AppListPluginInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&AppListPluginInterface::titleChanged)) {
                *result = 0;
                return;
            }
        }
    }
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject UkuiMenu::AppListPluginInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_UkuiMenu__AppListPluginInterface.data,
    qt_meta_data_UkuiMenu__AppListPluginInterface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int UkuiMenu::AppListPluginInterface::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::AppListPluginInterface::titleChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
