/****************************************************************************
** Meta object code from reading C++ file 'editorsession.h'
**
** Created by: The Qt Meta Object Compiler version 67 (Qt 5.9.2)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../../src/artikulate-17.08.3/src/core/editorsession.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'editorsession.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_EditorSession_t {
    QByteArrayData data[26];
    char stringdata0[331];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_EditorSession_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_EditorSession_t qt_meta_stringdata_EditorSession = {
    {
QT_MOC_LITERAL(0, 0, 13), // "EditorSession"
QT_MOC_LITERAL(1, 14, 19), // "editSkeletonChanged"
QT_MOC_LITERAL(2, 34, 0), // ""
QT_MOC_LITERAL(3, 35, 19), // "skeletonModeChanged"
QT_MOC_LITERAL(4, 55, 15), // "skeletonChanged"
QT_MOC_LITERAL(5, 71, 15), // "languageChanged"
QT_MOC_LITERAL(6, 87, 13), // "courseChanged"
QT_MOC_LITERAL(7, 101, 11), // "unitChanged"
QT_MOC_LITERAL(8, 113, 13), // "phraseChanged"
QT_MOC_LITERAL(9, 127, 22), // "switchToPreviousPhrase"
QT_MOC_LITERAL(10, 150, 18), // "switchToNextPhrase"
QT_MOC_LITERAL(11, 169, 24), // "updateCourseFromSkeleton"
QT_MOC_LITERAL(12, 194, 12), // "skeletonMode"
QT_MOC_LITERAL(13, 207, 12), // "editSkeleton"
QT_MOC_LITERAL(14, 220, 8), // "skeleton"
QT_MOC_LITERAL(15, 229, 9), // "Skeleton*"
QT_MOC_LITERAL(16, 239, 8), // "language"
QT_MOC_LITERAL(17, 248, 9), // "Language*"
QT_MOC_LITERAL(18, 258, 6), // "course"
QT_MOC_LITERAL(19, 265, 7), // "Course*"
QT_MOC_LITERAL(20, 273, 4), // "unit"
QT_MOC_LITERAL(21, 278, 5), // "Unit*"
QT_MOC_LITERAL(22, 284, 6), // "phrase"
QT_MOC_LITERAL(23, 291, 7), // "Phrase*"
QT_MOC_LITERAL(24, 299, 13), // "hasNextPhrase"
QT_MOC_LITERAL(25, 313, 17) // "hasPreviousPhrase"

    },
    "EditorSession\0editSkeletonChanged\0\0"
    "skeletonModeChanged\0skeletonChanged\0"
    "languageChanged\0courseChanged\0unitChanged\0"
    "phraseChanged\0switchToPreviousPhrase\0"
    "switchToNextPhrase\0updateCourseFromSkeleton\0"
    "skeletonMode\0editSkeleton\0skeleton\0"
    "Skeleton*\0language\0Language*\0course\0"
    "Course*\0unit\0Unit*\0phrase\0Phrase*\0"
    "hasNextPhrase\0hasPreviousPhrase"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_EditorSession[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    0,   65,    2, 0x06 /* Public */,
       4,    0,   66,    2, 0x06 /* Public */,
       5,    0,   67,    2, 0x06 /* Public */,
       6,    0,   68,    2, 0x06 /* Public */,
       7,    0,   69,    2, 0x06 /* Public */,
       8,    0,   70,    2, 0x06 /* Public */,

 // methods: name, argc, parameters, tag, flags
       9,    0,   71,    2, 0x02 /* Public */,
      10,    0,   72,    2, 0x02 /* Public */,
      11,    0,   73,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      12, QMetaType::Bool, 0x00495103,
      13, QMetaType::Bool, 0x00495103,
      14, 0x80000000 | 15, 0x0049510b,
      16, 0x80000000 | 17, 0x0049510b,
      18, 0x80000000 | 19, 0x0049510b,
      20, 0x80000000 | 21, 0x0049510b,
      22, 0x80000000 | 23, 0x0049510b,
      24, QMetaType::Bool, 0x00495001,
      25, QMetaType::Bool, 0x00495001,

 // properties: notify_signal_id
       1,
       0,
       2,
       3,
       4,
       5,
       6,
       6,
       6,

       0        // eod
};

void EditorSession::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EditorSession *_t = static_cast<EditorSession *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->editSkeletonChanged(); break;
        case 1: _t->skeletonModeChanged(); break;
        case 2: _t->skeletonChanged(); break;
        case 3: _t->languageChanged(); break;
        case 4: _t->courseChanged(); break;
        case 5: _t->unitChanged(); break;
        case 6: _t->phraseChanged(); break;
        case 7: _t->switchToPreviousPhrase(); break;
        case 8: _t->switchToNextPhrase(); break;
        case 9: _t->updateCourseFromSkeleton(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (EditorSession::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EditorSession::editSkeletonChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (EditorSession::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EditorSession::skeletonModeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (EditorSession::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EditorSession::skeletonChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (EditorSession::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EditorSession::languageChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (EditorSession::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EditorSession::courseChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (EditorSession::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EditorSession::unitChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (EditorSession::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EditorSession::phraseChanged)) {
                *result = 6;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Course* >(); break;
        case 6:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Phrase* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        EditorSession *_t = static_cast<EditorSession *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->skeletonMode(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isEditSkeleton(); break;
        case 2: *reinterpret_cast< Skeleton**>(_v) = _t->skeleton(); break;
        case 3: *reinterpret_cast< Language**>(_v) = _t->language(); break;
        case 4: *reinterpret_cast< Course**>(_v) = _t->course(); break;
        case 5: *reinterpret_cast< Unit**>(_v) = _t->unit(); break;
        case 6: *reinterpret_cast< Phrase**>(_v) = _t->phrase(); break;
        case 7: *reinterpret_cast< bool*>(_v) = _t->hasNextPhrase(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->hasPreviousPhrase(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        EditorSession *_t = static_cast<EditorSession *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSkeletonMode(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setEditSkeleton(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setSkeleton(*reinterpret_cast< Skeleton**>(_v)); break;
        case 3: _t->setLanguage(*reinterpret_cast< Language**>(_v)); break;
        case 4: _t->setCourse(*reinterpret_cast< Course**>(_v)); break;
        case 5: _t->setUnit(*reinterpret_cast< Unit**>(_v)); break;
        case 6: _t->setPhrase(*reinterpret_cast< Phrase**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject EditorSession::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_EditorSession.data,
      qt_meta_data_EditorSession,  qt_static_metacall, nullptr, nullptr}
};


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

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

int EditorSession::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 < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void EditorSession::editSkeletonChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void EditorSession::skeletonModeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void EditorSession::skeletonChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void EditorSession::languageChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void EditorSession::courseChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void EditorSession::unitChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void EditorSession::phraseChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
