/****************************************************************************
** Meta object code from reading C++ file 'lessonview.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/editor/lessonview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'lessonview.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_Editor__LessonView_t {
    QByteArrayData data[27];
    char stringdata0[422];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Editor__LessonView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Editor__LessonView_t qt_meta_stringdata_Editor__LessonView = {
    {
QT_MOC_LITERAL(0, 0, 18), // "Editor::LessonView"
QT_MOC_LITERAL(1, 19, 21), // "selectedLessonChanged"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 14), // "KEduVocLesson*"
QT_MOC_LITERAL(4, 57, 6), // "lesson"
QT_MOC_LITERAL(5, 64, 19), // "signalShowContainer"
QT_MOC_LITERAL(6, 84, 17), // "KEduVocContainer*"
QT_MOC_LITERAL(7, 102, 8), // "selected"
QT_MOC_LITERAL(8, 111, 24), // "lessonsInPracticeChanged"
QT_MOC_LITERAL(9, 136, 19), // "slotCreateNewLesson"
QT_MOC_LITERAL(10, 156, 16), // "slotDeleteLesson"
QT_MOC_LITERAL(11, 173, 15), // "slotSplitLesson"
QT_MOC_LITERAL(12, 189, 22), // "slotRemoveGradesLesson"
QT_MOC_LITERAL(13, 212, 30), // "slotRemoveGradesLessonChildren"
QT_MOC_LITERAL(14, 243, 15), // "columnsInserted"
QT_MOC_LITERAL(15, 259, 14), // "setTranslation"
QT_MOC_LITERAL(16, 274, 18), // "KEduVocExpression*"
QT_MOC_LITERAL(17, 293, 5), // "entry"
QT_MOC_LITERAL(18, 299, 13), // "translationId"
QT_MOC_LITERAL(19, 313, 15), // "expandAllLesson"
QT_MOC_LITERAL(20, 329, 17), // "collapseAllLesson"
QT_MOC_LITERAL(21, 347, 16), // "selectionChanged"
QT_MOC_LITERAL(22, 364, 14), // "QItemSelection"
QT_MOC_LITERAL(23, 379, 10), // "deselected"
QT_MOC_LITERAL(24, 390, 14), // "currentChanged"
QT_MOC_LITERAL(25, 405, 7), // "current"
QT_MOC_LITERAL(26, 413, 8) // "previous"

    },
    "Editor::LessonView\0selectedLessonChanged\0"
    "\0KEduVocLesson*\0lesson\0signalShowContainer\0"
    "KEduVocContainer*\0selected\0"
    "lessonsInPracticeChanged\0slotCreateNewLesson\0"
    "slotDeleteLesson\0slotSplitLesson\0"
    "slotRemoveGradesLesson\0"
    "slotRemoveGradesLessonChildren\0"
    "columnsInserted\0setTranslation\0"
    "KEduVocExpression*\0entry\0translationId\0"
    "expandAllLesson\0collapseAllLesson\0"
    "selectionChanged\0QItemSelection\0"
    "deselected\0currentChanged\0current\0"
    "previous"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Editor__LessonView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       5,    1,   87,    2, 0x06 /* Public */,
       8,    0,   90,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    0,   91,    2, 0x0a /* Public */,
      10,    0,   92,    2, 0x0a /* Public */,
      11,    0,   93,    2, 0x0a /* Public */,
      12,    0,   94,    2, 0x0a /* Public */,
      13,    0,   95,    2, 0x0a /* Public */,
      14,    0,   96,    2, 0x0a /* Public */,
      15,    2,   97,    2, 0x0a /* Public */,
      19,    0,  102,    2, 0x0a /* Public */,
      20,    0,  103,    2, 0x0a /* Public */,
      21,    2,  104,    2, 0x09 /* Protected */,
      24,    2,  109,    2, 0x09 /* Protected */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16, QMetaType::Int,   17,   18,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22, 0x80000000 | 22,    7,   23,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   25,   26,

       0        // eod
};

void Editor::LessonView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        LessonView *_t = static_cast<LessonView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->selectedLessonChanged((*reinterpret_cast< KEduVocLesson*(*)>(_a[1]))); break;
        case 1: _t->signalShowContainer((*reinterpret_cast< KEduVocContainer*(*)>(_a[1]))); break;
        case 2: _t->lessonsInPracticeChanged(); break;
        case 3: _t->slotCreateNewLesson(); break;
        case 4: _t->slotDeleteLesson(); break;
        case 5: _t->slotSplitLesson(); break;
        case 6: _t->slotRemoveGradesLesson(); break;
        case 7: _t->slotRemoveGradesLessonChildren(); break;
        case 8: _t->columnsInserted(); break;
        case 9: _t->setTranslation((*reinterpret_cast< KEduVocExpression*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 10: _t->expandAllLesson(); break;
        case 11: _t->collapseAllLesson(); break;
        case 12: _t->selectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 13: _t->currentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 12:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (LessonView::*_t)(KEduVocLesson * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LessonView::selectedLessonChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (LessonView::*_t)(KEduVocContainer * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LessonView::signalShowContainer)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (LessonView::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&LessonView::lessonsInPracticeChanged)) {
                *result = 2;
                return;
            }
        }
    }
}

const QMetaObject Editor::LessonView::staticMetaObject = {
    { &ContainerView::staticMetaObject, qt_meta_stringdata_Editor__LessonView.data,
      qt_meta_data_Editor__LessonView,  qt_static_metacall, nullptr, nullptr}
};


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

void *Editor::LessonView::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Editor__LessonView.stringdata0))
        return static_cast<void*>(this);
    return ContainerView::qt_metacast(_clname);
}

int Editor::LessonView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ContainerView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    }
    return _id;
}

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

// SIGNAL 1
void Editor::LessonView::signalShowContainer(KEduVocContainer * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Editor::LessonView::lessonsInPracticeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
