/****************************************************************************
** Meta object code from reading C++ file 'qopenglfilter.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/render/frontend/qopenglfilter.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qopenglfilter.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__QOpenGLFilter_t {
    QByteArrayData data[24];
    char stringdata0[296];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Qt3D__QOpenGLFilter_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Qt3D__QOpenGLFilter_t qt_meta_stringdata_Qt3D__QOpenGLFilter = {
    {
QT_MOC_LITERAL(0, 0, 19), // "Qt3D::QOpenGLFilter"
QT_MOC_LITERAL(1, 20, 10), // "apiChanged"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 14), // "profileChanged"
QT_MOC_LITERAL(4, 47, 19), // "minorVersionChanged"
QT_MOC_LITERAL(5, 67, 19), // "majorVersionChanged"
QT_MOC_LITERAL(6, 87, 17), // "extensionsChanged"
QT_MOC_LITERAL(7, 105, 13), // "vendorChanged"
QT_MOC_LITERAL(8, 119, 19), // "openGLFilterChanged"
QT_MOC_LITERAL(9, 139, 3), // "api"
QT_MOC_LITERAL(10, 143, 24), // "Qt3D::QOpenGLFilter::Api"
QT_MOC_LITERAL(11, 168, 7), // "profile"
QT_MOC_LITERAL(12, 176, 28), // "Qt3D::QOpenGLFilter::Profile"
QT_MOC_LITERAL(13, 205, 12), // "minorVersion"
QT_MOC_LITERAL(14, 218, 12), // "majorVersion"
QT_MOC_LITERAL(15, 231, 10), // "extensions"
QT_MOC_LITERAL(16, 242, 6), // "vendor"
QT_MOC_LITERAL(17, 249, 3), // "Api"
QT_MOC_LITERAL(18, 253, 2), // "ES"
QT_MOC_LITERAL(19, 256, 7), // "Desktop"
QT_MOC_LITERAL(20, 264, 7), // "Profile"
QT_MOC_LITERAL(21, 272, 4), // "None"
QT_MOC_LITERAL(22, 277, 4), // "Core"
QT_MOC_LITERAL(23, 282, 13) // "Compatibility"

    },
    "Qt3D::QOpenGLFilter\0apiChanged\0\0"
    "profileChanged\0minorVersionChanged\0"
    "majorVersionChanged\0extensionsChanged\0"
    "vendorChanged\0openGLFilterChanged\0api\0"
    "Qt3D::QOpenGLFilter::Api\0profile\0"
    "Qt3D::QOpenGLFilter::Profile\0minorVersion\0"
    "majorVersion\0extensions\0vendor\0Api\0"
    "ES\0Desktop\0Profile\0None\0Core\0Compatibility"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Qt3D__QOpenGLFilter[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       7,   14, // methods
       6,   56, // properties
       2,   80, // enums/sets
       0,    0, // constructors
       0,       // flags
       7,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x06 /* Public */,
       3,    0,   50,    2, 0x06 /* Public */,
       4,    0,   51,    2, 0x06 /* Public */,
       5,    0,   52,    2, 0x06 /* Public */,
       6,    0,   53,    2, 0x06 /* Public */,
       7,    0,   54,    2, 0x06 /* Public */,
       8,    0,   55,    2, 0x06 /* Public */,

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

 // properties: name, type, flags
       9, 0x80000000 | 10, 0x0049510b,
      11, 0x80000000 | 12, 0x0049510b,
      13, QMetaType::Int, 0x00495103,
      14, QMetaType::Int, 0x00495103,
      15, QMetaType::QStringList, 0x00495103,
      16, QMetaType::QString, 0x00495103,

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

 // enums: name, flags, count, data
      17, 0x0,    2,   88,
      20, 0x0,    3,   92,

 // enum data: key, value
      18, uint(Qt3D::QOpenGLFilter::ES),
      19, uint(Qt3D::QOpenGLFilter::Desktop),
      21, uint(Qt3D::QOpenGLFilter::None),
      22, uint(Qt3D::QOpenGLFilter::Core),
      23, uint(Qt3D::QOpenGLFilter::Compatibility),

       0        // eod
};

void Qt3D::QOpenGLFilter::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QOpenGLFilter *_t = static_cast<QOpenGLFilter *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->apiChanged(); break;
        case 1: _t->profileChanged(); break;
        case 2: _t->minorVersionChanged(); break;
        case 3: _t->majorVersionChanged(); break;
        case 4: _t->extensionsChanged(); break;
        case 5: _t->vendorChanged(); break;
        case 6: _t->openGLFilterChanged(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QOpenGLFilter::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QOpenGLFilter::apiChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QOpenGLFilter::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QOpenGLFilter::profileChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QOpenGLFilter::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QOpenGLFilter::minorVersionChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QOpenGLFilter::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QOpenGLFilter::majorVersionChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (QOpenGLFilter::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QOpenGLFilter::extensionsChanged)) {
                *result = 4;
            }
        }
        {
            typedef void (QOpenGLFilter::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QOpenGLFilter::vendorChanged)) {
                *result = 5;
            }
        }
        {
            typedef void (QOpenGLFilter::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QOpenGLFilter::openGLFilterChanged)) {
                *result = 6;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QOpenGLFilter *_t = static_cast<QOpenGLFilter *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Qt3D::QOpenGLFilter::Api*>(_v) = _t->api(); break;
        case 1: *reinterpret_cast< Qt3D::QOpenGLFilter::Profile*>(_v) = _t->profile(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->minorVersion(); break;
        case 3: *reinterpret_cast< int*>(_v) = _t->majorVersion(); break;
        case 4: *reinterpret_cast< QStringList*>(_v) = _t->extensions(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->vendor(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QOpenGLFilter *_t = static_cast<QOpenGLFilter *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setApi(*reinterpret_cast< Qt3D::QOpenGLFilter::Api*>(_v)); break;
        case 1: _t->setProfile(*reinterpret_cast< Qt3D::QOpenGLFilter::Profile*>(_v)); break;
        case 2: _t->setMinorVersion(*reinterpret_cast< int*>(_v)); break;
        case 3: _t->setMajorVersion(*reinterpret_cast< int*>(_v)); break;
        case 4: _t->setExtensions(*reinterpret_cast< QStringList*>(_v)); break;
        case 5: _t->setVendor(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
    Q_UNUSED(_a);
}

const QMetaObject Qt3D::QOpenGLFilter::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Qt3D__QOpenGLFilter.data,
      qt_meta_data_Qt3D__QOpenGLFilter,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Qt3D::QOpenGLFilter::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QObject::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 7)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 7;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 7)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 7;
    }
#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 Qt3D::QOpenGLFilter::apiChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

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

// SIGNAL 2
void Qt3D::QOpenGLFilter::minorVersionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void Qt3D::QOpenGLFilter::majorVersionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

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

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

// SIGNAL 6
void Qt3D::QOpenGLFilter::openGLFilterChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
