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

#include "mainwindow.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'mainwindow.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.12. 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_fault_diagnosis__MainWindow_t {
    QByteArrayData data[31];
    char stringdata0[581];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_fault_diagnosis__MainWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_fault_diagnosis__MainWindow_t qt_meta_stringdata_fault_diagnosis__MainWindow = {
    {
QT_MOC_LITERAL(0, 0, 27), // "fault_diagnosis::MainWindow"
QT_MOC_LITERAL(1, 28, 19), // "sig_DiagnosticsList"
QT_MOC_LITERAL(2, 48, 0), // ""
QT_MOC_LITERAL(3, 49, 9), // "sig_Check"
QT_MOC_LITERAL(4, 59, 27), // "fault_diagnosis::CheckEntry"
QT_MOC_LITERAL(5, 87, 11), // "check_entry"
QT_MOC_LITERAL(6, 99, 10), // "sig_Repair"
QT_MOC_LITERAL(7, 110, 28), // "fault_diagnosis::RepairEntry"
QT_MOC_LITERAL(8, 139, 12), // "repair_entry"
QT_MOC_LITERAL(9, 152, 10), // "sig_Return"
QT_MOC_LITERAL(10, 163, 26), // "on_DiagnosticsListFinished"
QT_MOC_LITERAL(11, 190, 40), // "fault_diagnosis::CategoryDiag..."
QT_MOC_LITERAL(12, 231, 26), // "category_diagnostic_entrys"
QT_MOC_LITERAL(13, 258, 17), // "on_StartDiagnosis"
QT_MOC_LITERAL(14, 276, 16), // "on_CheckFinished"
QT_MOC_LITERAL(15, 293, 33), // "fault_diagnosis::CheckEntryRe..."
QT_MOC_LITERAL(16, 327, 18), // "check_entry_result"
QT_MOC_LITERAL(17, 346, 8), // "on_Fixed"
QT_MOC_LITERAL(18, 355, 14), // "diagnosis_mark"
QT_MOC_LITERAL(19, 370, 10), // "error_code"
QT_MOC_LITERAL(20, 381, 2), // "ok"
QT_MOC_LITERAL(21, 384, 6), // "reason"
QT_MOC_LITERAL(22, 391, 17), // "on_RepairFinished"
QT_MOC_LITERAL(23, 409, 34), // "fault_diagnosis::RepairEntryR..."
QT_MOC_LITERAL(24, 444, 19), // "repair_entry_result"
QT_MOC_LITERAL(25, 464, 11), // "on_Expanded"
QT_MOC_LITERAL(26, 476, 11), // "is_expanded"
QT_MOC_LITERAL(27, 488, 31), // "on_ErrorEntryWidgetSelectChange"
QT_MOC_LITERAL(28, 520, 35), // "on_DiagnosisEntryWidgetSelect..."
QT_MOC_LITERAL(29, 556, 14), // "on_StartRepair"
QT_MOC_LITERAL(30, 571, 9) // "on_Cancel"

    },
    "fault_diagnosis::MainWindow\0"
    "sig_DiagnosticsList\0\0sig_Check\0"
    "fault_diagnosis::CheckEntry\0check_entry\0"
    "sig_Repair\0fault_diagnosis::RepairEntry\0"
    "repair_entry\0sig_Return\0"
    "on_DiagnosticsListFinished\0"
    "fault_diagnosis::CategoryDiagnosticEntry\0"
    "category_diagnostic_entrys\0on_StartDiagnosis\0"
    "on_CheckFinished\0fault_diagnosis::CheckEntryResult\0"
    "check_entry_result\0on_Fixed\0diagnosis_mark\0"
    "error_code\0ok\0reason\0on_RepairFinished\0"
    "fault_diagnosis::RepairEntryResult\0"
    "repair_entry_result\0on_Expanded\0"
    "is_expanded\0on_ErrorEntryWidgetSelectChange\0"
    "on_DiagnosisEntryWidgetSelectChange\0"
    "on_StartRepair\0on_Cancel"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_fault_diagnosis__MainWindow[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   84,    2, 0x06 /* Public */,
       3,    1,   85,    2, 0x06 /* Public */,
       6,    1,   88,    2, 0x06 /* Public */,
       9,    0,   91,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    1,   92,    2, 0x0a /* Public */,
      13,    0,   95,    2, 0x0a /* Public */,
      14,    1,   96,    2, 0x0a /* Public */,
      17,    4,   99,    2, 0x0a /* Public */,
      22,    1,  108,    2, 0x0a /* Public */,
      25,    1,  111,    2, 0x08 /* Private */,
      27,    0,  114,    2, 0x08 /* Private */,
      28,    0,  115,    2, 0x08 /* Private */,
      29,    0,  116,    2, 0x08 /* Private */,
      30,    0,  117,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, 0x80000000 | 7,    8,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 11,   12,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void, QMetaType::QString, QMetaType::LongLong, QMetaType::Bool, QMetaType::QString,   18,   19,   20,   21,
    QMetaType::Void, 0x80000000 | 23,   24,
    QMetaType::Void, QMetaType::Bool,   26,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void fault_diagnosis::MainWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MainWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sig_DiagnosticsList(); break;
        case 1: _t->sig_Check((*reinterpret_cast< fault_diagnosis::CheckEntry(*)>(_a[1]))); break;
        case 2: _t->sig_Repair((*reinterpret_cast< fault_diagnosis::RepairEntry(*)>(_a[1]))); break;
        case 3: _t->sig_Return(); break;
        case 4: _t->on_DiagnosticsListFinished((*reinterpret_cast< fault_diagnosis::CategoryDiagnosticEntry(*)>(_a[1]))); break;
        case 5: _t->on_StartDiagnosis(); break;
        case 6: _t->on_CheckFinished((*reinterpret_cast< fault_diagnosis::CheckEntryResult(*)>(_a[1]))); break;
        case 7: _t->on_Fixed((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< qint64(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3])),(*reinterpret_cast< QString(*)>(_a[4]))); break;
        case 8: _t->on_RepairFinished((*reinterpret_cast< fault_diagnosis::RepairEntryResult(*)>(_a[1]))); break;
        case 9: _t->on_Expanded((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 10: _t->on_ErrorEntryWidgetSelectChange(); break;
        case 11: _t->on_DiagnosisEntryWidgetSelectChange(); break;
        case 12: _t->on_StartRepair(); break;
        case 13: _t->on_Cancel(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< fault_diagnosis::CheckEntry >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< fault_diagnosis::RepairEntry >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< fault_diagnosis::CategoryDiagnosticEntry >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< fault_diagnosis::CheckEntryResult >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< fault_diagnosis::RepairEntryResult >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (MainWindow::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sig_DiagnosticsList)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (MainWindow::*)(fault_diagnosis::CheckEntry );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sig_Check)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (MainWindow::*)(fault_diagnosis::RepairEntry );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sig_Repair)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (MainWindow::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MainWindow::sig_Return)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject fault_diagnosis::MainWindow::staticMetaObject = { {
    &QWidget::staticMetaObject,
    qt_meta_stringdata_fault_diagnosis__MainWindow.data,
    qt_meta_data_fault_diagnosis__MainWindow,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *fault_diagnosis::MainWindow::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_fault_diagnosis__MainWindow.stringdata0))
        return static_cast<void*>(this);
    return QWidget::qt_metacast(_clname);
}

int fault_diagnosis::MainWindow::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    return _id;
}

// SIGNAL 0
void fault_diagnosis::MainWindow::sig_DiagnosticsList()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void fault_diagnosis::MainWindow::sig_Check(fault_diagnosis::CheckEntry _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void fault_diagnosis::MainWindow::sig_Repair(fault_diagnosis::RepairEntry _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void fault_diagnosis::MainWindow::sig_Return()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
