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

#include "../../../../src/marble-17.08.3/src/lib/marble/layers/TextureLayer.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'TextureLayer.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_Marble__TextureLayer_t {
    QByteArrayData data[38];
    char stringdata0[534];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__TextureLayer_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__TextureLayer_t qt_meta_stringdata_Marble__TextureLayer = {
    {
QT_MOC_LITERAL(0, 0, 20), // "Marble::TextureLayer"
QT_MOC_LITERAL(1, 21, 16), // "tileLevelChanged"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 13), // "repaintNeeded"
QT_MOC_LITERAL(4, 53, 13), // "setShowRelief"
QT_MOC_LITERAL(5, 67, 4), // "show"
QT_MOC_LITERAL(6, 72, 17), // "setShowSunShading"
QT_MOC_LITERAL(7, 90, 17), // "setShowCityLights"
QT_MOC_LITERAL(8, 108, 13), // "setShowTileId"
QT_MOC_LITERAL(9, 122, 13), // "setProjection"
QT_MOC_LITERAL(10, 136, 10), // "Projection"
QT_MOC_LITERAL(11, 147, 10), // "projection"
QT_MOC_LITERAL(12, 158, 14), // "setNeedsUpdate"
QT_MOC_LITERAL(13, 173, 11), // "setMapTheme"
QT_MOC_LITERAL(14, 185, 42), // "QVector<const GeoSceneTexture..."
QT_MOC_LITERAL(15, 228, 8), // "textures"
QT_MOC_LITERAL(16, 237, 20), // "const GeoSceneGroup*"
QT_MOC_LITERAL(17, 258, 20), // "textureLayerSettings"
QT_MOC_LITERAL(18, 279, 7), // "seaFile"
QT_MOC_LITERAL(19, 287, 8), // "landFile"
QT_MOC_LITERAL(20, 296, 21), // "setVolatileCacheLimit"
QT_MOC_LITERAL(21, 318, 9), // "kilobytes"
QT_MOC_LITERAL(22, 328, 5), // "reset"
QT_MOC_LITERAL(23, 334, 6), // "reload"
QT_MOC_LITERAL(24, 341, 19), // "downloadStackedTile"
QT_MOC_LITERAL(25, 361, 6), // "TileId"
QT_MOC_LITERAL(26, 368, 13), // "stackedTileId"
QT_MOC_LITERAL(27, 382, 21), // "requestDelayedRepaint"
QT_MOC_LITERAL(28, 404, 19), // "updateTextureLayers"
QT_MOC_LITERAL(29, 424, 10), // "updateTile"
QT_MOC_LITERAL(30, 435, 6), // "tileId"
QT_MOC_LITERAL(31, 442, 9), // "tileImage"
QT_MOC_LITERAL(32, 452, 17), // "addGroundOverlays"
QT_MOC_LITERAL(33, 470, 6), // "parent"
QT_MOC_LITERAL(34, 477, 5), // "first"
QT_MOC_LITERAL(35, 483, 4), // "last"
QT_MOC_LITERAL(36, 488, 20), // "removeGroundOverlays"
QT_MOC_LITERAL(37, 509, 24) // "resetGroundOverlaysCache"

    },
    "Marble::TextureLayer\0tileLevelChanged\0"
    "\0repaintNeeded\0setShowRelief\0show\0"
    "setShowSunShading\0setShowCityLights\0"
    "setShowTileId\0setProjection\0Projection\0"
    "projection\0setNeedsUpdate\0setMapTheme\0"
    "QVector<const GeoSceneTextureTileDataset*>\0"
    "textures\0const GeoSceneGroup*\0"
    "textureLayerSettings\0seaFile\0landFile\0"
    "setVolatileCacheLimit\0kilobytes\0reset\0"
    "reload\0downloadStackedTile\0TileId\0"
    "stackedTileId\0requestDelayedRepaint\0"
    "updateTextureLayers\0updateTile\0tileId\0"
    "tileImage\0addGroundOverlays\0parent\0"
    "first\0last\0removeGroundOverlays\0"
    "resetGroundOverlaysCache"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__TextureLayer[] = {

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

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

 // slots: name, argc, parameters, tag, flags
       4,    1,  113,    2, 0x0a /* Public */,
       6,    1,  116,    2, 0x0a /* Public */,
       7,    1,  119,    2, 0x0a /* Public */,
       8,    1,  122,    2, 0x0a /* Public */,
       9,    1,  125,    2, 0x0a /* Public */,
      12,    0,  128,    2, 0x0a /* Public */,
      13,    4,  129,    2, 0x0a /* Public */,
      20,    1,  138,    2, 0x0a /* Public */,
      22,    0,  141,    2, 0x0a /* Public */,
      23,    0,  142,    2, 0x0a /* Public */,
      24,    1,  143,    2, 0x0a /* Public */,
      27,    0,  146,    2, 0x08 /* Private */,
      28,    0,  147,    2, 0x08 /* Private */,
      29,    2,  148,    2, 0x08 /* Private */,
      32,    3,  153,    2, 0x08 /* Private */,
      36,    3,  160,    2, 0x08 /* Private */,
      37,    0,  167,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int,    2,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, QMetaType::Bool,    5,
    QMetaType::Void, 0x80000000 | 10,   11,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 14, 0x80000000 | 16, QMetaType::QString, QMetaType::QString,   15,   17,   18,   19,
    QMetaType::Void, QMetaType::ULongLong,   21,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 25,   26,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 25, QMetaType::QImage,   30,   31,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   33,   34,   35,
    QMetaType::Void, QMetaType::QModelIndex, QMetaType::Int, QMetaType::Int,   33,   34,   35,
    QMetaType::Void,

       0        // eod
};

void Marble::TextureLayer::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        TextureLayer *_t = static_cast<TextureLayer *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->tileLevelChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 1: _t->repaintNeeded(); break;
        case 2: _t->setShowRelief((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->setShowSunShading((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 4: _t->setShowCityLights((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 5: _t->setShowTileId((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 6: _t->setProjection((*reinterpret_cast< Projection(*)>(_a[1]))); break;
        case 7: _t->setNeedsUpdate(); break;
        case 8: _t->setMapTheme((*reinterpret_cast< const QVector<const GeoSceneTextureTileDataset*>(*)>(_a[1])),(*reinterpret_cast< const GeoSceneGroup*(*)>(_a[2])),(*reinterpret_cast< const QString(*)>(_a[3])),(*reinterpret_cast< const QString(*)>(_a[4]))); break;
        case 9: _t->setVolatileCacheLimit((*reinterpret_cast< quint64(*)>(_a[1]))); break;
        case 10: _t->reset(); break;
        case 11: _t->reload(); break;
        case 12: _t->downloadStackedTile((*reinterpret_cast< const TileId(*)>(_a[1]))); break;
        case 13: _t->d->requestDelayedRepaint(); break;
        case 14: _t->d->updateTextureLayers(); break;
        case 15: _t->d->updateTile((*reinterpret_cast< const TileId(*)>(_a[1])),(*reinterpret_cast< const QImage(*)>(_a[2]))); break;
        case 16: _t->d->addGroundOverlays((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 17: _t->d->removeGroundOverlays((*reinterpret_cast< const QModelIndex(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2])),(*reinterpret_cast< int(*)>(_a[3]))); break;
        case 18: _t->d->resetGroundOverlaysCache(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (TextureLayer::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TextureLayer::tileLevelChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (TextureLayer::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&TextureLayer::repaintNeeded)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Marble::TextureLayer::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__TextureLayer.data,
      qt_meta_data_Marble__TextureLayer,  qt_static_metacall, nullptr, nullptr}
};


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

void *Marble::TextureLayer::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_Marble__TextureLayer.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "LayerInterface"))
        return static_cast< LayerInterface*>(this);
    return QObject::qt_metacast(_clname);
}

int Marble::TextureLayer::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 < 19)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 19;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 19)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 19;
    }
    return _id;
}

// SIGNAL 0
void Marble::TextureLayer::tileLevelChanged(int _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Marble::TextureLayer::repaintNeeded()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
