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

#include "../../../../src/qt3d-opensource-src-5.5.1/src/input/qmouseinput.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qmouseinput.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.5.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
struct qt_meta_stringdata_Qt3D__QMouseInput_t {
    QByteArrayData data[19];
    char stringdata0[244];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3D__QMouseInput_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3D__QMouseInput_t qt_meta_stringdata_Qt3D__QMouseInput = {
    {
QT_MOC_LITERAL(0, 0, 17), // "Qt3D::QMouseInput"
QT_MOC_LITERAL(1, 18, 17), // "controllerChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 20), // "containsMouseChanged"
QT_MOC_LITERAL(4, 58, 7), // "clicked"
QT_MOC_LITERAL(5, 66, 20), // "Qt3D::Q3DMouseEvent*"
QT_MOC_LITERAL(6, 87, 5), // "mouse"
QT_MOC_LITERAL(7, 93, 13), // "doubleClicked"
QT_MOC_LITERAL(8, 107, 7), // "entered"
QT_MOC_LITERAL(9, 115, 6), // "exited"
QT_MOC_LITERAL(10, 122, 7), // "pressed"
QT_MOC_LITERAL(11, 130, 8), // "released"
QT_MOC_LITERAL(12, 139, 12), // "pressAndHold"
QT_MOC_LITERAL(13, 152, 15), // "positionChanged"
QT_MOC_LITERAL(14, 168, 5), // "wheel"
QT_MOC_LITERAL(15, 174, 20), // "Qt3D::Q3DWheelEvent*"
QT_MOC_LITERAL(16, 195, 10), // "controller"
QT_MOC_LITERAL(17, 206, 23), // "Qt3D::QMouseController*"
QT_MOC_LITERAL(18, 230, 13) // "containsMouse"

    },
    "Qt3D::QMouseInput\0controllerChanged\0"
    "\0containsMouseChanged\0clicked\0"
    "Qt3D::Q3DMouseEvent*\0mouse\0doubleClicked\0"
    "entered\0exited\0pressed\0released\0"
    "pressAndHold\0positionChanged\0wheel\0"
    "Qt3D::Q3DWheelEvent*\0controller\0"
    "Qt3D::QMouseController*\0containsMouse"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3D__QMouseInput[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   69,    2, 0x06 /* Public */,
       3,    0,   70,    2, 0x06 /* Public */,
       4,    1,   71,    2, 0x06 /* Public */,
       7,    1,   74,    2, 0x06 /* Public */,
       8,    0,   77,    2, 0x06 /* Public */,
       9,    0,   78,    2, 0x06 /* Public */,
      10,    1,   79,    2, 0x06 /* Public */,
      11,    1,   82,    2, 0x06 /* Public */,
      12,    1,   85,    2, 0x06 /* Public */,
      13,    1,   88,    2, 0x06 /* Public */,
      14,    1,   91,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, 0x80000000 | 15,   14,

 // properties: name, type, flags
      16, 0x80000000 | 17, 0x0049510b,
      18, QMetaType::Bool, 0x00495001,

 // properties: notify_signal_id
       0,
       1,

       0        // eod
};

void Qt3D::QMouseInput::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QMouseInput *_t = static_cast<QMouseInput *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->controllerChanged(); break;
        case 1: _t->containsMouseChanged(); break;
        case 2: _t->clicked((*reinterpret_cast< Qt3D::Q3DMouseEvent*(*)>(_a[1]))); break;
        case 3: _t->doubleClicked((*reinterpret_cast< Qt3D::Q3DMouseEvent*(*)>(_a[1]))); break;
        case 4: _t->entered(); break;
        case 5: _t->exited(); break;
        case 6: _t->pressed((*reinterpret_cast< Qt3D::Q3DMouseEvent*(*)>(_a[1]))); break;
        case 7: _t->released((*reinterpret_cast< Qt3D::Q3DMouseEvent*(*)>(_a[1]))); break;
        case 8: _t->pressAndHold((*reinterpret_cast< Qt3D::Q3DMouseEvent*(*)>(_a[1]))); break;
        case 9: _t->positionChanged((*reinterpret_cast< Qt3D::Q3DMouseEvent*(*)>(_a[1]))); break;
        case 10: _t->wheel((*reinterpret_cast< Qt3D::Q3DWheelEvent*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3D::Q3DMouseEvent* >(); break;
            }
            break;
        case 3:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3D::Q3DMouseEvent* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3D::Q3DMouseEvent* >(); break;
            }
            break;
        case 7:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3D::Q3DMouseEvent* >(); break;
            }
            break;
        case 8:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3D::Q3DMouseEvent* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3D::Q3DMouseEvent* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Qt3D::Q3DWheelEvent* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QMouseInput::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QMouseInput::controllerChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QMouseInput::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QMouseInput::containsMouseChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QMouseInput::*_t)(Qt3D::Q3DMouseEvent * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QMouseInput::clicked)) {
                *result = 2;
            }
        }
        {
            typedef void (QMouseInput::*_t)(Qt3D::Q3DMouseEvent * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QMouseInput::doubleClicked)) {
                *result = 3;
            }
        }
        {
            typedef void (QMouseInput::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QMouseInput::entered)) {
                *result = 4;
            }
        }
        {
            typedef void (QMouseInput::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QMouseInput::exited)) {
                *result = 5;
            }
        }
        {
            typedef void (QMouseInput::*_t)(Qt3D::Q3DMouseEvent * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QMouseInput::pressed)) {
                *result = 6;
            }
        }
        {
            typedef void (QMouseInput::*_t)(Qt3D::Q3DMouseEvent * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QMouseInput::released)) {
                *result = 7;
            }
        }
        {
            typedef void (QMouseInput::*_t)(Qt3D::Q3DMouseEvent * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QMouseInput::pressAndHold)) {
                *result = 8;
            }
        }
        {
            typedef void (QMouseInput::*_t)(Qt3D::Q3DMouseEvent * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QMouseInput::positionChanged)) {
                *result = 9;
            }
        }
        {
            typedef void (QMouseInput::*_t)(Qt3D::Q3DWheelEvent * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QMouseInput::wheel)) {
                *result = 10;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QMouseInput *_t = static_cast<QMouseInput *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Qt3D::QMouseController**>(_v) = _t->controller(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->containsMouse(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QMouseInput *_t = static_cast<QMouseInput *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setController(*reinterpret_cast< Qt3D::QMouseController**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Qt3D::QMouseInput::staticMetaObject = {
    { &QComponent::staticMetaObject, qt_meta_stringdata_Qt3D__QMouseInput.data,
      qt_meta_data_Qt3D__QMouseInput,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Qt3D::QMouseInput::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Qt3D__QMouseInput.stringdata0))
        return static_cast<void*>(const_cast< QMouseInput*>(this));
    return QComponent::qt_metacast(_clname);
}

int Qt3D::QMouseInput::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QComponent::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    }
#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 -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Qt3D::QMouseInput::controllerChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void Qt3D::QMouseInput::containsMouseChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void Qt3D::QMouseInput::clicked(Qt3D::Q3DMouseEvent * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Qt3D::QMouseInput::doubleClicked(Qt3D::Q3DMouseEvent * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Qt3D::QMouseInput::entered()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void Qt3D::QMouseInput::exited()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void Qt3D::QMouseInput::pressed(Qt3D::Q3DMouseEvent * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}

// SIGNAL 7
void Qt3D::QMouseInput::released(Qt3D::Q3DMouseEvent * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 7, _a);
}

// SIGNAL 8
void Qt3D::QMouseInput::pressAndHold(Qt3D::Q3DMouseEvent * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 8, _a);
}

// SIGNAL 9
void Qt3D::QMouseInput::positionChanged(Qt3D::Q3DMouseEvent * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 9, _a);
}

// SIGNAL 10
void Qt3D::QMouseInput::wheel(Qt3D::Q3DWheelEvent * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 10, _a);
}
QT_END_MOC_NAMESPACE
