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

#include "../../../../src/marble-15.08.3/src/lib/marble/routing/VoiceNavigationModel.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'VoiceNavigationModel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 63
#error "This file was generated using the moc from 4.8.7. 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
static const uint qt_meta_data_Marble__VoiceNavigationModel[] = {

 // content:
       6,       // revision
       0,       // classname
       0,    0, // classinfo
       8,   14, // methods
       4,   54, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       4,       // signalCount

 // signals: signature, parameters, type, tag, flags
      30,   29,   29,   29, 0x05,
      47,   29,   29,   29, 0x05,
      73,   29,   29,   29, 0x05,
      94,   29,   29,   29, 0x05,

 // slots: signature, parameters, type, tag, flags
     118,  111,   29,   29, 0x0a,
     216,  169,   29,   29, 0x0a,
     255,   29,  247,   29, 0x0a,
     265,   29,  247,   29, 0x0a,

 // properties: name, type, flags
     279,  247, 0x0a495103,
     292,  287, 0x01495003,
     309,  247, 0x0a495001,
     321,  247, 0x0a495001,

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

       0        // eod
};

static const char qt_meta_stringdata_Marble__VoiceNavigationModel[] = {
    "Marble::VoiceNavigationModel\0\0"
    "speakerChanged()\0isSpeakerEnabledChanged()\0"
    "instructionChanged()\0previewChanged()\0"
    "status\0handleTrackingStatusChange(PositionProviderStatus)\0"
    "route,distanceManuever,distanceTarget,deviated\0"
    "update(Route,qreal,qreal,bool)\0QString\0"
    "preview()\0instruction()\0speaker\0bool\0"
    "isSpeakerEnabled\0instruction\0preview\0"
};

void Marble::VoiceNavigationModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Q_ASSERT(staticMetaObject.cast(_o));
        VoiceNavigationModel *_t = static_cast<VoiceNavigationModel *>(_o);
        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->handleTrackingStatusChange((*reinterpret_cast< PositionProviderStatus(*)>(_a[1]))); break;
        case 5: _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 6: { QString _r = _t->preview();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        case 7: { QString _r = _t->instruction();
            if (_a[0]) *reinterpret_cast< QString*>(_a[0]) = _r; }  break;
        default: ;
        }
    }
}

const QMetaObjectExtraData Marble::VoiceNavigationModel::staticMetaObjectExtraData = {
    0,  qt_static_metacall 
};

const QMetaObject Marble::VoiceNavigationModel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__VoiceNavigationModel,
      qt_meta_data_Marble__VoiceNavigationModel, &staticMetaObjectExtraData }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Marble::VoiceNavigationModel::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

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

void *Marble::VoiceNavigationModel::qt_metacast(const char *_clname)
{
    if (!_clname) return 0;
    if (!strcmp(_clname, qt_meta_stringdata_Marble__VoiceNavigationModel))
        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 < 8)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 8;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QString*>(_v) = speaker(); break;
        case 1: *reinterpret_cast< bool*>(_v) = isSpeakerEnabled(); break;
        case 2: *reinterpret_cast< QString*>(_v) = instruction(); break;
        case 3: *reinterpret_cast< QString*>(_v) = preview(); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setSpeaker(*reinterpret_cast< QString*>(_v)); break;
        case 1: setSpeakerEnabled(*reinterpret_cast< bool*>(_v)); break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::ResetProperty) {
        _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, 0);
}

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

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

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