/****************************************************************************
** Meta object code from reading C++ file 'RouteRequestModel.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/declarative/RouteRequestModel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'RouteRequestModel.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_RouteRequestModel_t {
    QByteArrayData data[16];
    char stringdata0[189];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_RouteRequestModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_RouteRequestModel_t qt_meta_stringdata_RouteRequestModel = {
    {
QT_MOC_LITERAL(0, 0, 17), // "RouteRequestModel"
QT_MOC_LITERAL(1, 18, 14), // "routingChanged"
QT_MOC_LITERAL(2, 33, 0), // ""
QT_MOC_LITERAL(3, 34, 15), // "rowCountChanged"
QT_MOC_LITERAL(4, 50, 10), // "setRouting"
QT_MOC_LITERAL(5, 61, 16), // "Marble::Routing*"
QT_MOC_LITERAL(6, 78, 7), // "routing"
QT_MOC_LITERAL(7, 86, 11), // "setPosition"
QT_MOC_LITERAL(8, 98, 5), // "index"
QT_MOC_LITERAL(9, 104, 9), // "longitude"
QT_MOC_LITERAL(10, 114, 8), // "latitude"
QT_MOC_LITERAL(11, 123, 9), // "updateMap"
QT_MOC_LITERAL(12, 133, 10), // "updateData"
QT_MOC_LITERAL(13, 144, 18), // "updateAfterRemoval"
QT_MOC_LITERAL(14, 163, 19), // "updateAfterAddition"
QT_MOC_LITERAL(15, 183, 5) // "count"

    },
    "RouteRequestModel\0routingChanged\0\0"
    "rowCountChanged\0setRouting\0Marble::Routing*\0"
    "routing\0setPosition\0index\0longitude\0"
    "latitude\0updateMap\0updateData\0"
    "updateAfterRemoval\0updateAfterAddition\0"
    "count"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_RouteRequestModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   54,    2, 0x06 /* Public */,
       3,    0,   55,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       4,    1,   56,    2, 0x0a /* Public */,
       7,    3,   59,    2, 0x0a /* Public */,
      11,    0,   66,    2, 0x08 /* Private */,
      12,    1,   67,    2, 0x08 /* Private */,
      13,    1,   70,    2, 0x08 /* Private */,
      14,    1,   73,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, 0x80000000 | 5,    6,
    QMetaType::Void, QMetaType::Int, QMetaType::QReal, QMetaType::QReal,    8,    9,   10,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,    8,
    QMetaType::Void, QMetaType::Int,    8,

 // properties: name, type, flags
       6, 0x80000000 | 5, 0x0049510b,
      15, QMetaType::Int, 0x00495001,

 // properties: notify_signal_id
       0,
       1,

       0        // eod
};

void RouteRequestModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        RouteRequestModel *_t = static_cast<RouteRequestModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->routingChanged(); break;
        case 1: _t->rowCountChanged(); break;
        case 2: _t->setRouting((*reinterpret_cast< Marble::Routing*(*)>(_a[1]))); break;
        case 3: _t->setPosition((*reinterpret_cast< int(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3]))); break;
        case 4: _t->updateMap(); break;
        case 5: _t->updateData((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 6: _t->updateAfterRemoval((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 7: _t->updateAfterAddition((*reinterpret_cast< int(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (RouteRequestModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RouteRequestModel::routingChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (RouteRequestModel::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&RouteRequestModel::rowCountChanged)) {
                *result = 1;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        RouteRequestModel *_t = static_cast<RouteRequestModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< Marble::Routing**>(_v) = _t->routing(); break;
        case 1: *reinterpret_cast< int*>(_v) = _t->rowCount(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        RouteRequestModel *_t = static_cast<RouteRequestModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setRouting(*reinterpret_cast< Marble::Routing**>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject RouteRequestModel::staticMetaObject = {
    { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_RouteRequestModel.data,
      qt_meta_data_RouteRequestModel,  qt_static_metacall, nullptr, nullptr}
};


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

void *RouteRequestModel::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_RouteRequestModel.stringdata0))
        return static_cast<void*>(this);
    return QAbstractListModel::qt_metacast(_clname);
}

int RouteRequestModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 8)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 8;
    }
#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 RouteRequestModel::routingChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void RouteRequestModel::rowCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
