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

#include "../src/kwin-5.4.3/input.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'input.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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
struct qt_meta_stringdata_KWin__InputRedirection_t {
    QByteArrayData data[18];
    char stringdata0[277];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__InputRedirection_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__InputRedirection_t qt_meta_stringdata_KWin__InputRedirection = {
    {
QT_MOC_LITERAL(0, 0, 22), // "KWin::InputRedirection"
QT_MOC_LITERAL(1, 23, 20), // "globalPointerChanged"
QT_MOC_LITERAL(2, 44, 0), // ""
QT_MOC_LITERAL(3, 45, 3), // "pos"
QT_MOC_LITERAL(4, 49, 25), // "pointerButtonStateChanged"
QT_MOC_LITERAL(5, 75, 8), // "uint32_t"
QT_MOC_LITERAL(6, 84, 6), // "button"
QT_MOC_LITERAL(7, 91, 36), // "InputRedirection::PointerButt..."
QT_MOC_LITERAL(8, 128, 5), // "state"
QT_MOC_LITERAL(9, 134, 18), // "pointerAxisChanged"
QT_MOC_LITERAL(10, 153, 29), // "InputRedirection::PointerAxis"
QT_MOC_LITERAL(11, 183, 4), // "axis"
QT_MOC_LITERAL(12, 188, 5), // "delta"
QT_MOC_LITERAL(13, 194, 24), // "keyboardModifiersChanged"
QT_MOC_LITERAL(14, 219, 21), // "Qt::KeyboardModifiers"
QT_MOC_LITERAL(15, 241, 7), // "newMods"
QT_MOC_LITERAL(16, 249, 7), // "oldMods"
QT_MOC_LITERAL(17, 257, 19) // "updatePointerWindow"

    },
    "KWin::InputRedirection\0globalPointerChanged\0"
    "\0pos\0pointerButtonStateChanged\0uint32_t\0"
    "button\0InputRedirection::PointerButtonState\0"
    "state\0pointerAxisChanged\0"
    "InputRedirection::PointerAxis\0axis\0"
    "delta\0keyboardModifiersChanged\0"
    "Qt::KeyboardModifiers\0newMods\0oldMods\0"
    "updatePointerWindow"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__InputRedirection[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x06 /* Public */,
       4,    2,   42,    2, 0x06 /* Public */,
       9,    2,   47,    2, 0x06 /* Public */,
      13,    2,   52,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      17,    0,   57,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::QPointF,    3,
    QMetaType::Void, 0x80000000 | 5, 0x80000000 | 7,    6,    8,
    QMetaType::Void, 0x80000000 | 10, QMetaType::QReal,   11,   12,
    QMetaType::Void, 0x80000000 | 14, 0x80000000 | 14,   15,   16,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void KWin::InputRedirection::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        InputRedirection *_t = static_cast<InputRedirection *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->globalPointerChanged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 1: _t->pointerButtonStateChanged((*reinterpret_cast< uint32_t(*)>(_a[1])),(*reinterpret_cast< InputRedirection::PointerButtonState(*)>(_a[2]))); break;
        case 2: _t->pointerAxisChanged((*reinterpret_cast< InputRedirection::PointerAxis(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 3: _t->keyboardModifiersChanged((*reinterpret_cast< Qt::KeyboardModifiers(*)>(_a[1])),(*reinterpret_cast< Qt::KeyboardModifiers(*)>(_a[2]))); break;
        case 4: _t->updatePointerWindow(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (InputRedirection::*_t)(const QPointF & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&InputRedirection::globalPointerChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (InputRedirection::*_t)(uint32_t , InputRedirection::PointerButtonState );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&InputRedirection::pointerButtonStateChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (InputRedirection::*_t)(InputRedirection::PointerAxis , qreal );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&InputRedirection::pointerAxisChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (InputRedirection::*_t)(Qt::KeyboardModifiers , Qt::KeyboardModifiers );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&InputRedirection::keyboardModifiersChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KWin::InputRedirection::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__InputRedirection.data,
      qt_meta_data_KWin__InputRedirection,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *KWin::InputRedirection::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__InputRedirection.stringdata0))
        return static_cast<void*>(const_cast< InputRedirection*>(this));
    return QObject::qt_metacast(_clname);
}

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

// SIGNAL 0
void KWin::InputRedirection::globalPointerChanged(const QPointF & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KWin::InputRedirection::pointerButtonStateChanged(uint32_t _t1, InputRedirection::PointerButtonState _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KWin::InputRedirection::pointerAxisChanged(InputRedirection::PointerAxis _t1, qreal _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KWin::InputRedirection::keyboardModifiersChanged(Qt::KeyboardModifiers _t1, Qt::KeyboardModifiers _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}
QT_END_MOC_NAMESPACE
