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

#include "../../../../src/qt3d-opensource-src-5.9.3/src/extras/geometries/qcuboidmesh.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qcuboidmesh.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.3. 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_Qt3DExtras__QCuboidMesh_t {
    QByteArrayData data[21];
    char stringdata0[321];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3DExtras__QCuboidMesh_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3DExtras__QCuboidMesh_t qt_meta_stringdata_Qt3DExtras__QCuboidMesh = {
    {
QT_MOC_LITERAL(0, 0, 23), // "Qt3DExtras::QCuboidMesh"
QT_MOC_LITERAL(1, 24, 14), // "xExtentChanged"
QT_MOC_LITERAL(2, 39, 0), // ""
QT_MOC_LITERAL(3, 40, 7), // "xExtent"
QT_MOC_LITERAL(4, 48, 14), // "yExtentChanged"
QT_MOC_LITERAL(5, 63, 7), // "yExtent"
QT_MOC_LITERAL(6, 71, 14), // "zExtentChanged"
QT_MOC_LITERAL(7, 86, 7), // "zExtent"
QT_MOC_LITERAL(8, 94, 23), // "yzMeshResolutionChanged"
QT_MOC_LITERAL(9, 118, 16), // "yzMeshResolution"
QT_MOC_LITERAL(10, 135, 23), // "xzMeshResolutionChanged"
QT_MOC_LITERAL(11, 159, 16), // "xzMeshResolution"
QT_MOC_LITERAL(12, 176, 23), // "xyMeshResolutionChanged"
QT_MOC_LITERAL(13, 200, 16), // "xyMeshResolution"
QT_MOC_LITERAL(14, 217, 10), // "setXExtent"
QT_MOC_LITERAL(15, 228, 10), // "setYExtent"
QT_MOC_LITERAL(16, 239, 10), // "setZExtent"
QT_MOC_LITERAL(17, 250, 19), // "setYZMeshResolution"
QT_MOC_LITERAL(18, 270, 10), // "resolution"
QT_MOC_LITERAL(19, 281, 19), // "setXZMeshResolution"
QT_MOC_LITERAL(20, 301, 19) // "setXYMeshResolution"

    },
    "Qt3DExtras::QCuboidMesh\0xExtentChanged\0"
    "\0xExtent\0yExtentChanged\0yExtent\0"
    "zExtentChanged\0zExtent\0yzMeshResolutionChanged\0"
    "yzMeshResolution\0xzMeshResolutionChanged\0"
    "xzMeshResolution\0xyMeshResolutionChanged\0"
    "xyMeshResolution\0setXExtent\0setYExtent\0"
    "setZExtent\0setYZMeshResolution\0"
    "resolution\0setXZMeshResolution\0"
    "setXYMeshResolution"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3DExtras__QCuboidMesh[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   74,    2, 0x06 /* Public */,
       4,    1,   77,    2, 0x06 /* Public */,
       6,    1,   80,    2, 0x06 /* Public */,
       8,    1,   83,    2, 0x06 /* Public */,
      10,    1,   86,    2, 0x06 /* Public */,
      12,    1,   89,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    1,   92,    2, 0x0a /* Public */,
      15,    1,   95,    2, 0x0a /* Public */,
      16,    1,   98,    2, 0x0a /* Public */,
      17,    1,  101,    2, 0x0a /* Public */,
      19,    1,  104,    2, 0x0a /* Public */,
      20,    1,  107,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Float,    3,
    QMetaType::Void, QMetaType::Float,    5,
    QMetaType::Void, QMetaType::Float,    7,
    QMetaType::Void, QMetaType::QSize,    9,
    QMetaType::Void, QMetaType::QSize,   11,
    QMetaType::Void, QMetaType::QSize,   13,

 // slots: parameters
    QMetaType::Void, QMetaType::Float,    3,
    QMetaType::Void, QMetaType::Float,    5,
    QMetaType::Void, QMetaType::Float,    7,
    QMetaType::Void, QMetaType::QSize,   18,
    QMetaType::Void, QMetaType::QSize,   18,
    QMetaType::Void, QMetaType::QSize,   18,

 // properties: name, type, flags
       3, QMetaType::Float, 0x00495103,
       5, QMetaType::Float, 0x00495103,
       7, QMetaType::Float, 0x00495103,
       9, QMetaType::QSize, 0x00495003,
      11, QMetaType::QSize, 0x00495003,
      13, QMetaType::QSize, 0x00495003,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,

       0        // eod
};

void Qt3DExtras::QCuboidMesh::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QCuboidMesh *_t = static_cast<QCuboidMesh *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->xExtentChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 1: _t->yExtentChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 2: _t->zExtentChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 3: _t->yzMeshResolutionChanged((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 4: _t->xzMeshResolutionChanged((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 5: _t->xyMeshResolutionChanged((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 6: _t->setXExtent((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 7: _t->setYExtent((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 8: _t->setZExtent((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 9: _t->setYZMeshResolution((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 10: _t->setXZMeshResolution((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        case 11: _t->setXYMeshResolution((*reinterpret_cast< const QSize(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QCuboidMesh::*_t)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCuboidMesh::xExtentChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QCuboidMesh::*_t)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCuboidMesh::yExtentChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QCuboidMesh::*_t)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCuboidMesh::zExtentChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (QCuboidMesh::*_t)(const QSize & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCuboidMesh::yzMeshResolutionChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (QCuboidMesh::*_t)(const QSize & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCuboidMesh::xzMeshResolutionChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (QCuboidMesh::*_t)(const QSize & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QCuboidMesh::xyMeshResolutionChanged)) {
                *result = 5;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QCuboidMesh *_t = static_cast<QCuboidMesh *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< float*>(_v) = _t->xExtent(); break;
        case 1: *reinterpret_cast< float*>(_v) = _t->yExtent(); break;
        case 2: *reinterpret_cast< float*>(_v) = _t->zExtent(); break;
        case 3: *reinterpret_cast< QSize*>(_v) = _t->yzMeshResolution(); break;
        case 4: *reinterpret_cast< QSize*>(_v) = _t->xzMeshResolution(); break;
        case 5: *reinterpret_cast< QSize*>(_v) = _t->xyMeshResolution(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QCuboidMesh *_t = static_cast<QCuboidMesh *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setXExtent(*reinterpret_cast< float*>(_v)); break;
        case 1: _t->setYExtent(*reinterpret_cast< float*>(_v)); break;
        case 2: _t->setZExtent(*reinterpret_cast< float*>(_v)); break;
        case 3: _t->setYZMeshResolution(*reinterpret_cast< QSize*>(_v)); break;
        case 4: _t->setXZMeshResolution(*reinterpret_cast< QSize*>(_v)); break;
        case 5: _t->setXYMeshResolution(*reinterpret_cast< QSize*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Qt3DExtras::QCuboidMesh::staticMetaObject = {
    { &Qt3DRender::QGeometryRenderer::staticMetaObject, qt_meta_stringdata_Qt3DExtras__QCuboidMesh.data,
      qt_meta_data_Qt3DExtras__QCuboidMesh,  qt_static_metacall, nullptr, nullptr}
};


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

void *Qt3DExtras::QCuboidMesh::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Qt3DExtras__QCuboidMesh.stringdata0))
        return static_cast<void*>(this);
    return Qt3DRender::QGeometryRenderer::qt_metacast(_clname);
}

int Qt3DExtras::QCuboidMesh::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = Qt3DRender::QGeometryRenderer::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 12)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 12;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 12)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 12;
    }
#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 -= 6;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 6;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 6;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void Qt3DExtras::QCuboidMesh::xExtentChanged(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Qt3DExtras::QCuboidMesh::yExtentChanged(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Qt3DExtras::QCuboidMesh::zExtentChanged(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Qt3DExtras::QCuboidMesh::yzMeshResolutionChanged(const QSize & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Qt3DExtras::QCuboidMesh::xzMeshResolutionChanged(const QSize & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Qt3DExtras::QCuboidMesh::xyMeshResolutionChanged(const QSize & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
