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

#include <memory>
#include "../../../../../sonnet-5.116.0/src/quick/spellcheckhighlighter.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'spellcheckhighlighter.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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_SpellcheckHighlighter_t {
    QByteArrayData data[42];
    char stringdata0[653];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SpellcheckHighlighter_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SpellcheckHighlighter_t qt_meta_stringdata_SpellcheckHighlighter = {
    {
QT_MOC_LITERAL(0, 0, 21), // "SpellcheckHighlighter"
QT_MOC_LITERAL(1, 22, 15), // "documentChanged"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 21), // "cursorPositionChanged"
QT_MOC_LITERAL(4, 61, 21), // "selectionStartChanged"
QT_MOC_LITERAL(5, 83, 19), // "selectionEndChanged"
QT_MOC_LITERAL(6, 103, 23), // "wordIsMisspelledChanged"
QT_MOC_LITERAL(7, 127, 21), // "wordUnderMouseChanged"
QT_MOC_LITERAL(8, 149, 20), // "changeCursorPosition"
QT_MOC_LITERAL(9, 170, 5), // "start"
QT_MOC_LITERAL(10, 176, 3), // "end"
QT_MOC_LITERAL(11, 180, 13), // "activeChanged"
QT_MOC_LITERAL(12, 194, 22), // "misspelledColorChanged"
QT_MOC_LITERAL(13, 217, 33), // "autoDetectLanguageDisabledCha..."
QT_MOC_LITERAL(14, 251, 16), // "automaticChanged"
QT_MOC_LITERAL(15, 268, 22), // "currentLanguageChanged"
QT_MOC_LITERAL(16, 291, 11), // "description"
QT_MOC_LITERAL(17, 303, 18), // "setCurrentLanguage"
QT_MOC_LITERAL(18, 322, 8), // "language"
QT_MOC_LITERAL(19, 331, 17), // "slotAutoDetection"
QT_MOC_LITERAL(20, 349, 15), // "slotRehighlight"
QT_MOC_LITERAL(21, 365, 11), // "suggestions"
QT_MOC_LITERAL(22, 377, 8), // "position"
QT_MOC_LITERAL(23, 386, 3), // "max"
QT_MOC_LITERAL(24, 390, 10), // "ignoreWord"
QT_MOC_LITERAL(25, 401, 4), // "word"
QT_MOC_LITERAL(26, 406, 19), // "addWordToDictionary"
QT_MOC_LITERAL(27, 426, 11), // "replaceWord"
QT_MOC_LITERAL(28, 438, 16), // "isWordMisspelled"
QT_MOC_LITERAL(29, 455, 8), // "document"
QT_MOC_LITERAL(30, 464, 19), // "QQuickTextDocument*"
QT_MOC_LITERAL(31, 484, 14), // "cursorPosition"
QT_MOC_LITERAL(32, 499, 14), // "selectionStart"
QT_MOC_LITERAL(33, 514, 12), // "selectionEnd"
QT_MOC_LITERAL(34, 527, 16), // "wordIsMisspelled"
QT_MOC_LITERAL(35, 544, 14), // "wordUnderMouse"
QT_MOC_LITERAL(36, 559, 15), // "misspelledColor"
QT_MOC_LITERAL(37, 575, 15), // "currentLanguage"
QT_MOC_LITERAL(38, 591, 17), // "spellCheckerFound"
QT_MOC_LITERAL(39, 609, 6), // "active"
QT_MOC_LITERAL(40, 616, 9), // "automatic"
QT_MOC_LITERAL(41, 626, 26) // "autoDetectLanguageDisabled"

    },
    "SpellcheckHighlighter\0documentChanged\0"
    "\0cursorPositionChanged\0selectionStartChanged\0"
    "selectionEndChanged\0wordIsMisspelledChanged\0"
    "wordUnderMouseChanged\0changeCursorPosition\0"
    "start\0end\0activeChanged\0misspelledColorChanged\0"
    "autoDetectLanguageDisabledChanged\0"
    "automaticChanged\0currentLanguageChanged\0"
    "description\0setCurrentLanguage\0language\0"
    "slotAutoDetection\0slotRehighlight\0"
    "suggestions\0position\0max\0ignoreWord\0"
    "word\0addWordToDictionary\0replaceWord\0"
    "isWordMisspelled\0document\0QQuickTextDocument*\0"
    "cursorPosition\0selectionStart\0"
    "selectionEnd\0wordIsMisspelled\0"
    "wordUnderMouse\0misspelledColor\0"
    "currentLanguage\0spellCheckerFound\0"
    "active\0automatic\0autoDetectLanguageDisabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SpellcheckHighlighter[] = {

 // content:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
      22,   14, // methods
      12,  168, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
      13,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  124,    2, 0x06 /* Public */,
       3,    0,  125,    2, 0x06 /* Public */,
       4,    0,  126,    2, 0x06 /* Public */,
       5,    0,  127,    2, 0x06 /* Public */,
       6,    0,  128,    2, 0x06 /* Public */,
       7,    0,  129,    2, 0x06 /* Public */,
       8,    2,  130,    2, 0x06 /* Public */,
      11,    0,  135,    2, 0x06 /* Public */,
      12,    0,  136,    2, 0x06 /* Public */,
      13,    0,  137,    2, 0x06 /* Public */,
      14,    0,  138,    2, 0x06 /* Public */,
      15,    0,  139,    2, 0x06 /* Public */,
      11,    1,  140,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    1,  143,    2, 0x0a /* Public */,
      19,    0,  146,    2, 0x0a /* Public */,
      20,    0,  147,    2, 0x0a /* Public */,

 // methods: name, argc, parameters, tag, flags
      21,    2,  148,    2, 0x02 /* Public */,
      21,    1,  153,    2, 0x22 /* Public | MethodCloned */,
      24,    1,  156,    2, 0x02 /* Public */,
      26,    1,  159,    2, 0x02 /* Public */,
      27,    1,  162,    2, 0x02 /* Public */,
      28,    1,  165,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    9,   10,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   16,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,   18,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::QStringList, QMetaType::Int, QMetaType::Int,   22,   23,
    QMetaType::QStringList, QMetaType::Int,   22,
    QMetaType::Void, QMetaType::QString,   25,
    QMetaType::Void, QMetaType::QString,   25,
    QMetaType::Void, QMetaType::QString,   25,
    QMetaType::Bool, QMetaType::QString,   25,

 // properties: name, type, flags
      29, 0x80000000 | 30, 0x0049500b,
      31, QMetaType::Int, 0x00495103,
      32, QMetaType::Int, 0x00495103,
      33, QMetaType::Int, 0x00495103,
      34, QMetaType::Bool, 0x00495001,
      35, QMetaType::QString, 0x00495001,
      36, QMetaType::QColor, 0x00495103,
      37, QMetaType::QString, 0x00495001,
      38, QMetaType::Bool, 0x00095401,
      39, QMetaType::Bool, 0x00495103,
      40, QMetaType::Bool, 0x00495103,
      41, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       8,
      11,
       0,
       7,
      10,
       9,

       0        // eod
};

void SpellcheckHighlighter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<SpellcheckHighlighter *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->documentChanged(); break;
        case 1: _t->cursorPositionChanged(); break;
        case 2: _t->selectionStartChanged(); break;
        case 3: _t->selectionEndChanged(); break;
        case 4: _t->wordIsMisspelledChanged(); break;
        case 5: _t->wordUnderMouseChanged(); break;
        case 6: _t->changeCursorPosition((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 7: _t->activeChanged(); break;
        case 8: _t->misspelledColorChanged(); break;
        case 9: _t->autoDetectLanguageDisabledChanged(); break;
        case 10: _t->automaticChanged(); break;
        case 11: _t->currentLanguageChanged(); break;
        case 12: _t->activeChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 13: _t->setCurrentLanguage((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 14: _t->slotAutoDetection(); break;
        case 15: _t->slotRehighlight(); break;
        case 16: { QStringList _r = _t->suggestions((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 17: { QStringList _r = _t->suggestions((*reinterpret_cast< int(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QStringList*>(_a[0]) = std::move(_r); }  break;
        case 18: _t->ignoreWord((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: _t->addWordToDictionary((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 20: _t->replaceWord((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 21: { bool _r = _t->isWordMisspelled((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (SpellcheckHighlighter::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellcheckHighlighter::documentChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (SpellcheckHighlighter::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellcheckHighlighter::cursorPositionChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (SpellcheckHighlighter::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellcheckHighlighter::selectionStartChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (SpellcheckHighlighter::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellcheckHighlighter::selectionEndChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (SpellcheckHighlighter::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellcheckHighlighter::wordIsMisspelledChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (SpellcheckHighlighter::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellcheckHighlighter::wordUnderMouseChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (SpellcheckHighlighter::*)(int , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellcheckHighlighter::changeCursorPosition)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (SpellcheckHighlighter::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellcheckHighlighter::activeChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (SpellcheckHighlighter::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellcheckHighlighter::misspelledColorChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (SpellcheckHighlighter::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellcheckHighlighter::autoDetectLanguageDisabledChanged)) {
                *result = 9;
                return;
            }
        }
        {
            using _t = void (SpellcheckHighlighter::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellcheckHighlighter::automaticChanged)) {
                *result = 10;
                return;
            }
        }
        {
            using _t = void (SpellcheckHighlighter::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellcheckHighlighter::currentLanguageChanged)) {
                *result = 11;
                return;
            }
        }
        {
            using _t = void (SpellcheckHighlighter::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&SpellcheckHighlighter::activeChanged)) {
                *result = 12;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQuickTextDocument* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<SpellcheckHighlighter *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QQuickTextDocument**>(_v) = _t->quickDocument(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->cursorPosition(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->selectionStart(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->selectionEnd(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->wordIsMisspelled(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->wordUnderMouse(); break;
        case 6: *reinterpret_cast< QColor*>(_v) = _t->misspelledColor(); break;
        case 7: *reinterpret_cast< QString*>(_v) = _t->currentLanguage(); break;
        case 8: *reinterpret_cast< bool*>(_v) = _t->spellCheckerFound(); break;
        case 9: *reinterpret_cast< bool*>(_v) = _t->active(); break;
        case 10: *reinterpret_cast< bool*>(_v) = _t->automatic(); break;
        case 11: *reinterpret_cast< bool*>(_v) = _t->autoDetectLanguageDisabled(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<SpellcheckHighlighter *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setQuickDocument(*reinterpret_cast< QQuickTextDocument**>(_v)); break;
        case 1: _t->setCursorPosition(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setSelectionStart(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setSelectionEnd(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setMisspelledColor(*reinterpret_cast< QColor*>(_v)); break;
        case 9: _t->setActive(*reinterpret_cast< bool*>(_v)); break;
        case 10: _t->setAutomatic(*reinterpret_cast< bool*>(_v)); break;
        case 11: _t->setAutoDetectLanguageDisabled(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject SpellcheckHighlighter::staticMetaObject = { {
    QMetaObject::SuperData::link<QSyntaxHighlighter::staticMetaObject>(),
    qt_meta_stringdata_SpellcheckHighlighter.data,
    qt_meta_data_SpellcheckHighlighter,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int SpellcheckHighlighter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QSyntaxHighlighter::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 22)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 22;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 22)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 22;
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 12;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 12;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void SpellcheckHighlighter::documentChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void SpellcheckHighlighter::cursorPositionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void SpellcheckHighlighter::selectionStartChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void SpellcheckHighlighter::selectionEndChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void SpellcheckHighlighter::wordIsMisspelledChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void SpellcheckHighlighter::wordUnderMouseChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void SpellcheckHighlighter::changeCursorPosition(int _t1, int _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void SpellcheckHighlighter::activeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void SpellcheckHighlighter::misspelledColorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void SpellcheckHighlighter::autoDetectLanguageDisabledChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}

// SIGNAL 10
void SpellcheckHighlighter::automaticChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 10, nullptr);
}

// SIGNAL 11
void SpellcheckHighlighter::currentLanguageChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 11, nullptr);
}

// SIGNAL 12
void SpellcheckHighlighter::activeChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 12, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
