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

#include "../../../../ksysguard6/processui/ProcessModel_p.h"
#include <QtCore/qmetatype.h>

#include <QtCore/qtmochelpers.h>

#include <memory>


#include <QtCore/qxptype_traits.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ProcessModel_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 69
#error "This file was generated using the moc from 6.11.0. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

#ifndef Q_CONSTINIT
#define Q_CONSTINIT
#endif

QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
QT_WARNING_DISABLE_GCC("-Wuseless-cast")
namespace {
struct qt_meta_tag_ZN19ProcessModelPrivateE_t {};
} // unnamed namespace

template <> constexpr inline auto ProcessModelPrivate::qt_create_metaobjectdata<qt_meta_tag_ZN19ProcessModelPrivateE_t>()
{
    namespace QMC = QtMocConstants;
    QtMocHelpers::StringRefStorage qt_stringData {
        "ProcessModelPrivate",
        "windowChanged",
        "",
        "WId",
        "wid",
        "NET::Properties",
        "properties",
        "NET::Properties2",
        "properties2",
        "windowAdded",
        "windowRemoved",
        "processChanged",
        "KSysGuard::Process*",
        "process",
        "onlyCpuOrMem",
        "beginInsertRow",
        "parent",
        "endInsertRow",
        "beginRemoveRow",
        "endRemoveRow",
        "beginMoveProcess",
        "new_parent",
        "endMoveRow"
    };

    QtMocHelpers::UintData qt_methods {
        // Slot 'windowChanged'
        QtMocHelpers::SlotData<void(WId, NET::Properties, NET::Properties2)>(1, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 }, { 0x80000000 | 5, 6 }, { 0x80000000 | 7, 8 },
        }}),
        // Slot 'windowAdded'
        QtMocHelpers::SlotData<void(WId)>(9, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'windowRemoved'
        QtMocHelpers::SlotData<void(WId)>(10, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 3, 4 },
        }}),
        // Slot 'processChanged'
        QtMocHelpers::SlotData<void(KSysGuard::Process *, bool)>(11, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 }, { QMetaType::Bool, 14 },
        }}),
        // Slot 'beginInsertRow'
        QtMocHelpers::SlotData<void(KSysGuard::Process *)>(15, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 16 },
        }}),
        // Slot 'endInsertRow'
        QtMocHelpers::SlotData<void()>(17, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'beginRemoveRow'
        QtMocHelpers::SlotData<void(KSysGuard::Process *)>(18, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 },
        }}),
        // Slot 'endRemoveRow'
        QtMocHelpers::SlotData<void()>(19, 2, QMC::AccessPublic, QMetaType::Void),
        // Slot 'beginMoveProcess'
        QtMocHelpers::SlotData<void(KSysGuard::Process *, KSysGuard::Process *)>(20, 2, QMC::AccessPublic, QMetaType::Void, {{
            { 0x80000000 | 12, 13 }, { 0x80000000 | 12, 21 },
        }}),
        // Slot 'endMoveRow'
        QtMocHelpers::SlotData<void()>(22, 2, QMC::AccessPublic, QMetaType::Void),
    };
    QtMocHelpers::UintData qt_properties {
    };
    QtMocHelpers::UintData qt_enums {
    };
    return QtMocHelpers::metaObjectData<ProcessModelPrivate, qt_meta_tag_ZN19ProcessModelPrivateE_t>(QMC::MetaObjectFlag{}, qt_stringData,
            qt_methods, qt_properties, qt_enums);
}
Q_CONSTINIT const QMetaObject ProcessModelPrivate::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19ProcessModelPrivateE_t>.stringdata,
    qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19ProcessModelPrivateE_t>.data,
    qt_static_metacall,
    nullptr,
    qt_staticMetaObjectRelocatingContent<qt_meta_tag_ZN19ProcessModelPrivateE_t>.metaTypes,
    nullptr
} };

void ProcessModelPrivate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    auto *_t = static_cast<ProcessModelPrivate *>(_o);
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: _t->windowChanged((*reinterpret_cast<std::add_pointer_t<WId>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<NET::Properties>>(_a[2])),(*reinterpret_cast<std::add_pointer_t<NET::Properties2>>(_a[3]))); break;
        case 1: _t->windowAdded((*reinterpret_cast<std::add_pointer_t<WId>>(_a[1]))); break;
        case 2: _t->windowRemoved((*reinterpret_cast<std::add_pointer_t<WId>>(_a[1]))); break;
        case 3: _t->processChanged((*reinterpret_cast<std::add_pointer_t<KSysGuard::Process*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<bool>>(_a[2]))); break;
        case 4: _t->beginInsertRow((*reinterpret_cast<std::add_pointer_t<KSysGuard::Process*>>(_a[1]))); break;
        case 5: _t->endInsertRow(); break;
        case 6: _t->beginRemoveRow((*reinterpret_cast<std::add_pointer_t<KSysGuard::Process*>>(_a[1]))); break;
        case 7: _t->endRemoveRow(); break;
        case 8: _t->beginMoveProcess((*reinterpret_cast<std::add_pointer_t<KSysGuard::Process*>>(_a[1])),(*reinterpret_cast<std::add_pointer_t<KSysGuard::Process*>>(_a[2]))); break;
        case 9: _t->endMoveRow(); break;
        default: ;
        }
    }
}

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

void *ProcessModelPrivate::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_staticMetaObjectStaticContent<qt_meta_tag_ZN19ProcessModelPrivateE_t>.strings))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int ProcessModelPrivate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::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;
    }
    if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<QMetaType *>(_a[0]) = QMetaType();
        _id -= 10;
    }
    return _id;
}
QT_WARNING_POP
