/****************************************************************************
** Meta object code from reading C++ file 'Emulation.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/qtermwidget-0.7.0/lib/Emulation.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Emulation.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__Emulation_t {
    QByteArrayData data[52];
    char stringdata0[652];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Konsole__Emulation_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Konsole__Emulation_t qt_meta_stringdata_Konsole__Emulation = {
    {
QT_MOC_LITERAL(0, 0, 18), // "Konsole::Emulation"
QT_MOC_LITERAL(1, 19, 8), // "sendData"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 11), // "const char*"
QT_MOC_LITERAL(4, 41, 4), // "data"
QT_MOC_LITERAL(5, 46, 3), // "len"
QT_MOC_LITERAL(6, 50, 14), // "lockPtyRequest"
QT_MOC_LITERAL(7, 65, 7), // "suspend"
QT_MOC_LITERAL(8, 73, 14), // "useUtf8Request"
QT_MOC_LITERAL(9, 88, 8), // "stateSet"
QT_MOC_LITERAL(10, 97, 5), // "state"
QT_MOC_LITERAL(11, 103, 14), // "zmodemDetected"
QT_MOC_LITERAL(12, 118, 25), // "changeTabTextColorRequest"
QT_MOC_LITERAL(13, 144, 5), // "color"
QT_MOC_LITERAL(14, 150, 23), // "programUsesMouseChanged"
QT_MOC_LITERAL(15, 174, 9), // "usesMouse"
QT_MOC_LITERAL(16, 184, 32), // "programBracketedPasteModeChanged"
QT_MOC_LITERAL(17, 217, 18), // "bracketedPasteMode"
QT_MOC_LITERAL(18, 236, 13), // "outputChanged"
QT_MOC_LITERAL(19, 250, 12), // "titleChanged"
QT_MOC_LITERAL(20, 263, 5), // "title"
QT_MOC_LITERAL(21, 269, 8), // "newTitle"
QT_MOC_LITERAL(22, 278, 16), // "imageSizeChanged"
QT_MOC_LITERAL(23, 295, 9), // "lineCount"
QT_MOC_LITERAL(24, 305, 11), // "columnCount"
QT_MOC_LITERAL(25, 317, 20), // "imageSizeInitialized"
QT_MOC_LITERAL(26, 338, 18), // "imageResizeRequest"
QT_MOC_LITERAL(27, 357, 4), // "sizz"
QT_MOC_LITERAL(28, 362, 28), // "profileChangeCommandReceived"
QT_MOC_LITERAL(29, 391, 4), // "text"
QT_MOC_LITERAL(30, 396, 21), // "flowControlKeyPressed"
QT_MOC_LITERAL(31, 418, 17), // "suspendKeyPressed"
QT_MOC_LITERAL(32, 436, 12), // "setImageSize"
QT_MOC_LITERAL(33, 449, 5), // "lines"
QT_MOC_LITERAL(34, 455, 7), // "columns"
QT_MOC_LITERAL(35, 463, 8), // "sendText"
QT_MOC_LITERAL(36, 472, 12), // "sendKeyEvent"
QT_MOC_LITERAL(37, 485, 10), // "QKeyEvent*"
QT_MOC_LITERAL(38, 496, 14), // "sendMouseEvent"
QT_MOC_LITERAL(39, 511, 7), // "buttons"
QT_MOC_LITERAL(40, 519, 6), // "column"
QT_MOC_LITERAL(41, 526, 4), // "line"
QT_MOC_LITERAL(42, 531, 9), // "eventType"
QT_MOC_LITERAL(43, 541, 10), // "sendString"
QT_MOC_LITERAL(44, 552, 6), // "string"
QT_MOC_LITERAL(45, 559, 6), // "length"
QT_MOC_LITERAL(46, 566, 11), // "receiveData"
QT_MOC_LITERAL(47, 578, 6), // "buffer"
QT_MOC_LITERAL(48, 585, 14), // "bufferedUpdate"
QT_MOC_LITERAL(49, 600, 8), // "showBulk"
QT_MOC_LITERAL(50, 609, 16), // "usesMouseChanged"
QT_MOC_LITERAL(51, 626, 25) // "bracketedPasteModeChanged"

    },
    "Konsole::Emulation\0sendData\0\0const char*\0"
    "data\0len\0lockPtyRequest\0suspend\0"
    "useUtf8Request\0stateSet\0state\0"
    "zmodemDetected\0changeTabTextColorRequest\0"
    "color\0programUsesMouseChanged\0usesMouse\0"
    "programBracketedPasteModeChanged\0"
    "bracketedPasteMode\0outputChanged\0"
    "titleChanged\0title\0newTitle\0"
    "imageSizeChanged\0lineCount\0columnCount\0"
    "imageSizeInitialized\0imageResizeRequest\0"
    "sizz\0profileChangeCommandReceived\0"
    "text\0flowControlKeyPressed\0suspendKeyPressed\0"
    "setImageSize\0lines\0columns\0sendText\0"
    "sendKeyEvent\0QKeyEvent*\0sendMouseEvent\0"
    "buttons\0column\0line\0eventType\0sendString\0"
    "string\0length\0receiveData\0buffer\0"
    "bufferedUpdate\0showBulk\0usesMouseChanged\0"
    "bracketedPasteModeChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Konsole__Emulation[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,  144,    2, 0x06 /* Public */,
       6,    1,  149,    2, 0x06 /* Public */,
       8,    1,  152,    2, 0x06 /* Public */,
       9,    1,  155,    2, 0x06 /* Public */,
      11,    0,  158,    2, 0x06 /* Public */,
      12,    1,  159,    2, 0x06 /* Public */,
      14,    1,  162,    2, 0x06 /* Public */,
      16,    1,  165,    2, 0x06 /* Public */,
      18,    0,  168,    2, 0x06 /* Public */,
      19,    2,  169,    2, 0x06 /* Public */,
      22,    2,  174,    2, 0x06 /* Public */,
      25,    0,  179,    2, 0x06 /* Public */,
      26,    1,  180,    2, 0x06 /* Public */,
      28,    1,  183,    2, 0x06 /* Public */,
      30,    1,  186,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      32,    2,  189,    2, 0x0a /* Public */,
      35,    1,  194,    2, 0x0a /* Public */,
      36,    1,  197,    2, 0x0a /* Public */,
      38,    4,  200,    2, 0x0a /* Public */,
      43,    2,  209,    2, 0x0a /* Public */,
      43,    1,  214,    2, 0x2a /* Public | MethodCloned */,
      46,    2,  217,    2, 0x0a /* Public */,
      48,    0,  222,    2, 0x09 /* Protected */,
      49,    0,  223,    2, 0x08 /* Private */,
      50,    1,  224,    2, 0x08 /* Private */,
      51,    1,  227,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    4,    5,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, QMetaType::Bool,   15,
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::QString,   20,   21,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   23,   24,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QSize,   27,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void, QMetaType::Bool,   31,

 // slots: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   33,   34,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void, 0x80000000 | 37,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int, QMetaType::Int, QMetaType::Int,   39,   40,   41,   42,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,   44,   45,
    QMetaType::Void, 0x80000000 | 3,   44,
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,   47,    5,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   15,
    QMetaType::Void, QMetaType::Bool,   17,

       0        // eod
};

void Konsole::Emulation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Emulation *_t = static_cast<Emulation *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sendData((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->lockPtyRequest((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->useUtf8Request((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->stateSet((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->zmodemDetected(); break;
        case 5: _t->changeTabTextColorRequest((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->programUsesMouseChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->programBracketedPasteModeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->outputChanged(); break;
        case 9: _t->titleChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 10: _t->imageSizeChanged((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 11: _t->imageSizeInitialized(); break;
        case 12: _t->imageResizeRequest((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 13: _t->profileChangeCommandReceived((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: _t->flowControlKeyPressed((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->setImageSize((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 16: _t->sendText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 17: _t->sendKeyEvent((*reinterpret_cast< QKeyEvent*(*)>(_a[1]))); break;
        case 18: _t->sendMouseEvent((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 19: _t->sendString((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 20: _t->sendString((*reinterpret_cast< const char*(*)>(_a[1]))); break;
        case 21: _t->receiveData((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 22: _t->bufferedUpdate(); break;
        case 23: _t->showBulk(); break;
        case 24: _t->usesMouseChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 25: _t->bracketedPasteModeChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Emulation::*_t)(const char * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::sendData)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::lockPtyRequest)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::useUtf8Request)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::stateSet)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::zmodemDetected)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::changeTabTextColorRequest)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::programUsesMouseChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::programBracketedPasteModeChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::outputChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)(int , const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::titleChanged)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::imageSizeChanged)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::imageSizeInitialized)) {
                *result = 11;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)(const QSize & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::imageResizeRequest)) {
                *result = 12;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::profileChangeCommandReceived)) {
                *result = 13;
                return;
            }
        }
        {
            typedef void (Emulation::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Emulation::flowControlKeyPressed)) {
                *result = 14;
                return;
            }
        }
    }
}

const QMetaObject Konsole::Emulation::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Konsole__Emulation.data,
      qt_meta_data_Konsole__Emulation,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

// SIGNAL 0
void Konsole::Emulation::sendData(const char * _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Konsole::Emulation::lockPtyRequest(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Konsole::Emulation::useUtf8Request(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Konsole::Emulation::stateSet(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Konsole::Emulation::zmodemDetected()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void Konsole::Emulation::changeTabTextColorRequest(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Konsole::Emulation::programUsesMouseChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Konsole::Emulation::programBracketedPasteModeChanged(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Konsole::Emulation::outputChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}

// SIGNAL 9
void Konsole::Emulation::titleChanged(int _t1, const QString & _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void Konsole::Emulation::imageSizeChanged(int _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void Konsole::Emulation::imageSizeInitialized()
{
    QMetaObject::activate(this, &staticMetaObject, 11, Q_NULLPTR);
}

// SIGNAL 12
void Konsole::Emulation::imageResizeRequest(const QSize & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 12, _a);
}

// SIGNAL 13
void Konsole::Emulation::profileChangeCommandReceived(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 13, _a);
}

// SIGNAL 14
void Konsole::Emulation::flowControlKeyPressed(bool _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 14, _a);
}
QT_END_MOC_NAMESPACE
