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

#include <memory>
#include "../../../keyboard-2.3.1/plugins/westernsupport/spellpredictworker.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'spellpredictworker.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.18. 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_SpellPredictWorker_t {
    QByteArrayData data[20];
    char stringdata0[259];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SpellPredictWorker_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SpellPredictWorker_t qt_meta_stringdata_SpellPredictWorker = {
    {
QT_MOC_LITERAL(0, 0, 18), // "SpellPredictWorker"
QT_MOC_LITERAL(1, 19, 22), // "newSpellingSuggestions"
QT_MOC_LITERAL(2, 42, 0), // ""
QT_MOC_LITERAL(3, 43, 4), // "word"
QT_MOC_LITERAL(4, 48, 11), // "suggestions"
QT_MOC_LITERAL(5, 60, 8), // "strategy"
QT_MOC_LITERAL(6, 69, 24), // "newPredictionSuggestions"
QT_MOC_LITERAL(7, 94, 19), // "parsePredictionText"
QT_MOC_LITERAL(8, 114, 15), // "surroundingLeft"
QT_MOC_LITERAL(9, 130, 7), // "preedit"
QT_MOC_LITERAL(10, 138, 17), // "newSpellCheckWord"
QT_MOC_LITERAL(11, 156, 11), // "setLanguage"
QT_MOC_LITERAL(12, 168, 8), // "language"
QT_MOC_LITERAL(13, 177, 10), // "pluginPath"
QT_MOC_LITERAL(14, 188, 18), // "setSpellCheckLimit"
QT_MOC_LITERAL(15, 207, 5), // "limit"
QT_MOC_LITERAL(16, 213, 17), // "addToUserWordList"
QT_MOC_LITERAL(17, 231, 11), // "addOverride"
QT_MOC_LITERAL(18, 243, 4), // "orig"
QT_MOC_LITERAL(19, 248, 10) // "overridden"

    },
    "SpellPredictWorker\0newSpellingSuggestions\0"
    "\0word\0suggestions\0strategy\0"
    "newPredictionSuggestions\0parsePredictionText\0"
    "surroundingLeft\0preedit\0newSpellCheckWord\0"
    "setLanguage\0language\0pluginPath\0"
    "setSpellCheckLimit\0limit\0addToUserWordList\0"
    "addOverride\0orig\0overridden"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SpellPredictWorker[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    3,   64,    2, 0x06 /* Public */,
       1,    2,   71,    2, 0x26 /* Public | MethodCloned */,
       6,    3,   76,    2, 0x06 /* Public */,
       6,    2,   83,    2, 0x26 /* Public | MethodCloned */,

 // slots: name, argc, parameters, tag, flags
       7,    2,   88,    2, 0x0a /* Public */,
      10,    1,   93,    2, 0x0a /* Public */,
      11,    2,   96,    2, 0x0a /* Public */,
      14,    1,  101,    2, 0x0a /* Public */,
      16,    1,  104,    2, 0x0a /* Public */,
      17,    2,  107,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QStringList, QMetaType::Int,    3,    4,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::QStringList,    3,    4,
    QMetaType::Void, QMetaType::QString, QMetaType::QStringList, QMetaType::Int,    3,    4,    5,
    QMetaType::Void, QMetaType::QString, QMetaType::QStringList,    3,    4,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    8,    9,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   12,   13,
    QMetaType::Void, QMetaType::Int,   15,
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,   18,   19,

       0        // eod
};

void SpellPredictWorker::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SpellPredictWorker *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->newSpellingSuggestions((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QStringList(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 1: _t->newSpellingSuggestions((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QStringList(*)>(_a[2]))); break;
        case 2: _t->newPredictionSuggestions((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QStringList(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 3: _t->newPredictionSuggestions((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QStringList(*)>(_a[2]))); break;
        case 4: _t->parsePredictionText((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 5: _t->newSpellCheckWord((*reinterpret_cast< QString(*)>(_a[1]))); break;
        case 6: _t->setLanguage((*reinterpret_cast< QString(*)>(_a[1])),(*reinterpret_cast< QString(*)>(_a[2]))); break;
        case 7: _t->setSpellCheckLimit((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->addToUserWordList((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->addOverride((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SpellPredictWorker::*)(QString , QStringList , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellPredictWorker::newSpellingSuggestions)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (SpellPredictWorker::*)(QString , QStringList , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellPredictWorker::newPredictionSuggestions)) {
                *result = 2;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject SpellPredictWorker::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_SpellPredictWorker.data,
    qt_meta_data_SpellPredictWorker,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *SpellPredictWorker::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_SpellPredictWorker.stringdata0))
        return static_cast<void*>(this);
    return QObject::qt_metacast(_clname);
}

int SpellPredictWorker::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
    return _id;
}

// SIGNAL 0
void SpellPredictWorker::newSpellingSuggestions(QString _t1, QStringList _t2, int _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 2
void SpellPredictWorker::newPredictionSuggestions(QString _t1, QStringList _t2, int _t3)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t3))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
