/****************************************************************************
** Meta object code from reading C++ file 'computermodel.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-desktop-5.8.9/applets/kicker/plugin/computermodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'computermodel.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_FilteredPlacesModel_t {
    QByteArrayData data[1];
    char stringdata0[20];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FilteredPlacesModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FilteredPlacesModel_t qt_meta_stringdata_FilteredPlacesModel = {
    {
QT_MOC_LITERAL(0, 0, 19) // "FilteredPlacesModel"

    },
    "FilteredPlacesModel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FilteredPlacesModel[] = {

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

       0        // eod
};

void FilteredPlacesModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject FilteredPlacesModel::staticMetaObject = {
    { &QSortFilterProxyModel::staticMetaObject, qt_meta_stringdata_FilteredPlacesModel.data,
      qt_meta_data_FilteredPlacesModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int FilteredPlacesModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSortFilterProxyModel::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_ComputerModel_t {
    QByteArrayData data[17];
    char stringdata0[213];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ComputerModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ComputerModel_t qt_meta_stringdata_ComputerModel = {
    {
QT_MOC_LITERAL(0, 0, 13), // "ComputerModel"
QT_MOC_LITERAL(1, 14, 20), // "appNameFormatChanged"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 22), // "appletInterfaceChanged"
QT_MOC_LITERAL(4, 59, 25), // "systemApplicationsChanged"
QT_MOC_LITERAL(5, 85, 11), // "onSetupDone"
QT_MOC_LITERAL(6, 97, 16), // "Solid::ErrorType"
QT_MOC_LITERAL(7, 114, 5), // "error"
QT_MOC_LITERAL(8, 120, 9), // "errorData"
QT_MOC_LITERAL(9, 130, 3), // "udi"
QT_MOC_LITERAL(10, 134, 7), // "trigger"
QT_MOC_LITERAL(11, 142, 3), // "row"
QT_MOC_LITERAL(12, 146, 8), // "actionId"
QT_MOC_LITERAL(13, 155, 8), // "argument"
QT_MOC_LITERAL(14, 164, 13), // "appNameFormat"
QT_MOC_LITERAL(15, 178, 15), // "appletInterface"
QT_MOC_LITERAL(16, 194, 18) // "systemApplications"

    },
    "ComputerModel\0appNameFormatChanged\0\0"
    "appletInterfaceChanged\0systemApplicationsChanged\0"
    "onSetupDone\0Solid::ErrorType\0error\0"
    "errorData\0udi\0trigger\0row\0actionId\0"
    "argument\0appNameFormat\0appletInterface\0"
    "systemApplications"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ComputerModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   39,    2, 0x06 /* Public */,
       3,    0,   40,    2, 0x06 /* Public */,
       4,    0,   41,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    3,   42,    2, 0x08 /* Private */,

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

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 6, QMetaType::QVariant, QMetaType::QString,    7,    8,    9,

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

 // properties: name, type, flags
      14, QMetaType::Int, 0x00495103,
      15, QMetaType::QObjectStar, 0x00495103,
      16, QMetaType::QStringList, 0x00495103,

 // properties: notify_signal_id
       0,
       1,
       2,

       0        // eod
};

void ComputerModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ComputerModel *_t = static_cast<ComputerModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->appNameFormatChanged(); break;
        case 1: _t->appletInterfaceChanged(); break;
        case 2: _t->systemApplicationsChanged(); break;
        case 3: _t->onSetupDone((*reinterpret_cast< Solid::ErrorType(*)>(_a[1])),(*reinterpret_cast< QVariant(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 4: { 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::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Solid::ErrorType >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (ComputerModel::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ComputerModel::appNameFormatChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ComputerModel::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ComputerModel::appletInterfaceChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (ComputerModel::*_t)() const;
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&ComputerModel::systemApplicationsChanged)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        ComputerModel *_t = static_cast<ComputerModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->appNameFormat(); break;
        case 1: *reinterpret_cast< QObject**>(_v) = _t->appletInterface(); break;
        case 2: *reinterpret_cast< QStringList*>(_v) = _t->systemApplications(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        ComputerModel *_t = static_cast<ComputerModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setAppNameFormat(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setAppletInterface(*reinterpret_cast< QObject**>(_v)); break;
        case 2: _t->setSystemApplications(*reinterpret_cast< QStringList*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject ComputerModel::staticMetaObject = {
    { &ForwardingModel::staticMetaObject, qt_meta_stringdata_ComputerModel.data,
      qt_meta_data_ComputerModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

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

// SIGNAL 2
void ComputerModel::systemApplicationsChanged()const
{
    QMetaObject::activate(const_cast< ComputerModel *>(this), &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
