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

#include <memory>
#include "../../src/pacmanexec.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'pacmanexec.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.2. 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_PacmanExec_t {
    QByteArrayData data[18];
    char stringdata0[230];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_PacmanExec_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_PacmanExec_t qt_meta_stringdata_PacmanExec = {
    {
QT_MOC_LITERAL(0, 0, 10), // "PacmanExec"
QT_MOC_LITERAL(1, 11, 10), // "percentage"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 7), // "started"
QT_MOC_LITERAL(4, 31, 10), // "readOutput"
QT_MOC_LITERAL(5, 42, 15), // "readOutputError"
QT_MOC_LITERAL(6, 58, 8), // "finished"
QT_MOC_LITERAL(7, 67, 8), // "exitCode"
QT_MOC_LITERAL(8, 76, 20), // "QProcess::ExitStatus"
QT_MOC_LITERAL(9, 97, 14), // "textToPrintExt"
QT_MOC_LITERAL(10, 112, 13), // "m_textToPrint"
QT_MOC_LITERAL(11, 126, 18), // "canStopTransaction"
QT_MOC_LITERAL(12, 145, 5), // "yesNo"
QT_MOC_LITERAL(13, 151, 26), // "commandToExecInQTermWidget"
QT_MOC_LITERAL(14, 178, 9), // "onStarted"
QT_MOC_LITERAL(15, 188, 12), // "onReadOutput"
QT_MOC_LITERAL(16, 201, 17), // "onReadOutputError"
QT_MOC_LITERAL(17, 219, 10) // "onFinished"

    },
    "PacmanExec\0percentage\0\0started\0"
    "readOutput\0readOutputError\0finished\0"
    "exitCode\0QProcess::ExitStatus\0"
    "textToPrintExt\0m_textToPrint\0"
    "canStopTransaction\0yesNo\0"
    "commandToExecInQTermWidget\0onStarted\0"
    "onReadOutput\0onReadOutputError\0"
    "onFinished"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_PacmanExec[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       3,    0,   77,    2, 0x06 /* Public */,
       4,    0,   78,    2, 0x06 /* Public */,
       5,    0,   79,    2, 0x06 /* Public */,
       6,    2,   80,    2, 0x06 /* Public */,
       9,    1,   85,    2, 0x06 /* Public */,
      11,    1,   88,    2, 0x06 /* Public */,
      13,    1,   91,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    0,   94,    2, 0x08 /* Private */,
      15,    0,   95,    2, 0x08 /* Private */,
      16,    0,   96,    2, 0x08 /* Private */,
      17,    2,   97,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 8,    7,    2,
    QMetaType::Void, QMetaType::QString,   10,
    QMetaType::Void, QMetaType::Bool,   12,
    QMetaType::Void, QMetaType::QString,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 8,    7,    2,

       0        // eod
};

void PacmanExec::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<PacmanExec *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->percentage((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->started(); break;
        case 2: _t->readOutput(); break;
        case 3: _t->readOutputError(); break;
        case 4: _t->finished((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QProcess::ExitStatus(*)>(_a[2]))); break;
        case 5: _t->textToPrintExt((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 6: _t->canStopTransaction((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->commandToExecInQTermWidget((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 8: _t->onStarted(); break;
        case 9: _t->onReadOutput(); break;
        case 10: _t->onReadOutputError(); break;
        case 11: _t->onFinished((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< QProcess::ExitStatus(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (PacmanExec::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PacmanExec::percentage)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (PacmanExec::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PacmanExec::started)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (PacmanExec::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PacmanExec::readOutput)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (PacmanExec::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PacmanExec::readOutputError)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (PacmanExec::*)(int , QProcess::ExitStatus );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PacmanExec::finished)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (PacmanExec::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PacmanExec::textToPrintExt)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (PacmanExec::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PacmanExec::canStopTransaction)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (PacmanExec::*)(QString );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PacmanExec::commandToExecInQTermWidget)) {
                *result = 7;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject PacmanExec::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_PacmanExec.data,
    qt_meta_data_PacmanExec,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void PacmanExec::percentage(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void PacmanExec::started()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void PacmanExec::readOutput()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void PacmanExec::readOutputError()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void PacmanExec::finished(int _t1, QProcess::ExitStatus _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void PacmanExec::textToPrintExt(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void PacmanExec::canStopTransaction(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void PacmanExec::commandToExecInQTermWidget(QString _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
