/****************************************************************************
** Meta object code from reading C++ file 'rootmodel.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/rootmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'rootmodel.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_RootModel_t {
    QByteArrayData data[19];
    char stringdata0[287];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_RootModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_RootModel_t qt_meta_stringdata_RootModel = {
    {
QT_MOC_LITERAL(0, 0, 9), // "RootModel"
QT_MOC_LITERAL(1, 10, 9), // "refreshed"
QT_MOC_LITERAL(2, 20, 0), // ""
QT_MOC_LITERAL(3, 21, 27), // "systemFavoritesModelChanged"
QT_MOC_LITERAL(4, 49, 21), // "showAllSubtreeChanged"
QT_MOC_LITERAL(5, 71, 21), // "showRecentAppsChanged"
QT_MOC_LITERAL(6, 93, 21), // "showRecentDocsChanged"
QT_MOC_LITERAL(7, 115, 25), // "showRecentContactsChanged"
QT_MOC_LITERAL(8, 141, 22), // "recentAppsModelChanged"
QT_MOC_LITERAL(9, 164, 7), // "refresh"
QT_MOC_LITERAL(10, 172, 7), // "trigger"
QT_MOC_LITERAL(11, 180, 3), // "row"
QT_MOC_LITERAL(12, 184, 8), // "actionId"
QT_MOC_LITERAL(13, 193, 8), // "argument"
QT_MOC_LITERAL(14, 202, 20), // "systemFavoritesModel"
QT_MOC_LITERAL(15, 223, 14), // "showAllSubtree"
QT_MOC_LITERAL(16, 238, 14), // "showRecentApps"
QT_MOC_LITERAL(17, 253, 14), // "showRecentDocs"
QT_MOC_LITERAL(18, 268, 18) // "showRecentContacts"

    },
    "RootModel\0refreshed\0\0systemFavoritesModelChanged\0"
    "showAllSubtreeChanged\0showRecentAppsChanged\0"
    "showRecentDocsChanged\0showRecentContactsChanged\0"
    "recentAppsModelChanged\0refresh\0trigger\0"
    "row\0actionId\0argument\0systemFavoritesModel\0"
    "showAllSubtree\0showRecentApps\0"
    "showRecentDocs\0showRecentContacts"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_RootModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x06 /* Public */,
       3,    0,   60,    2, 0x06 /* Public */,
       4,    0,   61,    2, 0x06 /* Public */,
       5,    0,   62,    2, 0x06 /* Public */,
       6,    0,   63,    2, 0x06 /* Public */,
       7,    0,   64,    2, 0x06 /* Public */,
       8,    0,   65,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   66,    2, 0x09 /* Protected */,

 // methods: name, argc, parameters, tag, flags
      10,    3,   67,    2, 0x02 /* Public */,

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

 // slots: parameters
    QMetaType::Void,

 // methods: parameters
    QMetaType::Bool, QMetaType::Int, QMetaType::QString, QMetaType::QVariant,   11,   12,   13,

 // properties: name, type, flags
      14, QMetaType::QObjectStar, 0x00495001,
      15, QMetaType::Bool, 0x00495103,
      16, QMetaType::Bool, 0x00495103,
      17, QMetaType::Bool, 0x00495103,
      18, QMetaType::Bool, 0x00495103,

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

       0        // eod
};

void RootModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        RootModel *_t = static_cast<RootModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->refreshed(); break;
        case 1: _t->systemFavoritesModelChanged(); break;
        case 2: _t->showAllSubtreeChanged(); break;
        case 3: _t->showRecentAppsChanged(); break;
        case 4: _t->showRecentDocsChanged(); break;
        case 5: _t->showRecentContactsChanged(); break;
        case 6: _t->recentAppsModelChanged(); break;
        case 7: _t->refresh(); 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;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (RootModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RootModel::refreshed)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (RootModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RootModel::systemFavoritesModelChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (RootModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RootModel::showAllSubtreeChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (RootModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RootModel::showRecentAppsChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (RootModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RootModel::showRecentDocsChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (RootModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RootModel::showRecentContactsChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (RootModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&RootModel::recentAppsModelChanged)) {
                *result = 6;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        RootModel *_t = static_cast<RootModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QObject**>(_v) = _t->systemFavoritesModel(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->showAllSubtree(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->showRecentApps(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->showRecentDocs(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->showRecentContacts(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        RootModel *_t = static_cast<RootModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setShowAllSubtree(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setShowRecentApps(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setShowRecentDocs(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setShowRecentContacts(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject RootModel::staticMetaObject = {
    { &AppsModel::staticMetaObject, qt_meta_stringdata_RootModel.data,
      qt_meta_data_RootModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

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

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

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

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

// SIGNAL 5
void RootModel::showRecentContactsChanged()const
{
    QMetaObject::activate(const_cast< RootModel *>(this), &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void RootModel::recentAppsModelChanged()const
{
    QMetaObject::activate(const_cast< RootModel *>(this), &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
