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

#include <memory>
#include "../../../../../kwin-5.17.0/cursor.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'cursor.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.13.1. 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_KWin__Cursor_t {
    QByteArrayData data[18];
    char stringdata0[216];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__Cursor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__Cursor_t qt_meta_stringdata_KWin__Cursor = {
    {
QT_MOC_LITERAL(0, 0, 12), // "KWin::Cursor"
QT_MOC_LITERAL(1, 13, 10), // "posChanged"
QT_MOC_LITERAL(2, 24, 0), // ""
QT_MOC_LITERAL(3, 25, 3), // "pos"
QT_MOC_LITERAL(4, 29, 12), // "mouseChanged"
QT_MOC_LITERAL(5, 42, 6), // "oldpos"
QT_MOC_LITERAL(6, 49, 16), // "Qt::MouseButtons"
QT_MOC_LITERAL(7, 66, 7), // "buttons"
QT_MOC_LITERAL(8, 74, 10), // "oldbuttons"
QT_MOC_LITERAL(9, 85, 21), // "Qt::KeyboardModifiers"
QT_MOC_LITERAL(10, 107, 9), // "modifiers"
QT_MOC_LITERAL(11, 117, 12), // "oldmodifiers"
QT_MOC_LITERAL(12, 130, 13), // "cursorChanged"
QT_MOC_LITERAL(13, 144, 12), // "themeChanged"
QT_MOC_LITERAL(14, 157, 17), // "loadThemeSettings"
QT_MOC_LITERAL(15, 175, 31), // "slotKGlobalSettingsNotifyChange"
QT_MOC_LITERAL(16, 207, 4), // "type"
QT_MOC_LITERAL(17, 212, 3) // "arg"

    },
    "KWin::Cursor\0posChanged\0\0pos\0mouseChanged\0"
    "oldpos\0Qt::MouseButtons\0buttons\0"
    "oldbuttons\0Qt::KeyboardModifiers\0"
    "modifiers\0oldmodifiers\0cursorChanged\0"
    "themeChanged\0loadThemeSettings\0"
    "slotKGlobalSettingsNotifyChange\0type\0"
    "arg"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__Cursor[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   44,    2, 0x06 /* Public */,
       4,    6,   47,    2, 0x06 /* Public */,
      12,    0,   60,    2, 0x06 /* Public */,
      13,    0,   61,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    0,   62,    2, 0x08 /* Private */,
      15,    2,   63,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QPoint,    3,
    QMetaType::Void, QMetaType::QPoint, QMetaType::QPoint, 0x80000000 | 6, 0x80000000 | 6, 0x80000000 | 9, 0x80000000 | 9,    3,    5,    7,    8,   10,   11,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   16,   17,

       0        // eod
};

void KWin::Cursor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<Cursor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->posChanged((*reinterpret_cast< QPoint(*)>(_a[1]))); break;
        case 1: _t->mouseChanged((*reinterpret_cast< const QPoint(*)>(_a[1])),(*reinterpret_cast< const QPoint(*)>(_a[2])),(*reinterpret_cast< Qt::MouseButtons(*)>(_a[3])),(*reinterpret_cast< Qt::MouseButtons(*)>(_a[4])),(*reinterpret_cast< Qt::KeyboardModifiers(*)>(_a[5])),(*reinterpret_cast< Qt::KeyboardModifiers(*)>(_a[6]))); break;
        case 2: _t->cursorChanged(); break;
        case 3: _t->themeChanged(); break;
        case 4: _t->loadThemeSettings(); break;
        case 5: _t->slotKGlobalSettingsNotifyChange((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (Cursor::*)(QPoint );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Cursor::posChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (Cursor::*)(const QPoint & , const QPoint & , Qt::MouseButtons , Qt::MouseButtons , Qt::KeyboardModifiers , Qt::KeyboardModifiers );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Cursor::mouseChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (Cursor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Cursor::cursorChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (Cursor::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&Cursor::themeChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KWin::Cursor::staticMetaObject = { {
    &QObject::staticMetaObject,
    qt_meta_stringdata_KWin__Cursor.data,
    qt_meta_data_KWin__Cursor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

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

// SIGNAL 1
void KWin::Cursor::mouseChanged(const QPoint & _t1, const QPoint & _t2, Qt::MouseButtons _t3, Qt::MouseButtons _t4, Qt::KeyboardModifiers _t5, Qt::KeyboardModifiers _t6)
{
    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))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t4))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t5))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t6))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KWin::Cursor::cursorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void KWin::Cursor::themeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
struct qt_meta_stringdata_KWin__InputRedirectionCursor_t {
    QByteArrayData data[9];
    char stringdata0[130];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KWin__InputRedirectionCursor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__InputRedirectionCursor_t qt_meta_stringdata_KWin__InputRedirectionCursor = {
    {
QT_MOC_LITERAL(0, 0, 28), // "KWin::InputRedirectionCursor"
QT_MOC_LITERAL(1, 29, 14), // "slotPosChanged"
QT_MOC_LITERAL(2, 44, 0), // ""
QT_MOC_LITERAL(3, 45, 3), // "pos"
QT_MOC_LITERAL(4, 49, 24), // "slotPointerButtonChanged"
QT_MOC_LITERAL(5, 74, 20), // "slotModifiersChanged"
QT_MOC_LITERAL(6, 95, 21), // "Qt::KeyboardModifiers"
QT_MOC_LITERAL(7, 117, 4), // "mods"
QT_MOC_LITERAL(8, 122, 7) // "oldMods"

    },
    "KWin::InputRedirectionCursor\0"
    "slotPosChanged\0\0pos\0slotPointerButtonChanged\0"
    "slotModifiersChanged\0Qt::KeyboardModifiers\0"
    "mods\0oldMods"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__InputRedirectionCursor[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   29,    2, 0x08 /* Private */,
       4,    0,   32,    2, 0x08 /* Private */,
       5,    2,   33,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, QMetaType::QPointF,    3,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 6, 0x80000000 | 6,    7,    8,

       0        // eod
};

void KWin::InputRedirectionCursor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<InputRedirectionCursor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->slotPosChanged((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 1: _t->slotPointerButtonChanged(); break;
        case 2: _t->slotModifiersChanged((*reinterpret_cast< Qt::KeyboardModifiers(*)>(_a[1])),(*reinterpret_cast< Qt::KeyboardModifiers(*)>(_a[2]))); break;
        default: ;
        }
    }
}

QT_INIT_METAOBJECT const QMetaObject KWin::InputRedirectionCursor::staticMetaObject = { {
    &Cursor::staticMetaObject,
    qt_meta_stringdata_KWin__InputRedirectionCursor.data,
    qt_meta_data_KWin__InputRedirectionCursor,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *KWin::InputRedirectionCursor::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__InputRedirectionCursor.stringdata0))
        return static_cast<void*>(this);
    return Cursor::qt_metacast(_clname);
}

int KWin::InputRedirectionCursor::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Cursor::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
    return _id;
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
