/****************************************************************************
** Meta object code from reading C++ file 'Tracking.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/Tracking.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'Tracking.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__Tracking_t {
    QByteArrayData data[36];
    char stringdata0[541];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__Tracking_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__Tracking_t qt_meta_stringdata_Marble__Tracking = {
    {
QT_MOC_LITERAL(0, 0, 16), // "Marble::Tracking"
QT_MOC_LITERAL(1, 17, 10), // "mapChanged"
QT_MOC_LITERAL(2, 28, 0), // ""
QT_MOC_LITERAL(3, 29, 16), // "showTrackChanged"
QT_MOC_LITERAL(4, 46, 21), // "positionSourceChanged"
QT_MOC_LITERAL(5, 68, 21), // "positionMarkerChanged"
QT_MOC_LITERAL(6, 90, 27), // "hasLastKnownPositionChanged"
QT_MOC_LITERAL(7, 118, 24), // "lastKnownPositionChanged"
QT_MOC_LITERAL(8, 143, 17), // "autoCenterChanged"
QT_MOC_LITERAL(9, 161, 15), // "autoZoomChanged"
QT_MOC_LITERAL(10, 177, 25), // "positionMarkerTypeChanged"
QT_MOC_LITERAL(11, 203, 15), // "distanceChanged"
QT_MOC_LITERAL(12, 219, 9), // "saveTrack"
QT_MOC_LITERAL(13, 229, 8), // "fileName"
QT_MOC_LITERAL(14, 238, 9), // "openTrack"
QT_MOC_LITERAL(15, 248, 10), // "clearTrack"
QT_MOC_LITERAL(16, 259, 20), // "updatePositionMarker"
QT_MOC_LITERAL(17, 280, 23), // "updateLastKnownPosition"
QT_MOC_LITERAL(18, 304, 23), // "setHasLastKnownPosition"
QT_MOC_LITERAL(19, 328, 3), // "map"
QT_MOC_LITERAL(20, 332, 16), // "MarbleQuickItem*"
QT_MOC_LITERAL(21, 349, 9), // "showTrack"
QT_MOC_LITERAL(22, 359, 10), // "autoCenter"
QT_MOC_LITERAL(23, 370, 8), // "autoZoom"
QT_MOC_LITERAL(24, 379, 14), // "positionSource"
QT_MOC_LITERAL(25, 394, 15), // "PositionSource*"
QT_MOC_LITERAL(26, 410, 14), // "positionMarker"
QT_MOC_LITERAL(27, 425, 20), // "hasLastKnownPosition"
QT_MOC_LITERAL(28, 446, 17), // "lastKnownPosition"
QT_MOC_LITERAL(29, 464, 11), // "Coordinate*"
QT_MOC_LITERAL(30, 476, 18), // "positionMarkerType"
QT_MOC_LITERAL(31, 495, 18), // "PositionMarkerType"
QT_MOC_LITERAL(32, 514, 8), // "distance"
QT_MOC_LITERAL(33, 523, 4), // "None"
QT_MOC_LITERAL(34, 528, 6), // "Circle"
QT_MOC_LITERAL(35, 535, 5) // "Arrow"

    },
    "Marble::Tracking\0mapChanged\0\0"
    "showTrackChanged\0positionSourceChanged\0"
    "positionMarkerChanged\0hasLastKnownPositionChanged\0"
    "lastKnownPositionChanged\0autoCenterChanged\0"
    "autoZoomChanged\0positionMarkerTypeChanged\0"
    "distanceChanged\0saveTrack\0fileName\0"
    "openTrack\0clearTrack\0updatePositionMarker\0"
    "updateLastKnownPosition\0setHasLastKnownPosition\0"
    "map\0MarbleQuickItem*\0showTrack\0"
    "autoCenter\0autoZoom\0positionSource\0"
    "PositionSource*\0positionMarker\0"
    "hasLastKnownPosition\0lastKnownPosition\0"
    "Coordinate*\0positionMarkerType\0"
    "PositionMarkerType\0distance\0None\0"
    "Circle\0Arrow"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__Tracking[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      16,   14, // methods
      10,  114, // properties
       1,  154, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   94,    2, 0x06 /* Public */,
       3,    0,   95,    2, 0x06 /* Public */,
       4,    0,   96,    2, 0x06 /* Public */,
       5,    0,   97,    2, 0x06 /* Public */,
       6,    0,   98,    2, 0x06 /* Public */,
       7,    0,   99,    2, 0x06 /* Public */,
       8,    0,  100,    2, 0x06 /* Public */,
       9,    0,  101,    2, 0x06 /* Public */,
      10,    0,  102,    2, 0x06 /* Public */,
      11,    0,  103,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    1,  104,    2, 0x0a /* Public */,
      14,    1,  107,    2, 0x0a /* Public */,
      15,    0,  110,    2, 0x0a /* Public */,
      16,    0,  111,    2, 0x08 /* Private */,
      17,    0,  112,    2, 0x08 /* Private */,
      18,    0,  113,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void, QMetaType::QString,   13,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      19, 0x80000000 | 20, 0x0049510b,
      21, QMetaType::Bool, 0x00495103,
      22, QMetaType::Bool, 0x00495103,
      23, QMetaType::Bool, 0x00495103,
      24, 0x80000000 | 25, 0x0049510b,
      26, QMetaType::QObjectStar, 0x00495103,
      27, QMetaType::Bool, 0x00495001,
      28, 0x80000000 | 29, 0x0049510b,
      30, 0x80000000 | 31, 0x0049510b,
      32, QMetaType::Double, 0x00495001,

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

 // enums: name, flags, count, data
      31, 0x0,    3,  158,

 // enum data: key, value
      33, uint(Marble::Tracking::None),
      34, uint(Marble::Tracking::Circle),
      35, uint(Marble::Tracking::Arrow),

       0        // eod
};

void Marble::Tracking::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        Tracking *_t = static_cast<Tracking *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->mapChanged(); break;
        case 1: _t->showTrackChanged(); break;
        case 2: _t->positionSourceChanged(); break;
        case 3: _t->positionMarkerChanged(); break;
        case 4: _t->hasLastKnownPositionChanged(); break;
        case 5: _t->lastKnownPositionChanged(); break;
        case 6: _t->autoCenterChanged(); break;
        case 7: _t->autoZoomChanged(); break;
        case 8: _t->positionMarkerTypeChanged(); break;
        case 9: _t->distanceChanged(); break;
        case 10: _t->saveTrack((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 11: _t->openTrack((*reinterpret_cast< const QString(*)>(_a[1]))); break;
        case 12: _t->clearTrack(); break;
        case 13: _t->updatePositionMarker(); break;
        case 14: _t->updateLastKnownPosition(); break;
        case 15: _t->setHasLastKnownPosition(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (Tracking::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Tracking::mapChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (Tracking::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Tracking::showTrackChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (Tracking::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Tracking::positionSourceChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (Tracking::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Tracking::positionMarkerChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (Tracking::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Tracking::hasLastKnownPositionChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (Tracking::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Tracking::lastKnownPositionChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (Tracking::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Tracking::autoCenterChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (Tracking::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Tracking::autoZoomChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (Tracking::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Tracking::positionMarkerTypeChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (Tracking::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&Tracking::distanceChanged)) {
                *result = 9;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 7:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< Coordinate* >(); break;
        case 4:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< PositionSource* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        Tracking *_t = static_cast<Tracking *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< MarbleQuickItem**>(_v) = _t->map(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->showTrack(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->autoCenter(); break;
        case 3: *reinterpret_cast< bool*>(_v) = _t->autoZoom(); break;
        case 4: *reinterpret_cast< PositionSource**>(_v) = _t->positionSource(); break;
        case 5: *reinterpret_cast< QObject**>(_v) = _t->positionMarker(); break;
        case 6: *reinterpret_cast< bool*>(_v) = _t->hasLastKnownPosition(); break;
        case 7: *reinterpret_cast< Coordinate**>(_v) = _t->lastKnownPosition(); break;
        case 8: *reinterpret_cast< PositionMarkerType*>(_v) = _t->positionMarkerType(); break;
        case 9: *reinterpret_cast< double*>(_v) = _t->distance(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        Tracking *_t = static_cast<Tracking *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setMap(*reinterpret_cast< MarbleQuickItem**>(_v)); break;
        case 1: _t->setShowTrack(*reinterpret_cast< bool*>(_v)); break;
        case 2: _t->setAutoCenter(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setAutoZoom(*reinterpret_cast< bool*>(_v)); break;
        case 4: _t->setPositionSource(*reinterpret_cast< PositionSource**>(_v)); break;
        case 5: _t->setPositionMarker(*reinterpret_cast< QObject**>(_v)); break;
        case 7: _t->setLastKnownPosition(*reinterpret_cast< Coordinate**>(_v)); break;
        case 8: _t->setPositionMarkerType(*reinterpret_cast< PositionMarkerType*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject Marble::Tracking::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__Tracking.data,
      qt_meta_data_Marble__Tracking,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Marble::Tracking::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 < 16)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 16;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 16)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 16;
    }
#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 -= 10;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 10;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

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

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

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

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

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

// SIGNAL 5
void Marble::Tracking::lastKnownPositionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, Q_NULLPTR);
}

// SIGNAL 6
void Marble::Tracking::autoCenterChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, Q_NULLPTR);
}

// SIGNAL 7
void Marble::Tracking::autoZoomChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, Q_NULLPTR);
}

// SIGNAL 8
void Marble::Tracking::positionMarkerTypeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, Q_NULLPTR);
}

// SIGNAL 9
void Marble::Tracking::distanceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 9, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
