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

#include "../../../../src/qtdeclarative-opensource-src-5.4.2/src/quick/items/qquickopenglinfo_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qquickopenglinfo_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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
struct qt_meta_stringdata_QQuickOpenGLInfo_t {
    QByteArrayData data[22];
    char stringdata[289];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QQuickOpenGLInfo_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QQuickOpenGLInfo_t qt_meta_stringdata_QQuickOpenGLInfo = {
    {
QT_MOC_LITERAL(0, 0, 16), // "QQuickOpenGLInfo"
QT_MOC_LITERAL(1, 17, 19), // "majorVersionChanged"
QT_MOC_LITERAL(2, 37, 0), // ""
QT_MOC_LITERAL(3, 38, 19), // "minorVersionChanged"
QT_MOC_LITERAL(4, 58, 14), // "profileChanged"
QT_MOC_LITERAL(5, 73, 21), // "renderableTypeChanged"
QT_MOC_LITERAL(6, 95, 12), // "updateFormat"
QT_MOC_LITERAL(7, 108, 9), // "setWindow"
QT_MOC_LITERAL(8, 118, 13), // "QQuickWindow*"
QT_MOC_LITERAL(9, 132, 6), // "window"
QT_MOC_LITERAL(10, 139, 12), // "majorVersion"
QT_MOC_LITERAL(11, 152, 12), // "minorVersion"
QT_MOC_LITERAL(12, 165, 7), // "profile"
QT_MOC_LITERAL(13, 173, 14), // "ContextProfile"
QT_MOC_LITERAL(14, 188, 14), // "renderableType"
QT_MOC_LITERAL(15, 203, 14), // "RenderableType"
QT_MOC_LITERAL(16, 218, 9), // "NoProfile"
QT_MOC_LITERAL(17, 228, 11), // "CoreProfile"
QT_MOC_LITERAL(18, 240, 20), // "CompatibilityProfile"
QT_MOC_LITERAL(19, 261, 11), // "Unspecified"
QT_MOC_LITERAL(20, 273, 6), // "OpenGL"
QT_MOC_LITERAL(21, 280, 8) // "OpenGLES"

    },
    "QQuickOpenGLInfo\0majorVersionChanged\0"
    "\0minorVersionChanged\0profileChanged\0"
    "renderableTypeChanged\0updateFormat\0"
    "setWindow\0QQuickWindow*\0window\0"
    "majorVersion\0minorVersion\0profile\0"
    "ContextProfile\0renderableType\0"
    "RenderableType\0NoProfile\0CoreProfile\0"
    "CompatibilityProfile\0Unspecified\0"
    "OpenGL\0OpenGLES"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QQuickOpenGLInfo[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
       6,   14, // methods
       4,   52, // properties
       2,   68, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   44,    2, 0x06 /* Public */,
       3,    0,   45,    2, 0x06 /* Public */,
       4,    0,   46,    2, 0x06 /* Public */,
       5,    0,   47,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    0,   48,    2, 0x08 /* Private */,
       7,    1,   49,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8,    9,

 // properties: name, type, flags
      10, QMetaType::Int, 0x00495801,
      11, QMetaType::Int, 0x00495801,
      12, 0x80000000 | 13, 0x00495809,
      14, 0x80000000 | 15, 0x00495809,

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

 // enums: name, flags, count, data
      13, 0x0,    3,   76,
      15, 0x0,    3,   82,

 // enum data: key, value
      16, uint(QQuickOpenGLInfo::NoProfile),
      17, uint(QQuickOpenGLInfo::CoreProfile),
      18, uint(QQuickOpenGLInfo::CompatibilityProfile),
      19, uint(QQuickOpenGLInfo::Unspecified),
      20, uint(QQuickOpenGLInfo::OpenGL),
      21, uint(QQuickOpenGLInfo::OpenGLES),

       0        // eod
};

void QQuickOpenGLInfo::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QQuickOpenGLInfo *_t = static_cast<QQuickOpenGLInfo *>(_o);
        switch (_id) {
        case 0: _t->majorVersionChanged(); break;
        case 1: _t->minorVersionChanged(); break;
        case 2: _t->profileChanged(); break;
        case 3: _t->renderableTypeChanged(); break;
        case 4: _t->updateFormat(); break;
        case 5: _t->setWindow((*reinterpret_cast< QQuickWindow*(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (QQuickOpenGLInfo::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickOpenGLInfo::majorVersionChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (QQuickOpenGLInfo::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickOpenGLInfo::minorVersionChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (QQuickOpenGLInfo::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickOpenGLInfo::profileChanged)) {
                *result = 2;
            }
        }
        {
            typedef void (QQuickOpenGLInfo::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&QQuickOpenGLInfo::renderableTypeChanged)) {
                *result = 3;
            }
        }
    }
}

const QMetaObject QQuickOpenGLInfo::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QQuickOpenGLInfo.data,
      qt_meta_data_QQuickOpenGLInfo,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *QQuickOpenGLInfo::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_QQuickOpenGLInfo.stringdata))
        return static_cast<void*>(const_cast< QQuickOpenGLInfo*>(this));
    return QObject::qt_metacast(_clname);
}

int QQuickOpenGLInfo::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 < 6)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 6;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 6)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 6;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = majorVersion(); break;
        case 1: *reinterpret_cast< int*>(_v) = minorVersion(); break;
        case 2: *reinterpret_cast< ContextProfile*>(_v) = profile(); break;
        case 3: *reinterpret_cast< RenderableType*>(_v) = renderableType(); break;
        default: break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::WriteProperty) {
        _id -= 4;
    } else if (_c == QMetaObject::ResetProperty) {
        _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;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QQuickOpenGLInfo::majorVersionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void QQuickOpenGLInfo::minorVersionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void QQuickOpenGLInfo::profileChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void QQuickOpenGLInfo::renderableTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
