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

#include <memory>
#include "../../../../../kwayland-5.116.0/src/server/textinput_interface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'textinput_interface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.17. 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_KWayland__Server__TextInputManagerInterface_t {
    QByteArrayData data[1];
    char stringdata0[44];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWayland__Server__TextInputManagerInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWayland__Server__TextInputManagerInterface_t qt_meta_stringdata_KWayland__Server__TextInputManagerInterface = {
    {
QT_MOC_LITERAL(0, 0, 43) // "KWayland::Server::TextInputMa..."

    },
    "KWayland::Server::TextInputManagerInterface"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWayland__Server__TextInputManagerInterface[] = {

 // 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 KWayland::Server::TextInputManagerInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    (void)_o;
    (void)_id;
    (void)_c;
    (void)_a;
}

QT_INIT_METAOBJECT const QMetaObject KWayland::Server::TextInputManagerInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<Global::staticMetaObject>(),
    qt_meta_stringdata_KWayland__Server__TextInputManagerInterface.data,
    qt_meta_data_KWayland__Server__TextInputManagerInterface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *KWayland::Server::TextInputManagerInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWayland__Server__TextInputManagerInterface.stringdata0))
        return static_cast<void*>(this);
    return Global::qt_metacast(_clname);
}

int KWayland::Server::TextInputManagerInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Global::qt_metacall(_c, _id, _a);
    return _id;
}
struct qt_meta_stringdata_KWayland__Server__TextInputInterface_t {
    QByteArrayData data[12];
    char stringdata0[214];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWayland__Server__TextInputInterface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWayland__Server__TextInputInterface_t qt_meta_stringdata_KWayland__Server__TextInputInterface = {
    {
QT_MOC_LITERAL(0, 0, 36), // "KWayland::Server::TextInputIn..."
QT_MOC_LITERAL(1, 37, 21), // "requestShowInputPanel"
QT_MOC_LITERAL(2, 59, 0), // ""
QT_MOC_LITERAL(3, 60, 21), // "requestHideInputPanel"
QT_MOC_LITERAL(4, 82, 12), // "requestReset"
QT_MOC_LITERAL(5, 95, 24), // "preferredLanguageChanged"
QT_MOC_LITERAL(6, 120, 8), // "language"
QT_MOC_LITERAL(7, 129, 22), // "cursorRectangleChanged"
QT_MOC_LITERAL(8, 152, 4), // "rect"
QT_MOC_LITERAL(9, 157, 18), // "contentTypeChanged"
QT_MOC_LITERAL(10, 176, 22), // "surroundingTextChanged"
QT_MOC_LITERAL(11, 199, 14) // "enabledChanged"

    },
    "KWayland::Server::TextInputInterface\0"
    "requestShowInputPanel\0\0requestHideInputPanel\0"
    "requestReset\0preferredLanguageChanged\0"
    "language\0cursorRectangleChanged\0rect\0"
    "contentTypeChanged\0surroundingTextChanged\0"
    "enabledChanged"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWayland__Server__TextInputInterface[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    0,   55,    2, 0x06 /* Public */,
       4,    0,   56,    2, 0x06 /* Public */,
       5,    1,   57,    2, 0x06 /* Public */,
       7,    1,   60,    2, 0x06 /* Public */,
       9,    0,   63,    2, 0x06 /* Public */,
      10,    0,   64,    2, 0x06 /* Public */,
      11,    0,   65,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QByteArray,    6,
    QMetaType::Void, QMetaType::QRect,    8,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KWayland::Server::TextInputInterface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<TextInputInterface *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->requestShowInputPanel(); break;
        case 1: _t->requestHideInputPanel(); break;
        case 2: _t->requestReset(); break;
        case 3: _t->preferredLanguageChanged((*reinterpret_cast< const QByteArray(*)>(_a[1]))); break;
        case 4: _t->cursorRectangleChanged((*reinterpret_cast< const QRect(*)>(_a[1]))); break;
        case 5: _t->contentTypeChanged(); break;
        case 6: _t->surroundingTextChanged(); break;
        case 7: _t->enabledChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (TextInputInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextInputInterface::requestShowInputPanel)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (TextInputInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextInputInterface::requestHideInputPanel)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (TextInputInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextInputInterface::requestReset)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (TextInputInterface::*)(const QByteArray & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextInputInterface::preferredLanguageChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (TextInputInterface::*)(const QRect & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextInputInterface::cursorRectangleChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (TextInputInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextInputInterface::contentTypeChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (TextInputInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextInputInterface::surroundingTextChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (TextInputInterface::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&TextInputInterface::enabledChanged)) {
                *result = 7;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KWayland::Server::TextInputInterface::staticMetaObject = { {
    QMetaObject::SuperData::link<Resource::staticMetaObject>(),
    qt_meta_stringdata_KWayland__Server__TextInputInterface.data,
    qt_meta_data_KWayland__Server__TextInputInterface,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *KWayland::Server::TextInputInterface::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWayland__Server__TextInputInterface.stringdata0))
        return static_cast<void*>(this);
    return Resource::qt_metacast(_clname);
}

int KWayland::Server::TextInputInterface::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Resource::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
    return _id;
}

// SIGNAL 0
void KWayland::Server::TextInputInterface::requestShowInputPanel()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void KWayland::Server::TextInputInterface::requestHideInputPanel()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void KWayland::Server::TextInputInterface::requestReset()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void KWayland::Server::TextInputInterface::preferredLanguageChanged(const QByteArray & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void KWayland::Server::TextInputInterface::cursorRectangleChanged(const QRect & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void KWayland::Server::TextInputInterface::contentTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void KWayland::Server::TextInputInterface::surroundingTextChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void KWayland::Server::TextInputInterface::enabledChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
