/****************************************************************************
** Meta object code from reading C++ file 'ProcessModel.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/libksysguard-5.8.9/processui/ProcessModel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ProcessModel.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_ProcessModel_t {
    QByteArrayData data[12];
    char stringdata0[111];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ProcessModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ProcessModel_t qt_meta_stringdata_ProcessModel = {
    {
QT_MOC_LITERAL(0, 0, 12), // "ProcessModel"
QT_MOC_LITERAL(1, 13, 13), // "setShowTotals"
QT_MOC_LITERAL(2, 27, 0), // ""
QT_MOC_LITERAL(3, 28, 10), // "showTotals"
QT_MOC_LITERAL(4, 39, 5), // "Units"
QT_MOC_LITERAL(5, 45, 9), // "UnitsAuto"
QT_MOC_LITERAL(6, 55, 7), // "UnitsKB"
QT_MOC_LITERAL(7, 63, 7), // "UnitsMB"
QT_MOC_LITERAL(8, 71, 7), // "UnitsGB"
QT_MOC_LITERAL(9, 79, 7), // "UnitsTB"
QT_MOC_LITERAL(10, 87, 7), // "UnitsPB"
QT_MOC_LITERAL(11, 95, 15) // "UnitsPercentage"

    },
    "ProcessModel\0setShowTotals\0\0showTotals\0"
    "Units\0UnitsAuto\0UnitsKB\0UnitsMB\0UnitsGB\0"
    "UnitsTB\0UnitsPB\0UnitsPercentage"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ProcessModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   19,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    3,

 // enums: name, flags, count, data
       4, 0x0,    7,   26,

 // enum data: key, value
       5, uint(ProcessModel::UnitsAuto),
       6, uint(ProcessModel::UnitsKB),
       7, uint(ProcessModel::UnitsMB),
       8, uint(ProcessModel::UnitsGB),
       9, uint(ProcessModel::UnitsTB),
      10, uint(ProcessModel::UnitsPB),
      11, uint(ProcessModel::UnitsPercentage),

       0        // eod
};

void ProcessModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ProcessModel *_t = static_cast<ProcessModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setShowTotals((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject ProcessModel::staticMetaObject = {
    { &QAbstractItemModel::staticMetaObject, qt_meta_stringdata_ProcessModel.data,
      qt_meta_data_ProcessModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int ProcessModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractItemModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
