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

#include <memory>
#include "DebugEngine.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'DebugEngine.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_DebugModel_t {
    QByteArrayData data[3];
    char stringdata0[26];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DebugModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DebugModel_t qt_meta_stringdata_DebugModel = {
    {
QT_MOC_LITERAL(0, 0, 10), // "DebugModel"
QT_MOC_LITERAL(1, 11, 13), // "updateDisplay"
QT_MOC_LITERAL(2, 25, 0) // ""

    },
    "DebugModel\0updateDisplay\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DebugModel[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void DebugModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DebugModel *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->updateDisplay(); break;
        default: ;
        }
    }
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject DebugModel::staticMetaObject = { {
    QMetaObject::SuperData::link<QAbstractTableModel::staticMetaObject>(),
    qt_meta_stringdata_DebugModel.data,
    qt_meta_data_DebugModel,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int DebugModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractTableModel::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;
}
struct qt_meta_stringdata_DebugEngine_t {
    QByteArrayData data[12];
    char stringdata0[117];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_DebugEngine_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_DebugEngine_t qt_meta_stringdata_DebugEngine = {
    {
QT_MOC_LITERAL(0, 0, 11), // "DebugEngine"
QT_MOC_LITERAL(1, 12, 13), // "saveBugReport"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 19), // "addDebugInformation"
QT_MOC_LITERAL(4, 47, 17), // "DebugLevel_custom"
QT_MOC_LITERAL(5, 65, 5), // "level"
QT_MOC_LITERAL(6, 71, 11), // "std::string"
QT_MOC_LITERAL(7, 83, 8), // "fonction"
QT_MOC_LITERAL(8, 92, 4), // "text"
QT_MOC_LITERAL(9, 97, 4), // "file"
QT_MOC_LITERAL(10, 102, 5), // "ligne"
QT_MOC_LITERAL(11, 108, 8) // "location"

    },
    "DebugEngine\0saveBugReport\0\0"
    "addDebugInformation\0DebugLevel_custom\0"
    "level\0std::string\0fonction\0text\0file\0"
    "ligne\0location"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_DebugEngine[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   39,    2, 0x0a /* Public */,
       3,    6,   40,    2, 0x0a /* Public */,
       3,    5,   53,    2, 0x2a /* Public | MethodCloned */,
       3,    4,   64,    2, 0x2a /* Public | MethodCloned */,
       3,    3,   73,    2, 0x2a /* Public | MethodCloned */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 6, 0x80000000 | 6, 0x80000000 | 6, QMetaType::Int, 0x80000000 | 6,    5,    7,    8,    9,   10,   11,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 6, 0x80000000 | 6, 0x80000000 | 6, QMetaType::Int,    5,    7,    8,    9,   10,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 6, 0x80000000 | 6, 0x80000000 | 6,    5,    7,    8,    9,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 6, 0x80000000 | 6,    5,    7,    8,

       0        // eod
};

void DebugEngine::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<DebugEngine *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->saveBugReport(); break;
        case 1: _t->addDebugInformation((*reinterpret_cast< const DebugLevel_custom(*)>(_a[1])),(*reinterpret_cast< const std::string(*)>(_a[2])),(*reinterpret_cast< const std::string(*)>(_a[3])),(*reinterpret_cast< std::string(*)>(_a[4])),(*reinterpret_cast< const int(*)>(_a[5])),(*reinterpret_cast< const std::string(*)>(_a[6]))); break;
        case 2: _t->addDebugInformation((*reinterpret_cast< const DebugLevel_custom(*)>(_a[1])),(*reinterpret_cast< const std::string(*)>(_a[2])),(*reinterpret_cast< const std::string(*)>(_a[3])),(*reinterpret_cast< std::string(*)>(_a[4])),(*reinterpret_cast< const int(*)>(_a[5]))); break;
        case 3: _t->addDebugInformation((*reinterpret_cast< const DebugLevel_custom(*)>(_a[1])),(*reinterpret_cast< const std::string(*)>(_a[2])),(*reinterpret_cast< const std::string(*)>(_a[3])),(*reinterpret_cast< std::string(*)>(_a[4]))); break;
        case 4: _t->addDebugInformation((*reinterpret_cast< const DebugLevel_custom(*)>(_a[1])),(*reinterpret_cast< const std::string(*)>(_a[2])),(*reinterpret_cast< const std::string(*)>(_a[3]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject DebugEngine::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_DebugEngine.data,
    qt_meta_data_DebugEngine,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int DebugEngine::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 < 5)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 5;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 5)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 5;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
