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

#include "../../../../src/marble-17.04.3/src/lib/marble/layers/GeometryLayer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'GeometryLayer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.6.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_Marble__GeometryLayer_t {
    QByteArrayData data[19];
    char stringdata0[251];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__GeometryLayer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__GeometryLayer_t qt_meta_stringdata_Marble__GeometryLayer = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Marble::GeometryLayer"
QT_MOC_LITERAL(1, 22, 13), // "repaintNeeded"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 28), // "highlightedPlacemarksChanged"
QT_MOC_LITERAL(4, 66, 26), // "QVector<GeoDataPlacemark*>"
QT_MOC_LITERAL(5, 93, 17), // "clickedPlacemarks"
QT_MOC_LITERAL(6, 111, 13), // "addPlacemarks"
QT_MOC_LITERAL(7, 125, 5), // "index"
QT_MOC_LITERAL(8, 131, 5), // "first"
QT_MOC_LITERAL(9, 137, 4), // "last"
QT_MOC_LITERAL(10, 142, 16), // "removePlacemarks"
QT_MOC_LITERAL(11, 159, 14), // "resetCacheData"
QT_MOC_LITERAL(12, 174, 12), // "setTileLevel"
QT_MOC_LITERAL(13, 187, 9), // "tileLevel"
QT_MOC_LITERAL(14, 197, 15), // "handleHighlight"
QT_MOC_LITERAL(15, 213, 3), // "lon"
QT_MOC_LITERAL(16, 217, 3), // "lat"
QT_MOC_LITERAL(17, 221, 24), // "GeoDataCoordinates::Unit"
QT_MOC_LITERAL(18, 246, 4) // "unit"

    },
    "Marble::GeometryLayer\0repaintNeeded\0"
    "\0highlightedPlacemarksChanged\0"
    "QVector<GeoDataPlacemark*>\0clickedPlacemarks\0"
    "addPlacemarks\0index\0first\0last\0"
    "removePlacemarks\0resetCacheData\0"
    "setTileLevel\0tileLevel\0handleHighlight\0"
    "lon\0lat\0GeoDataCoordinates::Unit\0unit"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__GeometryLayer[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x06 /* Public */,
       3,    1,   50,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    3,   53,    2, 0x0a /* Public */,
      10,    3,   60,    2, 0x0a /* Public */,
      11,    0,   67,    2, 0x0a /* Public */,
      12,    1,   68,    2, 0x0a /* Public */,
      14,    3,   71,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,

 // slots: parameters
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    7,    8,    9,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,    7,    8,    9,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   13,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal, 0x80000000 | 17,   15,   16,   18,

       0        // eod
};

void Marble::GeometryLayer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        GeometryLayer *_t = static_cast<GeometryLayer *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->repaintNeeded(); break;
        case 1: _t->highlightedPlacemarksChanged((*reinterpret_cast< const QVector<GeoDataPlacemark*>(*)>(_a[1]))); break;
        case 2: _t->addPlacemarks((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 3: _t->removePlacemarks((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 4: _t->resetCacheData(); break;
        case 5: _t->setTileLevel((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->handleHighlight((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< GeoDataCoordinates::Unit(*)>(_a[3]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (GeometryLayer::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GeometryLayer::repaintNeeded)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (GeometryLayer::*_t)(const QVector<GeoDataPlacemark*> & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&GeometryLayer::highlightedPlacemarksChanged)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Marble::GeometryLayer::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__GeometryLayer.data,
      qt_meta_data_Marble__GeometryLayer,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Marble::GeometryLayer::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Marble__GeometryLayer.stringdata0))
        return static_cast<void*>(const_cast< GeometryLayer*>(this));
    if (!strcmp(_clname, "LayerInterface"))
        return static_cast< LayerInterface*>(const_cast< GeometryLayer*>(this));
    return QObject::qt_metacast(_clname);
}

int Marble::GeometryLayer::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;
    }
    return _id;
}

// SIGNAL 0
void Marble::GeometryLayer::repaintNeeded()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void Marble::GeometryLayer::highlightedPlacemarksChanged(const QVector<GeoDataPlacemark*> & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}
QT_END_MOC_NAMESPACE
