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

#include "../../../src/plasma-sdk-5.8.9/cuttlefish/src/iconmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'iconmodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_CuttleFish__IconModel_t {
    QByteArrayData data[19];
    char stringdata0[219];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_CuttleFish__IconModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_CuttleFish__IconModel_t qt_meta_stringdata_CuttleFish__IconModel = {
    {
QT_MOC_LITERAL(0, 0, 21), // "CuttleFish::IconModel"
QT_MOC_LITERAL(1, 22, 13), // "filterChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 15), // "categoryChanged"
QT_MOC_LITERAL(4, 53, 17), // "categoriesChanged"
QT_MOC_LITERAL(5, 71, 12), // "themeChanged"
QT_MOC_LITERAL(6, 84, 15), // "svgIconsChanged"
QT_MOC_LITERAL(7, 100, 18), // "plasmaThemeChanged"
QT_MOC_LITERAL(8, 119, 14), // "loadingChanged"
QT_MOC_LITERAL(9, 134, 6), // "output"
QT_MOC_LITERAL(10, 141, 4), // "text"
QT_MOC_LITERAL(11, 146, 6), // "filter"
QT_MOC_LITERAL(12, 153, 8), // "category"
QT_MOC_LITERAL(13, 162, 5), // "theme"
QT_MOC_LITERAL(14, 168, 6), // "themes"
QT_MOC_LITERAL(15, 175, 12), // "plasmathemes"
QT_MOC_LITERAL(16, 188, 10), // "categories"
QT_MOC_LITERAL(17, 199, 11), // "plasmaTheme"
QT_MOC_LITERAL(18, 211, 7) // "loading"

    },
    "CuttleFish::IconModel\0filterChanged\0"
    "\0categoryChanged\0categoriesChanged\0"
    "themeChanged\0svgIconsChanged\0"
    "plasmaThemeChanged\0loadingChanged\0"
    "output\0text\0filter\0category\0theme\0"
    "themes\0plasmathemes\0categories\0"
    "plasmaTheme\0loading"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_CuttleFish__IconModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    0,   55,    2, 0x06 /* Public */,
       4,    0,   56,    2, 0x06 /* Public */,
       5,    0,   57,    2, 0x06 /* Public */,
       6,    0,   58,    2, 0x06 /* Public */,
       7,    0,   59,    2, 0x06 /* Public */,
       8,    0,   60,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       9,    1,   61,    2, 0x02 /* Public */,

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

 // methods: parameters
    QMetaType::Void, QMetaType::QString,   10,

 // properties: name, type, flags
      11, QMetaType::QString, 0x00495103,
      12, QMetaType::QString, 0x00495103,
      13, QMetaType::QString, 0x00495103,
      14, QMetaType::QStringList, 0x00095401,
      15, QMetaType::QStringList, 0x00095401,
      16, QMetaType::QStringList, 0x00495001,
      17, QMetaType::QString, 0x00495103,
      18, QMetaType::Bool, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       3,
       0,
       0,
       2,
       5,
       6,

       0        // eod
};

void CuttleFish::IconModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        IconModel *_t = static_cast<IconModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->filterChanged(); break;
        case 1: _t->categoryChanged(); break;
        case 2: _t->categoriesChanged(); break;
        case 3: _t->themeChanged(); break;
        case 4: _t->svgIconsChanged(); break;
        case 5: _t->plasmaThemeChanged(); break;
        case 6: _t->loadingChanged(); break;
        case 7: _t->output((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (IconModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IconModel::filterChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (IconModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IconModel::categoryChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (IconModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IconModel::categoriesChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (IconModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IconModel::themeChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (IconModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IconModel::svgIconsChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (IconModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IconModel::plasmaThemeChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (IconModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&IconModel::loadingChanged)) {
                *result = 6;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        IconModel *_t = static_cast<IconModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->filter(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->category(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->theme(); break;
        case 3: *reinterpret_cast< QStringList*>(_v) = _t->themes(); break;
        case 4: *reinterpret_cast< QStringList*>(_v) = _t->plasmathemes(); break;
        case 5: *reinterpret_cast< QStringList*>(_v) = _t->categories(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->plasmaTheme(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->loading(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        IconModel *_t = static_cast<IconModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setFilter(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setCategory(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setTheme(*reinterpret_cast< QString*>(_v)); break;
        case 6: _t->setPlasmaTheme(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject CuttleFish::IconModel::staticMetaObject = {
    { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_CuttleFish__IconModel.data,
      qt_meta_data_CuttleFish__IconModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int CuttleFish::IconModel::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 < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
#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 -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void CuttleFish::IconModel::filterChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void CuttleFish::IconModel::categoryChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void CuttleFish::IconModel::categoriesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void CuttleFish::IconModel::themeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void CuttleFish::IconModel::svgIconsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void CuttleFish::IconModel::plasmaThemeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void CuttleFish::IconModel::loadingChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
