/****************************************************************************
** Meta object code from reading C++ file 'abstractmodel.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/abstractmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'abstractmodel.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_AbstractModel_t {
    QByteArrayData data[22];
    char stringdata0[259];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_AbstractModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_AbstractModel_t qt_meta_stringdata_AbstractModel = {
    {
QT_MOC_LITERAL(0, 0, 13), // "AbstractModel"
QT_MOC_LITERAL(1, 14, 18), // "descriptionChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 12), // "countChanged"
QT_MOC_LITERAL(4, 47, 21), // "separatorCountChanged"
QT_MOC_LITERAL(5, 69, 15), // "iconSizeChanged"
QT_MOC_LITERAL(6, 85, 21), // "favoritesModelChanged"
QT_MOC_LITERAL(7, 107, 7), // "trigger"
QT_MOC_LITERAL(8, 115, 3), // "row"
QT_MOC_LITERAL(9, 119, 8), // "actionId"
QT_MOC_LITERAL(10, 128, 8), // "argument"
QT_MOC_LITERAL(11, 137, 7), // "refresh"
QT_MOC_LITERAL(12, 145, 11), // "labelForRow"
QT_MOC_LITERAL(13, 157, 11), // "modelForRow"
QT_MOC_LITERAL(14, 169, 14), // "AbstractModel*"
QT_MOC_LITERAL(15, 184, 11), // "rowForModel"
QT_MOC_LITERAL(16, 196, 5), // "model"
QT_MOC_LITERAL(17, 202, 11), // "description"
QT_MOC_LITERAL(18, 214, 5), // "count"
QT_MOC_LITERAL(19, 220, 14), // "separatorCount"
QT_MOC_LITERAL(20, 235, 8), // "iconSize"
QT_MOC_LITERAL(21, 244, 14) // "favoritesModel"

    },
    "AbstractModel\0descriptionChanged\0\0"
    "countChanged\0separatorCountChanged\0"
    "iconSizeChanged\0favoritesModelChanged\0"
    "trigger\0row\0actionId\0argument\0refresh\0"
    "labelForRow\0modelForRow\0AbstractModel*\0"
    "rowForModel\0model\0description\0count\0"
    "separatorCount\0iconSize\0favoritesModel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_AbstractModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    0,   65,    2, 0x06 /* Public */,
       4,    0,   66,    2, 0x06 /* Public */,
       5,    0,   67,    2, 0x06 /* Public */,
       6,    0,   68,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       7,    3,   69,    2, 0x02 /* Public */,
      11,    0,   76,    2, 0x02 /* Public */,
      12,    1,   77,    2, 0x02 /* Public */,
      13,    1,   80,    2, 0x02 /* Public */,
      15,    1,   83,    2, 0x02 /* Public */,

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

 // methods: parameters
    QMetaType::Bool, QMetaType::Int, QMetaType::QString, QMetaType::QVariant,    8,    9,   10,
    QMetaType::Void,
    QMetaType::QString, QMetaType::Int,    8,
    0x80000000 | 14, QMetaType::Int,    8,
    QMetaType::Int, 0x80000000 | 14,   16,

 // properties: name, type, flags
      17, QMetaType::QString, 0x00495001,
      18, QMetaType::Int, 0x00495001,
      19, QMetaType::Int, 0x00495001,
      20, QMetaType::Int, 0x00495103,
      21, 0x80000000 | 14, 0x0049510b,

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

       0        // eod
};

void AbstractModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        AbstractModel *_t = static_cast<AbstractModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->descriptionChanged(); break;
        case 1: _t->countChanged(); break;
        case 2: _t->separatorCountChanged(); break;
        case 3: _t->iconSizeChanged(); break;
        case 4: _t->favoritesModelChanged(); break;
        case 5: { 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 6: _t->refresh(); break;
        case 7: { QString _r = _t->labelForRow((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 8: { AbstractModel* _r = _t->modelForRow((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< AbstractModel**>(_a[0]) = std::move(_r); }  break;
        case 9: { 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 9:
            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 (AbstractModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractModel::descriptionChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (AbstractModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractModel::countChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (AbstractModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractModel::separatorCountChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (AbstractModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractModel::iconSizeChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (AbstractModel::*_t)() const;
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&AbstractModel::favoritesModelChanged)) {
                *result = 4;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< AbstractModel* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        AbstractModel *_t = static_cast<AbstractModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->description(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->count(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->separatorCount(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->iconSize(); break;
        case 4: *reinterpret_cast< AbstractModel**>(_v) = _t->favoritesModel(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        AbstractModel *_t = static_cast<AbstractModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 3: _t->setIconSize(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setFavoritesModel(*reinterpret_cast< AbstractModel**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject AbstractModel::staticMetaObject = {
    { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_AbstractModel.data,
      qt_meta_data_AbstractModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int AbstractModel::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
#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 AbstractModel::descriptionChanged()const
{
    QMetaObject::activate(const_cast< AbstractModel *>(this), &staticMetaObject, 0, nullptr);
}

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

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

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

// SIGNAL 4
void AbstractModel::favoritesModelChanged()const
{
    QMetaObject::activate(const_cast< AbstractModel *>(this), &staticMetaObject, 4, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
