/****************************************************************************
** Meta object code from reading C++ file 'lesson.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/parley-17.12.3/src/scripts/scripting/lesson.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'lesson.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_Scripting__Lesson_t {
    QByteArrayData data[27];
    char stringdata0[304];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Scripting__Lesson_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Scripting__Lesson_t qt_meta_stringdata_Scripting__Lesson = {
    {
QT_MOC_LITERAL(0, 0, 17), // "Scripting::Lesson"
QT_MOC_LITERAL(1, 18, 7), // "entries"
QT_MOC_LITERAL(2, 26, 0), // ""
QT_MOC_LITERAL(3, 27, 9), // "recursive"
QT_MOC_LITERAL(4, 37, 10), // "setEntries"
QT_MOC_LITERAL(5, 48, 5), // "entry"
QT_MOC_LITERAL(6, 54, 3), // "row"
QT_MOC_LITERAL(7, 58, 10), // "entryCount"
QT_MOC_LITERAL(8, 69, 8), // "newEntry"
QT_MOC_LITERAL(9, 78, 12), // "translations"
QT_MOC_LITERAL(10, 91, 11), // "appendEntry"
QT_MOC_LITERAL(11, 103, 11), // "Expression*"
QT_MOC_LITERAL(12, 115, 14), // "appendNewEntry"
QT_MOC_LITERAL(13, 130, 11), // "insertEntry"
QT_MOC_LITERAL(14, 142, 5), // "index"
QT_MOC_LITERAL(15, 148, 11), // "removeEntry"
QT_MOC_LITERAL(16, 160, 12), // "clearEntries"
QT_MOC_LITERAL(17, 173, 17), // "appendChildLesson"
QT_MOC_LITERAL(18, 191, 7), // "Lesson*"
QT_MOC_LITERAL(19, 199, 5), // "child"
QT_MOC_LITERAL(20, 205, 17), // "insertChildLesson"
QT_MOC_LITERAL(21, 223, 17), // "removeChildLesson"
QT_MOC_LITERAL(22, 241, 11), // "childLesson"
QT_MOC_LITERAL(23, 253, 4), // "name"
QT_MOC_LITERAL(24, 258, 12), // "childLessons"
QT_MOC_LITERAL(25, 271, 15), // "findChildLesson"
QT_MOC_LITERAL(26, 287, 16) // "childLessonCount"

    },
    "Scripting::Lesson\0entries\0\0recursive\0"
    "setEntries\0entry\0row\0entryCount\0"
    "newEntry\0translations\0appendEntry\0"
    "Expression*\0appendNewEntry\0insertEntry\0"
    "index\0removeEntry\0clearEntries\0"
    "appendChildLesson\0Lesson*\0child\0"
    "insertChildLesson\0removeChildLesson\0"
    "childLesson\0name\0childLessons\0"
    "findChildLesson\0childLessonCount"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Scripting__Lesson[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,  129,    2, 0x0a /* Public */,
       1,    0,  132,    2, 0x2a /* Public | MethodCloned */,
       4,    1,  133,    2, 0x0a /* Public */,
       5,    2,  136,    2, 0x0a /* Public */,
       5,    1,  141,    2, 0x2a /* Public | MethodCloned */,
       7,    1,  144,    2, 0x0a /* Public */,
       7,    0,  147,    2, 0x2a /* Public | MethodCloned */,
       8,    0,  148,    2, 0x0a /* Public */,
       8,    1,  149,    2, 0x0a /* Public */,
      10,    1,  152,    2, 0x0a /* Public */,
      12,    1,  155,    2, 0x0a /* Public */,
      13,    2,  158,    2, 0x0a /* Public */,
      15,    1,  163,    2, 0x0a /* Public */,
      16,    0,  166,    2, 0x0a /* Public */,
      17,    1,  167,    2, 0x0a /* Public */,
      20,    2,  170,    2, 0x0a /* Public */,
      21,    1,  175,    2, 0x0a /* Public */,
      22,    1,  178,    2, 0x0a /* Public */,
      22,    1,  181,    2, 0x0a /* Public */,
      24,    1,  184,    2, 0x0a /* Public */,
      24,    0,  187,    2, 0x2a /* Public | MethodCloned */,
      25,    1,  188,    2, 0x0a /* Public */,
      26,    0,  191,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::QVariantList, QMetaType::Bool,    3,
    QMetaType::QVariantList,
    QMetaType::Void, QMetaType::QVariantList,    1,
    QMetaType::QObjectStar, QMetaType::Int, QMetaType::Bool,    6,    3,
    QMetaType::QObjectStar, QMetaType::Int,    6,
    QMetaType::Int, QMetaType::Bool,    3,
    QMetaType::Int,
    QMetaType::QObjectStar,
    QMetaType::QObjectStar, QMetaType::QStringList,    9,
    QMetaType::Void, 0x80000000 | 11,    5,
    QMetaType::Void, QMetaType::QStringList,    9,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 11,   14,    5,
    QMetaType::Void, QMetaType::QObjectStar,    5,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 18,   19,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 18,    6,   19,
    QMetaType::Void, QMetaType::Int,    6,
    QMetaType::QObjectStar, QMetaType::Int,    6,
    QMetaType::QObjectStar, QMetaType::QString,   23,
    QMetaType::QVariantList, QMetaType::Bool,    3,
    QMetaType::QVariantList,
    QMetaType::QObjectStar, QMetaType::QString,   23,
    QMetaType::Int,

       0        // eod
};

void Scripting::Lesson::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Lesson *_t = static_cast<Lesson *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { QVariantList _r = _t->entries((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 1: { QVariantList _r = _t->entries();
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 2: _t->setEntries((*reinterpret_cast< QVariantList(*)>(_a[1]))); break;
        case 3: { QObject* _r = _t->entry((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< bool(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = std::move(_r); }  break;
        case 4: { QObject* _r = _t->entry((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = std::move(_r); }  break;
        case 5: { int _r = _t->entryCount((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 6: { int _r = _t->entryCount();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        case 7: { QObject* _r = _t->newEntry();
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = std::move(_r); }  break;
        case 8: { QObject* _r = _t->newEntry((*reinterpret_cast< QStringList(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = std::move(_r); }  break;
        case 9: _t->appendEntry((*reinterpret_cast< Expression*(*)>(_a[1]))); break;
        case 10: _t->appendNewEntry((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
        case 11: _t->insertEntry((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Expression*(*)>(_a[2]))); break;
        case 12: _t->removeEntry((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 13: _t->clearEntries(); break;
        case 14: _t->appendChildLesson((*reinterpret_cast< Lesson*(*)>(_a[1]))); break;
        case 15: _t->insertChildLesson((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Lesson*(*)>(_a[2]))); break;
        case 16: _t->removeChildLesson((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 17: { QObject* _r = _t->childLesson((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = std::move(_r); }  break;
        case 18: { QObject* _r = _t->childLesson((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = std::move(_r); }  break;
        case 19: { QVariantList _r = _t->childLessons((*reinterpret_cast< bool(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 20: { QVariantList _r = _t->childLessons();
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 21: { QObject* _r = _t->findChildLesson((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = std::move(_r); }  break;
        case 22: { int _r = _t->childLessonCount();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Lesson* >(); break;
            }
            break;
        case 15:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Lesson* >(); break;
            }
            break;
        }
    }
}

const QMetaObject Scripting::Lesson::staticMetaObject = {
    { &Container::staticMetaObject, qt_meta_stringdata_Scripting__Lesson.data,
      qt_meta_data_Scripting__Lesson,  qt_static_metacall, nullptr, nullptr}
};


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

void *Scripting::Lesson::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Scripting__Lesson.stringdata0))
        return static_cast<void*>(this);
    return Container::qt_metacast(_clname);
}

int Scripting::Lesson::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Container::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 23)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 23;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
