/****************************************************************************
** Meta object code from reading C++ file 'identifier.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/parley-17.08.3/src/scripts/scripting/identifier.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'identifier.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_Scripting__Identifier_t {
    QByteArrayData data[15];
    char stringdata0[164];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Scripting__Identifier_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Scripting__Identifier_t qt_meta_stringdata_Scripting__Identifier = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Scripting::Identifier"
QT_MOC_LITERAL(1, 22, 7), // "article"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 16), // "KEduVocWordFlags"
QT_MOC_LITERAL(4, 48, 5), // "flags"
QT_MOC_LITERAL(5, 54, 10), // "setArticle"
QT_MOC_LITERAL(6, 65, 15), // "personalPronoun"
QT_MOC_LITERAL(7, 81, 18), // "setPersonalPronoun"
QT_MOC_LITERAL(8, 100, 11), // "conjugation"
QT_MOC_LITERAL(9, 112, 16), // "personalPronouns"
QT_MOC_LITERAL(10, 129, 9), // "setTenses"
QT_MOC_LITERAL(11, 139, 5), // "names"
QT_MOC_LITERAL(12, 145, 6), // "tenses"
QT_MOC_LITERAL(13, 152, 4), // "name"
QT_MOC_LITERAL(14, 157, 6) // "locale"

    },
    "Scripting::Identifier\0article\0\0"
    "KEduVocWordFlags\0flags\0setArticle\0"
    "personalPronoun\0setPersonalPronoun\0"
    "conjugation\0personalPronouns\0setTenses\0"
    "names\0tenses\0name\0locale"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Scripting__Identifier[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x0a /* Public */,
       5,    2,   52,    2, 0x0a /* Public */,
       6,    1,   57,    2, 0x0a /* Public */,
       7,    2,   60,    2, 0x0a /* Public */,
       9,    0,   65,    2, 0x0a /* Public */,
      10,    1,   66,    2, 0x0a /* Public */,
      12,    0,   69,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::QString, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 3,    1,    4,
    QMetaType::QString, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 3,    8,    4,
    QMetaType::QStringList,
    QMetaType::Void, QMetaType::QStringList,   11,
    QMetaType::QStringList,

 // properties: name, type, flags
      13, QMetaType::QString, 0x00095103,
      14, QMetaType::QString, 0x00095103,

       0        // eod
};

void Scripting::Identifier::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Identifier *_t = static_cast<Identifier *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: { QString _r = _t->article((*reinterpret_cast< const KEduVocWordFlags(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 1: _t->setArticle((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const KEduVocWordFlags(*)>(_a[2]))); break;
        case 2: { QString _r = _t->personalPronoun((*reinterpret_cast< const KEduVocWordFlags(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 3: _t->setPersonalPronoun((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const KEduVocWordFlags(*)>(_a[2]))); break;
        case 4: { QStringList _r = _t->personalPronouns();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 5: _t->setTenses((*reinterpret_cast< QStringList(*)>(_a[1]))); break;
        case 6: { QStringList _r = _t->tenses();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Identifier *_t = static_cast<Identifier *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->locale(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Identifier *_t = static_cast<Identifier *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setName(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setLocale(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Scripting::Identifier::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Scripting__Identifier.data,
      qt_meta_data_Scripting__Identifier,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Scripting::Identifier::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 < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
#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 -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
