/****************************************************************************
** Meta object code from reading C++ file 'wordtypeview.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/editor/wordtypeview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'wordtypeview.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_Editor__WordTypeView_t {
    QByteArrayData data[20];
    char stringdata0[342];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Editor__WordTypeView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Editor__WordTypeView_t qt_meta_stringdata_Editor__WordTypeView = {
    {
QT_MOC_LITERAL(0, 0, 20), // "Editor::WordTypeView"
QT_MOC_LITERAL(1, 21, 23), // "selectedWordTypeChanged"
QT_MOC_LITERAL(2, 45, 0), // ""
QT_MOC_LITERAL(3, 46, 16), // "KEduVocWordType*"
QT_MOC_LITERAL(4, 63, 8), // "wordType"
QT_MOC_LITERAL(5, 72, 21), // "slotCreateNewWordType"
QT_MOC_LITERAL(6, 94, 18), // "slotDeleteWordType"
QT_MOC_LITERAL(7, 113, 14), // "setTranslation"
QT_MOC_LITERAL(8, 128, 18), // "KEduVocExpression*"
QT_MOC_LITERAL(9, 147, 5), // "entry"
QT_MOC_LITERAL(10, 153, 13), // "translationId"
QT_MOC_LITERAL(11, 167, 15), // "setWordTypeNone"
QT_MOC_LITERAL(12, 183, 15), // "setWordTypeNoun"
QT_MOC_LITERAL(13, 199, 19), // "setWordTypeNounMale"
QT_MOC_LITERAL(14, 219, 21), // "setWordTypeNounFemale"
QT_MOC_LITERAL(15, 241, 22), // "setWordTypeNounNeutral"
QT_MOC_LITERAL(16, 264, 20), // "setWordTypeAdjective"
QT_MOC_LITERAL(17, 285, 17), // "setWordTypeAdverb"
QT_MOC_LITERAL(18, 303, 15), // "setWordTypeVerb"
QT_MOC_LITERAL(19, 319, 22) // "setWordTypeConjunction"

    },
    "Editor::WordTypeView\0selectedWordTypeChanged\0"
    "\0KEduVocWordType*\0wordType\0"
    "slotCreateNewWordType\0slotDeleteWordType\0"
    "setTranslation\0KEduVocExpression*\0"
    "entry\0translationId\0setWordTypeNone\0"
    "setWordTypeNoun\0setWordTypeNounMale\0"
    "setWordTypeNounFemale\0setWordTypeNounNeutral\0"
    "setWordTypeAdjective\0setWordTypeAdverb\0"
    "setWordTypeVerb\0setWordTypeConjunction"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Editor__WordTypeView[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       5,    0,   82,    2, 0x0a /* Public */,
       6,    0,   83,    2, 0x0a /* Public */,
       7,    2,   84,    2, 0x0a /* Public */,
      11,    0,   89,    2, 0x08 /* Private */,
      12,    0,   90,    2, 0x08 /* Private */,
      13,    0,   91,    2, 0x08 /* Private */,
      14,    0,   92,    2, 0x08 /* Private */,
      15,    0,   93,    2, 0x08 /* Private */,
      16,    0,   94,    2, 0x08 /* Private */,
      17,    0,   95,    2, 0x08 /* Private */,
      18,    0,   96,    2, 0x08 /* Private */,
      19,    0,   97,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8, QMetaType::Int,    9,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Editor::WordTypeView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        WordTypeView *_t = static_cast<WordTypeView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->selectedWordTypeChanged((*reinterpret_cast< KEduVocWordType*(*)>(_a[1]))); break;
        case 1: _t->slotCreateNewWordType(); break;
        case 2: _t->slotDeleteWordType(); break;
        case 3: _t->setTranslation((*reinterpret_cast< KEduVocExpression*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 4: _t->setWordTypeNone(); break;
        case 5: _t->setWordTypeNoun(); break;
        case 6: _t->setWordTypeNounMale(); break;
        case 7: _t->setWordTypeNounFemale(); break;
        case 8: _t->setWordTypeNounNeutral(); break;
        case 9: _t->setWordTypeAdjective(); break;
        case 10: _t->setWordTypeAdverb(); break;
        case 11: _t->setWordTypeVerb(); break;
        case 12: _t->setWordTypeConjunction(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (WordTypeView::*_t)(KEduVocWordType * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&WordTypeView::selectedWordTypeChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Editor::WordTypeView::staticMetaObject = {
    { &ContainerView::staticMetaObject, qt_meta_stringdata_Editor__WordTypeView.data,
      qt_meta_data_Editor__WordTypeView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Editor::WordTypeView::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void Editor::WordTypeView::selectedWordTypeChanged(KEduVocWordType * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
