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

#include <memory>
#include "../../../../qt3d/src/extras/geometries/qconegeometry.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qconegeometry.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Qt3DExtras__QConeGeometry_t {
    QByteArrayData data[28];
    char stringdata0[404];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3DExtras__QConeGeometry_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3DExtras__QConeGeometry_t qt_meta_stringdata_Qt3DExtras__QConeGeometry = {
    {
QT_MOC_LITERAL(0, 0, 25), // "Qt3DExtras::QConeGeometry"
QT_MOC_LITERAL(1, 26, 19), // "hasTopEndcapChanged"
QT_MOC_LITERAL(2, 46, 0), // ""
QT_MOC_LITERAL(3, 47, 12), // "hasTopEndcap"
QT_MOC_LITERAL(4, 60, 22), // "hasBottomEndcapChanged"
QT_MOC_LITERAL(5, 83, 15), // "hasBottomEndcap"
QT_MOC_LITERAL(6, 99, 16), // "topRadiusChanged"
QT_MOC_LITERAL(7, 116, 9), // "topRadius"
QT_MOC_LITERAL(8, 126, 19), // "bottomRadiusChanged"
QT_MOC_LITERAL(9, 146, 12), // "bottomRadius"
QT_MOC_LITERAL(10, 159, 12), // "ringsChanged"
QT_MOC_LITERAL(11, 172, 5), // "rings"
QT_MOC_LITERAL(12, 178, 13), // "slicesChanged"
QT_MOC_LITERAL(13, 192, 6), // "slices"
QT_MOC_LITERAL(14, 199, 13), // "lengthChanged"
QT_MOC_LITERAL(15, 213, 6), // "length"
QT_MOC_LITERAL(16, 220, 15), // "setHasTopEndcap"
QT_MOC_LITERAL(17, 236, 18), // "setHasBottomEndcap"
QT_MOC_LITERAL(18, 255, 12), // "setTopRadius"
QT_MOC_LITERAL(19, 268, 15), // "setBottomRadius"
QT_MOC_LITERAL(20, 284, 8), // "setRings"
QT_MOC_LITERAL(21, 293, 9), // "setSlices"
QT_MOC_LITERAL(22, 303, 9), // "setLength"
QT_MOC_LITERAL(23, 313, 17), // "positionAttribute"
QT_MOC_LITERAL(24, 331, 23), // "Qt3DRender::QAttribute*"
QT_MOC_LITERAL(25, 355, 15), // "normalAttribute"
QT_MOC_LITERAL(26, 371, 17), // "texCoordAttribute"
QT_MOC_LITERAL(27, 389, 14) // "indexAttribute"

    },
    "Qt3DExtras::QConeGeometry\0hasTopEndcapChanged\0"
    "\0hasTopEndcap\0hasBottomEndcapChanged\0"
    "hasBottomEndcap\0topRadiusChanged\0"
    "topRadius\0bottomRadiusChanged\0"
    "bottomRadius\0ringsChanged\0rings\0"
    "slicesChanged\0slices\0lengthChanged\0"
    "length\0setHasTopEndcap\0setHasBottomEndcap\0"
    "setTopRadius\0setBottomRadius\0setRings\0"
    "setSlices\0setLength\0positionAttribute\0"
    "Qt3DRender::QAttribute*\0normalAttribute\0"
    "texCoordAttribute\0indexAttribute"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3DExtras__QConeGeometry[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   84,    2, 0x06 /* Public */,
       4,    1,   87,    2, 0x06 /* Public */,
       6,    1,   90,    2, 0x06 /* Public */,
       8,    1,   93,    2, 0x06 /* Public */,
      10,    1,   96,    2, 0x06 /* Public */,
      12,    1,   99,    2, 0x06 /* Public */,
      14,    1,  102,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      16,    1,  105,    2, 0x0a /* Public */,
      17,    1,  108,    2, 0x0a /* Public */,
      18,    1,  111,    2, 0x0a /* Public */,
      19,    1,  114,    2, 0x0a /* Public */,
      20,    1,  117,    2, 0x0a /* Public */,
      21,    1,  120,    2, 0x0a /* Public */,
      22,    1,  123,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Float,    7,
    QMetaType::Void, QMetaType::Float,    9,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, QMetaType::Float,   15,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    3,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Float,    7,
    QMetaType::Void, QMetaType::Float,    9,
    QMetaType::Void, QMetaType::Int,   11,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, QMetaType::Float,   15,

 // properties: name, type, flags
       3, QMetaType::Bool, 0x00495103,
       5, QMetaType::Bool, 0x00495103,
      11, QMetaType::Int, 0x00495103,
      13, QMetaType::Int, 0x00495103,
       7, QMetaType::Float, 0x00495103,
       9, QMetaType::Float, 0x00495103,
      15, QMetaType::Float, 0x00495103,
      23, 0x80000000 | 24, 0x00095409,
      25, 0x80000000 | 24, 0x00095409,
      26, 0x80000000 | 24, 0x00095409,
      27, 0x80000000 | 24, 0x00095409,

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

       0        // eod
};

void Qt3DExtras::QConeGeometry::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QConeGeometry *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->hasTopEndcapChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 1: _t->hasBottomEndcapChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 2: _t->topRadiusChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 3: _t->bottomRadiusChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 4: _t->ringsChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->slicesChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->lengthChanged((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 7: _t->setHasTopEndcap((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 8: _t->setHasBottomEndcap((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 9: _t->setTopRadius((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 10: _t->setBottomRadius((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 11: _t->setRings((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 12: _t->setSlices((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->setLength((*reinterpret_cast< float(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QConeGeometry::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QConeGeometry::hasTopEndcapChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QConeGeometry::*)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QConeGeometry::hasBottomEndcapChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QConeGeometry::*)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QConeGeometry::topRadiusChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QConeGeometry::*)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QConeGeometry::bottomRadiusChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QConeGeometry::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QConeGeometry::ringsChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QConeGeometry::*)(int );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QConeGeometry::slicesChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QConeGeometry::*)(float );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QConeGeometry::lengthChanged)) {
                *result = 6;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QConeGeometry *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = _t->hasTopEndcap(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->hasBottomEndcap(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->rings(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->slices(); break;
        case 4: *reinterpret_cast< float*>(_v) = _t->topRadius(); break;
        case 5: *reinterpret_cast< float*>(_v) = _t->bottomRadius(); break;
        case 6: *reinterpret_cast< float*>(_v) = _t->length(); break;
        case 7: *reinterpret_cast< Qt3DRender::QAttribute**>(_v) = _t->positionAttribute(); break;
        case 8: *reinterpret_cast< Qt3DRender::QAttribute**>(_v) = _t->normalAttribute(); break;
        case 9: *reinterpret_cast< Qt3DRender::QAttribute**>(_v) = _t->texCoordAttribute(); break;
        case 10: *reinterpret_cast< Qt3DRender::QAttribute**>(_v) = _t->indexAttribute(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QConeGeometry *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setHasTopEndcap(*reinterpret_cast< bool*>(_v)); break;
        case 1: _t->setHasBottomEndcap(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setRings(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setSlices(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setTopRadius(*reinterpret_cast< float*>(_v)); break;
        case 5: _t->setBottomRadius(*reinterpret_cast< float*>(_v)); break;
        case 6: _t->setLength(*reinterpret_cast< float*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject Qt3DExtras::QConeGeometry::staticMetaObject = { {
    QMetaObject::SuperData::link<Qt3DRender::QGeometry::staticMetaObject>(),
    qt_meta_stringdata_Qt3DExtras__QConeGeometry.data,
    qt_meta_data_Qt3DExtras__QConeGeometry,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

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

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

// SIGNAL 0
void Qt3DExtras::QConeGeometry::hasTopEndcapChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Qt3DExtras::QConeGeometry::hasBottomEndcapChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

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

// SIGNAL 3
void Qt3DExtras::QConeGeometry::bottomRadiusChanged(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void Qt3DExtras::QConeGeometry::ringsChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}

// SIGNAL 5
void Qt3DExtras::QConeGeometry::slicesChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Qt3DExtras::QConeGeometry::lengthChanged(float _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
