/****************************************************************************
** Meta object code from reading C++ file 'comparisonwidget.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/comparisonwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'comparisonwidget.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__ComparisonWidget_t {
    QByteArrayData data[13];
    char stringdata0[202];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Editor__ComparisonWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Editor__ComparisonWidget_t qt_meta_stringdata_Editor__ComparisonWidget = {
    {
QT_MOC_LITERAL(0, 0, 24), // "Editor::ComparisonWidget"
QT_MOC_LITERAL(1, 25, 11), // "setDocument"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 16), // "KEduVocDocument*"
QT_MOC_LITERAL(4, 55, 3), // "doc"
QT_MOC_LITERAL(5, 59, 14), // "setTranslation"
QT_MOC_LITERAL(6, 74, 18), // "KEduVocExpression*"
QT_MOC_LITERAL(7, 93, 5), // "entry"
QT_MOC_LITERAL(8, 99, 11), // "translation"
QT_MOC_LITERAL(9, 111, 23), // "slotMakeAdjectiveButton"
QT_MOC_LITERAL(10, 135, 20), // "slotMakeAdverbButton"
QT_MOC_LITERAL(11, 156, 22), // "slotComparativeChanged"
QT_MOC_LITERAL(12, 179, 22) // "slotSuperlativeChanged"

    },
    "Editor::ComparisonWidget\0setDocument\0"
    "\0KEduVocDocument*\0doc\0setTranslation\0"
    "KEduVocExpression*\0entry\0translation\0"
    "slotMakeAdjectiveButton\0slotMakeAdverbButton\0"
    "slotComparativeChanged\0slotSuperlativeChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Editor__ComparisonWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x0a /* Public */,
       5,    2,   47,    2, 0x0a /* Public */,
       9,    0,   52,    2, 0x08 /* Private */,
      10,    0,   53,    2, 0x08 /* Private */,
      11,    0,   54,    2, 0x08 /* Private */,
      12,    0,   55,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6, QMetaType::Int,    7,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Editor::ComparisonWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ComparisonWidget *_t = static_cast<ComparisonWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setDocument((*reinterpret_cast< KEduVocDocument*(*)>(_a[1]))); break;
        case 1: _t->setTranslation((*reinterpret_cast< KEduVocExpression*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->slotMakeAdjectiveButton(); break;
        case 3: _t->slotMakeAdverbButton(); break;
        case 4: _t->slotComparativeChanged(); break;
        case 5: _t->slotSuperlativeChanged(); break;
        default: ;
        }
    }
}

const QMetaObject Editor::ComparisonWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Editor__ComparisonWidget.data,
      qt_meta_data_Editor__ComparisonWidget,  qt_static_metacall, nullptr, nullptr}
};


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

void *Editor::ComparisonWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Editor__ComparisonWidget.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "Ui::comparisonWidget"))
        return static_cast< Ui::comparisonWidget*>(this);
    return QWidget::qt_metacast(_clname);
}

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