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

#include <memory>
#include "../../notifymodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'notifymodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_NotifyModel_t {
    QByteArrayData data[33];
    char stringdata0[414];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_NotifyModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_NotifyModel_t qt_meta_stringdata_NotifyModel = {
    {
QT_MOC_LITERAL(0, 0, 11), // "NotifyModel"
QT_MOC_LITERAL(1, 12, 11), // "dataChanged"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 12), // "removedNotif"
QT_MOC_LITERAL(4, 38, 15), // "appCountChanged"
QT_MOC_LITERAL(5, 54, 20), // "fullCollapsedChanged"
QT_MOC_LITERAL(6, 75, 9), // "addNotify"
QT_MOC_LITERAL(7, 85, 9), // "EntityPtr"
QT_MOC_LITERAL(8, 95, 6), // "entity"
QT_MOC_LITERAL(9, 102, 12), // "removeNotify"
QT_MOC_LITERAL(10, 115, 14), // "removeAppGroup"
QT_MOC_LITERAL(11, 130, 7), // "appName"
QT_MOC_LITERAL(12, 138, 13), // "removeAllData"
QT_MOC_LITERAL(13, 152, 19), // "expandDataByAppName"
QT_MOC_LITERAL(14, 172, 10), // "expandData"
QT_MOC_LITERAL(15, 183, 12), // "collapseData"
QT_MOC_LITERAL(16, 196, 21), // "collapseDataByAppName"
QT_MOC_LITERAL(17, 218, 19), // "removeTimeOutNotify"
QT_MOC_LITERAL(18, 238, 9), // "cacheData"
QT_MOC_LITERAL(19, 248, 8), // "freeData"
QT_MOC_LITERAL(20, 257, 17), // "refreshAppTopping"
QT_MOC_LITERAL(21, 275, 12), // "isAppTopping"
QT_MOC_LITERAL(22, 288, 11), // "ListItemPtr"
QT_MOC_LITERAL(23, 300, 7), // "appItem"
QT_MOC_LITERAL(24, 308, 13), // "setAppTopping"
QT_MOC_LITERAL(25, 322, 9), // "isTopping"
QT_MOC_LITERAL(26, 332, 10), // "isCollapse"
QT_MOC_LITERAL(27, 343, 13), // "fullCollapsed"
QT_MOC_LITERAL(28, 357, 19), // "updateFullCollapsed"
QT_MOC_LITERAL(29, 377, 24), // "onReceivedAppInfoChanged"
QT_MOC_LITERAL(30, 402, 2), // "id"
QT_MOC_LITERAL(31, 405, 4), // "item"
QT_MOC_LITERAL(32, 410, 3) // "var"

    },
    "NotifyModel\0dataChanged\0\0removedNotif\0"
    "appCountChanged\0fullCollapsedChanged\0"
    "addNotify\0EntityPtr\0entity\0removeNotify\0"
    "removeAppGroup\0appName\0removeAllData\0"
    "expandDataByAppName\0expandData\0"
    "collapseData\0collapseDataByAppName\0"
    "removeTimeOutNotify\0cacheData\0freeData\0"
    "refreshAppTopping\0isAppTopping\0"
    "ListItemPtr\0appItem\0setAppTopping\0"
    "isTopping\0isCollapse\0fullCollapsed\0"
    "updateFullCollapsed\0onReceivedAppInfoChanged\0"
    "id\0item\0var"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_NotifyModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  134,    2, 0x06 /* Public */,
       3,    0,  135,    2, 0x06 /* Public */,
       4,    0,  136,    2, 0x06 /* Public */,
       5,    1,  137,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,  140,    2, 0x0a /* Public */,
       9,    1,  143,    2, 0x0a /* Public */,
      10,    1,  146,    2, 0x0a /* Public */,
      12,    0,  149,    2, 0x0a /* Public */,
      13,    1,  150,    2, 0x0a /* Public */,
      14,    0,  153,    2, 0x0a /* Public */,
      15,    0,  154,    2, 0x0a /* Public */,
      16,    1,  155,    2, 0x0a /* Public */,
      17,    0,  158,    2, 0x0a /* Public */,
      18,    1,  159,    2, 0x0a /* Public */,
      19,    0,  162,    2, 0x0a /* Public */,
      20,    0,  163,    2, 0x0a /* Public */,
      21,    1,  164,    2, 0x0a /* Public */,
      21,    1,  167,    2, 0x0a /* Public */,
      24,    2,  170,    2, 0x0a /* Public */,
      26,    0,  175,    2, 0x0a /* Public */,
      26,    1,  176,    2, 0x0a /* Public */,
      27,    0,  179,    2, 0x0a /* Public */,
      28,    0,  180,    2, 0x0a /* Public */,
      29,    3,  181,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   11,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Bool, QMetaType::QString,   11,
    QMetaType::Bool, 0x80000000 | 22,   23,
    QMetaType::Void, QMetaType::QString, QMetaType::Bool,   11,   25,
    QMetaType::Bool,
    QMetaType::Bool, QMetaType::QString,   11,
    QMetaType::Bool,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::UInt, QMetaType::QVariant,   30,   31,   32,

       0        // eod
};

void NotifyModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<NotifyModel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->dataChanged(); break;
        case 1: _t->removedNotif(); break;
        case 2: _t->appCountChanged(); break;
        case 3: _t->fullCollapsedChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->addNotify((*reinterpret_cast< EntityPtr(*)>(_a[1]))); break;
        case 5: _t->removeNotify((*reinterpret_cast< EntityPtr(*)>(_a[1]))); break;
        case 6: _t->removeAppGroup((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->removeAllData(); break;
        case 8: _t->expandDataByAppName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->expandData(); break;
        case 10: _t->collapseData(); break;
        case 11: _t->collapseDataByAppName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->removeTimeOutNotify(); break;
        case 13: _t->cacheData((*reinterpret_cast< EntityPtr(*)>(_a[1]))); break;
        case 14: _t->freeData(); break;
        case 15: _t->refreshAppTopping(); break;
        case 16: { bool _r = _t->isAppTopping((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 17: { bool _r = _t->isAppTopping((*reinterpret_cast< const ListItemPtr(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->setAppTopping((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2]))); break;
        case 19: { bool _r = _t->isCollapse();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 20: { bool _r = _t->isCollapse((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 21: { bool _r = _t->fullCollapsed();
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 22: _t->updateFullCollapsed(); break;
        case 23: _t->onReceivedAppInfoChanged((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< QVariant(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (NotifyModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotifyModel::dataChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (NotifyModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotifyModel::removedNotif)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (NotifyModel::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotifyModel::appCountChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (NotifyModel::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&NotifyModel::fullCollapsedChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject NotifyModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractListModel::staticMetaObject>(),
    qt_meta_stringdata_NotifyModel.data,
    qt_meta_data_NotifyModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *NotifyModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_NotifyModel.stringdata0))
        return static_cast<void*>(this);
    return QAbstractListModel::qt_metacast(_clname);
}

int NotifyModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 24;
    }
    return _id;
}

// SIGNAL 0
void NotifyModel::dataChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void NotifyModel::removedNotif()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void NotifyModel::appCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void NotifyModel::fullCollapsedChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
