/****************************************************************************
** Meta object code from reading C++ file 'canvas.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/kturtle-15.04.3/src/canvas.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'canvas.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_Canvas_t {
    QByteArrayData data[40];
    char stringdata[351];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Canvas_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Canvas_t qt_meta_stringdata_Canvas = {
    {
QT_MOC_LITERAL(0, 0, 6), // "Canvas"
QT_MOC_LITERAL(1, 7, 9), // "slotClear"
QT_MOC_LITERAL(2, 17, 0), // ""
QT_MOC_LITERAL(3, 18, 6), // "slotGo"
QT_MOC_LITERAL(4, 25, 1), // "x"
QT_MOC_LITERAL(5, 27, 1), // "y"
QT_MOC_LITERAL(6, 29, 7), // "slotGoX"
QT_MOC_LITERAL(7, 37, 7), // "slotGoY"
QT_MOC_LITERAL(8, 45, 11), // "slotForward"
QT_MOC_LITERAL(9, 57, 12), // "slotBackward"
QT_MOC_LITERAL(10, 70, 13), // "slotDirection"
QT_MOC_LITERAL(11, 84, 3), // "deg"
QT_MOC_LITERAL(12, 88, 12), // "slotTurnLeft"
QT_MOC_LITERAL(13, 101, 13), // "slotTurnRight"
QT_MOC_LITERAL(14, 115, 10), // "slotCenter"
QT_MOC_LITERAL(15, 126, 12), // "slotPenWidth"
QT_MOC_LITERAL(16, 139, 5), // "width"
QT_MOC_LITERAL(17, 145, 9), // "slotPenUp"
QT_MOC_LITERAL(18, 155, 11), // "slotPenDown"
QT_MOC_LITERAL(19, 167, 12), // "slotPenColor"
QT_MOC_LITERAL(20, 180, 1), // "r"
QT_MOC_LITERAL(21, 182, 1), // "g"
QT_MOC_LITERAL(22, 184, 1), // "b"
QT_MOC_LITERAL(23, 186, 15), // "slotCanvasColor"
QT_MOC_LITERAL(24, 202, 14), // "slotCanvasSize"
QT_MOC_LITERAL(25, 217, 14), // "slotSpriteShow"
QT_MOC_LITERAL(26, 232, 14), // "slotSpriteHide"
QT_MOC_LITERAL(27, 247, 9), // "slotPrint"
QT_MOC_LITERAL(28, 257, 4), // "text"
QT_MOC_LITERAL(29, 262, 12), // "slotFontType"
QT_MOC_LITERAL(30, 275, 6), // "family"
QT_MOC_LITERAL(31, 282, 5), // "extra"
QT_MOC_LITERAL(32, 288, 12), // "slotFontSize"
QT_MOC_LITERAL(33, 301, 2), // "px"
QT_MOC_LITERAL(34, 304, 9), // "slotReset"
QT_MOC_LITERAL(35, 314, 12), // "getDirection"
QT_MOC_LITERAL(36, 327, 7), // "double&"
QT_MOC_LITERAL(37, 335, 5), // "value"
QT_MOC_LITERAL(38, 341, 4), // "getX"
QT_MOC_LITERAL(39, 346, 4) // "getY"

    },
    "Canvas\0slotClear\0\0slotGo\0x\0y\0slotGoX\0"
    "slotGoY\0slotForward\0slotBackward\0"
    "slotDirection\0deg\0slotTurnLeft\0"
    "slotTurnRight\0slotCenter\0slotPenWidth\0"
    "width\0slotPenUp\0slotPenDown\0slotPenColor\0"
    "r\0g\0b\0slotCanvasColor\0slotCanvasSize\0"
    "slotSpriteShow\0slotSpriteHide\0slotPrint\0"
    "text\0slotFontType\0family\0extra\0"
    "slotFontSize\0px\0slotReset\0getDirection\0"
    "double&\0value\0getX\0getY"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Canvas[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,  139,    2, 0x0a /* Public */,
       3,    2,  140,    2, 0x0a /* Public */,
       6,    1,  145,    2, 0x0a /* Public */,
       7,    1,  148,    2, 0x0a /* Public */,
       8,    1,  151,    2, 0x0a /* Public */,
       9,    1,  154,    2, 0x0a /* Public */,
      10,    1,  157,    2, 0x0a /* Public */,
      12,    1,  160,    2, 0x0a /* Public */,
      13,    1,  163,    2, 0x0a /* Public */,
      14,    0,  166,    2, 0x0a /* Public */,
      15,    1,  167,    2, 0x0a /* Public */,
      17,    0,  170,    2, 0x0a /* Public */,
      18,    0,  171,    2, 0x0a /* Public */,
      19,    3,  172,    2, 0x0a /* Public */,
      23,    3,  179,    2, 0x0a /* Public */,
      24,    2,  186,    2, 0x0a /* Public */,
      25,    0,  191,    2, 0x0a /* Public */,
      26,    0,  192,    2, 0x0a /* Public */,
      27,    1,  193,    2, 0x0a /* Public */,
      29,    2,  196,    2, 0x0a /* Public */,
      32,    1,  201,    2, 0x0a /* Public */,
      34,    0,  204,    2, 0x0a /* Public */,
      35,    1,  205,    2, 0x0a /* Public */,
      38,    1,  208,    2, 0x0a /* Public */,
      39,    1,  211,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Double, QMetaType::Double,    4,    5,
    QMetaType::Void, QMetaType::Double,    4,
    QMetaType::Void, QMetaType::Double,    5,
    QMetaType::Void, QMetaType::Double,    4,
    QMetaType::Void, QMetaType::Double,    4,
    QMetaType::Void, QMetaType::Double,   11,
    QMetaType::Void, QMetaType::Double,   11,
    QMetaType::Void, QMetaType::Double,   11,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Double,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Double, QMetaType::Double, QMetaType::Double,   20,   21,   22,
    QMetaType::Void, QMetaType::Double, QMetaType::Double, QMetaType::Double,   20,   21,   22,
    QMetaType::Void, QMetaType::Double, QMetaType::Double,   20,   21,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   28,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   30,   31,
    QMetaType::Void, QMetaType::Double,   33,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 36,   37,
    QMetaType::Void, 0x80000000 | 36,   37,
    QMetaType::Void, 0x80000000 | 36,   37,

       0        // eod
};

void Canvas::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Canvas *_t = static_cast<Canvas *>(_o);
        switch (_id) {
        case 0: _t->slotClear(); break;
        case 1: _t->slotGo((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
        case 2: _t->slotGoX((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 3: _t->slotGoY((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 4: _t->slotForward((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 5: _t->slotBackward((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 6: _t->slotDirection((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 7: _t->slotTurnLeft((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 8: _t->slotTurnRight((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 9: _t->slotCenter(); break;
        case 10: _t->slotPenWidth((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 11: _t->slotPenUp(); break;
        case 12: _t->slotPenDown(); break;
        case 13: _t->slotPenColor((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break;
        case 14: _t->slotCanvasColor((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2])),(*reinterpret_cast< double(*)>(_a[3]))); break;
        case 15: _t->slotCanvasSize((*reinterpret_cast< double(*)>(_a[1])),(*reinterpret_cast< double(*)>(_a[2]))); break;
        case 16: _t->slotSpriteShow(); break;
        case 17: _t->slotSpriteHide(); break;
        case 18: _t->slotPrint((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: _t->slotFontType((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 20: _t->slotFontSize((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 21: _t->slotReset(); break;
        case 22: _t->getDirection((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 23: _t->getX((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 24: _t->getY((*reinterpret_cast< double(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject Canvas::staticMetaObject = {
    { &QGraphicsView::staticMetaObject, qt_meta_stringdata_Canvas.data,
      qt_meta_data_Canvas,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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