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

#include "../../../../src/marble-17.12.3/src/lib/marble/routing/RoutingManager.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'RoutingManager.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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__RoutingManager_t {
    QByteArrayData data[23];
    char stringdata0[324];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__RoutingManager_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__RoutingManager_t qt_meta_stringdata_Marble__RoutingManager = {
    {
QT_MOC_LITERAL(0, 0, 22), // "Marble::RoutingManager"
QT_MOC_LITERAL(1, 23, 12), // "stateChanged"
QT_MOC_LITERAL(2, 36, 0), // ""
QT_MOC_LITERAL(3, 37, 21), // "RoutingManager::State"
QT_MOC_LITERAL(4, 59, 8), // "newState"
QT_MOC_LITERAL(5, 68, 14), // "routeRetrieved"
QT_MOC_LITERAL(6, 83, 16), // "GeoDataDocument*"
QT_MOC_LITERAL(7, 100, 5), // "route"
QT_MOC_LITERAL(8, 106, 26), // "guidanceModeEnabledChanged"
QT_MOC_LITERAL(9, 133, 7), // "enabled"
QT_MOC_LITERAL(10, 141, 12), // "reverseRoute"
QT_MOC_LITERAL(11, 154, 13), // "retrieveRoute"
QT_MOC_LITERAL(12, 168, 10), // "clearRoute"
QT_MOC_LITERAL(13, 179, 22), // "setGuidanceModeEnabled"
QT_MOC_LITERAL(14, 202, 8), // "addRoute"
QT_MOC_LITERAL(15, 211, 15), // "routingFinished"
QT_MOC_LITERAL(16, 227, 15), // "setCurrentRoute"
QT_MOC_LITERAL(17, 243, 22), // "const GeoDataDocument*"
QT_MOC_LITERAL(18, 266, 16), // "recalculateRoute"
QT_MOC_LITERAL(19, 283, 8), // "deviated"
QT_MOC_LITERAL(20, 292, 5), // "state"
QT_MOC_LITERAL(21, 298, 5), // "State"
QT_MOC_LITERAL(22, 304, 19) // "guidanceModeEnabled"

    },
    "Marble::RoutingManager\0stateChanged\0"
    "\0RoutingManager::State\0newState\0"
    "routeRetrieved\0GeoDataDocument*\0route\0"
    "guidanceModeEnabledChanged\0enabled\0"
    "reverseRoute\0retrieveRoute\0clearRoute\0"
    "setGuidanceModeEnabled\0addRoute\0"
    "routingFinished\0setCurrentRoute\0"
    "const GeoDataDocument*\0recalculateRoute\0"
    "deviated\0state\0State\0guidanceModeEnabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__RoutingManager[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    1,   69,    2, 0x06 /* Public */,
       5,    1,   72,    2, 0x06 /* Public */,
       8,    1,   75,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      10,    0,   78,    2, 0x0a /* Public */,
      11,    0,   79,    2, 0x0a /* Public */,
      12,    0,   80,    2, 0x0a /* Public */,
      13,    1,   81,    2, 0x0a /* Public */,
      14,    1,   84,    2, 0x08 /* Private */,
      15,    0,   87,    2, 0x08 /* Private */,
      16,    1,   88,    2, 0x08 /* Private */,
      18,    1,   91,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, 0x80000000 | 3,    4,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void, QMetaType::Bool,    9,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Bool,    9,
    QMetaType::Void, 0x80000000 | 6,    7,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 17,    7,
    QMetaType::Void, QMetaType::Bool,   19,

 // properties: name, type, flags
      20, 0x80000000 | 21, 0x00495009,
      22, QMetaType::Bool, 0x00495103,

 // properties: notify_signal_id
       0,
       2,

       0        // eod
};

void Marble::RoutingManager::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        RoutingManager *_t = static_cast<RoutingManager *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->stateChanged((*reinterpret_cast< RoutingManager::State(*)>(_a[1]))); break;
        case 1: _t->routeRetrieved((*reinterpret_cast< GeoDataDocument*(*)>(_a[1]))); break;
        case 2: _t->guidanceModeEnabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 3: _t->reverseRoute(); break;
        case 4: _t->retrieveRoute(); break;
        case 5: _t->clearRoute(); break;
        case 6: _t->setGuidanceModeEnabled((*reinterpret_cast< bool(*)>(_a[1]))); break;
        case 7: _t->d->addRoute((*reinterpret_cast< GeoDataDocument*(*)>(_a[1]))); break;
        case 8: _t->d->routingFinished(); break;
        case 9: _t->d->setCurrentRoute((*reinterpret_cast< const GeoDataDocument*(*)>(_a[1]))); break;
        case 10: _t->d->recalculateRoute((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (RoutingManager::*_t)(RoutingManager::State );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RoutingManager::stateChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (RoutingManager::*_t)(GeoDataDocument * );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RoutingManager::routeRetrieved)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (RoutingManager::*_t)(bool );
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RoutingManager::guidanceModeEnabledChanged)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        RoutingManager *_t = static_cast<RoutingManager *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< State*>(_v) = _t->state(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->guidanceModeEnabled(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        RoutingManager *_t = static_cast<RoutingManager *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setGuidanceModeEnabled(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Marble::RoutingManager::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__RoutingManager.data,
      qt_meta_data_Marble__RoutingManager,  qt_static_metacall, nullptr, nullptr}
};


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

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

int Marble::RoutingManager::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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
#ifndef QT_NO_PROPERTIES
   else if (_c == QMetaObject::ReadProperty || _c == QMetaObject::WriteProperty
            || _c == QMetaObject::ResetProperty || _c == QMetaObject::RegisterPropertyMetaType) {
        qt_static_metacall(this, _c, _id, _a);
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 2;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 2;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

// SIGNAL 1
void Marble::RoutingManager::routeRetrieved(GeoDataDocument * _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void Marble::RoutingManager::guidanceModeEnabledChanged(bool _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
