/****************************************************************************
** Meta object code from reading C++ file 'courseeditor.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/ktouch-17.12.3/src/editor/courseeditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'courseeditor.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_CourseEditor_t {
    QByteArrayData data[30];
    char stringdata0[453];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_CourseEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_CourseEditor_t qt_meta_stringdata_CourseEditor = {
    {
QT_MOC_LITERAL(0, 0, 12), // "CourseEditor"
QT_MOC_LITERAL(1, 13, 8), // "setTitle"
QT_MOC_LITERAL(2, 22, 0), // ""
QT_MOC_LITERAL(3, 23, 8), // "newTitle"
QT_MOC_LITERAL(4, 32, 21), // "setKeyboardLayoutName"
QT_MOC_LITERAL(5, 54, 7), // "newName"
QT_MOC_LITERAL(6, 62, 14), // "setDescription"
QT_MOC_LITERAL(7, 77, 14), // "newDescription"
QT_MOC_LITERAL(8, 92, 9), // "addLesson"
QT_MOC_LITERAL(9, 102, 12), // "removeLesson"
QT_MOC_LITERAL(10, 115, 12), // "moveLessonUp"
QT_MOC_LITERAL(11, 128, 14), // "moveLessonDown"
QT_MOC_LITERAL(12, 143, 14), // "setLessonTitle"
QT_MOC_LITERAL(13, 158, 22), // "setLessonNewCharacters"
QT_MOC_LITERAL(14, 181, 13), // "newCharacters"
QT_MOC_LITERAL(15, 195, 13), // "setLessonText"
QT_MOC_LITERAL(16, 209, 4), // "text"
QT_MOC_LITERAL(17, 214, 11), // "updateTitle"
QT_MOC_LITERAL(18, 226, 24), // "updateKeyboardLayoutName"
QT_MOC_LITERAL(19, 251, 17), // "updateDescription"
QT_MOC_LITERAL(20, 269, 17), // "updateLessonTitle"
QT_MOC_LITERAL(21, 287, 25), // "updateLessonNewCharacters"
QT_MOC_LITERAL(22, 313, 16), // "updateLessonText"
QT_MOC_LITERAL(23, 330, 22), // "updateLessonCharacters"
QT_MOC_LITERAL(24, 353, 22), // "onKeyboardLayoutChosen"
QT_MOC_LITERAL(25, 376, 20), // "onDescriptionChanged"
QT_MOC_LITERAL(26, 397, 19), // "onLessonTextChanged"
QT_MOC_LITERAL(27, 417, 12), // "selectLesson"
QT_MOC_LITERAL(28, 430, 5), // "index"
QT_MOC_LITERAL(29, 436, 16) // "onLessonSelected"

    },
    "CourseEditor\0setTitle\0\0newTitle\0"
    "setKeyboardLayoutName\0newName\0"
    "setDescription\0newDescription\0addLesson\0"
    "removeLesson\0moveLessonUp\0moveLessonDown\0"
    "setLessonTitle\0setLessonNewCharacters\0"
    "newCharacters\0setLessonText\0text\0"
    "updateTitle\0updateKeyboardLayoutName\0"
    "updateDescription\0updateLessonTitle\0"
    "updateLessonNewCharacters\0updateLessonText\0"
    "updateLessonCharacters\0onKeyboardLayoutChosen\0"
    "onDescriptionChanged\0onLessonTextChanged\0"
    "selectLesson\0index\0onLessonSelected"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_CourseEditor[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,  124,    2, 0x08 /* Private */,
       4,    1,  127,    2, 0x08 /* Private */,
       6,    1,  130,    2, 0x08 /* Private */,
       8,    0,  133,    2, 0x08 /* Private */,
       9,    0,  134,    2, 0x08 /* Private */,
      10,    0,  135,    2, 0x08 /* Private */,
      11,    0,  136,    2, 0x08 /* Private */,
      12,    1,  137,    2, 0x08 /* Private */,
      13,    1,  140,    2, 0x08 /* Private */,
      15,    1,  143,    2, 0x08 /* Private */,
      17,    0,  146,    2, 0x08 /* Private */,
      18,    0,  147,    2, 0x08 /* Private */,
      19,    0,  148,    2, 0x08 /* Private */,
      20,    0,  149,    2, 0x08 /* Private */,
      21,    0,  150,    2, 0x08 /* Private */,
      22,    0,  151,    2, 0x08 /* Private */,
      23,    0,  152,    2, 0x08 /* Private */,
      24,    0,  153,    2, 0x08 /* Private */,
      25,    0,  154,    2, 0x08 /* Private */,
      26,    0,  155,    2, 0x08 /* Private */,
      27,    1,  156,    2, 0x08 /* Private */,
      29,    0,  159,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,    5,
    QMetaType::Void, QMetaType::QString,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString,   14,
    QMetaType::Void, QMetaType::QString,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   28,
    QMetaType::Void,

       0        // eod
};

void CourseEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        CourseEditor *_t = static_cast<CourseEditor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setTitle((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->setKeyboardLayoutName((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->setDescription((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->addLesson(); break;
        case 4: _t->removeLesson(); break;
        case 5: _t->moveLessonUp(); break;
        case 6: _t->moveLessonDown(); break;
        case 7: _t->setLessonTitle((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->setLessonNewCharacters((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->setLessonText((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 10: _t->updateTitle(); break;
        case 11: _t->updateKeyboardLayoutName(); break;
        case 12: _t->updateDescription(); break;
        case 13: _t->updateLessonTitle(); break;
        case 14: _t->updateLessonNewCharacters(); break;
        case 15: _t->updateLessonText(); break;
        case 16: _t->updateLessonCharacters(); break;
        case 17: _t->onKeyboardLayoutChosen(); break;
        case 18: _t->onDescriptionChanged(); break;
        case 19: _t->onLessonTextChanged(); break;
        case 20: _t->selectLesson((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 21: _t->onLessonSelected(); break;
        default: ;
        }
    }
}

const QMetaObject CourseEditor::staticMetaObject = {
    { &AbstractEditor::staticMetaObject, qt_meta_stringdata_CourseEditor.data,
      qt_meta_data_CourseEditor,  qt_static_metacall, nullptr, nullptr}
};


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

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

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