/****************************************************************************
** Meta object code from reading C++ file 'abstractinputmethodhost.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 "../../../framework/src/maliit/plugins/abstractinputmethodhost.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'abstractinputmethodhost.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_MAbstractInputMethodHost_t {
    QByteArrayData data[40];
    char stringdata0[573];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_MAbstractInputMethodHost_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_MAbstractInputMethodHost_t qt_meta_stringdata_MAbstractInputMethodHost = {
    {
QT_MOC_LITERAL(0, 0, 24), // "MAbstractInputMethodHost"
QT_MOC_LITERAL(1, 25, 14), // "pluginsChanged"
QT_MOC_LITERAL(2, 40, 0), // ""
QT_MOC_LITERAL(3, 41, 17), // "sendPreeditString"
QT_MOC_LITERAL(4, 59, 6), // "string"
QT_MOC_LITERAL(5, 66, 32), // "QList<Maliit::PreeditTextFormat>"
QT_MOC_LITERAL(6, 99, 14), // "preeditFormats"
QT_MOC_LITERAL(7, 114, 16), // "replacementStart"
QT_MOC_LITERAL(8, 131, 17), // "replacementLength"
QT_MOC_LITERAL(9, 149, 9), // "cursorPos"
QT_MOC_LITERAL(10, 159, 16), // "sendCommitString"
QT_MOC_LITERAL(11, 176, 12), // "replaceStart"
QT_MOC_LITERAL(12, 189, 13), // "replaceLength"
QT_MOC_LITERAL(13, 203, 12), // "sendKeyEvent"
QT_MOC_LITERAL(14, 216, 9), // "QKeyEvent"
QT_MOC_LITERAL(15, 226, 8), // "keyEvent"
QT_MOC_LITERAL(16, 235, 24), // "Maliit::EventRequestType"
QT_MOC_LITERAL(17, 260, 11), // "requestType"
QT_MOC_LITERAL(18, 272, 23), // "notifyImInitiatedHiding"
QT_MOC_LITERAL(19, 296, 12), // "invokeAction"
QT_MOC_LITERAL(20, 309, 6), // "action"
QT_MOC_LITERAL(21, 316, 8), // "sequence"
QT_MOC_LITERAL(22, 325, 15), // "setRedirectKeys"
QT_MOC_LITERAL(23, 341, 7), // "enabled"
QT_MOC_LITERAL(24, 349, 23), // "setDetectableAutoRepeat"
QT_MOC_LITERAL(25, 373, 26), // "setGlobalCorrectionEnabled"
QT_MOC_LITERAL(26, 400, 12), // "switchPlugin"
QT_MOC_LITERAL(27, 413, 23), // "Maliit::SwitchDirection"
QT_MOC_LITERAL(28, 437, 9), // "direction"
QT_MOC_LITERAL(29, 447, 10), // "pluginName"
QT_MOC_LITERAL(30, 458, 15), // "setScreenRegion"
QT_MOC_LITERAL(31, 474, 6), // "region"
QT_MOC_LITERAL(32, 481, 8), // "QWindow*"
QT_MOC_LITERAL(33, 490, 6), // "window"
QT_MOC_LITERAL(34, 497, 18), // "setInputMethodArea"
QT_MOC_LITERAL(35, 516, 12), // "setSelection"
QT_MOC_LITERAL(36, 529, 5), // "start"
QT_MOC_LITERAL(37, 535, 6), // "length"
QT_MOC_LITERAL(38, 542, 25), // "setOrientationAngleLocked"
QT_MOC_LITERAL(39, 568, 4) // "lock"

    },
    "MAbstractInputMethodHost\0pluginsChanged\0"
    "\0sendPreeditString\0string\0"
    "QList<Maliit::PreeditTextFormat>\0"
    "preeditFormats\0replacementStart\0"
    "replacementLength\0cursorPos\0"
    "sendCommitString\0replaceStart\0"
    "replaceLength\0sendKeyEvent\0QKeyEvent\0"
    "keyEvent\0Maliit::EventRequestType\0"
    "requestType\0notifyImInitiatedHiding\0"
    "invokeAction\0action\0sequence\0"
    "setRedirectKeys\0enabled\0setDetectableAutoRepeat\0"
    "setGlobalCorrectionEnabled\0switchPlugin\0"
    "Maliit::SwitchDirection\0direction\0"
    "pluginName\0setScreenRegion\0region\0"
    "QWindow*\0window\0setInputMethodArea\0"
    "setSelection\0start\0length\0"
    "setOrientationAngleLocked\0lock"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_MAbstractInputMethodHost[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       3,    5,  135,    2, 0x0a /* Public */,
       3,    4,  146,    2, 0x2a /* Public | MethodCloned */,
       3,    3,  155,    2, 0x2a /* Public | MethodCloned */,
       3,    2,  162,    2, 0x2a /* Public | MethodCloned */,
      10,    4,  167,    2, 0x0a /* Public */,
      10,    3,  176,    2, 0x2a /* Public | MethodCloned */,
      10,    2,  183,    2, 0x2a /* Public | MethodCloned */,
      10,    1,  188,    2, 0x2a /* Public | MethodCloned */,
      13,    2,  191,    2, 0x0a /* Public */,
      13,    1,  196,    2, 0x2a /* Public | MethodCloned */,
      18,    0,  199,    2, 0x0a /* Public */,
      19,    2,  200,    2, 0x0a /* Public */,
      22,    1,  205,    2, 0x0a /* Public */,
      24,    1,  208,    2, 0x0a /* Public */,
      25,    1,  211,    2, 0x0a /* Public */,
      26,    1,  214,    2, 0x0a /* Public */,
      26,    1,  217,    2, 0x0a /* Public */,
      30,    2,  220,    2, 0x0a /* Public */,
      30,    1,  225,    2, 0x2a /* Public | MethodCloned */,
      34,    2,  228,    2, 0x0a /* Public */,
      34,    1,  233,    2, 0x2a /* Public | MethodCloned */,
      35,    2,  236,    2, 0x0a /* Public */,
      38,    1,  241,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::QString, 0x80000000 | 5, QMetaType::Int, QMetaType::Int, QMetaType::Int,    4,    6,    7,    8,    9,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 5, QMetaType::Int, QMetaType::Int,    4,    6,    7,    8,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 5, QMetaType::Int,    4,    6,    7,
    QMetaType::Void, QMetaType::QString, 0x80000000 | 5,    4,    6,
    QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::Int, QMetaType::Int,    4,   11,   12,    9,
    QMetaType::Void, QMetaType::QString, QMetaType::Int, QMetaType::Int,    4,   11,   12,
    QMetaType::Void, QMetaType::QString, QMetaType::Int,    4,   11,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void, 0x80000000 | 14, 0x80000000 | 16,   15,   17,
    QMetaType::Void, 0x80000000 | 14,   15,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString, QMetaType::QKeySequence,   20,   21,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void, QMetaType::Bool,   23,
    QMetaType::Void, 0x80000000 | 27,   28,
    QMetaType::Void, QMetaType::QString,   29,
    QMetaType::Void, QMetaType::QRegion, 0x80000000 | 32,   31,   33,
    QMetaType::Void, QMetaType::QRegion,   31,
    QMetaType::Void, QMetaType::QRegion, 0x80000000 | 32,   31,   33,
    QMetaType::Void, QMetaType::QRegion,   31,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   36,   37,
    QMetaType::Void, QMetaType::Bool,   39,

       0        // eod
};

void MAbstractInputMethodHost::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<MAbstractInputMethodHost *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->pluginsChanged(); break;
        case 1: _t->sendPreeditString((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<Maliit::PreeditTextFormat>(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4])),(*reinterpret_cast< int(*)>(_a[5]))); break;
        case 2: _t->sendPreeditString((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<Maliit::PreeditTextFormat>(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 3: _t->sendPreeditString((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<Maliit::PreeditTextFormat>(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 4: _t->sendPreeditString((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QList<Maliit::PreeditTextFormat>(*)>(_a[2]))); break;
        case 5: _t->sendCommitString((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3])),(*reinterpret_cast< int(*)>(_a[4]))); break;
        case 6: _t->sendCommitString((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 7: _t->sendCommitString((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 8: _t->sendCommitString((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 9: _t->sendKeyEvent((*reinterpret_cast< const QKeyEvent(*)>(_a[1])),(*reinterpret_cast< Maliit::EventRequestType(*)>(_a[2]))); break;
        case 10: _t->sendKeyEvent((*reinterpret_cast< const QKeyEvent(*)>(_a[1]))); break;
        case 11: _t->notifyImInitiatedHiding(); break;
        case 12: _t->invokeAction((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QKeySequence(*)>(_a[2]))); break;
        case 13: _t->setRedirectKeys((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 14: _t->setDetectableAutoRepeat((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 15: _t->setGlobalCorrectionEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 16: _t->switchPlugin((*reinterpret_cast< Maliit::SwitchDirection(*)>(_a[1]))); break;
        case 17: _t->switchPlugin((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 18: _t->setScreenRegion((*reinterpret_cast< const QRegion(*)>(_a[1])),(*reinterpret_cast< QWindow*(*)>(_a[2]))); break;
        case 19: _t->setScreenRegion((*reinterpret_cast< const QRegion(*)>(_a[1]))); break;
        case 20: _t->setInputMethodArea((*reinterpret_cast< const QRegion(*)>(_a[1])),(*reinterpret_cast< QWindow*(*)>(_a[2]))); break;
        case 21: _t->setInputMethodArea((*reinterpret_cast< const QRegion(*)>(_a[1]))); break;
        case 22: _t->setSelection((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 23: _t->setOrientationAngleLocked((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<Maliit::PreeditTextFormat> >(); break;
            }
            break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<Maliit::PreeditTextFormat> >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<Maliit::PreeditTextFormat> >(); break;
            }
            break;
        case 4:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QList<Maliit::PreeditTextFormat> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (MAbstractInputMethodHost::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&MAbstractInputMethodHost::pluginsChanged)) {
                *result = 0;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject MAbstractInputMethodHost::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_MAbstractInputMethodHost.data,
    qt_meta_data_MAbstractInputMethodHost,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int MAbstractInputMethodHost::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 < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    }
    return _id;
}

// SIGNAL 0
void MAbstractInputMethodHost::pluginsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
