/****************************************************************************
** Meta object code from reading C++ file 'MarbleInputHandler.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/MarbleInputHandler.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'MarbleInputHandler.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__MarbleInputHandler_t {
    QByteArrayData data[12];
    char stringdata0[214];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__MarbleInputHandler_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__MarbleInputHandler_t qt_meta_stringdata_Marble__MarbleInputHandler = {
    {
QT_MOC_LITERAL(0, 0, 26), // "Marble::MarbleInputHandler"
QT_MOC_LITERAL(1, 27, 10), // "lmbRequest"
QT_MOC_LITERAL(2, 38, 0), // ""
QT_MOC_LITERAL(3, 39, 10), // "rmbRequest"
QT_MOC_LITERAL(4, 50, 24), // "mouseClickScreenPosition"
QT_MOC_LITERAL(5, 75, 20), // "mouseMoveGeoPosition"
QT_MOC_LITERAL(6, 96, 21), // "mouseClickGeoPosition"
QT_MOC_LITERAL(7, 118, 24), // "GeoDataCoordinates::Unit"
QT_MOC_LITERAL(8, 143, 18), // "restoreViewContext"
QT_MOC_LITERAL(9, 162, 24), // "installPluginEventFilter"
QT_MOC_LITERAL(10, 187, 13), // "RenderPlugin*"
QT_MOC_LITERAL(11, 201, 12) // "renderPlugin"

    },
    "Marble::MarbleInputHandler\0lmbRequest\0"
    "\0rmbRequest\0mouseClickScreenPosition\0"
    "mouseMoveGeoPosition\0mouseClickGeoPosition\0"
    "GeoDataCoordinates::Unit\0restoreViewContext\0"
    "installPluginEventFilter\0RenderPlugin*\0"
    "renderPlugin"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__MarbleInputHandler[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    2,   49,    2, 0x06 /* Public */,
       3,    2,   54,    2, 0x06 /* Public */,
       4,    2,   59,    2, 0x06 /* Public */,
       5,    1,   64,    2, 0x06 /* Public */,
       6,    3,   67,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   74,    2, 0x09 /* Protected */,
       9,    1,   75,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void, QMetaType::QString,    2,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal, 0x80000000 | 7,    2,    2,    2,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 10,   11,

       0        // eod
};

void Marble::MarbleInputHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MarbleInputHandler *_t = static_cast<MarbleInputHandler *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->lmbRequest((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 1: _t->rmbRequest((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->mouseClickScreenPosition((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->mouseMoveGeoPosition((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 4: _t->mouseClickGeoPosition((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< GeoDataCoordinates::Unit(*)>(_a[3]))); break;
        case 5: _t->restoreViewContext(); break;
        case 6: _t->installPluginEventFilter((*reinterpret_cast< RenderPlugin*(*)>(_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 (MarbleInputHandler::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleInputHandler::lmbRequest)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (MarbleInputHandler::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleInputHandler::rmbRequest)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (MarbleInputHandler::*_t)(int , int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleInputHandler::mouseClickScreenPosition)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (MarbleInputHandler::*_t)(const QString & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleInputHandler::mouseMoveGeoPosition)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (MarbleInputHandler::*_t)(qreal , qreal , GeoDataCoordinates::Unit );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&MarbleInputHandler::mouseClickGeoPosition)) {
                *result = 4;
                return;
            }
        }
    }
}

const QMetaObject Marble::MarbleInputHandler::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__MarbleInputHandler.data,
      qt_meta_data_Marble__MarbleInputHandler,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Marble::MarbleInputHandler::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::MarbleInputHandler::lmbRequest(int _t1, int _t2)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

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

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

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

// SIGNAL 4
void Marble::MarbleInputHandler::mouseClickGeoPosition(qreal _t1, qreal _t2, GeoDataCoordinates::Unit _t3)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)), const_cast<void*>(reinterpret_cast<const void*>(&_t3)) };
    QMetaObject::activate(this, &staticMetaObject, 4, _a);
}
struct qt_meta_stringdata_Marble__MarbleDefaultInputHandler_t {
    QByteArrayData data[11];
    char stringdata0[167];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__MarbleDefaultInputHandler_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__MarbleDefaultInputHandler_t qt_meta_stringdata_Marble__MarbleDefaultInputHandler = {
    {
QT_MOC_LITERAL(0, 0, 33), // "Marble::MarbleDefaultInputHan..."
QT_MOC_LITERAL(1, 34, 24), // "installPluginEventFilter"
QT_MOC_LITERAL(2, 59, 0), // ""
QT_MOC_LITERAL(3, 60, 13), // "RenderPlugin*"
QT_MOC_LITERAL(4, 74, 12), // "renderPlugin"
QT_MOC_LITERAL(5, 87, 11), // "showLmbMenu"
QT_MOC_LITERAL(6, 99, 11), // "showRmbMenu"
QT_MOC_LITERAL(7, 111, 18), // "handlePressAndHold"
QT_MOC_LITERAL(8, 130, 15), // "openItemToolTip"
QT_MOC_LITERAL(9, 146, 9), // "setCursor"
QT_MOC_LITERAL(10, 156, 10) // "lmbTimeout"

    },
    "Marble::MarbleDefaultInputHandler\0"
    "installPluginEventFilter\0\0RenderPlugin*\0"
    "renderPlugin\0showLmbMenu\0showRmbMenu\0"
    "handlePressAndHold\0openItemToolTip\0"
    "setCursor\0lmbTimeout"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__MarbleDefaultInputHandler[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    1,   49,    2, 0x08 /* Private */,
       5,    2,   52,    2, 0x08 /* Private */,
       6,    2,   57,    2, 0x08 /* Private */,
       7,    0,   62,    2, 0x08 /* Private */,
       8,    0,   63,    2, 0x08 /* Private */,
       9,    1,   64,    2, 0x08 /* Private */,
      10,    0,   67,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,    2,    2,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QCursor,    2,
    QMetaType::Void,

       0        // eod
};

void Marble::MarbleDefaultInputHandler::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        MarbleDefaultInputHandler *_t = static_cast<MarbleDefaultInputHandler *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->installPluginEventFilter((*reinterpret_cast< RenderPlugin*(*)>(_a[1]))); break;
        case 1: _t->showLmbMenu((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 2: _t->showRmbMenu((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 3: _t->handlePressAndHold(); break;
        case 4: _t->openItemToolTip(); break;
        case 5: _t->setCursor((*reinterpret_cast< const QCursor(*)>(_a[1]))); break;
        case 6: _t->lmbTimeout(); break;
        default: ;
        }
    }
}

const QMetaObject Marble::MarbleDefaultInputHandler::staticMetaObject = {
    { &MarbleInputHandler::staticMetaObject, qt_meta_stringdata_Marble__MarbleDefaultInputHandler.data,
      qt_meta_data_Marble__MarbleDefaultInputHandler,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Marble::MarbleDefaultInputHandler::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = MarbleInputHandler::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;
}
QT_END_MOC_NAMESPACE
