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

#include "../../../../src/qtdatavis3d-opensource-src-5.9.2/src/datavisualization/engine/q3dsurface.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'q3dsurface.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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_QtDataVisualization__Q3DSurface_t {
    QByteArrayData data[17];
    char stringdata0[221];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QtDataVisualization__Q3DSurface_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QtDataVisualization__Q3DSurface_t qt_meta_stringdata_QtDataVisualization__Q3DSurface = {
    {
QT_MOC_LITERAL(0, 0, 31), // "QtDataVisualization::Q3DSurface"
QT_MOC_LITERAL(1, 32, 12), // "axisXChanged"
QT_MOC_LITERAL(2, 45, 0), // ""
QT_MOC_LITERAL(3, 46, 13), // "QValue3DAxis*"
QT_MOC_LITERAL(4, 60, 4), // "axis"
QT_MOC_LITERAL(5, 65, 12), // "axisYChanged"
QT_MOC_LITERAL(6, 78, 12), // "axisZChanged"
QT_MOC_LITERAL(7, 91, 21), // "selectedSeriesChanged"
QT_MOC_LITERAL(8, 113, 17), // "QSurface3DSeries*"
QT_MOC_LITERAL(9, 131, 6), // "series"
QT_MOC_LITERAL(10, 138, 25), // "flipHorizontalGridChanged"
QT_MOC_LITERAL(11, 164, 4), // "flip"
QT_MOC_LITERAL(12, 169, 5), // "axisX"
QT_MOC_LITERAL(13, 175, 5), // "axisY"
QT_MOC_LITERAL(14, 181, 5), // "axisZ"
QT_MOC_LITERAL(15, 187, 14), // "selectedSeries"
QT_MOC_LITERAL(16, 202, 18) // "flipHorizontalGrid"

    },
    "QtDataVisualization::Q3DSurface\0"
    "axisXChanged\0\0QValue3DAxis*\0axis\0"
    "axisYChanged\0axisZChanged\0"
    "selectedSeriesChanged\0QSurface3DSeries*\0"
    "series\0flipHorizontalGridChanged\0flip\0"
    "axisX\0axisY\0axisZ\0selectedSeries\0"
    "flipHorizontalGrid"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QtDataVisualization__Q3DSurface[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   39,    2, 0x06 /* Public */,
       5,    1,   42,    2, 0x06 /* Public */,
       6,    1,   45,    2, 0x06 /* Public */,
       7,    1,   48,    2, 0x06 /* Public */,
      10,    1,   51,    2, 0x06 /* Public */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, QMetaType::Bool,   11,

 // properties: name, type, flags
      12, 0x80000000 | 3, 0x0049510b,
      13, 0x80000000 | 3, 0x0049510b,
      14, 0x80000000 | 3, 0x0049510b,
      15, 0x80000000 | 8, 0x00495009,
      16, QMetaType::Bool, 0x00495103,

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

       0        // eod
};

void QtDataVisualization::Q3DSurface::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q3DSurface *_t = static_cast<Q3DSurface *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->axisXChanged((*reinterpret_cast< QValue3DAxis*(*)>(_a[1]))); break;
        case 1: _t->axisYChanged((*reinterpret_cast< QValue3DAxis*(*)>(_a[1]))); break;
        case 2: _t->axisZChanged((*reinterpret_cast< QValue3DAxis*(*)>(_a[1]))); break;
        case 3: _t->selectedSeriesChanged((*reinterpret_cast< QSurface3DSeries*(*)>(_a[1]))); break;
        case 4: _t->flipHorizontalGridChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QValue3DAxis* >(); break;
            }
            break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QValue3DAxis* >(); break;
            }
            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< QValue3DAxis* >(); 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< QSurface3DSeries* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Q3DSurface::*_t)(QValue3DAxis * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Q3DSurface::axisXChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Q3DSurface::*_t)(QValue3DAxis * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Q3DSurface::axisYChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Q3DSurface::*_t)(QValue3DAxis * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Q3DSurface::axisZChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Q3DSurface::*_t)(QSurface3DSeries * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Q3DSurface::selectedSeriesChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Q3DSurface::*_t)(bool );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Q3DSurface::flipHorizontalGridChanged)) {
                *result = 4;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 3:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QSurface3DSeries* >(); break;
        case 2:
        case 1:
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QValue3DAxis* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Q3DSurface *_t = static_cast<Q3DSurface *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QValue3DAxis**>(_v) = _t->axisX(); break;
        case 1: *reinterpret_cast< QValue3DAxis**>(_v) = _t->axisY(); break;
        case 2: *reinterpret_cast< QValue3DAxis**>(_v) = _t->axisZ(); break;
        case 3: *reinterpret_cast< QSurface3DSeries**>(_v) = _t->selectedSeries(); break;
        case 4: *reinterpret_cast< bool*>(_v) = _t->flipHorizontalGrid(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Q3DSurface *_t = static_cast<Q3DSurface *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setAxisX(*reinterpret_cast< QValue3DAxis**>(_v)); break;
        case 1: _t->setAxisY(*reinterpret_cast< QValue3DAxis**>(_v)); break;
        case 2: _t->setAxisZ(*reinterpret_cast< QValue3DAxis**>(_v)); break;
        case 4: _t->setFlipHorizontalGrid(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QtDataVisualization::Q3DSurface::staticMetaObject = {
    { &QAbstract3DGraph::staticMetaObject, qt_meta_stringdata_QtDataVisualization__Q3DSurface.data,
      qt_meta_data_QtDataVisualization__Q3DSurface,  qt_static_metacall, nullptr, nullptr}
};


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

void *QtDataVisualization::Q3DSurface::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QtDataVisualization__Q3DSurface.stringdata0))
        return static_cast<void*>(this);
    return QAbstract3DGraph::qt_metacast(_clname);
}

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

// SIGNAL 0
void QtDataVisualization::Q3DSurface::axisXChanged(QValue3DAxis * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void QtDataVisualization::Q3DSurface::axisYChanged(QValue3DAxis * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QtDataVisualization::Q3DSurface::axisZChanged(QValue3DAxis * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void QtDataVisualization::Q3DSurface::selectedSeriesChanged(QSurface3DSeries * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

// SIGNAL 4
void QtDataVisualization::Q3DSurface::flipHorizontalGridChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
