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

#include "../../../src/kjsembed-5.12.0/examples/kjsconsole/console.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'console.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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_Console_t {
    QByteArrayData data[10];
    char stringdata[210];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Console_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Console_t qt_meta_stringdata_Console = {
    {
QT_MOC_LITERAL(0, 0, 7), // "Console"
QT_MOC_LITERAL(1, 8, 19), // "on_mExecute_clicked"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 29), // "on_actionOpenScript_activated"
QT_MOC_LITERAL(4, 59, 30), // "on_actionCloseScript_activated"
QT_MOC_LITERAL(5, 90, 23), // "on_actionQuit_activated"
QT_MOC_LITERAL(6, 114, 22), // "on_actionRun_activated"
QT_MOC_LITERAL(7, 137, 24), // "on_actionRunTo_activated"
QT_MOC_LITERAL(8, 162, 23), // "on_actionStep_activated"
QT_MOC_LITERAL(9, 186, 23) // "on_actionStop_activated"

    },
    "Console\0on_mExecute_clicked\0\0"
    "on_actionOpenScript_activated\0"
    "on_actionCloseScript_activated\0"
    "on_actionQuit_activated\0on_actionRun_activated\0"
    "on_actionRunTo_activated\0"
    "on_actionStep_activated\0on_actionStop_activated"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Console[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x0a /* Public */,
       3,    0,   55,    2, 0x0a /* Public */,
       4,    0,   56,    2, 0x0a /* Public */,
       5,    0,   57,    2, 0x0a /* Public */,
       6,    0,   58,    2, 0x0a /* Public */,
       7,    0,   59,    2, 0x0a /* Public */,
       8,    0,   60,    2, 0x0a /* Public */,
       9,    0,   61,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Console::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Console *_t = static_cast<Console *>(_o);
        switch (_id) {
        case 0: _t->on_mExecute_clicked(); break;
        case 1: _t->on_actionOpenScript_activated(); break;
        case 2: _t->on_actionCloseScript_activated(); break;
        case 3: _t->on_actionQuit_activated(); break;
        case 4: _t->on_actionRun_activated(); break;
        case 5: _t->on_actionRunTo_activated(); break;
        case 6: _t->on_actionStep_activated(); break;
        case 7: _t->on_actionStop_activated(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject Console::staticMetaObject = {
    { &QMainWindow::staticMetaObject, qt_meta_stringdata_Console.data,
      qt_meta_data_Console,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Console::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Console.stringdata))
        return static_cast<void*>(const_cast< Console*>(this));
    return QMainWindow::qt_metacast(_clname);
}

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