/****************************************************************************
** 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[24];
    char stringdata0[250];
};
#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"
QT_MOC_LITERAL(21, 229, 10), // "updateFile"
QT_MOC_LITERAL(22, 240, 4), // "flag"
QT_MOC_LITERAL(23, 245, 4) // "file"

    },
    "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\0updateFile\0"
    "flag\0file"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Agent[] = {

 // content:
       8,       // revision
       0,       // classname
       1,   14, // classinfo
      10,   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,   66,    4, 0x0a /* Public */,
       5,    5,   67,    4, 0x0a /* Public */,
      11,    2,   78,    4, 0x0a /* Public */,
      14,    1,   83,    4, 0x0a /* Public */,
      15,    1,   86,    4, 0x0a /* Public */,
      16,    1,   89,    4, 0x0a /* Public */,
      17,    2,   92,    4, 0x0a /* Public */,
      19,    2,   97,    4, 0x0a /* Public */,
      20,    0,  102,    4, 0x0a /* Public */,
      21,    2,  103,    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,
    QMetaType::Bool, QMetaType::Bool, QMetaType::QString,   22,   23,

       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;
        case 9: { bool _r = _t->updateFile((*reinterpret_cast< bool(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
