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

#include "../../src/konsole-17.04.3/src/Vt102Emulation.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Vt102Emulation.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_Konsole__Vt102Emulation_t {
    QByteArrayData data[16];
    char stringdata0[160];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Konsole__Vt102Emulation_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Konsole__Vt102Emulation_t qt_meta_stringdata_Konsole__Vt102Emulation = {
    {
QT_MOC_LITERAL(0, 0, 23), // "Konsole::Vt102Emulation"
QT_MOC_LITERAL(1, 24, 10), // "sendString"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 6), // "string"
QT_MOC_LITERAL(4, 43, 8), // "sendText"
QT_MOC_LITERAL(5, 52, 4), // "text"
QT_MOC_LITERAL(6, 57, 12), // "sendKeyEvent"
QT_MOC_LITERAL(7, 70, 10), // "QKeyEvent*"
QT_MOC_LITERAL(8, 81, 14), // "sendMouseEvent"
QT_MOC_LITERAL(9, 96, 7), // "buttons"
QT_MOC_LITERAL(10, 104, 6), // "column"
QT_MOC_LITERAL(11, 111, 4), // "line"
QT_MOC_LITERAL(12, 116, 9), // "eventType"
QT_MOC_LITERAL(13, 126, 9), // "focusLost"
QT_MOC_LITERAL(14, 136, 11), // "focusGained"
QT_MOC_LITERAL(15, 148, 11) // "updateTitle"

    },
    "Konsole::Vt102Emulation\0sendString\0\0"
    "string\0sendText\0text\0sendKeyEvent\0"
    "QKeyEvent*\0sendMouseEvent\0buttons\0"
    "column\0line\0eventType\0focusLost\0"
    "focusGained\0updateTitle"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Konsole__Vt102Emulation[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x0a /* Public */,
       4,    1,   52,    2, 0x0a /* Public */,
       6,    1,   55,    2, 0x0a /* Public */,
       8,    4,   58,    2, 0x0a /* Public */,
      13,    0,   67,    2, 0x0a /* Public */,
      14,    0,   68,    2, 0x0a /* Public */,
      15,    0,   69,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QByteArray,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, 0x80000000 | 7,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,    9,   10,   11,   12,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Konsole::Vt102Emulation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Vt102Emulation *_t = static_cast<Vt102Emulation *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sendString((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 1: _t->sendText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->sendKeyEvent((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
        case 3: _t->sendMouseEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 4: _t->focusLost(); break;
        case 5: _t->focusGained(); break;
        case 6: _t->updateTitle(); break;
        default: ;
        }
    }
}

const QMetaObject Konsole::Vt102Emulation::staticMetaObject = {
    { &Emulation::staticMetaObject, qt_meta_stringdata_Konsole__Vt102Emulation.data,
      qt_meta_data_Konsole__Vt102Emulation,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Konsole::Vt102Emulation::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Konsole__Vt102Emulation.stringdata0))
        return static_cast<void*>(const_cast< Vt102Emulation*>(this));
    return Emulation::qt_metacast(_clname);
}

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