/****************************************************************************
** Meta object code from reading C++ file 'translation.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/translation.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'translation.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__Translation_t {
    QByteArrayData data[33];
    char stringdata0[396];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Scripting__Translation_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Scripting__Translation_t qt_meta_stringdata_Scripting__Translation = {
    {
QT_MOC_LITERAL(0, 0, 22), // "Scripting::Translation"
QT_MOC_LITERAL(1, 23, 14), // "addFalseFriend"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 12), // "Translation*"
QT_MOC_LITERAL(4, 52, 11), // "falseFriend"
QT_MOC_LITERAL(5, 64, 17), // "removeFalseFriend"
QT_MOC_LITERAL(6, 82, 10), // "addSynonym"
QT_MOC_LITERAL(7, 93, 7), // "synonym"
QT_MOC_LITERAL(8, 101, 13), // "removeSynonym"
QT_MOC_LITERAL(9, 115, 10), // "addAntonym"
QT_MOC_LITERAL(10, 126, 7), // "antonym"
QT_MOC_LITERAL(11, 134, 13), // "removeAntonym"
QT_MOC_LITERAL(12, 148, 12), // "falseFriends"
QT_MOC_LITERAL(13, 161, 8), // "synonyms"
QT_MOC_LITERAL(14, 170, 8), // "antonyms"
QT_MOC_LITERAL(15, 179, 8), // "wordType"
QT_MOC_LITERAL(16, 188, 14), // "multipleChoice"
QT_MOC_LITERAL(17, 203, 17), // "conjugationTenses"
QT_MOC_LITERAL(18, 221, 18), // "setConjugationText"
QT_MOC_LITERAL(19, 240, 11), // "conjugation"
QT_MOC_LITERAL(20, 252, 5), // "tense"
QT_MOC_LITERAL(21, 258, 16), // "KEduVocWordFlags"
QT_MOC_LITERAL(22, 275, 5), // "flags"
QT_MOC_LITERAL(23, 281, 14), // "setConjugation"
QT_MOC_LITERAL(24, 296, 16), // "conjugationTexts"
QT_MOC_LITERAL(25, 313, 13), // "pronunciation"
QT_MOC_LITERAL(26, 327, 7), // "comment"
QT_MOC_LITERAL(27, 335, 7), // "example"
QT_MOC_LITERAL(28, 343, 10), // "paraphrase"
QT_MOC_LITERAL(29, 354, 11), // "comparative"
QT_MOC_LITERAL(30, 366, 11), // "superlative"
QT_MOC_LITERAL(31, 378, 8), // "soundUrl"
QT_MOC_LITERAL(32, 387, 8) // "imageUrl"

    },
    "Scripting::Translation\0addFalseFriend\0"
    "\0Translation*\0falseFriend\0removeFalseFriend\0"
    "addSynonym\0synonym\0removeSynonym\0"
    "addAntonym\0antonym\0removeAntonym\0"
    "falseFriends\0synonyms\0antonyms\0wordType\0"
    "multipleChoice\0conjugationTenses\0"
    "setConjugationText\0conjugation\0tense\0"
    "KEduVocWordFlags\0flags\0setConjugation\0"
    "conjugationTexts\0pronunciation\0comment\0"
    "example\0paraphrase\0comparative\0"
    "superlative\0soundUrl\0imageUrl"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Scripting__Translation[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   99,    2, 0x0a /* Public */,
       5,    1,  102,    2, 0x0a /* Public */,
       6,    1,  105,    2, 0x0a /* Public */,
       8,    1,  108,    2, 0x0a /* Public */,
       9,    1,  111,    2, 0x0a /* Public */,
      11,    1,  114,    2, 0x0a /* Public */,
      12,    0,  117,    2, 0x0a /* Public */,
      13,    0,  118,    2, 0x0a /* Public */,
      14,    0,  119,    2, 0x0a /* Public */,
      15,    0,  120,    2, 0x0a /* Public */,
      16,    0,  121,    2, 0x0a /* Public */,
      17,    0,  122,    2, 0x0a /* Public */,
      18,    3,  123,    2, 0x0a /* Public */,
      23,    3,  130,    2, 0x0a /* Public */,
      19,    2,  137,    2, 0x0a /* Public */,
      24,    1,  142,    2, 0x0a /* Public */,
      24,    2,  145,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    7,
    QMetaType::Void, 0x80000000 | 3,    7,
    QMetaType::Void, 0x80000000 | 3,   10,
    QMetaType::Void, 0x80000000 | 3,   10,
    QMetaType::QVariantList,
    QMetaType::QVariantList,
    QMetaType::QVariantList,
    QMetaType::QString,
    QMetaType::QStringList,
    QMetaType::QStringList,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, 0x80000000 | 21,   19,   20,   22,
    QMetaType::Void, QMetaType::QObjectStar, QMetaType::QString, 0x80000000 | 21,   19,   20,   22,
    QMetaType::QObjectStar, QMetaType::QString, 0x80000000 | 21,   20,   22,
    QMetaType::QStringList, QMetaType::QString,   20,
    QMetaType::QStringList, QMetaType::QString, 0x80000000 | 21,   20,   22,

 // properties: name, type, flags
      25, QMetaType::QString, 0x00095103,
      26, QMetaType::QString, 0x00095103,
      27, QMetaType::QString, 0x00095103,
      28, QMetaType::QString, 0x00095103,
      29, QMetaType::QString, 0x00095103,
      30, QMetaType::QString, 0x00095103,
      31, QMetaType::QString, 0x00095103,
      32, QMetaType::QString, 0x00095103,

       0        // eod
};

void Scripting::Translation::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Translation *_t = static_cast<Translation *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->addFalseFriend((*reinterpret_cast< Translation*(*)>(_a[1]))); break;
        case 1: _t->removeFalseFriend((*reinterpret_cast< Translation*(*)>(_a[1]))); break;
        case 2: _t->addSynonym((*reinterpret_cast< Translation*(*)>(_a[1]))); break;
        case 3: _t->removeSynonym((*reinterpret_cast< Translation*(*)>(_a[1]))); break;
        case 4: _t->addAntonym((*reinterpret_cast< Translation*(*)>(_a[1]))); break;
        case 5: _t->removeAntonym((*reinterpret_cast< Translation*(*)>(_a[1]))); break;
        case 6: { QVariantList _r = _t->falseFriends();
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 7: { QVariantList _r = _t->synonyms();
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 8: { QVariantList _r = _t->antonyms();
            if (_a[0]) *reinterpret_cast< QVariantList*>(_a[0]) = std::move(_r); }  break;
        case 9: { QString _r = _t->wordType();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = std::move(_r); }  break;
        case 10: { QStringList _r = _t->multipleChoice();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 11: { QStringList _r = _t->conjugationTenses();
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 12: _t->setConjugationText((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const KEduVocWordFlags(*)>(_a[3]))); break;
        case 13: _t->setConjugation((*reinterpret_cast< QObject*(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const KEduVocWordFlags(*)>(_a[3]))); break;
        case 14: { QObject* _r = _t->conjugation((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const KEduVocWordFlags(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = std::move(_r); }  break;
        case 15: { QStringList _r = _t->conjugationTexts((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 16: { QStringList _r = _t->conjugationTexts((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const KEduVocWordFlags(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Translation* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Translation* >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Translation* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Translation* >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Translation* >(); break;
            }
            break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Translation* >(); break;
            }
            break;
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Translation *_t = static_cast<Translation *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->pronunciation(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->comment(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->example(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->paraphrase(); break;
        case 4: *reinterpret_cast< QString*>(_v) = _t->comparative(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->superlative(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->soundUrl(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->soundUrl(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Translation *_t = static_cast<Translation *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setPronunciation(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setComment(*reinterpret_cast< QString*>(_v)); break;
        case 2: _t->setExample(*reinterpret_cast< QString*>(_v)); break;
        case 3: _t->setParaphrase(*reinterpret_cast< QString*>(_v)); break;
        case 4: _t->setComparative(*reinterpret_cast< QString*>(_v)); break;
        case 5: _t->setSuperlative(*reinterpret_cast< QString*>(_v)); break;
        case 6: _t->setSoundUrl(*reinterpret_cast< QString*>(_v)); break;
        case 7: _t->setImageUrl(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Scripting::Translation::staticMetaObject = {
    { &Text::staticMetaObject, qt_meta_stringdata_Scripting__Translation.data,
      qt_meta_data_Scripting__Translation,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Scripting::Translation::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Text::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 17)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 17;
    }
#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 -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
