/****************************************************************************
** Meta object code from reading C++ file 'echoer.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 "../../src/kturtle-17.12.3/src/interpreter/echoer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'echoer.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_Echoer_t {
    QByteArrayData data[26];
    char stringdata0[191];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Echoer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Echoer_t qt_meta_stringdata_Echoer = {
    {
QT_MOC_LITERAL(0, 0, 6), // "Echoer"
QT_MOC_LITERAL(1, 7, 5), // "reset"
QT_MOC_LITERAL(2, 13, 0), // ""
QT_MOC_LITERAL(3, 14, 5), // "clear"
QT_MOC_LITERAL(4, 20, 6), // "center"
QT_MOC_LITERAL(5, 27, 2), // "go"
QT_MOC_LITERAL(6, 30, 4), // "arg0"
QT_MOC_LITERAL(7, 35, 4), // "arg1"
QT_MOC_LITERAL(8, 40, 3), // "goX"
QT_MOC_LITERAL(9, 44, 3), // "goY"
QT_MOC_LITERAL(10, 48, 7), // "forward"
QT_MOC_LITERAL(11, 56, 8), // "backward"
QT_MOC_LITERAL(12, 65, 9), // "direction"
QT_MOC_LITERAL(13, 75, 8), // "turnLeft"
QT_MOC_LITERAL(14, 84, 9), // "turnRight"
QT_MOC_LITERAL(15, 94, 8), // "penWidth"
QT_MOC_LITERAL(16, 103, 5), // "penUp"
QT_MOC_LITERAL(17, 109, 7), // "penDown"
QT_MOC_LITERAL(18, 117, 8), // "penColor"
QT_MOC_LITERAL(19, 126, 4), // "arg2"
QT_MOC_LITERAL(20, 131, 11), // "canvasColor"
QT_MOC_LITERAL(21, 143, 10), // "canvasSize"
QT_MOC_LITERAL(22, 154, 10), // "spriteShow"
QT_MOC_LITERAL(23, 165, 10), // "spriteHide"
QT_MOC_LITERAL(24, 176, 5), // "print"
QT_MOC_LITERAL(25, 182, 8) // "fontSize"

    },
    "Echoer\0reset\0\0clear\0center\0go\0arg0\0"
    "arg1\0goX\0goY\0forward\0backward\0direction\0"
    "turnLeft\0turnRight\0penWidth\0penUp\0"
    "penDown\0penColor\0arg2\0canvasColor\0"
    "canvasSize\0spriteShow\0spriteHide\0print\0"
    "fontSize"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Echoer[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  119,    2, 0x0a /* Public */,
       3,    0,  120,    2, 0x0a /* Public */,
       4,    0,  121,    2, 0x0a /* Public */,
       5,    2,  122,    2, 0x0a /* Public */,
       8,    1,  127,    2, 0x0a /* Public */,
       9,    1,  130,    2, 0x0a /* Public */,
      10,    1,  133,    2, 0x0a /* Public */,
      11,    1,  136,    2, 0x0a /* Public */,
      12,    1,  139,    2, 0x0a /* Public */,
      13,    1,  142,    2, 0x0a /* Public */,
      14,    1,  145,    2, 0x0a /* Public */,
      15,    1,  148,    2, 0x0a /* Public */,
      16,    0,  151,    2, 0x0a /* Public */,
      17,    0,  152,    2, 0x0a /* Public */,
      18,    3,  153,    2, 0x0a /* Public */,
      20,    3,  160,    2, 0x0a /* Public */,
      21,    2,  167,    2, 0x0a /* Public */,
      22,    0,  172,    2, 0x0a /* Public */,
      23,    0,  173,    2, 0x0a /* Public */,
      24,    1,  174,    2, 0x0a /* Public */,
      25,    1,  177,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Double, QMetaType::Double,    6,    7,
    QMetaType::Void, QMetaType::Double,    6,
    QMetaType::Void, QMetaType::Double,    6,
    QMetaType::Void, QMetaType::Double,    6,
    QMetaType::Void, QMetaType::Double,    6,
    QMetaType::Void, QMetaType::Double,    6,
    QMetaType::Void, QMetaType::Double,    6,
    QMetaType::Void, QMetaType::Double,    6,
    QMetaType::Void, QMetaType::Double,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Double, QMetaType::Double, QMetaType::Double,    6,    7,   19,
    QMetaType::Void, QMetaType::Double, QMetaType::Double, QMetaType::Double,    6,    7,   19,
    QMetaType::Void, QMetaType::Double, QMetaType::Double,    6,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    6,
    QMetaType::Void, QMetaType::Double,    6,

       0        // eod
};

void Echoer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Echoer *_t = static_cast<Echoer *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->reset(); break;
        case 1: _t->clear(); break;
        case 2: _t->center(); break;
        case 3: _t->go((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
        case 4: _t->goX((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 5: _t->goY((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 6: _t->forward((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 7: _t->backward((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 8: _t->direction((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 9: _t->turnLeft((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 10: _t->turnRight((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 11: _t->penWidth((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 12: _t->penUp(); break;
        case 13: _t->penDown(); break;
        case 14: _t->penColor((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break;
        case 15: _t->canvasColor((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break;
        case 16: _t->canvasSize((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
        case 17: _t->spriteShow(); break;
        case 18: _t->spriteHide(); break;
        case 19: _t->print((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 20: _t->fontSize((*reinterpret_cast< double(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject Echoer::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Echoer.data,
      qt_meta_data_Echoer,  qt_static_metacall, nullptr, nullptr}
};


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

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

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