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

#include <memory>
#include "../kernel/qinputmethod.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qinputmethod.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.19. 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_QInputMethod_t {
    QByteArrayData data[33];
    char stringdata0[445];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QInputMethod_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QInputMethod_t qt_meta_stringdata_QInputMethod = {
    {
QT_MOC_LITERAL(0, 0, 12), // "QInputMethod"
QT_MOC_LITERAL(1, 13, 22), // "cursorRectangleChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 22), // "anchorRectangleChanged"
QT_MOC_LITERAL(4, 60, 24), // "keyboardRectangleChanged"
QT_MOC_LITERAL(5, 85, 29), // "inputItemClipRectangleChanged"
QT_MOC_LITERAL(6, 115, 14), // "visibleChanged"
QT_MOC_LITERAL(7, 130, 16), // "animatingChanged"
QT_MOC_LITERAL(8, 147, 13), // "localeChanged"
QT_MOC_LITERAL(9, 161, 21), // "inputDirectionChanged"
QT_MOC_LITERAL(10, 183, 19), // "Qt::LayoutDirection"
QT_MOC_LITERAL(11, 203, 12), // "newDirection"
QT_MOC_LITERAL(12, 216, 4), // "show"
QT_MOC_LITERAL(13, 221, 4), // "hide"
QT_MOC_LITERAL(14, 226, 6), // "update"
QT_MOC_LITERAL(15, 233, 22), // "Qt::InputMethodQueries"
QT_MOC_LITERAL(16, 256, 7), // "queries"
QT_MOC_LITERAL(17, 264, 5), // "reset"
QT_MOC_LITERAL(18, 270, 6), // "commit"
QT_MOC_LITERAL(19, 277, 12), // "invokeAction"
QT_MOC_LITERAL(20, 290, 6), // "Action"
QT_MOC_LITERAL(21, 297, 1), // "a"
QT_MOC_LITERAL(22, 299, 14), // "cursorPosition"
QT_MOC_LITERAL(23, 314, 15), // "cursorRectangle"
QT_MOC_LITERAL(24, 330, 15), // "anchorRectangle"
QT_MOC_LITERAL(25, 346, 17), // "keyboardRectangle"
QT_MOC_LITERAL(26, 364, 22), // "inputItemClipRectangle"
QT_MOC_LITERAL(27, 387, 7), // "visible"
QT_MOC_LITERAL(28, 395, 9), // "animating"
QT_MOC_LITERAL(29, 405, 6), // "locale"
QT_MOC_LITERAL(30, 412, 14), // "inputDirection"
QT_MOC_LITERAL(31, 427, 5), // "Click"
QT_MOC_LITERAL(32, 433, 11) // "ContextMenu"

    },
    "QInputMethod\0cursorRectangleChanged\0"
    "\0anchorRectangleChanged\0"
    "keyboardRectangleChanged\0"
    "inputItemClipRectangleChanged\0"
    "visibleChanged\0animatingChanged\0"
    "localeChanged\0inputDirectionChanged\0"
    "Qt::LayoutDirection\0newDirection\0show\0"
    "hide\0update\0Qt::InputMethodQueries\0"
    "queries\0reset\0commit\0invokeAction\0"
    "Action\0a\0cursorPosition\0cursorRectangle\0"
    "anchorRectangle\0keyboardRectangle\0"
    "inputItemClipRectangle\0visible\0animating\0"
    "locale\0inputDirection\0Click\0ContextMenu"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QInputMethod[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   84,    2, 0x06 /* Public */,
       3,    0,   85,    2, 0x06 /* Public */,
       4,    0,   86,    2, 0x06 /* Public */,
       5,    0,   87,    2, 0x06 /* Public */,
       6,    0,   88,    2, 0x06 /* Public */,
       7,    0,   89,    2, 0x06 /* Public */,
       8,    0,   90,    2, 0x06 /* Public */,
       9,    1,   91,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    0,   94,    2, 0x0a /* Public */,
      13,    0,   95,    2, 0x0a /* Public */,
      14,    1,   96,    2, 0x0a /* Public */,
      17,    0,   99,    2, 0x0a /* Public */,
      18,    0,  100,    2, 0x0a /* Public */,
      19,    2,  101,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 10,   11,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 15,   16,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 20, QMetaType::Int,   21,   22,

 // properties: name, type, flags
      23, QMetaType::QRectF, 0x00495001,
      24, QMetaType::QRectF, 0x00495001,
      25, QMetaType::QRectF, 0x00495001,
      26, QMetaType::QRectF, 0x00495001,
      27, QMetaType::Bool, 0x00495001,
      28, QMetaType::Bool, 0x00495001,
      29, QMetaType::QLocale, 0x00495001,
      30, 0x80000000 | 10, 0x00495009,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,
       7,

 // enums: name, alias, flags, count, data
      20,   20, 0x0,    2,  143,

 // enum data: key, value
      31, uint(QInputMethod::Click),
      32, uint(QInputMethod::ContextMenu),

       0        // eod
};

void QInputMethod::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QInputMethod *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->cursorRectangleChanged(); break;
        case 1: _t->anchorRectangleChanged(); break;
        case 2: _t->keyboardRectangleChanged(); break;
        case 3: _t->inputItemClipRectangleChanged(); break;
        case 4: _t->visibleChanged(); break;
        case 5: _t->animatingChanged(); break;
        case 6: _t->localeChanged(); break;
        case 7: _t->inputDirectionChanged((*reinterpret_cast< Qt::LayoutDirection(*)>(_a[1]))); break;
        case 8: _t->show(); break;
        case 9: _t->hide(); break;
        case 10: _t->update((*reinterpret_cast< Qt::InputMethodQueries(*)>(_a[1]))); break;
        case 11: _t->reset(); break;
        case 12: _t->commit(); break;
        case 13: _t->invokeAction((*reinterpret_cast< Action(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QInputMethod::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::cursorRectangleChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QInputMethod::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::anchorRectangleChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QInputMethod::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::keyboardRectangleChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QInputMethod::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::inputItemClipRectangleChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QInputMethod::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::visibleChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QInputMethod::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::animatingChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QInputMethod::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::localeChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QInputMethod::*)(Qt::LayoutDirection );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QInputMethod::inputDirectionChanged)) {
                *result = 7;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QInputMethod *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QRectF*>(_v) = _t->cursorRectangle(); break;
        case 1: *reinterpret_cast< QRectF*>(_v) = _t->anchorRectangle(); break;
        case 2: *reinterpret_cast< QRectF*>(_v) = _t->keyboardRectangle(); break;
        case 3: *reinterpret_cast< QRectF*>(_v) = _t->inputItemClipRectangle(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->isVisible(); break;
        case 5: *reinterpret_cast< bool*>(_v) = _t->isAnimating(); break;
        case 6: *reinterpret_cast< QLocale*>(_v) = _t->locale(); break;
        case 7: *reinterpret_cast< Qt::LayoutDirection*>(_v) = _t->inputDirection(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject QInputMethod::staticMetaObject = { {
    QMetaObject::SuperData::link<QObject::staticMetaObject>(),
    qt_meta_stringdata_QInputMethod.data,
    qt_meta_data_QInputMethod,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

int QInputMethod::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 < 14)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 14;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 14)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 14;
    }
#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 -= 8;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 8;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 8;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

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

// SIGNAL 6
void QInputMethod::localeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void QInputMethod::inputDirectionChanged(Qt::LayoutDirection _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
