/****************************************************************************
** Meta object code from reading C++ file 'MarbleNavigator.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/MarbleNavigator.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MarbleNavigator.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__MarbleNavigator_t {
    QByteArrayData data[12];
    char stringdata0[110];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__MarbleNavigator_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__MarbleNavigator_t qt_meta_stringdata_Marble__MarbleNavigator = {
    {
QT_MOC_LITERAL(0, 0, 23), // "Marble::MarbleNavigator"
QT_MOC_LITERAL(1, 24, 6), // "goHome"
QT_MOC_LITERAL(2, 31, 0), // ""
QT_MOC_LITERAL(3, 32, 6), // "zoomIn"
QT_MOC_LITERAL(4, 39, 7), // "zoomOut"
QT_MOC_LITERAL(5, 47, 11), // "zoomChanged"
QT_MOC_LITERAL(6, 59, 4), // "zoom"
QT_MOC_LITERAL(7, 64, 8), // "moveLeft"
QT_MOC_LITERAL(8, 73, 9), // "moveRight"
QT_MOC_LITERAL(9, 83, 6), // "moveUp"
QT_MOC_LITERAL(10, 90, 8), // "moveDown"
QT_MOC_LITERAL(11, 99, 10) // "changeZoom"

    },
    "Marble::MarbleNavigator\0goHome\0\0zoomIn\0"
    "zoomOut\0zoomChanged\0zoom\0moveLeft\0"
    "moveRight\0moveUp\0moveDown\0changeZoom"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__MarbleNavigator[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   59,    2, 0x06 /* Public */,
       3,    0,   60,    2, 0x06 /* Public */,
       4,    0,   61,    2, 0x06 /* Public */,
       5,    1,   62,    2, 0x06 /* Public */,
       7,    0,   65,    2, 0x06 /* Public */,
       8,    0,   66,    2, 0x06 /* Public */,
       9,    0,   67,    2, 0x06 /* Public */,
      10,    0,   68,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      11,    1,   69,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    6,

       0        // eod
};

void Marble::MarbleNavigator::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MarbleNavigator *_t = static_cast<MarbleNavigator *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->goHome(); break;
        case 1: _t->zoomIn(); break;
        case 2: _t->zoomOut(); break;
        case 3: _t->zoomChanged((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->moveLeft(); break;
        case 5: _t->moveRight(); break;
        case 6: _t->moveUp(); break;
        case 7: _t->moveDown(); break;
        case 8: _t->changeZoom((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (MarbleNavigator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleNavigator::goHome)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MarbleNavigator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleNavigator::zoomIn)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (MarbleNavigator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleNavigator::zoomOut)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (MarbleNavigator::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleNavigator::zoomChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (MarbleNavigator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleNavigator::moveLeft)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (MarbleNavigator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleNavigator::moveRight)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (MarbleNavigator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleNavigator::moveUp)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (MarbleNavigator::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleNavigator::moveDown)) {
                *result = 7;
                return;
            }
        }
    }
}

const QMetaObject Marble::MarbleNavigator::staticMetaObject = {
    { &QWidget::staticMetaObject, qt_meta_stringdata_Marble__MarbleNavigator.data,
      qt_meta_data_Marble__MarbleNavigator,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

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

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

// SIGNAL 1
void Marble::MarbleNavigator::zoomIn()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void Marble::MarbleNavigator::zoomOut()
{
    QMetaObject::activate(this, &staticMetaObject, 2, Q_NULLPTR);
}

// SIGNAL 3
void Marble::MarbleNavigator::zoomChanged(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 3, _a);
}

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

// SIGNAL 5
void Marble::MarbleNavigator::moveRight()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void Marble::MarbleNavigator::moveUp()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}

// SIGNAL 7
void Marble::MarbleNavigator::moveDown()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
