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

#include <memory>
#include "../../../../../qtquick3d/src/imports/helpers/gridgeometry_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'gridgeometry_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.15.7. 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_GridGeometry_t {
    QByteArrayData data[16];
    char stringdata0[239];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_GridGeometry_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_GridGeometry_t qt_meta_stringdata_GridGeometry = {
    {
QT_MOC_LITERAL(0, 0, 12), // "GridGeometry"
QT_MOC_LITERAL(1, 13, 22), // "horizontalLinesChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 20), // "verticalLinesChanged"
QT_MOC_LITERAL(4, 58, 21), // "horizontalStepChanged"
QT_MOC_LITERAL(5, 80, 19), // "verticalStepChanged"
QT_MOC_LITERAL(6, 100, 18), // "setHorizontalLines"
QT_MOC_LITERAL(7, 119, 5), // "count"
QT_MOC_LITERAL(8, 125, 16), // "setVerticalLines"
QT_MOC_LITERAL(9, 142, 17), // "setHorizontalStep"
QT_MOC_LITERAL(10, 160, 4), // "step"
QT_MOC_LITERAL(11, 165, 15), // "setVerticalStep"
QT_MOC_LITERAL(12, 181, 15), // "horizontalLines"
QT_MOC_LITERAL(13, 197, 13), // "verticalLines"
QT_MOC_LITERAL(14, 211, 14), // "horizontalStep"
QT_MOC_LITERAL(15, 226, 12) // "verticalStep"

    },
    "GridGeometry\0horizontalLinesChanged\0"
    "\0verticalLinesChanged\0horizontalStepChanged\0"
    "verticalStepChanged\0setHorizontalLines\0"
    "count\0setVerticalLines\0setHorizontalStep\0"
    "step\0setVerticalStep\0horizontalLines\0"
    "verticalLines\0horizontalStep\0verticalStep"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_GridGeometry[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    0,   55,    2, 0x06 /* Public */,
       4,    0,   56,    2, 0x06 /* Public */,
       5,    0,   57,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   58,    2, 0x0a /* Public */,
       8,    1,   61,    2, 0x0a /* Public */,
       9,    1,   64,    2, 0x0a /* Public */,
      11,    1,   67,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::Float,   10,
    QMetaType::Void, QMetaType::Float,   10,

 // properties: name, type, flags
      12, QMetaType::Int, 0x00495103,
      13, QMetaType::Int, 0x00495103,
      14, QMetaType::Float, 0x00495103,
      15, QMetaType::Float, 0x00495103,

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

       0        // eod
};

void GridGeometry::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<GridGeometry *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->horizontalLinesChanged(); break;
        case 1: _t->verticalLinesChanged(); break;
        case 2: _t->horizontalStepChanged(); break;
        case 3: _t->verticalStepChanged(); break;
        case 4: _t->setHorizontalLines((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 5: _t->setVerticalLines((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->setHorizontalStep((*reinterpret_cast< float(*)>(_a[1]))); break;
        case 7: _t->setVerticalStep((*reinterpret_cast< float(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (GridGeometry::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GridGeometry::horizontalLinesChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (GridGeometry::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GridGeometry::verticalLinesChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (GridGeometry::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GridGeometry::horizontalStepChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (GridGeometry::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&GridGeometry::verticalStepChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<GridGeometry *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->horizontalLines(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->verticalLines(); break;
        case 2: *reinterpret_cast< float*>(_v) = _t->horizontalStep(); break;
        case 3: *reinterpret_cast< float*>(_v) = _t->verticalStep(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<GridGeometry *>(_o);
        (void)_t;
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setHorizontalLines(*reinterpret_cast< int*>(_v)); break;
        case 1: _t->setVerticalLines(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setHorizontalStep(*reinterpret_cast< float*>(_v)); break;
        case 3: _t->setVerticalStep(*reinterpret_cast< float*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

QT_INIT_METAOBJECT const QMetaObject GridGeometry::staticMetaObject = { {
    QMetaObject::SuperData::link<QQuick3DGeometry::staticMetaObject>(),
    qt_meta_stringdata_GridGeometry.data,
    qt_meta_data_GridGeometry,
    qt_static_metacall,
    nullptr,
    nullptr
} };


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

void *GridGeometry::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_GridGeometry.stringdata0))
        return static_cast<void*>(this);
    return QQuick3DGeometry::qt_metacast(_clname);
}

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

// SIGNAL 0
void GridGeometry::horizontalLinesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void GridGeometry::verticalLinesChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void GridGeometry::horizontalStepChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void GridGeometry::verticalStepChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
