/****************************************************************************
** Meta object code from reading C++ file 'editor.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/editor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'editor.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__EditorWindow_t {
    QByteArrayData data[19];
    char stringdata0[257];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Editor__EditorWindow_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Editor__EditorWindow_t qt_meta_stringdata_Editor__EditorWindow = {
    {
QT_MOC_LITERAL(0, 0, 20), // "Editor::EditorWindow"
QT_MOC_LITERAL(1, 21, 13), // "signalSetData"
QT_MOC_LITERAL(2, 35, 0), // ""
QT_MOC_LITERAL(3, 36, 10), // "QList<int>"
QT_MOC_LITERAL(4, 47, 7), // "entries"
QT_MOC_LITERAL(5, 55, 18), // "currentTranslation"
QT_MOC_LITERAL(6, 74, 11), // "initScripts"
QT_MOC_LITERAL(7, 86, 20), // "slotLanguagesChanged"
QT_MOC_LITERAL(8, 107, 20), // "slotConfigShowSearch"
QT_MOC_LITERAL(9, 128, 21), // "slotShowScriptManager"
QT_MOC_LITERAL(10, 150, 10), // "applyPrefs"
QT_MOC_LITERAL(11, 161, 12), // "removeGrades"
QT_MOC_LITERAL(12, 174, 9), // "saveState"
QT_MOC_LITERAL(13, 184, 14), // "updateDocument"
QT_MOC_LITERAL(14, 199, 16), // "KEduVocDocument*"
QT_MOC_LITERAL(15, 216, 3), // "doc"
QT_MOC_LITERAL(16, 220, 22), // "addWordWithTranslation"
QT_MOC_LITERAL(17, 243, 1), // "w"
QT_MOC_LITERAL(18, 245, 11) // "startSearch"

    },
    "Editor::EditorWindow\0signalSetData\0\0"
    "QList<int>\0entries\0currentTranslation\0"
    "initScripts\0slotLanguagesChanged\0"
    "slotConfigShowSearch\0slotShowScriptManager\0"
    "applyPrefs\0removeGrades\0saveState\0"
    "updateDocument\0KEduVocDocument*\0doc\0"
    "addWordWithTranslation\0w\0startSearch"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Editor__EditorWindow[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       6,    0,   74,    2, 0x0a /* Public */,
       7,    0,   75,    2, 0x0a /* Public */,
       8,    0,   76,    2, 0x0a /* Public */,
       9,    0,   77,    2, 0x0a /* Public */,
      10,    0,   78,    2, 0x0a /* Public */,
      11,    0,   79,    2, 0x0a /* Public */,
      12,    0,   80,    2, 0x0a /* Public */,
      13,    1,   81,    2, 0x0a /* Public */,
      16,    1,   84,    2, 0x0a /* Public */,
      18,    0,   87,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void, QMetaType::QStringList,   17,
    QMetaType::Void,

       0        // eod
};

void Editor::EditorWindow::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        EditorWindow *_t = static_cast<EditorWindow *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->signalSetData((*reinterpret_cast< const QList<int>(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->initScripts(); break;
        case 2: _t->slotLanguagesChanged(); break;
        case 3: _t->slotConfigShowSearch(); break;
        case 4: _t->slotShowScriptManager(); break;
        case 5: _t->applyPrefs(); break;
        case 6: _t->removeGrades(); break;
        case 7: _t->saveState(); break;
        case 8: _t->updateDocument((*reinterpret_cast< KEduVocDocument*(*)>(_a[1]))); break;
        case 9: _t->addWordWithTranslation((*reinterpret_cast< const QStringList(*)>(_a[1]))); break;
        case 10: _t->startSearch(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<int> >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< KEduVocDocument* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (EditorWindow::*_t)(const QList<int> & , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&EditorWindow::signalSetData)) {
                *result = 0;
                return;
            }
        }
    }
}

const QMetaObject Editor::EditorWindow::staticMetaObject = {
    { &KXmlGuiWindow::staticMetaObject, qt_meta_stringdata_Editor__EditorWindow.data,
      qt_meta_data_Editor__EditorWindow,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void Editor::EditorWindow::signalSetData(const QList<int> & _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
