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

#include "../../src/kpimtextedit-17.12.3/src/texteditor/plaintexteditor/plaintexteditor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'plaintexteditor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_KPIMTextEdit__PlainTextEditor_t {
    QByteArrayData data[30];
    char stringdata0[523];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KPIMTextEdit__PlainTextEditor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KPIMTextEdit__PlainTextEditor_t qt_meta_stringdata_KPIMTextEdit__PlainTextEditor = {
    {
QT_MOC_LITERAL(0, 0, 29), // "KPIMTextEdit::PlainTextEditor"
QT_MOC_LITERAL(1, 30, 8), // "findText"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 11), // "replaceText"
QT_MOC_LITERAL(4, 52, 23), // "spellCheckerAutoCorrect"
QT_MOC_LITERAL(5, 76, 11), // "currentWord"
QT_MOC_LITERAL(6, 88, 15), // "autoCorrectWord"
QT_MOC_LITERAL(7, 104, 20), // "checkSpellingChanged"
QT_MOC_LITERAL(8, 125, 15), // "languageChanged"
QT_MOC_LITERAL(9, 141, 16), // "spellCheckStatus"
QT_MOC_LITERAL(10, 158, 3), // "say"
QT_MOC_LITERAL(11, 162, 4), // "text"
QT_MOC_LITERAL(12, 167, 27), // "slotDisplayMessageIndicator"
QT_MOC_LITERAL(13, 195, 7), // "message"
QT_MOC_LITERAL(14, 203, 17), // "slotCheckSpelling"
QT_MOC_LITERAL(15, 221, 13), // "slotSpeakText"
QT_MOC_LITERAL(16, 235, 13), // "slotZoomReset"
QT_MOC_LITERAL(17, 249, 17), // "slotUndoableClear"
QT_MOC_LITERAL(18, 267, 27), // "slotSpellCheckerMisspelling"
QT_MOC_LITERAL(19, 295, 3), // "pos"
QT_MOC_LITERAL(20, 299, 25), // "slotSpellCheckerCorrected"
QT_MOC_LITERAL(21, 325, 27), // "slotSpellCheckerAutoCorrect"
QT_MOC_LITERAL(22, 353, 24), // "slotSpellCheckerCanceled"
QT_MOC_LITERAL(23, 378, 24), // "slotSpellCheckerFinished"
QT_MOC_LITERAL(24, 403, 20), // "slotLanguageSelected"
QT_MOC_LITERAL(25, 424, 24), // "slotToggleAutoSpellCheck"
QT_MOC_LITERAL(26, 449, 13), // "searchSupport"
QT_MOC_LITERAL(27, 463, 20), // "spellCheckingSupport"
QT_MOC_LITERAL(28, 484, 19), // "textToSpeechSupport"
QT_MOC_LITERAL(29, 504, 18) // "webShortcutSupport"

    },
    "KPIMTextEdit::PlainTextEditor\0findText\0"
    "\0replaceText\0spellCheckerAutoCorrect\0"
    "currentWord\0autoCorrectWord\0"
    "checkSpellingChanged\0languageChanged\0"
    "spellCheckStatus\0say\0text\0"
    "slotDisplayMessageIndicator\0message\0"
    "slotCheckSpelling\0slotSpeakText\0"
    "slotZoomReset\0slotUndoableClear\0"
    "slotSpellCheckerMisspelling\0pos\0"
    "slotSpellCheckerCorrected\0"
    "slotSpellCheckerAutoCorrect\0"
    "slotSpellCheckerCanceled\0"
    "slotSpellCheckerFinished\0slotLanguageSelected\0"
    "slotToggleAutoSpellCheck\0searchSupport\0"
    "spellCheckingSupport\0textToSpeechSupport\0"
    "webShortcutSupport"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KPIMTextEdit__PlainTextEditor[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  109,    2, 0x06 /* Public */,
       3,    0,  110,    2, 0x06 /* Public */,
       4,    2,  111,    2, 0x06 /* Public */,
       7,    1,  116,    2, 0x06 /* Public */,
       8,    1,  119,    2, 0x06 /* Public */,
       9,    1,  122,    2, 0x06 /* Public */,
      10,    1,  125,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    1,  128,    2, 0x0a /* Public */,
      14,    0,  131,    2, 0x0a /* Public */,
      15,    0,  132,    2, 0x0a /* Public */,
      16,    0,  133,    2, 0x0a /* Public */,
      17,    0,  134,    2, 0x08 /* Private */,
      18,    2,  135,    2, 0x08 /* Private */,
      20,    3,  140,    2, 0x08 /* Private */,
      21,    2,  147,    2, 0x08 /* Private */,
      22,    0,  152,    2, 0x08 /* Private */,
      23,    0,  153,    2, 0x08 /* Private */,
      24,    0,  154,    2, 0x08 /* Private */,
      25,    0,  155,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    5,    6,
    QMetaType::Void, QMetaType::Bool,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QString,   11,

 // slots: parameters
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,   11,   19,
    QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::QString,    2,    2,    2,
    QMetaType::Void, QMetaType::QString, QMetaType::QString,    2,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      26, QMetaType::Bool, 0x00095103,
      27, QMetaType::Bool, 0x00095103,
      28, QMetaType::Bool, 0x00095103,
      29, QMetaType::Bool, 0x00095103,

       0        // eod
};

void KPIMTextEdit::PlainTextEditor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        PlainTextEditor *_t = static_cast<PlainTextEditor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->findText(); break;
        case 1: _t->replaceText(); break;
        case 2: _t->spellCheckerAutoCorrect((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->checkSpellingChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->languageChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->spellCheckStatus((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 6: _t->say((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->slotDisplayMessageIndicator((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 8: _t->slotCheckSpelling(); break;
        case 9: _t->slotSpeakText(); break;
        case 10: _t->slotZoomReset(); break;
        case 11: _t->slotUndoableClear(); break;
        case 12: _t->slotSpellCheckerMisspelling((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 13: _t->slotSpellCheckerCorrected((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 14: _t->slotSpellCheckerAutoCorrect((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 15: _t->slotSpellCheckerCanceled(); break;
        case 16: _t->slotSpellCheckerFinished(); break;
        case 17: _t->slotLanguageSelected(); break;
        case 18: _t->slotToggleAutoSpellCheck(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (PlainTextEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlainTextEditor::findText)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (PlainTextEditor::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlainTextEditor::replaceText)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (PlainTextEditor::*_t)(const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlainTextEditor::spellCheckerAutoCorrect)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (PlainTextEditor::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlainTextEditor::checkSpellingChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (PlainTextEditor::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlainTextEditor::languageChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (PlainTextEditor::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlainTextEditor::spellCheckStatus)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (PlainTextEditor::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&PlainTextEditor::say)) {
                *result = 6;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        PlainTextEditor *_t = static_cast<PlainTextEditor *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->searchSupport(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->spellCheckingSupport(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->textToSpeechSupport(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->webShortcutSupport(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        PlainTextEditor *_t = static_cast<PlainTextEditor *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSearchSupport(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setSpellCheckingSupport(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setTextToSpeechSupport(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setWebShortcutSupport(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KPIMTextEdit::PlainTextEditor::staticMetaObject = {
    { &QPlainTextEdit::staticMetaObject, qt_meta_stringdata_KPIMTextEdit__PlainTextEditor.data,
      qt_meta_data_KPIMTextEdit__PlainTextEditor,  qt_static_metacall, nullptr, nullptr}
};


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

void *KPIMTextEdit::PlainTextEditor::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KPIMTextEdit__PlainTextEditor.stringdata0))
        return static_cast<void*>(this);
    return QPlainTextEdit::qt_metacast(_clname);
}

int KPIMTextEdit::PlainTextEditor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QPlainTextEdit::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 19;
    }
#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 -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void KPIMTextEdit::PlainTextEditor::findText()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KPIMTextEdit::PlainTextEditor::replaceText()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KPIMTextEdit::PlainTextEditor::spellCheckerAutoCorrect(const QString & _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KPIMTextEdit::PlainTextEditor::checkSpellingChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KPIMTextEdit::PlainTextEditor::languageChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KPIMTextEdit::PlainTextEditor::spellCheckStatus(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void KPIMTextEdit::PlainTextEditor::say(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
