/****************************************************************************
** Meta object code from reading C++ file 'termwidget.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/termwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'termwidget.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_TermWidget_t {
    QByteArrayData data[16];
    char stringdata0[167];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TermWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TermWidget_t qt_meta_stringdata_TermWidget = {
    {
QT_MOC_LITERAL(0, 0, 10), // "TermWidget"
QT_MOC_LITERAL(1, 11, 23), // "onPressAnyKeyToContinue"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 18), // "onCancelControlKey"
QT_MOC_LITERAL(4, 55, 9), // "onKeyQuit"
QT_MOC_LITERAL(5, 65, 8), // "onKeyF11"
QT_MOC_LITERAL(6, 74, 11), // "parseOutput"
QT_MOC_LITERAL(7, 86, 3), // "str"
QT_MOC_LITERAL(8, 90, 12), // "onKeyPressed"
QT_MOC_LITERAL(9, 103, 10), // "QKeyEvent*"
QT_MOC_LITERAL(10, 114, 2), // "ke"
QT_MOC_LITERAL(11, 117, 15), // "execContextMenu"
QT_MOC_LITERAL(12, 133, 6), // "onCopy"
QT_MOC_LITERAL(13, 140, 7), // "onPaste"
QT_MOC_LITERAL(14, 148, 8), // "onZoomIn"
QT_MOC_LITERAL(15, 157, 9) // "onZoomOut"

    },
    "TermWidget\0onPressAnyKeyToContinue\0\0"
    "onCancelControlKey\0onKeyQuit\0onKeyF11\0"
    "parseOutput\0str\0onKeyPressed\0QKeyEvent*\0"
    "ke\0execContextMenu\0onCopy\0onPaste\0"
    "onZoomIn\0onZoomOut"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TermWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    0,   70,    2, 0x06 /* Public */,
       4,    0,   71,    2, 0x06 /* Public */,
       5,    0,   72,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   73,    2, 0x08 /* Private */,
       8,    1,   76,    2, 0x08 /* Private */,
      11,    1,   79,    2, 0x08 /* Private */,
      12,    0,   82,    2, 0x08 /* Private */,
      13,    0,   83,    2, 0x08 /* Private */,
      14,    0,   84,    2, 0x08 /* Private */,
      15,    0,   85,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void, 0x80000000 | 9,   10,
    QMetaType::Void, QMetaType::QPoint,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void TermWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TermWidget *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->onPressAnyKeyToContinue(); break;
        case 1: _t->onCancelControlKey(); break;
        case 2: _t->onKeyQuit(); break;
        case 3: _t->onKeyF11(); break;
        case 4: _t->parseOutput((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 5: _t->onKeyPressed((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
        case 6: _t->execContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 7: _t->onCopy(); break;
        case 8: _t->onPaste(); break;
        case 9: _t->onZoomIn(); break;
        case 10: _t->onZoomOut(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (TermWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TermWidget::onPressAnyKeyToContinue)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (TermWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TermWidget::onCancelControlKey)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (TermWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TermWidget::onKeyQuit)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (TermWidget::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TermWidget::onKeyF11)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject TermWidget::staticMetaObject = { {
    QMetaObject::SuperData::link<QTermWidget::staticMetaObject>(),
    qt_meta_stringdata_TermWidget.data,
    qt_meta_data_TermWidget,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int TermWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTermWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
    return _id;
}

// SIGNAL 0
void TermWidget::onPressAnyKeyToContinue()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

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

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

// SIGNAL 3
void TermWidget::onKeyF11()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
