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

#include "../agent.hpp"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'agent.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.12.8. 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_Agent_t {
    QByteArrayData data[21];
    char stringdata0[229];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Agent_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Agent_t qt_meta_stringdata_Agent = {
    {
QT_MOC_LITERAL(0, 0, 5), // "Agent"
QT_MOC_LITERAL(1, 6, 15), // "D-Bus Interface"
QT_MOC_LITERAL(2, 22, 21), // "com.kylin.dockerAgent"
QT_MOC_LITERAL(3, 44, 15), // "dockerAgentTest"
QT_MOC_LITERAL(4, 60, 0), // ""
QT_MOC_LITERAL(5, 61, 17), // "dockerAgentCreate"
QT_MOC_LITERAL(6, 79, 3), // "uid"
QT_MOC_LITERAL(7, 83, 4), // "name"
QT_MOC_LITERAL(8, 88, 3), // "env"
QT_MOC_LITERAL(9, 92, 9), // "sharedDir"
QT_MOC_LITERAL(10, 102, 5), // "image"
QT_MOC_LITERAL(11, 108, 13), // "dockerAgentCp"
QT_MOC_LITERAL(12, 122, 3), // "src"
QT_MOC_LITERAL(13, 126, 3), // "des"
QT_MOC_LITERAL(14, 130, 18), // "dockerAgentInspect"
QT_MOC_LITERAL(15, 149, 13), // "dockerAgentRm"
QT_MOC_LITERAL(16, 163, 16), // "dockerAgentStart"
QT_MOC_LITERAL(17, 180, 15), // "dockerAgentExec"
QT_MOC_LITERAL(18, 196, 3), // "cmd"
QT_MOC_LITERAL(19, 200, 14), // "dockerAgentRun"
QT_MOC_LITERAL(20, 215, 13) // "dockerAgentPs"

    },
    "Agent\0D-Bus Interface\0com.kylin.dockerAgent\0"
    "dockerAgentTest\0\0dockerAgentCreate\0"
    "uid\0name\0env\0sharedDir\0image\0dockerAgentCp\0"
    "src\0des\0dockerAgentInspect\0dockerAgentRm\0"
    "dockerAgentStart\0dockerAgentExec\0cmd\0"
    "dockerAgentRun\0dockerAgentPs"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Agent[] = {

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

 // classinfo: key, value
       1,    2,

 // slots: name, argc, parameters, tag, flags
       3,    0,   61,    4, 0x0a /* Public */,
       5,    5,   62,    4, 0x0a /* Public */,
      11,    2,   73,    4, 0x0a /* Public */,
      14,    1,   78,    4, 0x0a /* Public */,
      15,    1,   81,    4, 0x0a /* Public */,
      16,    1,   84,    4, 0x0a /* Public */,
      17,    2,   87,    4, 0x0a /* Public */,
      19,    2,   92,    4, 0x0a /* Public */,
      20,    0,   97,    4, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Int,
    QMetaType::Int, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString, QMetaType::QString,    6,    7,    8,    9,   10,
    QMetaType::Int, QMetaType::QString, QMetaType::QString,   12,   13,
    QMetaType::Int, QMetaType::QString,    7,
    QMetaType::Int, QMetaType::QString,    7,
    QMetaType::Int, QMetaType::QString,    7,
    QMetaType::Int, QMetaType::QString, QMetaType::QString,    7,   18,
    QMetaType::Int, QMetaType::QString, QMetaType::QString,    7,   18,
    QMetaType::QString,

       0        // eod
};

void Agent::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Agent *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { int _r = _t->dockerAgentTest();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 1: { int _r = _t->dockerAgentCreate((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4])),(*reinterpret_cast< const QString(*)>(_a[5])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 2: { int _r = _t->dockerAgentCp((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 3: { int _r = _t->dockerAgentInspect((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 4: { int _r = _t->dockerAgentRm((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 5: { int _r = _t->dockerAgentStart((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 6: { int _r = _t->dockerAgentExec((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 7: { int _r = _t->dockerAgentRun((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 8: { QString _r = _t->dockerAgentPs();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject Agent::staticMetaObject = { {
    &QObject::staticMetaObject,
    qt_meta_stringdata_Agent.data,
    qt_meta_data_Agent,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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