/****************************************************************************
** Meta object code from reading C++ file 'qfcitxplatforminputcontext.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 "qfcitxplatforminputcontext.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qfcitxplatforminputcontext.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_ProcessKeyWatcher_t {
    QByteArrayData data[1];
    char stringdata0[18];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_ProcessKeyWatcher_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_ProcessKeyWatcher_t qt_meta_stringdata_ProcessKeyWatcher = {
    {
QT_MOC_LITERAL(0, 0, 17) // "ProcessKeyWatcher"

    },
    "ProcessKeyWatcher"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_ProcessKeyWatcher[] = {

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

       0        // eod
};

void ProcessKeyWatcher::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    Q_UNUSED(_o);
    Q_UNUSED(_id);
    Q_UNUSED(_c);
    Q_UNUSED(_a);
}

QT_INIT_METAOBJECT const QMetaObject ProcessKeyWatcher::staticMetaObject = { {
    &QDBusPendingCallWatcher::staticMetaObject,
    qt_meta_stringdata_ProcessKeyWatcher.data,
    qt_meta_data_ProcessKeyWatcher,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int ProcessKeyWatcher::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QDBusPendingCallWatcher::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_QFcitxPlatformInputContext_t {
    QByteArrayData data[26];
    char stringdata0[346];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QFcitxPlatformInputContext_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QFcitxPlatformInputContext_t qt_meta_stringdata_QFcitxPlatformInputContext = {
    {
QT_MOC_LITERAL(0, 0, 26), // "QFcitxPlatformInputContext"
QT_MOC_LITERAL(1, 27, 17), // "cursorRectChanged"
QT_MOC_LITERAL(2, 45, 0), // ""
QT_MOC_LITERAL(3, 46, 12), // "commitString"
QT_MOC_LITERAL(4, 59, 3), // "str"
QT_MOC_LITERAL(5, 63, 22), // "updateFormattedPreedit"
QT_MOC_LITERAL(6, 86, 25), // "FcitxFormattedPreeditList"
QT_MOC_LITERAL(7, 112, 11), // "preeditList"
QT_MOC_LITERAL(8, 124, 9), // "cursorPos"
QT_MOC_LITERAL(9, 134, 21), // "deleteSurroundingText"
QT_MOC_LITERAL(10, 156, 6), // "offset"
QT_MOC_LITERAL(11, 163, 5), // "nchar"
QT_MOC_LITERAL(12, 169, 10), // "forwardKey"
QT_MOC_LITERAL(13, 180, 6), // "keyval"
QT_MOC_LITERAL(14, 187, 5), // "state"
QT_MOC_LITERAL(15, 193, 4), // "type"
QT_MOC_LITERAL(16, 198, 26), // "createInputContextFinished"
QT_MOC_LITERAL(17, 225, 7), // "cleanUp"
QT_MOC_LITERAL(18, 233, 15), // "windowDestroyed"
QT_MOC_LITERAL(19, 249, 6), // "object"
QT_MOC_LITERAL(20, 256, 15), // "updateCurrentIM"
QT_MOC_LITERAL(21, 272, 4), // "name"
QT_MOC_LITERAL(22, 277, 10), // "uniqueName"
QT_MOC_LITERAL(23, 288, 8), // "langCode"
QT_MOC_LITERAL(24, 297, 23), // "processKeyEventFinished"
QT_MOC_LITERAL(25, 321, 24) // "QDBusPendingCallWatcher*"

    },
    "QFcitxPlatformInputContext\0cursorRectChanged\0"
    "\0commitString\0str\0updateFormattedPreedit\0"
    "FcitxFormattedPreeditList\0preeditList\0"
    "cursorPos\0deleteSurroundingText\0offset\0"
    "nchar\0forwardKey\0keyval\0state\0type\0"
    "createInputContextFinished\0cleanUp\0"
    "windowDestroyed\0object\0updateCurrentIM\0"
    "name\0uniqueName\0langCode\0"
    "processKeyEventFinished\0"
    "QDBusPendingCallWatcher*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QFcitxPlatformInputContext[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x0a /* Public */,
       3,    1,   65,    2, 0x0a /* Public */,
       5,    2,   68,    2, 0x0a /* Public */,
       9,    2,   73,    2, 0x0a /* Public */,
      12,    3,   78,    2, 0x0a /* Public */,
      16,    0,   85,    2, 0x0a /* Public */,
      17,    0,   86,    2, 0x0a /* Public */,
      18,    1,   87,    2, 0x0a /* Public */,
      20,    3,   90,    2, 0x0a /* Public */,
      24,    1,   97,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,    4,
    QMetaType::Void, 0x80000000 | 6, QMetaType::Int,    7,    8,
    QMetaType::Void, QMetaType::Int, QMetaType::UInt,   10,   11,
    QMetaType::Void, QMetaType::UInt, QMetaType::UInt, QMetaType::Bool,   13,   14,   15,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QObjectStar,   19,
    QMetaType::Void, QMetaType::QString, QMetaType::QString, QMetaType::QString,   21,   22,   23,
    QMetaType::Void, 0x80000000 | 25,    2,

       0        // eod
};

void QFcitxPlatformInputContext::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QFcitxPlatformInputContext *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->cursorRectChanged(); break;
        case 1: _t->commitString((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->updateFormattedPreedit((*reinterpret_cast< const FcitxFormattedPreeditList(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->deleteSurroundingText((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2]))); break;
        case 4: _t->forwardKey((*reinterpret_cast< uint(*)>(_a[1])),(*reinterpret_cast< uint(*)>(_a[2])),(*reinterpret_cast< bool(*)>(_a[3]))); break;
        case 5: _t->createInputContextFinished(); break;
        case 6: _t->cleanUp(); break;
        case 7: _t->windowDestroyed((*reinterpret_cast< QObject*(*)>(_a[1]))); break;
        case 8: _t->updateCurrentIM((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3]))); break;
        case 9: _t->processKeyEventFinished((*reinterpret_cast< QDBusPendingCallWatcher*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< FcitxFormattedPreeditList >(); break;
            }
            break;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject QFcitxPlatformInputContext::staticMetaObject = { {
    &QPlatformInputContext::staticMetaObject,
    qt_meta_stringdata_QFcitxPlatformInputContext.data,
    qt_meta_data_QFcitxPlatformInputContext,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QFcitxPlatformInputContext::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QPlatformInputContext::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)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
