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

#include "../../src/parley-17.04.3/src/editor/conjugationwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'conjugationwidget.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_Editor__ConjugationWidget_t {
    QByteArrayData data[14];
    char stringdata0[189];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Editor__ConjugationWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Editor__ConjugationWidget_t qt_meta_stringdata_Editor__ConjugationWidget = {
    {
QT_MOC_LITERAL(0, 0, 25), // "Editor::ConjugationWidget"
QT_MOC_LITERAL(1, 26, 11), // "sigModified"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 11), // "setDocument"
QT_MOC_LITERAL(4, 51, 16), // "KEduVocDocument*"
QT_MOC_LITERAL(5, 68, 3), // "doc"
QT_MOC_LITERAL(6, 72, 14), // "setTranslation"
QT_MOC_LITERAL(7, 87, 18), // "KEduVocExpression*"
QT_MOC_LITERAL(8, 106, 5), // "entry"
QT_MOC_LITERAL(9, 112, 11), // "translation"
QT_MOC_LITERAL(10, 124, 11), // "textChanged"
QT_MOC_LITERAL(11, 136, 17), // "slotTenseSelected"
QT_MOC_LITERAL(12, 154, 13), // "slotNextTense"
QT_MOC_LITERAL(13, 168, 20) // "tenseEditingFinished"

    },
    "Editor::ConjugationWidget\0sigModified\0"
    "\0setDocument\0KEduVocDocument*\0doc\0"
    "setTranslation\0KEduVocExpression*\0"
    "entry\0translation\0textChanged\0"
    "slotTenseSelected\0slotNextTense\0"
    "tenseEditingFinished"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Editor__ConjugationWidget[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    1,   50,    2, 0x0a /* Public */,
       6,    2,   53,    2, 0x0a /* Public */,
      10,    1,   58,    2, 0x08 /* Private */,
      11,    1,   61,    2, 0x08 /* Private */,
      12,    0,   64,    2, 0x08 /* Private */,
      13,    0,   65,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, 0x80000000 | 7, QMetaType::Int,    8,    9,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Editor::ConjugationWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ConjugationWidget *_t = static_cast<ConjugationWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sigModified(); break;
        case 1: _t->setDocument((*reinterpret_cast< KEduVocDocument*(*)>(_a[1]))); break;
        case 2: _t->setTranslation((*reinterpret_cast< KEduVocExpression*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->textChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->slotTenseSelected((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->slotNextTense(); break;
        case 6: _t->tenseEditingFinished(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ConjugationWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ConjugationWidget::sigModified)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Editor::ConjugationWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Editor__ConjugationWidget.data,
      qt_meta_data_Editor__ConjugationWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Editor::ConjugationWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Editor__ConjugationWidget.stringdata0))
        return static_cast<void*>(const_cast< ConjugationWidget*>(this));
    if (!strcmp(_clname, "Ui::ConjugationWidget"))
        return static_cast< Ui::ConjugationWidget*>(const_cast< ConjugationWidget*>(this));
    return QWidget::qt_metacast(_clname);
}

int Editor::ConjugationWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::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;
    }
    return _id;
}

// SIGNAL 0
void Editor::ConjugationWidget::sigModified()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
