/****************************************************************************
** Meta object code from reading C++ file 'MapViewWidget.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/MapViewWidget.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MapViewWidget.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__MapViewWidget_t {
    QByteArrayData data[31];
    char stringdata0[533];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__MapViewWidget_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__MapViewWidget_t qt_meta_stringdata_Marble__MapViewWidget = {
    {
QT_MOC_LITERAL(0, 0, 21), // "Marble::MapViewWidget"
QT_MOC_LITERAL(1, 22, 20), // "celestialBodyChanged"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 17), // "mapThemeIdChanged"
QT_MOC_LITERAL(4, 62, 17), // "projectionChanged"
QT_MOC_LITERAL(5, 80, 10), // "Projection"
QT_MOC_LITERAL(6, 91, 13), // "showMapWizard"
QT_MOC_LITERAL(7, 105, 16), // "showUploadDialog"
QT_MOC_LITERAL(8, 122, 15), // "mapThemeDeleted"
QT_MOC_LITERAL(9, 138, 13), // "setMapThemeId"
QT_MOC_LITERAL(10, 152, 13), // "setProjection"
QT_MOC_LITERAL(11, 166, 10), // "projection"
QT_MOC_LITERAL(12, 177, 18), // "globeViewRequested"
QT_MOC_LITERAL(13, 196, 21), // "mercatorViewRequested"
QT_MOC_LITERAL(14, 218, 17), // "flatViewRequested"
QT_MOC_LITERAL(15, 236, 21), // "gnomonicViewRequested"
QT_MOC_LITERAL(16, 258, 26), // "stereographicViewRequested"
QT_MOC_LITERAL(17, 285, 29), // "lambertAzimuthalViewRequested"
QT_MOC_LITERAL(18, 315, 33), // "azimuthalEquidistantViewReque..."
QT_MOC_LITERAL(19, 349, 32), // "verticalPerspectiveViewRequested"
QT_MOC_LITERAL(20, 382, 21), // "celestialBodySelected"
QT_MOC_LITERAL(21, 404, 10), // "comboIndex"
QT_MOC_LITERAL(22, 415, 18), // "projectionSelected"
QT_MOC_LITERAL(23, 434, 15), // "projectionIndex"
QT_MOC_LITERAL(24, 450, 16), // "mapThemeSelected"
QT_MOC_LITERAL(25, 467, 5), // "index"
QT_MOC_LITERAL(26, 473, 15), // "showContextMenu"
QT_MOC_LITERAL(27, 489, 3), // "pos"
QT_MOC_LITERAL(28, 493, 9), // "deleteMap"
QT_MOC_LITERAL(29, 503, 14), // "toggleFavorite"
QT_MOC_LITERAL(30, 518, 14) // "toggleIconSize"

    },
    "Marble::MapViewWidget\0celestialBodyChanged\0"
    "\0mapThemeIdChanged\0projectionChanged\0"
    "Projection\0showMapWizard\0showUploadDialog\0"
    "mapThemeDeleted\0setMapThemeId\0"
    "setProjection\0projection\0globeViewRequested\0"
    "mercatorViewRequested\0flatViewRequested\0"
    "gnomonicViewRequested\0stereographicViewRequested\0"
    "lambertAzimuthalViewRequested\0"
    "azimuthalEquidistantViewRequested\0"
    "verticalPerspectiveViewRequested\0"
    "celestialBodySelected\0comboIndex\0"
    "projectionSelected\0projectionIndex\0"
    "mapThemeSelected\0index\0showContextMenu\0"
    "pos\0deleteMap\0toggleFavorite\0"
    "toggleIconSize"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__MapViewWidget[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,  134,    2, 0x06 /* Public */,
       3,    1,  137,    2, 0x06 /* Public */,
       4,    1,  140,    2, 0x06 /* Public */,
       6,    0,  143,    2, 0x06 /* Public */,
       7,    0,  144,    2, 0x06 /* Public */,
       8,    0,  145,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       9,    1,  146,    2, 0x0a /* Public */,
      10,    1,  149,    2, 0x0a /* Public */,
      12,    0,  152,    2, 0x08 /* Private */,
      13,    0,  153,    2, 0x08 /* Private */,
      14,    0,  154,    2, 0x08 /* Private */,
      15,    0,  155,    2, 0x08 /* Private */,
      16,    0,  156,    2, 0x08 /* Private */,
      17,    0,  157,    2, 0x08 /* Private */,
      18,    0,  158,    2, 0x08 /* Private */,
      19,    0,  159,    2, 0x08 /* Private */,
      20,    1,  160,    2, 0x08 /* Private */,
      22,    1,  163,    2, 0x08 /* Private */,
      24,    1,  166,    2, 0x08 /* Private */,
      24,    1,  169,    2, 0x08 /* Private */,
      26,    1,  172,    2, 0x08 /* Private */,
      28,    0,  175,    2, 0x08 /* Private */,
      29,    0,  176,    2, 0x08 /* Private */,
      30,    0,  177,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, 0x80000000 | 5,   11,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,   21,
    QMetaType::Void, QMetaType::Int,   23,
    QMetaType::Void, QMetaType::QModelIndex,   25,
    QMetaType::Void, QMetaType::Int,   25,
    QMetaType::Void, QMetaType::QPoint,   27,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

       0        // eod
};

void Marble::MapViewWidget::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MapViewWidget *_t = static_cast<MapViewWidget *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->celestialBodyChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 1: _t->mapThemeIdChanged((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 2: _t->projectionChanged((*reinterpret_cast< Projection(*)>(_a[1]))); break;
        case 3: _t->showMapWizard(); break;
        case 4: _t->showUploadDialog(); break;
        case 5: _t->mapThemeDeleted(); break;
        case 6: _t->setMapThemeId((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 7: _t->setProjection((*reinterpret_cast< Projection(*)>(_a[1]))); break;
        case 8: _t->globeViewRequested(); break;
        case 9: _t->mercatorViewRequested(); break;
        case 10: _t->flatViewRequested(); break;
        case 11: _t->gnomonicViewRequested(); break;
        case 12: _t->stereographicViewRequested(); break;
        case 13: _t->lambertAzimuthalViewRequested(); break;
        case 14: _t->azimuthalEquidistantViewRequested(); break;
        case 15: _t->verticalPerspectiveViewRequested(); break;
        case 16: _t->d->celestialBodySelected((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 17: _t->d->projectionSelected((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 18: _t->d->mapThemeSelected((*reinterpret_cast< QModelIndex(*)>(_a[1]))); break;
        case 19: _t->d->mapThemeSelected((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 20: _t->d->showContextMenu((*reinterpret_cast< const QPoint(*)>(_a[1]))); break;
        case 21: _t->d->deleteMap(); break;
        case 22: _t->d->toggleFavorite(); break;
        case 23: _t->d->toggleIconSize(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (MapViewWidget::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MapViewWidget::celestialBodyChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MapViewWidget::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MapViewWidget::mapThemeIdChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (MapViewWidget::*_t)(Projection );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MapViewWidget::projectionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (MapViewWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MapViewWidget::showMapWizard)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (MapViewWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MapViewWidget::showUploadDialog)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (MapViewWidget::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MapViewWidget::mapThemeDeleted)) {
                *result = 5;
                return;
            }
        }
    }
}

const QMetaObject Marble::MapViewWidget::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Marble__MapViewWidget.data,
      qt_meta_data_Marble__MapViewWidget,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *Marble::MapViewWidget::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_Marble__MapViewWidget.stringdata0))
        return static_cast<void*>(const_cast< MapViewWidget*>(this));
    return QWidget::qt_metacast(_clname);
}

int Marble::MapViewWidget::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 24)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 24;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 24)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 24;
    }
    return _id;
}

// SIGNAL 0
void Marble::MapViewWidget::celestialBodyChanged(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void Marble::MapViewWidget::mapThemeIdChanged(const QString & _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Marble::MapViewWidget::projectionChanged(Projection _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void Marble::MapViewWidget::showMapWizard()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void Marble::MapViewWidget::showUploadDialog()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}

// SIGNAL 5
void Marble::MapViewWidget::mapThemeDeleted()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
