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

#include "../../../../../src/qtlocation-opensource-src-5.9.4/src/3rdparty/mapbox-gl-native/platform/qt/include/qmapboxgl.hpp"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qmapboxgl.hpp' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_QMapboxGL_t {
    QByteArrayData data[21];
    char stringdata0[231];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QMapboxGL_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QMapboxGL_t qt_meta_stringdata_QMapboxGL = {
    {
QT_MOC_LITERAL(0, 0, 9), // "QMapboxGL"
QT_MOC_LITERAL(1, 10, 14), // "needsRendering"
QT_MOC_LITERAL(2, 25, 0), // ""
QT_MOC_LITERAL(3, 26, 10), // "mapChanged"
QT_MOC_LITERAL(4, 37, 20), // "QMapboxGL::MapChange"
QT_MOC_LITERAL(5, 58, 17), // "copyrightsChanged"
QT_MOC_LITERAL(6, 76, 14), // "copyrightsHtml"
QT_MOC_LITERAL(7, 91, 6), // "render"
QT_MOC_LITERAL(8, 98, 21), // "connectionEstablished"
QT_MOC_LITERAL(9, 120, 8), // "latitude"
QT_MOC_LITERAL(10, 129, 9), // "longitude"
QT_MOC_LITERAL(11, 139, 4), // "zoom"
QT_MOC_LITERAL(12, 144, 7), // "bearing"
QT_MOC_LITERAL(13, 152, 5), // "pitch"
QT_MOC_LITERAL(14, 158, 9), // "styleJson"
QT_MOC_LITERAL(15, 168, 8), // "styleUrl"
QT_MOC_LITERAL(16, 177, 5), // "scale"
QT_MOC_LITERAL(17, 183, 10), // "coordinate"
QT_MOC_LITERAL(18, 194, 19), // "QMapbox::Coordinate"
QT_MOC_LITERAL(19, 214, 7), // "margins"
QT_MOC_LITERAL(20, 222, 8) // "QMargins"

    },
    "QMapboxGL\0needsRendering\0\0mapChanged\0"
    "QMapboxGL::MapChange\0copyrightsChanged\0"
    "copyrightsHtml\0render\0connectionEstablished\0"
    "latitude\0longitude\0zoom\0bearing\0pitch\0"
    "styleJson\0styleUrl\0scale\0coordinate\0"
    "QMapbox::Coordinate\0margins\0QMargins"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QMapboxGL[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   39,    2, 0x06 /* Public */,
       3,    1,   40,    2, 0x06 /* Public */,
       5,    1,   43,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       7,    0,   46,    2, 0x0a /* Public */,
       8,    0,   47,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    2,
    QMetaType::Void, QMetaType::QString,    6,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
       9, QMetaType::Double, 0x00095103,
      10, QMetaType::Double, 0x00095103,
      11, QMetaType::Double, 0x00095103,
      12, QMetaType::Double, 0x00095103,
      13, QMetaType::Double, 0x00095103,
      14, QMetaType::QString, 0x00095103,
      15, QMetaType::QString, 0x00095103,
      16, QMetaType::Double, 0x00095103,
      17, 0x80000000 | 18, 0x0009510b,
      19, 0x80000000 | 20, 0x0009510b,

       0        // eod
};

void QMapboxGL::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QMapboxGL *_t = static_cast<QMapboxGL *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->needsRendering(); break;
        case 1: _t->mapChanged((*reinterpret_cast< QMapboxGL::MapChange(*)>(_a[1]))); break;
        case 2: _t->copyrightsChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 3: _t->render(); break;
        case 4: _t->connectionEstablished(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; 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< QMapboxGL::MapChange >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QMapboxGL::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMapboxGL::needsRendering)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QMapboxGL::*_t)(QMapboxGL::MapChange );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMapboxGL::mapChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QMapboxGL::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMapboxGL::copyrightsChanged)) {
                *result = 2;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 8:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMapbox::Coordinate >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QMapboxGL *_t = static_cast<QMapboxGL *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< double*>(_v) = _t->latitude(); break;
        case 1: *reinterpret_cast< double*>(_v) = _t->longitude(); break;
        case 2: *reinterpret_cast< double*>(_v) = _t->zoom(); break;
        case 3: *reinterpret_cast< double*>(_v) = _t->bearing(); break;
        case 4: *reinterpret_cast< double*>(_v) = _t->pitch(); break;
        case 5: *reinterpret_cast< QString*>(_v) = _t->styleJson(); break;
        case 6: *reinterpret_cast< QString*>(_v) = _t->styleUrl(); break;
        case 7: *reinterpret_cast< double*>(_v) = _t->scale(); break;
        case 8: *reinterpret_cast< QMapbox::Coordinate*>(_v) = _t->coordinate(); break;
        case 9: *reinterpret_cast< QMargins*>(_v) = _t->margins(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QMapboxGL *_t = static_cast<QMapboxGL *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setLatitude(*reinterpret_cast< double*>(_v)); break;
        case 1: _t->setLongitude(*reinterpret_cast< double*>(_v)); break;
        case 2: _t->setZoom(*reinterpret_cast< double*>(_v)); break;
        case 3: _t->setBearing(*reinterpret_cast< double*>(_v)); break;
        case 4: _t->setPitch(*reinterpret_cast< double*>(_v)); break;
        case 5: _t->setStyleJson(*reinterpret_cast< QString*>(_v)); break;
        case 6: _t->setStyleUrl(*reinterpret_cast< QString*>(_v)); break;
        case 7: _t->setScale(*reinterpret_cast< double*>(_v)); break;
        case 8: _t->setCoordinate(*reinterpret_cast< QMapbox::Coordinate*>(_v)); break;
        case 9: _t->setMargins(*reinterpret_cast< QMargins*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QMapboxGL::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QMapboxGL.data,
      qt_meta_data_QMapboxGL,  qt_static_metacall, nullptr, nullptr}
};


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

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

int QMapboxGL::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 < 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 -= 10;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 10;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

// SIGNAL 2
void QMapboxGL::copyrightsChanged(const QString & _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
