/****************************************************************************
** Meta object code from reading C++ file 'complete_machine_test.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 "test/complete_machine_test.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'complete_machine_test.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_test__CompleteMachineTest_t {
    QByteArrayData data[16];
    char stringdata0[195];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_fault_diagnosis_test__CompleteMachineTest_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_fault_diagnosis_test__CompleteMachineTest_t qt_meta_stringdata_fault_diagnosis_test__CompleteMachineTest = {
    {
QT_MOC_LITERAL(0, 0, 41), // "fault_diagnosis_test::Complet..."
QT_MOC_LITERAL(1, 42, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 58, 18), // "com.kylin.kydoctor"
QT_MOC_LITERAL(3, 77, 8), // "SigFixed"
QT_MOC_LITERAL(4, 86, 0), // ""
QT_MOC_LITERAL(5, 87, 10), // "error_code"
QT_MOC_LITERAL(6, 98, 2), // "ok"
QT_MOC_LITERAL(7, 101, 6), // "reason"
QT_MOC_LITERAL(8, 108, 14), // "SignalProgress"
QT_MOC_LITERAL(9, 123, 10), // "entry_mark"
QT_MOC_LITERAL(10, 134, 8), // "progress"
QT_MOC_LITERAL(11, 143, 12), // "GetCheckList"
QT_MOC_LITERAL(12, 156, 9), // "CheckItem"
QT_MOC_LITERAL(13, 166, 4), // "mark"
QT_MOC_LITERAL(14, 171, 10), // "RepairItem"
QT_MOC_LITERAL(15, 182, 12) // "repair_items"

    },
    "fault_diagnosis_test::CompleteMachineTest\0"
    "D-Bus Interface\0com.kylin.kydoctor\0"
    "SigFixed\0\0error_code\0ok\0reason\0"
    "SignalProgress\0entry_mark\0progress\0"
    "GetCheckList\0CheckItem\0mark\0RepairItem\0"
    "repair_items"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_fault_diagnosis_test__CompleteMachineTest[] = {

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

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    3,   41,    4, 0x06 /* Public */,
       8,    2,   48,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    0,   53,    4, 0x0a /* Public */,
      12,    1,   54,    4, 0x0a /* Public */,
      14,    1,   57,    4, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::LongLong, QMetaType::Bool, QMetaType::QString,    5,    6,    7,
    QMetaType::Void, QMetaType::LongLong, QMetaType::Int,    9,   10,

 // slots: parameters
    QMetaType::QString,
    QMetaType::QString, QMetaType::LongLong,   13,
    QMetaType::Bool, QMetaType::QString,   15,

       0        // eod
};

void fault_diagnosis_test::CompleteMachineTest::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<CompleteMachineTest *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->SigFixed((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])),(*reinterpret_cast< QString(*)>(_a[3]))); break;
        case 1: _t->SignalProgress((*reinterpret_cast< qint64(*)>(_a[1])),(*reinterpret_cast< qint32(*)>(_a[2]))); break;
        case 2: { QString _r = _t->GetCheckList();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 3: { QString _r = _t->CheckItem((*reinterpret_cast< qint64(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 4: { bool _r = _t->RepairItem((*reinterpret_cast< QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (CompleteMachineTest::*)(qint64 , bool , QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompleteMachineTest::SigFixed)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (CompleteMachineTest::*)(qint64 , qint32 );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&CompleteMachineTest::SignalProgress)) {
                *result = 1;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject fault_diagnosis_test::CompleteMachineTest::staticMetaObject = { {
    &QDBusAbstractAdaptor::staticMetaObject,
    qt_meta_stringdata_fault_diagnosis_test__CompleteMachineTest.data,
    qt_meta_data_fault_diagnosis_test__CompleteMachineTest,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *fault_diagnosis_test::CompleteMachineTest::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_fault_diagnosis_test__CompleteMachineTest.stringdata0))
        return static_cast<void*>(this);
    return QDBusAbstractAdaptor::qt_metacast(_clname);
}

int fault_diagnosis_test::CompleteMachineTest::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusAbstractAdaptor::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;
}

// SIGNAL 0
void fault_diagnosis_test::CompleteMachineTest::SigFixed(qint64 _t1, bool _t2, QString _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void fault_diagnosis_test::CompleteMachineTest::SignalProgress(qint64 _t1, qint32 _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
