#if defined (HAVE_CONFIG_H)
#  include "config.h"
#endif
/****************************************************************************
** Meta object code from reading C++ file 'QTerminal.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/QTerminal.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'QTerminal.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_QTerminal_t {
    QByteArrayData data[21];
    char stringdata0[340];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QTerminal_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QTerminal_t qt_meta_stringdata_QTerminal = {
    {
QT_MOC_LITERAL(0, 0, 9), // "QTerminal"
QT_MOC_LITERAL(1, 10, 21), // "report_status_message"
QT_MOC_LITERAL(2, 32, 0), // ""
QT_MOC_LITERAL(3, 33, 16), // "interrupt_signal"
QT_MOC_LITERAL(4, 50, 18), // "edit_mfile_request"
QT_MOC_LITERAL(5, 69, 34), // "execute_command_in_terminal_s..."
QT_MOC_LITERAL(6, 104, 13), // "copyClipboard"
QT_MOC_LITERAL(7, 118, 14), // "pasteClipboard"
QT_MOC_LITERAL(8, 133, 9), // "selectAll"
QT_MOC_LITERAL(9, 143, 32), // "handleCustomContextMenuRequested"
QT_MOC_LITERAL(10, 176, 2), // "at"
QT_MOC_LITERAL(11, 179, 15), // "notice_settings"
QT_MOC_LITERAL(12, 195, 16), // "const QSettings*"
QT_MOC_LITERAL(13, 212, 8), // "settings"
QT_MOC_LITERAL(14, 221, 18), // "init_terminal_size"
QT_MOC_LITERAL(15, 240, 18), // "terminal_interrupt"
QT_MOC_LITERAL(16, 259, 20), // "set_global_shortcuts"
QT_MOC_LITERAL(17, 280, 9), // "focus_out"
QT_MOC_LITERAL(18, 290, 13), // "run_selection"
QT_MOC_LITERAL(19, 304, 9), // "edit_file"
QT_MOC_LITERAL(20, 314, 25) // "handle_visibility_changed"

    },
    "QTerminal\0report_status_message\0\0"
    "interrupt_signal\0edit_mfile_request\0"
    "execute_command_in_terminal_signal\0"
    "copyClipboard\0pasteClipboard\0selectAll\0"
    "handleCustomContextMenuRequested\0at\0"
    "notice_settings\0const QSettings*\0"
    "settings\0init_terminal_size\0"
    "terminal_interrupt\0set_global_shortcuts\0"
    "focus_out\0run_selection\0edit_file\0"
    "handle_visibility_changed"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QTerminal[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   89,    2, 0x06 /* Public */,
       3,    0,   92,    2, 0x06 /* Public */,
       4,    2,   93,    2, 0x06 /* Public */,
       5,    1,   98,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,  101,    2, 0x0a /* Public */,
       7,    0,  102,    2, 0x0a /* Public */,
       8,    0,  103,    2, 0x0a /* Public */,
       9,    1,  104,    2, 0x0a /* Public */,
      11,    1,  107,    2, 0x0a /* Public */,
      14,    0,  110,    2, 0x0a /* Public */,
      15,    0,  111,    2, 0x0a /* Public */,
      16,    1,  112,    2, 0x0a /* Public */,
      18,    0,  115,    2, 0x0a /* Public */,
      19,    0,  116,    2, 0x0a /* Public */,
      20,    1,  117,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    2,    2,
    QMetaType::Void, QMetaType::QString,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QPoint,   10,
    QMetaType::Void, 0x80000000 | 12,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,   17,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    2,

       0        // eod
};

void QTerminal::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QTerminal *_t = static_cast<QTerminal *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->report_status_message((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->interrupt_signal(); break;
        case 2: _t->edit_mfile_request((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->execute_command_in_terminal_signal((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->copyClipboard(); break;
        case 5: _t->pasteClipboard(); break;
        case 6: _t->selectAll(); break;
        case 7: _t->handleCustomContextMenuRequested((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 8: _t->notice_settings((*reinterpret_cast< const QSettings*(*)>(_a[1]))); break;
        case 9: _t->init_terminal_size(); break;
        case 10: _t->terminal_interrupt(); break;
        case 11: _t->set_global_shortcuts((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 12: _t->run_selection(); break;
        case 13: _t->edit_file(); break;
        case 14: _t->handle_visibility_changed((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QTerminal::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTerminal::report_status_message)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QTerminal::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTerminal::interrupt_signal)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QTerminal::*_t)(const QString & , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTerminal::edit_mfile_request)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (QTerminal::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QTerminal::execute_command_in_terminal_signal)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject QTerminal::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_QTerminal.data,
      qt_meta_data_QTerminal,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

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

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

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

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