/****************************************************************************
** Meta object code from reading C++ file 'Routing.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/declarative/Routing.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Routing.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__Routing_t {
    QByteArrayData data[47];
    char stringdata0[669];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__Routing_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__Routing_t qt_meta_stringdata_Marble__Routing = {
    {
QT_MOC_LITERAL(0, 0, 15), // "Marble::Routing"
QT_MOC_LITERAL(1, 16, 16), // "marbleMapChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 21), // "routingProfileChanged"
QT_MOC_LITERAL(4, 56, 15), // "hasRouteChanged"
QT_MOC_LITERAL(5, 72, 19), // "hasWaypointsChanged"
QT_MOC_LITERAL(6, 92, 19), // "routingModelChanged"
QT_MOC_LITERAL(7, 112, 23), // "waypointDelegateChanged"
QT_MOC_LITERAL(8, 136, 14), // "QQmlComponent*"
QT_MOC_LITERAL(9, 151, 16), // "waypointDelegate"
QT_MOC_LITERAL(10, 168, 24), // "routeRequestModelChanged"
QT_MOC_LITERAL(11, 193, 18), // "RouteRequestModel*"
QT_MOC_LITERAL(12, 212, 17), // "routeRequestModel"
QT_MOC_LITERAL(13, 230, 6), // "addVia"
QT_MOC_LITERAL(14, 237, 3), // "lon"
QT_MOC_LITERAL(15, 241, 3), // "lat"
QT_MOC_LITERAL(16, 245, 13), // "addViaAtIndex"
QT_MOC_LITERAL(17, 259, 5), // "index"
QT_MOC_LITERAL(18, 265, 17), // "addViaByPlacemark"
QT_MOC_LITERAL(19, 283, 10), // "Placemark*"
QT_MOC_LITERAL(20, 294, 9), // "placemark"
QT_MOC_LITERAL(21, 304, 24), // "addViaByPlacemarkAtIndex"
QT_MOC_LITERAL(22, 329, 6), // "setVia"
QT_MOC_LITERAL(23, 336, 9), // "removeVia"
QT_MOC_LITERAL(24, 346, 8), // "swapVias"
QT_MOC_LITERAL(25, 355, 6), // "index1"
QT_MOC_LITERAL(26, 362, 6), // "index2"
QT_MOC_LITERAL(27, 369, 12), // "reverseRoute"
QT_MOC_LITERAL(28, 382, 10), // "clearRoute"
QT_MOC_LITERAL(29, 393, 11), // "updateRoute"
QT_MOC_LITERAL(30, 405, 9), // "openRoute"
QT_MOC_LITERAL(31, 415, 8), // "filename"
QT_MOC_LITERAL(32, 424, 9), // "saveRoute"
QT_MOC_LITERAL(33, 434, 13), // "waypointModel"
QT_MOC_LITERAL(34, 448, 19), // "setWaypointDelegate"
QT_MOC_LITERAL(35, 468, 24), // "addSearchResultPlacemark"
QT_MOC_LITERAL(36, 493, 27), // "clearSearchResultPlacemarks"
QT_MOC_LITERAL(37, 521, 19), // "updateWaypointItems"
QT_MOC_LITERAL(38, 541, 28), // "updateSearchResultPlacemarks"
QT_MOC_LITERAL(39, 570, 13), // "waypointCount"
QT_MOC_LITERAL(40, 584, 9), // "marbleMap"
QT_MOC_LITERAL(41, 594, 10), // "MarbleMap*"
QT_MOC_LITERAL(42, 605, 14), // "routingProfile"
QT_MOC_LITERAL(43, 620, 8), // "hasRoute"
QT_MOC_LITERAL(44, 629, 12), // "hasWaypoints"
QT_MOC_LITERAL(45, 642, 12), // "routingModel"
QT_MOC_LITERAL(46, 655, 13) // "RoutingModel*"

    },
    "Marble::Routing\0marbleMapChanged\0\0"
    "routingProfileChanged\0hasRouteChanged\0"
    "hasWaypointsChanged\0routingModelChanged\0"
    "waypointDelegateChanged\0QQmlComponent*\0"
    "waypointDelegate\0routeRequestModelChanged\0"
    "RouteRequestModel*\0routeRequestModel\0"
    "addVia\0lon\0lat\0addViaAtIndex\0index\0"
    "addViaByPlacemark\0Placemark*\0placemark\0"
    "addViaByPlacemarkAtIndex\0setVia\0"
    "removeVia\0swapVias\0index1\0index2\0"
    "reverseRoute\0clearRoute\0updateRoute\0"
    "openRoute\0filename\0saveRoute\0waypointModel\0"
    "setWaypointDelegate\0addSearchResultPlacemark\0"
    "clearSearchResultPlacemarks\0"
    "updateWaypointItems\0updateSearchResultPlacemarks\0"
    "waypointCount\0marbleMap\0MarbleMap*\0"
    "routingProfile\0hasRoute\0hasWaypoints\0"
    "routingModel\0RoutingModel*"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__Routing[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,  144,    2, 0x06 /* Public */,
       3,    0,  145,    2, 0x06 /* Public */,
       4,    0,  146,    2, 0x06 /* Public */,
       5,    0,  147,    2, 0x06 /* Public */,
       6,    0,  148,    2, 0x06 /* Public */,
       7,    1,  149,    2, 0x06 /* Public */,
      10,    1,  152,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      13,    2,  155,    2, 0x0a /* Public */,
      16,    3,  160,    2, 0x0a /* Public */,
      18,    1,  167,    2, 0x0a /* Public */,
      21,    2,  170,    2, 0x0a /* Public */,
      22,    3,  175,    2, 0x0a /* Public */,
      23,    1,  182,    2, 0x0a /* Public */,
      24,    2,  185,    2, 0x0a /* Public */,
      27,    0,  190,    2, 0x0a /* Public */,
      28,    0,  191,    2, 0x0a /* Public */,
      29,    0,  192,    2, 0x0a /* Public */,
      30,    1,  193,    2, 0x0a /* Public */,
      32,    1,  196,    2, 0x0a /* Public */,
      33,    0,  199,    2, 0x0a /* Public */,
      34,    1,  200,    2, 0x0a /* Public */,
      35,    1,  203,    2, 0x0a /* Public */,
      36,    0,  206,    2, 0x0a /* Public */,
      37,    0,  207,    2, 0x08 /* Private */,
      38,    0,  208,    2, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      39,    0,  209,    2, 0x02 /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Void, 0x80000000 | 11,   12,

 // slots: parameters
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal,   14,   15,
    QMetaType::Void, QMetaType::Int, QMetaType::QReal, QMetaType::QReal,   17,   14,   15,
    QMetaType::Void, 0x80000000 | 19,   20,
    QMetaType::Void, QMetaType::Int, 0x80000000 | 19,   17,   20,
    QMetaType::Void, QMetaType::Int, QMetaType::QReal, QMetaType::QReal,   17,   14,   15,
    QMetaType::Void, QMetaType::Int,   17,
    QMetaType::Void, QMetaType::Int, QMetaType::Int,   25,   26,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::QString,   31,
    QMetaType::Void, QMetaType::QString,   31,
    QMetaType::QObjectStar,
    QMetaType::Void, 0x80000000 | 8,    9,
    QMetaType::Int, 0x80000000 | 19,   20,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Int,

 // properties: name, type, flags
      40, 0x80000000 | 41, 0x0049510b,
      42, QMetaType::QString, 0x00495103,
      43, QMetaType::Bool, 0x00495001,
      44, QMetaType::Bool, 0x00495001,
      45, 0x80000000 | 46, 0x00495009,
       9, 0x80000000 | 8, 0x0049510b,
      12, 0x80000000 | 11, 0x00495009,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,
       4,
       5,
       6,

       0        // eod
};

void Marble::Routing::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Routing *_t = static_cast<Routing *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->marbleMapChanged(); break;
        case 1: _t->routingProfileChanged(); break;
        case 2: _t->hasRouteChanged(); break;
        case 3: _t->hasWaypointsChanged(); break;
        case 4: _t->routingModelChanged(); break;
        case 5: _t->waypointDelegateChanged((*reinterpret_cast< QQmlComponent*(*)>(_a[1]))); break;
        case 6: _t->routeRequestModelChanged((*reinterpret_cast< RouteRequestModel*(*)>(_a[1]))); break;
        case 7: _t->addVia((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 8: _t->addViaAtIndex((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3]))); break;
        case 9: _t->addViaByPlacemark((*reinterpret_cast< Placemark*(*)>(_a[1]))); break;
        case 10: _t->addViaByPlacemarkAtIndex((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< Placemark*(*)>(_a[2]))); break;
        case 11: _t->setVia((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3]))); break;
        case 12: _t->removeVia((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 13: _t->swapVias((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< int(*)>(_a[2]))); break;
        case 14: _t->reverseRoute(); break;
        case 15: _t->clearRoute(); break;
        case 16: _t->updateRoute(); break;
        case 17: _t->openRoute((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 18: _t->saveRoute((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 19: { QObject* _r = _t->waypointModel();
            if (_a[0]) *reinterpret_cast< QObject**>(_a[0]) = _r; }  break;
        case 20: _t->setWaypointDelegate((*reinterpret_cast< QQmlComponent*(*)>(_a[1]))); break;
        case 21: { int _r = _t->addSearchResultPlacemark((*reinterpret_cast< Placemark*(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        case 22: _t->clearSearchResultPlacemarks(); break;
        case 23: _t->updateWaypointItems(); break;
        case 24: _t->updateSearchResultPlacemarks(); break;
        case 25: { int _r = _t->waypointCount();
            if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break;
            }
            break;
        case 6:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< RouteRequestModel* >(); break;
            }
            break;
        case 9:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Placemark* >(); break;
            }
            break;
        case 10:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Placemark* >(); break;
            }
            break;
        case 20:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break;
            }
            break;
        case 21:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Placemark* >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Routing::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Routing::marbleMapChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Routing::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Routing::routingProfileChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Routing::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Routing::hasRouteChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Routing::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Routing::hasWaypointsChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Routing::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Routing::routingModelChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Routing::*_t)(QQmlComponent * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Routing::waypointDelegateChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Routing::*_t)(RouteRequestModel * );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Routing::routeRequestModelChanged)) {
                *result = 6;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 5:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlComponent* >(); break;
        case 6:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< RouteRequestModel* >(); break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< RoutingModel* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Routing *_t = static_cast<Routing *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< MarbleMap**>(_v) = _t->marbleMap(); break;
        case 1: *reinterpret_cast< QString*>(_v) = _t->routingProfile(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->hasRoute(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->hasWaypoints(); break;
        case 4: *reinterpret_cast< RoutingModel**>(_v) = _t->routingModel(); break;
        case 5: *reinterpret_cast< QQmlComponent**>(_v) = _t->waypointDelegate(); break;
        case 6: *reinterpret_cast< RouteRequestModel**>(_v) = _t->routeRequestModel(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Routing *_t = static_cast<Routing *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMarbleMap(*reinterpret_cast< MarbleMap**>(_v)); break;
        case 1: _t->setRoutingProfile(*reinterpret_cast< QString*>(_v)); break;
        case 5: _t->setWaypointDelegate(*reinterpret_cast< QQmlComponent**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Marble::Routing::staticMetaObject = {
    { &QQuickItem::staticMetaObject, qt_meta_stringdata_Marble__Routing.data,
      qt_meta_data_Marble__Routing,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Marble::Routing::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QQuickItem::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 26)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 26;
    }
#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 -= 7;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 7;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 7;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

// SIGNAL 5
void Marble::Routing::waypointDelegateChanged(QQmlComponent * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 5, _a);
}

// SIGNAL 6
void Marble::Routing::routeRequestModelChanged(RouteRequestModel * _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 6, _a);
}
QT_END_MOC_NAMESPACE
