/****************************************************************************
** Meta object code from reading C++ file 'VoiceNavigationModel.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/routing/VoiceNavigationModel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'VoiceNavigationModel.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__VoiceNavigationModel_t {
    QByteArrayData data[16];
    char stringdata0[208];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__VoiceNavigationModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__VoiceNavigationModel_t qt_meta_stringdata_Marble__VoiceNavigationModel = {
    {
QT_MOC_LITERAL(0, 0, 28), // "Marble::VoiceNavigationModel"
QT_MOC_LITERAL(1, 29, 14), // "speakerChanged"
QT_MOC_LITERAL(2, 44, 0), // ""
QT_MOC_LITERAL(3, 45, 23), // "isSpeakerEnabledChanged"
QT_MOC_LITERAL(4, 69, 18), // "instructionChanged"
QT_MOC_LITERAL(5, 88, 14), // "previewChanged"
QT_MOC_LITERAL(6, 103, 6), // "update"
QT_MOC_LITERAL(7, 110, 5), // "Route"
QT_MOC_LITERAL(8, 116, 5), // "route"
QT_MOC_LITERAL(9, 122, 16), // "distanceManuever"
QT_MOC_LITERAL(10, 139, 14), // "distanceTarget"
QT_MOC_LITERAL(11, 154, 8), // "deviated"
QT_MOC_LITERAL(12, 163, 7), // "preview"
QT_MOC_LITERAL(13, 171, 11), // "instruction"
QT_MOC_LITERAL(14, 183, 7), // "speaker"
QT_MOC_LITERAL(15, 191, 16) // "isSpeakerEnabled"

    },
    "Marble::VoiceNavigationModel\0"
    "speakerChanged\0\0isSpeakerEnabledChanged\0"
    "instructionChanged\0previewChanged\0"
    "update\0Route\0route\0distanceManuever\0"
    "distanceTarget\0deviated\0preview\0"
    "instruction\0speaker\0isSpeakerEnabled"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__VoiceNavigationModel[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   49,    2, 0x06 /* Public */,
       3,    0,   50,    2, 0x06 /* Public */,
       4,    0,   51,    2, 0x06 /* Public */,
       5,    0,   52,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    4,   53,    2, 0x0a /* Public */,
      12,    0,   62,    2, 0x0a /* Public */,
      13,    0,   63,    2, 0x0a /* Public */,

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

 // slots: parameters
    QMetaType::Void, 0x80000000 | 7, QMetaType::QReal, QMetaType::QReal, QMetaType::Bool,    8,    9,   10,   11,
    QMetaType::QString,
    QMetaType::QString,

 // properties: name, type, flags
      14, QMetaType::QString, 0x00495103,
      15, QMetaType::Bool, 0x00495003,
      13, QMetaType::QString, 0x00495001,
      12, QMetaType::QString, 0x00495001,

 // properties: notify_signal_id
       0,
       1,
       2,
       3,

       0        // eod
};

void Marble::VoiceNavigationModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        VoiceNavigationModel *_t = static_cast<VoiceNavigationModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->speakerChanged(); break;
        case 1: _t->isSpeakerEnabledChanged(); break;
        case 2: _t->instructionChanged(); break;
        case 3: _t->previewChanged(); break;
        case 4: _t->update((*reinterpret_cast< const Route(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2])),(*reinterpret_cast< qreal(*)>(_a[3])),(*reinterpret_cast< bool(*)>(_a[4]))); break;
        case 5: { QString _r = _t->preview();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 6: { QString _r = _t->instruction();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (VoiceNavigationModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&VoiceNavigationModel::speakerChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (VoiceNavigationModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&VoiceNavigationModel::isSpeakerEnabledChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (VoiceNavigationModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&VoiceNavigationModel::instructionChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (VoiceNavigationModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&VoiceNavigationModel::previewChanged)) {
                *result = 3;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        VoiceNavigationModel *_t = static_cast<VoiceNavigationModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = _t->speaker(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isSpeakerEnabled(); break;
        case 2: *reinterpret_cast< QString*>(_v) = _t->instruction(); break;
        case 3: *reinterpret_cast< QString*>(_v) = _t->preview(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        VoiceNavigationModel *_t = static_cast<VoiceNavigationModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setSpeaker(*reinterpret_cast< QString*>(_v)); break;
        case 1: _t->setSpeakerEnabled(*reinterpret_cast< bool*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Marble::VoiceNavigationModel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__VoiceNavigationModel.data,
      qt_meta_data_Marble__VoiceNavigationModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Marble::VoiceNavigationModel::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;
    }
#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 -= 4;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 4;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

// SIGNAL 3
void Marble::VoiceNavigationModel::previewChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
