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

#include "../../../src/plasma-desktop-5.8.8/applets/kicker/plugin/appsmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'appsmodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.2. 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_AppsModel_t {
    QByteArrayData data[23];
    char stringdata0[278];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AppsModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AppsModel_t qt_meta_stringdata_AppsModel = {
    {
QT_MOC_LITERAL(0, 0, 9), // "AppsModel"
QT_MOC_LITERAL(1, 10, 7), // "cleared"
QT_MOC_LITERAL(2, 18, 0), // ""
QT_MOC_LITERAL(3, 19, 11), // "flatChanged"
QT_MOC_LITERAL(4, 31, 21), // "showSeparatorsChanged"
QT_MOC_LITERAL(5, 53, 20), // "appNameFormatChanged"
QT_MOC_LITERAL(6, 74, 22), // "appletInterfaceChanged"
QT_MOC_LITERAL(7, 97, 20), // "hiddenEntriesChanged"
QT_MOC_LITERAL(8, 118, 7), // "refresh"
QT_MOC_LITERAL(9, 126, 18), // "checkSycocaChanges"
QT_MOC_LITERAL(10, 145, 7), // "changes"
QT_MOC_LITERAL(11, 153, 7), // "trigger"
QT_MOC_LITERAL(12, 161, 3), // "row"
QT_MOC_LITERAL(13, 165, 8), // "actionId"
QT_MOC_LITERAL(14, 174, 8), // "argument"
QT_MOC_LITERAL(15, 183, 11), // "modelForRow"
QT_MOC_LITERAL(16, 195, 14), // "AbstractModel*"
QT_MOC_LITERAL(17, 210, 11), // "rowForModel"
QT_MOC_LITERAL(18, 222, 5), // "model"
QT_MOC_LITERAL(19, 228, 4), // "flat"
QT_MOC_LITERAL(20, 233, 14), // "showSeparators"
QT_MOC_LITERAL(21, 248, 13), // "appNameFormat"
QT_MOC_LITERAL(22, 262, 15) // "appletInterface"

    },
    "AppsModel\0cleared\0\0flatChanged\0"
    "showSeparatorsChanged\0appNameFormatChanged\0"
    "appletInterfaceChanged\0hiddenEntriesChanged\0"
    "refresh\0checkSycocaChanges\0changes\0"
    "trigger\0row\0actionId\0argument\0modelForRow\0"
    "AbstractModel*\0rowForModel\0model\0flat\0"
    "showSeparators\0appNameFormat\0"
    "appletInterface"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AppsModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    0,   70,    2, 0x06 /* Public */,
       4,    0,   71,    2, 0x06 /* Public */,
       5,    0,   72,    2, 0x06 /* Public */,
       6,    0,   73,    2, 0x06 /* Public */,
       7,    0,   74,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   75,    2, 0x09 /* Protected */,
       9,    1,   76,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      11,    3,   79,    2, 0x02 /* Public */,
      15,    1,   86,    2, 0x02 /* Public */,
      17,    1,   89,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QStringList,   10,

 // methods: parameters
    QMetaType::Bool, QMetaType::Int, QMetaType::QString, QMetaType::QVariant,   12,   13,   14,
    0x80000000 | 16, QMetaType::Int,   12,
    QMetaType::Int, 0x80000000 | 16,   18,

 // properties: name, type, flags
      19, QMetaType::Bool, 0x00495103,
      20, QMetaType::Bool, 0x00495103,
      21, QMetaType::Int, 0x00495103,
      22, QMetaType::QObjectStar, 0x00495103,

 // properties: notify_signal_id
       1,
       2,
       3,
       4,

       0        // eod
};

void AppsModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AppsModel *_t = static_cast<AppsModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->cleared(); break;
        case 1: _t->flatChanged(); break;
        case 2: _t->showSeparatorsChanged(); break;
        case 3: _t->appNameFormatChanged(); break;
        case 4: _t->appletInterfaceChanged(); break;
        case 5: _t->hiddenEntriesChanged(); break;
        case 6: _t->refresh(); break;
        case 7: _t->checkSycocaChanges((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 8: { bool _r = _t->trigger((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QVariant(*)>(_a[3])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 9: { AbstractModel* _r = _t->modelForRow((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< AbstractModel**>(_a[0]) = std::move(_r); }  break;
        case 10: { int _r = _t->rowForModel((*reinterpret_cast< AbstractModel*(*)>(_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 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< AbstractModel* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (AppsModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppsModel::cleared)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AppsModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppsModel::flatChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (AppsModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppsModel::showSeparatorsChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (AppsModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppsModel::appNameFormatChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (AppsModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppsModel::appletInterfaceChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (AppsModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AppsModel::hiddenEntriesChanged)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        AppsModel *_t = static_cast<AppsModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->flat(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->showSeparators(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->appNameFormat(); break;
        case 3: *reinterpret_cast< QObject**>(_v) = _t->appletInterface(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        AppsModel *_t = static_cast<AppsModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFlat(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setShowSeparators(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setAppNameFormat(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setAppletInterface(*reinterpret_cast< QObject**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject AppsModel::staticMetaObject = {
    { &AbstractModel::staticMetaObject, qt_meta_stringdata_AppsModel.data,
      qt_meta_data_AppsModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int AppsModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = AbstractModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
#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 -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void AppsModel::cleared()const
{
    QMetaObject::activate(const_cast< AppsModel *>(this), &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void AppsModel::flatChanged()const
{
    QMetaObject::activate(const_cast< AppsModel *>(this), &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void AppsModel::showSeparatorsChanged()const
{
    QMetaObject::activate(const_cast< AppsModel *>(this), &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void AppsModel::appNameFormatChanged()const
{
    QMetaObject::activate(const_cast< AppsModel *>(this), &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void AppsModel::appletInterfaceChanged()const
{
    QMetaObject::activate(const_cast< AppsModel *>(this), &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void AppsModel::hiddenEntriesChanged()const
{
    QMetaObject::activate(const_cast< AppsModel *>(this), &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
