/****************************************************************************
** Meta object code from reading C++ file 'vocabularyview.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/vocabularyview.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'vocabularyview.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__VocabularyView_t {
    QByteArrayData data[34];
    char stringdata0[440];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Editor__VocabularyView_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Editor__VocabularyView_t qt_meta_stringdata_Editor__VocabularyView = {
    {
QT_MOC_LITERAL(0, 0, 22), // "Editor::VocabularyView"
QT_MOC_LITERAL(1, 23, 18), // "translationChanged"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 18), // "KEduVocExpression*"
QT_MOC_LITERAL(4, 62, 5), // "reset"
QT_MOC_LITERAL(5, 68, 11), // "appendEntry"
QT_MOC_LITERAL(6, 80, 21), // "deleteSelectedEntries"
QT_MOC_LITERAL(7, 102, 15), // "askConfirmation"
QT_MOC_LITERAL(8, 118, 12), // "slotEditCopy"
QT_MOC_LITERAL(9, 131, 12), // "slotCutEntry"
QT_MOC_LITERAL(10, 144, 13), // "slotEditPaste"
QT_MOC_LITERAL(11, 158, 10), // "appendChar"
QT_MOC_LITERAL(12, 169, 1), // "c"
QT_MOC_LITERAL(13, 171, 11), // "setDocument"
QT_MOC_LITERAL(14, 183, 16), // "KEduVocDocument*"
QT_MOC_LITERAL(15, 200, 3), // "doc"
QT_MOC_LITERAL(16, 204, 13), // "setTranslator"
QT_MOC_LITERAL(17, 218, 11), // "Translator*"
QT_MOC_LITERAL(18, 230, 10), // "translator"
QT_MOC_LITERAL(19, 241, 13), // "checkSpelling"
QT_MOC_LITERAL(20, 255, 8), // "language"
QT_MOC_LITERAL(21, 264, 31), // "slotShowVocabularyColumnsDialog"
QT_MOC_LITERAL(22, 296, 18), // "slotCurrentChanged"
QT_MOC_LITERAL(23, 315, 7), // "current"
QT_MOC_LITERAL(24, 323, 8), // "previous"
QT_MOC_LITERAL(25, 332, 20), // "slotSelectionChanged"
QT_MOC_LITERAL(26, 353, 14), // "QItemSelection"
QT_MOC_LITERAL(27, 368, 16), // "continueSpelling"
QT_MOC_LITERAL(28, 385, 11), // "misspelling"
QT_MOC_LITERAL(29, 397, 4), // "word"
QT_MOC_LITERAL(30, 402, 5), // "start"
QT_MOC_LITERAL(31, 408, 15), // "spellingReplace"
QT_MOC_LITERAL(32, 424, 7), // "oldWord"
QT_MOC_LITERAL(33, 432, 7) // "newWord"

    },
    "Editor::VocabularyView\0translationChanged\0"
    "\0KEduVocExpression*\0reset\0appendEntry\0"
    "deleteSelectedEntries\0askConfirmation\0"
    "slotEditCopy\0slotCutEntry\0slotEditPaste\0"
    "appendChar\0c\0setDocument\0KEduVocDocument*\0"
    "doc\0setTranslator\0Translator*\0translator\0"
    "checkSpelling\0language\0"
    "slotShowVocabularyColumnsDialog\0"
    "slotCurrentChanged\0current\0previous\0"
    "slotSelectionChanged\0QItemSelection\0"
    "continueSpelling\0misspelling\0word\0"
    "start\0spellingReplace\0oldWord\0newWord"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Editor__VocabularyView[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    0,  109,    2, 0x0a /* Public */,
       5,    0,  110,    2, 0x0a /* Public */,
       6,    1,  111,    2, 0x0a /* Public */,
       6,    0,  114,    2, 0x2a /* Public | MethodCloned */,
       8,    0,  115,    2, 0x0a /* Public */,
       9,    0,  116,    2, 0x0a /* Public */,
      10,    0,  117,    2, 0x0a /* Public */,
      11,    1,  118,    2, 0x0a /* Public */,
      13,    1,  121,    2, 0x0a /* Public */,
      16,    1,  124,    2, 0x0a /* Public */,
      19,    1,  127,    2, 0x0a /* Public */,
      21,    0,  130,    2, 0x0a /* Public */,
      22,    2,  131,    2, 0x08 /* Private */,
      25,    2,  136,    2, 0x08 /* Private */,
      27,    0,  141,    2, 0x08 /* Private */,
      28,    2,  142,    2, 0x08 /* Private */,
      31,    3,  147,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3, QMetaType::Int,    2,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QChar,   12,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, 0x80000000 | 17,   18,
    QMetaType::Void, QMetaType::Int,   20,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::QModelIndex,   23,   24,
    QMetaType::Void, 0x80000000 | 26, 0x80000000 | 26,    2,    2,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   29,   30,
    QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::QString,   32,   30,   33,

       0        // eod
};

void Editor::VocabularyView::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        VocabularyView *_t = static_cast<VocabularyView *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->translationChanged((*reinterpret_cast< KEduVocExpression*(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->reset(); break;
        case 2: _t->appendEntry(); break;
        case 3: _t->deleteSelectedEntries((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->deleteSelectedEntries(); break;
        case 5: _t->slotEditCopy(); break;
        case 6: _t->slotCutEntry(); break;
        case 7: _t->slotEditPaste(); break;
        case 8: _t->appendChar((*reinterpret_cast< const QChar(*)>(_a[1]))); break;
        case 9: _t->setDocument((*reinterpret_cast< KEduVocDocument*(*)>(_a[1]))); break;
        case 10: _t->setTranslator((*reinterpret_cast< Translator*(*)>(_a[1]))); break;
        case 11: _t->checkSpelling((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->slotShowVocabularyColumnsDialog(); break;
        case 13: _t->slotCurrentChanged((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< const QModelIndex(*)>(_a[2]))); break;
        case 14: _t->slotSelectionChanged((*reinterpret_cast< const QItemSelection(*)>(_a[1])),(*reinterpret_cast< const QItemSelection(*)>(_a[2]))); break;
        case 15: _t->continueSpelling(); break;
        case 16: _t->misspelling((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 17: _t->spellingReplace((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 14:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QItemSelection >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (VocabularyView::*_t)(KEduVocExpression * , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&VocabularyView::translationChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Editor::VocabularyView::staticMetaObject = {
    { &QTableView::staticMetaObject, qt_meta_stringdata_Editor__VocabularyView.data,
      qt_meta_data_Editor__VocabularyView,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Editor::VocabularyView::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QTableView::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
    return _id;
}

// SIGNAL 0
void Editor::VocabularyView::translationChanged(KEduVocExpression * _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
