/****************************************************************************
** Meta object code from reading C++ file 'summarywordwidget.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/summarywordwidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'summarywordwidget.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__SummaryWordWidget_t {
    QByteArrayData data[13];
    char stringdata0[186];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Editor__SummaryWordWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Editor__SummaryWordWidget_t qt_meta_stringdata_Editor__SummaryWordWidget = {
    {
QT_MOC_LITERAL(0, 0, 25), // "Editor::SummaryWordWidget"
QT_MOC_LITERAL(1, 26, 14), // "setTranslation"
QT_MOC_LITERAL(2, 41, 0), // ""
QT_MOC_LITERAL(3, 42, 18), // "KEduVocExpression*"
QT_MOC_LITERAL(4, 61, 5), // "entry"
QT_MOC_LITERAL(5, 67, 11), // "translation"
QT_MOC_LITERAL(6, 79, 19), // "slotDocumentChanged"
QT_MOC_LITERAL(7, 99, 16), // "KEduVocDocument*"
QT_MOC_LITERAL(8, 116, 3), // "doc"
QT_MOC_LITERAL(9, 120, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(10, 141, 14), // "QItemSelection"
QT_MOC_LITERAL(11, 156, 16), // "wordTypeSelected"
QT_MOC_LITERAL(12, 173, 12) // "wordTypeName"

    },
    "Editor::SummaryWordWidget\0setTranslation\0"
    "\0KEduVocExpression*\0entry\0translation\0"
    "slotDocumentChanged\0KEduVocDocument*\0"
    "doc\0slotSelectionChanged\0QItemSelection\0"
    "wordTypeSelected\0wordTypeName"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Editor__SummaryWordWidget[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    2,   34,    2, 0x0a /* Public */,
       6,    1,   39,    2, 0x0a /* Public */,
       9,    2,   42,    2, 0x0a /* Public */,
      11,    1,   47,    2, 0x0a /* Public */,

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

       0        // eod
};

void Editor::SummaryWordWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SummaryWordWidget *_t = static_cast<SummaryWordWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->setTranslation((*reinterpret_cast< KEduVocExpression*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->slotDocumentChanged((*reinterpret_cast< KEduVocDocument*(*)>(_a[1]))); break;
        case 2: _t->slotSelectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 3: _t->wordTypeSelected((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject Editor::SummaryWordWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Editor__SummaryWordWidget.data,
      qt_meta_data_Editor__SummaryWordWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Editor::SummaryWordWidget::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 < 4)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 4;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
    return _id;
}
struct qt_meta_stringdata_Editor__SummaryWordDelegate_t {
    QByteArrayData data[1];
    char stringdata0[28];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Editor__SummaryWordDelegate_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Editor__SummaryWordDelegate_t qt_meta_stringdata_Editor__SummaryWordDelegate = {
    {
QT_MOC_LITERAL(0, 0, 27) // "Editor::SummaryWordDelegate"

    },
    "Editor::SummaryWordDelegate"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Editor__SummaryWordDelegate[] = {

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

       0        // eod
};

void Editor::SummaryWordDelegate::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

const QMetaObject Editor::SummaryWordDelegate::staticMetaObject = {
    { &QItemDelegate::staticMetaObject, qt_meta_stringdata_Editor__SummaryWordDelegate.data,
      qt_meta_data_Editor__SummaryWordDelegate,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Editor::SummaryWordDelegate::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Editor__SummaryWordDelegate.stringdata0))
        return static_cast<void*>(const_cast< SummaryWordDelegate*>(this));
    return QItemDelegate::qt_metacast(_clname);
}

int Editor::SummaryWordDelegate::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QItemDelegate::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    return _id;
}
QT_END_MOC_NAMESPACE
