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

#include <memory>
#include "../../../../../kde-qtlocation/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.15.19. 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[27];
    char stringdata0[329];
};
#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, 16), // "mapLoadingFailed"
QT_MOC_LITERAL(6, 75, 28), // "QMapboxGL::MapLoadingFailure"
QT_MOC_LITERAL(7, 104, 6), // "reason"
QT_MOC_LITERAL(8, 111, 17), // "copyrightsChanged"
QT_MOC_LITERAL(9, 129, 14), // "copyrightsHtml"
QT_MOC_LITERAL(10, 144, 20), // "staticRenderFinished"
QT_MOC_LITERAL(11, 165, 5), // "error"
QT_MOC_LITERAL(12, 171, 6), // "render"
QT_MOC_LITERAL(13, 178, 21), // "connectionEstablished"
QT_MOC_LITERAL(14, 200, 17), // "startStaticRender"
QT_MOC_LITERAL(15, 218, 8), // "latitude"
QT_MOC_LITERAL(16, 227, 9), // "longitude"
QT_MOC_LITERAL(17, 237, 4), // "zoom"
QT_MOC_LITERAL(18, 242, 7), // "bearing"
QT_MOC_LITERAL(19, 250, 5), // "pitch"
QT_MOC_LITERAL(20, 256, 9), // "styleJson"
QT_MOC_LITERAL(21, 266, 8), // "styleUrl"
QT_MOC_LITERAL(22, 275, 5), // "scale"
QT_MOC_LITERAL(23, 281, 10), // "coordinate"
QT_MOC_LITERAL(24, 292, 19), // "QMapbox::Coordinate"
QT_MOC_LITERAL(25, 312, 7), // "margins"
QT_MOC_LITERAL(26, 320, 8) // "QMargins"

    },
    "QMapboxGL\0needsRendering\0\0mapChanged\0"
    "QMapboxGL::MapChange\0mapLoadingFailed\0"
    "QMapboxGL::MapLoadingFailure\0reason\0"
    "copyrightsChanged\0copyrightsHtml\0"
    "staticRenderFinished\0error\0render\0"
    "connectionEstablished\0startStaticRender\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:
       8,       // revision
       0,       // classname
       0,    0, // classinfo
       8,   14, // methods
      10,   72, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    1,   55,    2, 0x06 /* Public */,
       5,    2,   58,    2, 0x06 /* Public */,
       8,    1,   63,    2, 0x06 /* Public */,
      10,    1,   66,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    0,   69,    2, 0x0a /* Public */,
      13,    0,   70,    2, 0x0a /* Public */,
      14,    0,   71,    2, 0x0a /* Public */,

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

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

 // properties: name, type, flags
      15, QMetaType::Double, 0x00095103,
      16, QMetaType::Double, 0x00095103,
      17, QMetaType::Double, 0x00095103,
      18, QMetaType::Double, 0x00095103,
      19, QMetaType::Double, 0x00095103,
      20, QMetaType::QString, 0x00095103,
      21, QMetaType::QString, 0x00095103,
      22, QMetaType::Double, 0x00095103,
      23, 0x80000000 | 24, 0x0009510b,
      25, 0x80000000 | 26, 0x0009510b,

       0        // eod
};

void QMapboxGL::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QMapboxGL *>(_o);
        (void)_t;
        switch (_id) {
        case 0: _t->needsRendering(); break;
        case 1: _t->mapChanged((*reinterpret_cast< QMapboxGL::MapChange(*)>(_a[1]))); break;
        case 2: _t->mapLoadingFailed((*reinterpret_cast< QMapboxGL::MapLoadingFailure(*)>(_a[1])),(*reinterpret_cast< const QString(*)>(_a[2]))); break;
        case 3: _t->copyrightsChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->staticRenderFinished((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 5: _t->render(); break;
        case 6: _t->connectionEstablished(); break;
        case 7: _t->startStaticRender(); 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;
        case 2:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QMapboxGL::MapLoadingFailure >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            using _t = void (QMapboxGL::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMapboxGL::needsRendering)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QMapboxGL::*)(QMapboxGL::MapChange );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMapboxGL::mapChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QMapboxGL::*)(QMapboxGL::MapLoadingFailure , const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMapboxGL::mapLoadingFailed)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QMapboxGL::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMapboxGL::copyrightsChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QMapboxGL::*)(const QString & );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QMapboxGL::staticRenderFinished)) {
                *result = 4;
                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) {
        auto *_t = static_cast<QMapboxGL *>(_o);
        (void)_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) {
        auto *_t = static_cast<QMapboxGL *>(_o);
        (void)_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
}

QT_INIT_METAOBJECT const QMetaObject QMapboxGL::staticMetaObject = { {
    QMetaObject::SuperData::link<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 < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _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 -= 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*>(std::addressof(_t1))) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void QMapboxGL::mapLoadingFailed(QMapboxGL::MapLoadingFailure _t1, const QString & _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t1))), const_cast<void*>(reinterpret_cast<const void*>(std::addressof(_t2))) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

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

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