#if defined (HAVE_CONFIG_H)
#  include "config.h"
#endif
/****************************************************************************
** Meta object code from reading C++ file 'TerminalModel.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.4)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "/cygdrive/d/cyg_pub/devel/octave/octave-5.1.0-1.i686/src/octave-5.1.0/libgui/qterminal/libqterminal/unix/TerminalModel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'TerminalModel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_TerminalModel_t {
    QByteArrayData data[40];
    char stringdata0[444];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_TerminalModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_TerminalModel_t qt_meta_stringdata_TerminalModel = {
    {
QT_MOC_LITERAL(0, 0, 13), // "TerminalModel"
QT_MOC_LITERAL(1, 14, 7), // "started"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 8), // "finished"
QT_MOC_LITERAL(4, 32, 12), // "receivedData"
QT_MOC_LITERAL(5, 45, 4), // "text"
QT_MOC_LITERAL(6, 50, 12), // "titleChanged"
QT_MOC_LITERAL(7, 63, 14), // "profileChanged"
QT_MOC_LITERAL(8, 78, 7), // "profile"
QT_MOC_LITERAL(9, 86, 12), // "stateChanged"
QT_MOC_LITERAL(10, 99, 5), // "state"
QT_MOC_LITERAL(11, 105, 11), // "bellRequest"
QT_MOC_LITERAL(12, 117, 7), // "message"
QT_MOC_LITERAL(13, 125, 25), // "changeTabTextColorRequest"
QT_MOC_LITERAL(14, 151, 28), // "changeBackgroundColorRequest"
QT_MOC_LITERAL(15, 180, 14), // "openUrlRequest"
QT_MOC_LITERAL(16, 195, 3), // "url"
QT_MOC_LITERAL(17, 199, 13), // "resizeRequest"
QT_MOC_LITERAL(18, 213, 4), // "size"
QT_MOC_LITERAL(19, 218, 28), // "profileChangeCommandReceived"
QT_MOC_LITERAL(20, 247, 3), // "run"
QT_MOC_LITERAL(21, 251, 5), // "close"
QT_MOC_LITERAL(22, 257, 4), // "done"
QT_MOC_LITERAL(23, 262, 14), // "onReceiveBlock"
QT_MOC_LITERAL(24, 277, 11), // "const char*"
QT_MOC_LITERAL(25, 289, 6), // "buffer"
QT_MOC_LITERAL(26, 296, 3), // "len"
QT_MOC_LITERAL(27, 300, 16), // "monitorTimerDone"
QT_MOC_LITERAL(28, 317, 16), // "onViewSizeChange"
QT_MOC_LITERAL(29, 334, 6), // "height"
QT_MOC_LITERAL(30, 341, 5), // "width"
QT_MOC_LITERAL(31, 347, 21), // "onEmulationSizeChange"
QT_MOC_LITERAL(32, 369, 5), // "lines"
QT_MOC_LITERAL(33, 375, 7), // "columns"
QT_MOC_LITERAL(34, 383, 16), // "activityStateSet"
QT_MOC_LITERAL(35, 400, 13), // "viewDestroyed"
QT_MOC_LITERAL(36, 414, 4), // "view"
QT_MOC_LITERAL(37, 419, 8), // "sendData"
QT_MOC_LITERAL(38, 428, 3), // "buf"
QT_MOC_LITERAL(39, 432, 11) // "keyBindings"

    },
    "TerminalModel\0started\0\0finished\0"
    "receivedData\0text\0titleChanged\0"
    "profileChanged\0profile\0stateChanged\0"
    "state\0bellRequest\0message\0"
    "changeTabTextColorRequest\0"
    "changeBackgroundColorRequest\0"
    "openUrlRequest\0url\0resizeRequest\0size\0"
    "profileChangeCommandReceived\0run\0close\0"
    "done\0onReceiveBlock\0const char*\0buffer\0"
    "len\0monitorTimerDone\0onViewSizeChange\0"
    "height\0width\0onEmulationSizeChange\0"
    "lines\0columns\0activityStateSet\0"
    "viewDestroyed\0view\0sendData\0buf\0"
    "keyBindings"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_TerminalModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  124,    2, 0x06 /* Public */,
       3,    0,  125,    2, 0x06 /* Public */,
       4,    1,  126,    2, 0x06 /* Public */,
       6,    0,  129,    2, 0x06 /* Public */,
       7,    1,  130,    2, 0x06 /* Public */,
       9,    1,  133,    2, 0x06 /* Public */,
      11,    1,  136,    2, 0x06 /* Public */,
      13,    1,  139,    2, 0x06 /* Public */,
      14,    1,  142,    2, 0x06 /* Public */,
      15,    1,  145,    2, 0x06 /* Public */,
      17,    1,  148,    2, 0x06 /* Public */,
      19,    1,  151,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      20,    0,  154,    2, 0x0a /* Public */,
      21,    0,  155,    2, 0x0a /* Public */,
      22,    1,  156,    2, 0x08 /* Private */,
      23,    2,  159,    2, 0x08 /* Private */,
      27,    0,  164,    2, 0x08 /* Private */,
      28,    2,  165,    2, 0x08 /* Private */,
      31,    2,  170,    2, 0x08 /* Private */,
      34,    1,  175,    2, 0x08 /* Private */,
      35,    1,  178,    2, 0x08 /* Private */,
      37,    2,  181,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    8,
    QMetaType::Void, QMetaType::Int,   10,
    QMetaType::Void, QMetaType::QString,   12,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QColor,    2,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void, QMetaType::QSize,   18,
    QMetaType::Void, QMetaType::QString,    5,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, 0x80000000 | 24, QMetaType::Int,   25,   26,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   29,   30,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   32,   33,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void, QMetaType::QObjectStar,   36,
    QMetaType::Void, 0x80000000 | 24, QMetaType::Int,   38,   26,

 // properties: name, type, flags
      39, QMetaType::QString, 0x00095103,
      18, QMetaType::QSize, 0x00095103,

       0        // eod
};

void TerminalModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TerminalModel *_t = static_cast<TerminalModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->started(); break;
        case 1: _t->finished(); break;
        case 2: _t->receivedData((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->titleChanged(); break;
        case 4: _t->profileChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->stateChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->bellRequest((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->changeTabTextColorRequest((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->changeBackgroundColorRequest((*reinterpret_cast< const QColor(*)>(_a[1]))); break;
        case 9: _t->openUrlRequest((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->resizeRequest((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 11: _t->profileChangeCommandReceived((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->run(); break;
        case 13: _t->close(); break;
        case 14: _t->done((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 15: _t->onReceiveBlock((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 16: _t->monitorTimerDone(); break;
        case 17: _t->onViewSizeChange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 18: _t->onEmulationSizeChange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 19: _t->activityStateSet((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->viewDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 21: _t->sendData((*reinterpret_cast< const char*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (TerminalModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TerminalModel::started)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TerminalModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TerminalModel::finished)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (TerminalModel::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TerminalModel::receivedData)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (TerminalModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TerminalModel::titleChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (TerminalModel::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TerminalModel::profileChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (TerminalModel::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TerminalModel::stateChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (TerminalModel::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TerminalModel::bellRequest)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (TerminalModel::*_t)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TerminalModel::changeTabTextColorRequest)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (TerminalModel::*_t)(const QColor & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TerminalModel::changeBackgroundColorRequest)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (TerminalModel::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TerminalModel::openUrlRequest)) {
                *result = 9;
                return;
            }
        }
        {
            typedef void (TerminalModel::*_t)(const QSize & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TerminalModel::resizeRequest)) {
                *result = 10;
                return;
            }
        }
        {
            typedef void (TerminalModel::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TerminalModel::profileChangeCommandReceived)) {
                *result = 11;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        TerminalModel *_t = static_cast<TerminalModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->keyBindings(); break;
        case 1: *reinterpret_cast< QSize*>(_v) = _t->size(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        TerminalModel *_t = static_cast<TerminalModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setKeyBindings(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setSize(*reinterpret_cast< QSize*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject TerminalModel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_TerminalModel.data,
      qt_meta_data_TerminalModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

int TerminalModel::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 < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 22;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void TerminalModel::receivedData(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

// SIGNAL 4
void TerminalModel::profileChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

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

// SIGNAL 6
void TerminalModel::bellRequest(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

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

// SIGNAL 8
void TerminalModel::changeBackgroundColorRequest(const QColor & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void TerminalModel::openUrlRequest(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void TerminalModel::resizeRequest(const QSize & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}

// SIGNAL 11
void TerminalModel::profileChangeCommandReceived(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 11, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
