/****************************************************************************
** Meta object code from reading C++ file 'cursor.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/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.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__Cursor_t {
    QByteArrayData data[20];
    char stringdata0[232];
};
#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, 8), // "uint32_t"
QT_MOC_LITERAL(14, 153, 6), // "serial"
QT_MOC_LITERAL(15, 160, 12), // "themeChanged"
QT_MOC_LITERAL(16, 173, 17), // "loadThemeSettings"
QT_MOC_LITERAL(17, 191, 31), // "slotKGlobalSettingsNotifyChange"
QT_MOC_LITERAL(18, 223, 4), // "type"
QT_MOC_LITERAL(19, 228, 3) // "arg"

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

static const uint qt_meta_data_KWin__Cursor[] = {

 // content:
       7,       // 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,    1,   60,    2, 0x06 /* Public */,
      15,    0,   63,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    0,   64,    2, 0x08 /* Private */,
      17,    2,   65,    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, 0x80000000 | 13,   14,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   18,   19,

       0        // eod
};

void KWin::Cursor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Cursor *_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((*reinterpret_cast< uint32_t(*)>(_a[1]))); 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]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Cursor::*_t)(QPoint );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Cursor::posChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Cursor::*_t)(const QPoint & , const QPoint & , Qt::MouseButtons , Qt::MouseButtons , Qt::KeyboardModifiers , Qt::KeyboardModifiers );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Cursor::mouseChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Cursor::*_t)(uint32_t );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Cursor::cursorChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Cursor::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Cursor::themeChanged)) {
                *result = 3;
                return;
            }
        }
    }
}

const QMetaObject KWin::Cursor::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KWin__Cursor.data,
      qt_meta_data_KWin__Cursor,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__Cursor.stringdata0))
        return static_cast<void*>(const_cast< Cursor*>(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[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_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[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)), const_cast<void*>(reinterpret_cast<const void*>(&_t4)), const_cast<void*>(reinterpret_cast<const void*>(&_t5)), const_cast<void*>(reinterpret_cast<const void*>(&_t6)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KWin::Cursor::cursorChanged(uint32_t _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void KWin::Cursor::themeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}
struct qt_meta_stringdata_KWin__X11Cursor_t {
    QByteArrayData data[4];
    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_KWin__X11Cursor_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KWin__X11Cursor_t qt_meta_stringdata_KWin__X11Cursor = {
    {
QT_MOC_LITERAL(0, 0, 15), // "KWin::X11Cursor"
QT_MOC_LITERAL(1, 16, 14), // "resetTimeStamp"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 11) // "mousePolled"

    },
    "KWin::X11Cursor\0resetTimeStamp\0\0"
    "mousePolled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KWin__X11Cursor[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   24,    2, 0x08 /* Private */,
       3,    0,   25,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void KWin::X11Cursor::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        X11Cursor *_t = static_cast<X11Cursor *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->resetTimeStamp(); break;
        case 1: _t->mousePolled(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject KWin::X11Cursor::staticMetaObject = {
    { &Cursor::staticMetaObject, qt_meta_stringdata_KWin__X11Cursor.data,
      qt_meta_data_KWin__X11Cursor,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

const QMetaObject KWin::InputRedirectionCursor::staticMetaObject = {
    { &Cursor::staticMetaObject, qt_meta_stringdata_KWin__InputRedirectionCursor.data,
      qt_meta_data_KWin__InputRedirectionCursor,  qt_static_metacall, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KWin__InputRedirectionCursor.stringdata0))
        return static_cast<void*>(const_cast< InputRedirectionCursor*>(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_END_MOC_NAMESPACE
