/****************************************************************************
** Meta object code from reading C++ file 'app-group-model.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-group-model.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'app-group-model.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__AppGroupModel_t {
    QByteArrayData data[20];
    char stringdata0[262];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_UkuiMenu__AppGroupModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_UkuiMenu__AppGroupModel_t qt_meta_stringdata_UkuiMenu__AppGroupModel = {
    {
QT_MOC_LITERAL(0, 0, 23), // "UkuiMenu::AppGroupModel"
QT_MOC_LITERAL(1, 24, 13), // "onDataChanged"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 11), // "QModelIndex"
QT_MOC_LITERAL(4, 51, 7), // "topLeft"
QT_MOC_LITERAL(5, 59, 11), // "bottomRight"
QT_MOC_LITERAL(6, 71, 12), // "QVector<int>"
QT_MOC_LITERAL(7, 84, 5), // "roles"
QT_MOC_LITERAL(8, 90, 15), // "onLayoutChanged"
QT_MOC_LITERAL(9, 106, 28), // "QList<QPersistentModelIndex>"
QT_MOC_LITERAL(10, 135, 7), // "parents"
QT_MOC_LITERAL(11, 143, 36), // "QAbstractItemModel::LayoutCha..."
QT_MOC_LITERAL(12, 180, 4), // "hint"
QT_MOC_LITERAL(13, 185, 14), // "onRowsInserted"
QT_MOC_LITERAL(14, 200, 6), // "parent"
QT_MOC_LITERAL(15, 207, 5), // "first"
QT_MOC_LITERAL(16, 213, 4), // "last"
QT_MOC_LITERAL(17, 218, 22), // "onRowsAboutToBeRemoved"
QT_MOC_LITERAL(18, 241, 14), // "findLabelIndex"
QT_MOC_LITERAL(19, 256, 5) // "label"

    },
    "UkuiMenu::AppGroupModel\0onDataChanged\0"
    "\0QModelIndex\0topLeft\0bottomRight\0"
    "QVector<int>\0roles\0onLayoutChanged\0"
    "QList<QPersistentModelIndex>\0parents\0"
    "QAbstractItemModel::LayoutChangeHint\0"
    "hint\0onRowsInserted\0parent\0first\0last\0"
    "onRowsAboutToBeRemoved\0findLabelIndex\0"
    "label"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_UkuiMenu__AppGroupModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    3,   39,    2, 0x08 /* Private */,
       8,    2,   46,    2, 0x08 /* Private */,
      13,    3,   51,    2, 0x08 /* Private */,
      17,    3,   58,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      18,    1,   65,    2, 0x02 /* Public */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3, 0x80000000 | 3, 0x80000000 | 6,    4,    5,    7,
    QMetaType::Void, 0x80000000 | 9, 0x80000000 | 11,   10,   12,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Int,   14,   15,   16,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int, QMetaType::Int,   14,   15,   16,

 // methods: parameters
    QMetaType::Int, QMetaType::QString,   19,

       0        // eod
};

void UkuiMenu::AppGroupModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<AppGroupModel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->onDataChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2])),(*reinterpret_cast< const QVector<int>(*)>(_a[3]))); break;
        case 1: _t->onLayoutChanged((*reinterpret_cast< const QList<QPersistentModelIndex>(*)>(_a[1])),(*reinterpret_cast< QAbstractItemModel::LayoutChangeHint(*)>(_a[2]))); break;
        case 2: _t->onRowsInserted((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 3: _t->onRowsAboutToBeRemoved((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 4: { int _r = _t->findLabelIndex((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 2:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<int> >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject UkuiMenu::AppGroupModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractProxyModel::staticMetaObject>(),
    qt_meta_stringdata_UkuiMenu__AppGroupModel.data,
    qt_meta_data_UkuiMenu__AppGroupModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int UkuiMenu::AppGroupModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractProxyModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
