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

#include <memory>
#include "fcitxinputcontextproxy.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'fcitxinputcontextproxy.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.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_FcitxInputContextProxy_t {
    QByteArrayData data[27];
    char stringdata0[371];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_FcitxInputContextProxy_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_FcitxInputContextProxy_t qt_meta_stringdata_FcitxInputContextProxy = {
    {
QT_MOC_LITERAL(0, 0, 22), // "FcitxInputContextProxy"
QT_MOC_LITERAL(1, 23, 12), // "commitString"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 3), // "str"
QT_MOC_LITERAL(4, 41, 9), // "currentIM"
QT_MOC_LITERAL(5, 51, 4), // "name"
QT_MOC_LITERAL(6, 56, 10), // "uniqueName"
QT_MOC_LITERAL(7, 67, 8), // "langCode"
QT_MOC_LITERAL(8, 76, 21), // "deleteSurroundingText"
QT_MOC_LITERAL(9, 98, 6), // "offset"
QT_MOC_LITERAL(10, 105, 5), // "nchar"
QT_MOC_LITERAL(11, 111, 10), // "forwardKey"
QT_MOC_LITERAL(12, 122, 6), // "keyval"
QT_MOC_LITERAL(13, 129, 5), // "state"
QT_MOC_LITERAL(14, 135, 9), // "isRelease"
QT_MOC_LITERAL(15, 145, 22), // "updateFormattedPreedit"
QT_MOC_LITERAL(16, 168, 25), // "FcitxFormattedPreeditList"
QT_MOC_LITERAL(17, 194, 9), // "cursorpos"
QT_MOC_LITERAL(18, 204, 19), // "inputContextCreated"
QT_MOC_LITERAL(19, 224, 19), // "availabilityChanged"
QT_MOC_LITERAL(20, 244, 18), // "createInputContext"
QT_MOC_LITERAL(21, 263, 26), // "createInputContextFinished"
QT_MOC_LITERAL(22, 290, 19), // "serviceUnregistered"
QT_MOC_LITERAL(23, 310, 7), // "recheck"
QT_MOC_LITERAL(24, 318, 17), // "forwardKeyWrapper"
QT_MOC_LITERAL(25, 336, 4), // "type"
QT_MOC_LITERAL(26, 341, 29) // "updateFormattedPreeditWrapper"

    },
    "FcitxInputContextProxy\0commitString\0"
    "\0str\0currentIM\0name\0uniqueName\0langCode\0"
    "deleteSurroundingText\0offset\0nchar\0"
    "forwardKey\0keyval\0state\0isRelease\0"
    "updateFormattedPreedit\0FcitxFormattedPreeditList\0"
    "cursorpos\0inputContextCreated\0"
    "availabilityChanged\0createInputContext\0"
    "createInputContextFinished\0"
    "serviceUnregistered\0recheck\0"
    "forwardKeyWrapper\0type\0"
    "updateFormattedPreeditWrapper"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_FcitxInputContextProxy[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   79,    2, 0x06 /* Public */,
       4,    3,   82,    2, 0x06 /* Public */,
       8,    2,   89,    2, 0x06 /* Public */,
      11,    3,   94,    2, 0x06 /* Public */,
      15,    2,  101,    2, 0x06 /* Public */,
      18,    0,  106,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      19,    0,  107,    2, 0x08 /* Private */,
      20,    0,  108,    2, 0x08 /* Private */,
      21,    0,  109,    2, 0x08 /* Private */,
      22,    0,  110,    2, 0x08 /* Private */,
      23,    0,  111,    2, 0x08 /* Private */,
      24,    3,  112,    2, 0x08 /* Private */,
      26,    2,  119,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QString,    3,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,    5,    6,    7,
    QMetaType::Void, QMetaType::Int, QMetaType::UInt,    9,   10,
    QMetaType::Void, QMetaType::UInt, QMetaType::UInt, QMetaType::Bool,   12,   13,   14,
    QMetaType::Void, 0x80000000 | 16, QMetaType::Int,    3,   17,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::UInt, QMetaType::UInt, QMetaType::Int,   12,   13,   25,
    QMetaType::Void, 0x80000000 | 16, QMetaType::Int,    3,   17,

       0        // eod
};

void FcitxInputContextProxy::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<FcitxInputContextProxy *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->commitString((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->currentIM((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 2: _t->deleteSurroundingText((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 3: _t->forwardKey((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 4: _t->updateFormattedPreedit((*reinterpret_cast< const FcitxFormattedPreeditList(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 5: _t->inputContextCreated(); break;
        case 6: _t->availabilityChanged(); break;
        case 7: _t->createInputContext(); break;
        case 8: _t->createInputContextFinished(); break;
        case 9: _t->serviceUnregistered(); break;
        case 10: _t->recheck(); break;
        case 11: _t->forwardKeyWrapper((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 12: _t->updateFormattedPreeditWrapper((*reinterpret_cast< const FcitxFormattedPreeditList(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (FcitxInputContextProxy::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FcitxInputContextProxy::commitString)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (FcitxInputContextProxy::*)(const QString & , const QString & , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FcitxInputContextProxy::currentIM)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (FcitxInputContextProxy::*)(int , uint );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FcitxInputContextProxy::deleteSurroundingText)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (FcitxInputContextProxy::*)(uint , uint , bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FcitxInputContextProxy::forwardKey)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (FcitxInputContextProxy::*)(const FcitxFormattedPreeditList & , int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FcitxInputContextProxy::updateFormattedPreedit)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (FcitxInputContextProxy::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&FcitxInputContextProxy::inputContextCreated)) {
                *result = 5;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject FcitxInputContextProxy::staticMetaObject = { {
    &QObject::staticMetaObject,
    qt_meta_stringdata_FcitxInputContextProxy.data,
    qt_meta_data_FcitxInputContextProxy,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int FcitxInputContextProxy::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 < 13)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 13;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 13)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 13;
    }
    return _id;
}

// SIGNAL 0
void FcitxInputContextProxy::commitString(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void FcitxInputContextProxy::currentIM(const QString & _t1, const QString & _t2, const QString & _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, 1, _a);
}

// SIGNAL 2
void FcitxInputContextProxy::deleteSurroundingText(int _t1, uint _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, 2, _a);
}

// SIGNAL 3
void FcitxInputContextProxy::forwardKey(uint _t1, uint _t2, bool _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, 3, _a);
}

// SIGNAL 4
void FcitxInputContextProxy::updateFormattedPreedit(const FcitxFormattedPreeditList & _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, 4, _a);
}

// SIGNAL 5
void FcitxInputContextProxy::inputContextCreated()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
