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

#include "../../../../src/marble-17.08.3/src/lib/marble/kineticmodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'kineticmodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.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
QT_WARNING_PUSH
QT_WARNING_DISABLE_DEPRECATED
struct qt_meta_stringdata_KineticModel_t {
    QByteArrayData data[22];
    char stringdata0[202];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_KineticModel_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_KineticModel_t qt_meta_stringdata_KineticModel = {
    {
QT_MOC_LITERAL(0, 0, 12), // "KineticModel"
QT_MOC_LITERAL(1, 13, 15), // "positionChanged"
QT_MOC_LITERAL(2, 29, 0), // ""
QT_MOC_LITERAL(3, 30, 3), // "lon"
QT_MOC_LITERAL(4, 34, 3), // "lat"
QT_MOC_LITERAL(5, 38, 14), // "headingChanged"
QT_MOC_LITERAL(6, 53, 7), // "heading"
QT_MOC_LITERAL(7, 61, 8), // "finished"
QT_MOC_LITERAL(8, 70, 11), // "setDuration"
QT_MOC_LITERAL(9, 82, 2), // "ms"
QT_MOC_LITERAL(10, 85, 11), // "setPosition"
QT_MOC_LITERAL(11, 97, 8), // "position"
QT_MOC_LITERAL(12, 106, 4), // "posX"
QT_MOC_LITERAL(13, 111, 4), // "posY"
QT_MOC_LITERAL(14, 116, 10), // "setHeading"
QT_MOC_LITERAL(15, 127, 14), // "jumpToPosition"
QT_MOC_LITERAL(16, 142, 17), // "setUpdateInterval"
QT_MOC_LITERAL(17, 160, 4), // "stop"
QT_MOC_LITERAL(18, 165, 5), // "start"
QT_MOC_LITERAL(19, 171, 6), // "update"
QT_MOC_LITERAL(20, 178, 8), // "duration"
QT_MOC_LITERAL(21, 187, 14) // "updateInterval"

    },
    "KineticModel\0positionChanged\0\0lon\0lat\0"
    "headingChanged\0heading\0finished\0"
    "setDuration\0ms\0setPosition\0position\0"
    "posX\0posY\0setHeading\0jumpToPosition\0"
    "setUpdateInterval\0stop\0start\0update\0"
    "duration\0updateInterval"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_KineticModel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      13,   14, // methods
       3,  116, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       3,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    2,   79,    2, 0x06 /* Public */,
       5,    1,   84,    2, 0x06 /* Public */,
       7,    0,   87,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    1,   88,    2, 0x0a /* Public */,
      10,    1,   91,    2, 0x0a /* Public */,
      10,    2,   94,    2, 0x0a /* Public */,
      14,    1,   99,    2, 0x0a /* Public */,
      15,    1,  102,    2, 0x0a /* Public */,
      15,    2,  105,    2, 0x0a /* Public */,
      16,    1,  110,    2, 0x0a /* Public */,
      17,    0,  113,    2, 0x0a /* Public */,
      18,    0,  114,    2, 0x0a /* Public */,
      19,    0,  115,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal,    3,    4,
    QMetaType::Void, QMetaType::QReal,    6,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void, QMetaType::QPointF,   11,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal,   12,   13,
    QMetaType::Void, QMetaType::QReal,    6,
    QMetaType::Void, QMetaType::QPointF,   11,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal,   12,   13,
    QMetaType::Void, QMetaType::Int,    9,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      20, QMetaType::Int, 0x00095103,
      11, QMetaType::QPointF, 0x00495001,
      21, QMetaType::Int, 0x00095103,

 // properties: notify_signal_id
       0,
       0,
       0,

       0        // eod
};

void KineticModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        KineticModel *_t = static_cast<KineticModel *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->positionChanged((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 1: _t->headingChanged((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 2: _t->finished(); break;
        case 3: _t->setDuration((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 4: _t->setPosition((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 5: _t->setPosition((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 6: _t->setHeading((*reinterpret_cast< qreal(*)>(_a[1]))); break;
        case 7: _t->jumpToPosition((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 8: _t->jumpToPosition((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 9: _t->setUpdateInterval((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 10: _t->stop(); break;
        case 11: _t->start(); break;
        case 12: _t->update(); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (KineticModel::*_t)(qreal , qreal );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KineticModel::positionChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (KineticModel::*_t)(qreal );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KineticModel::headingChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (KineticModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KineticModel::finished)) {
                *result = 2;
                return;
            }
        }
    }
#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        KineticModel *_t = static_cast<KineticModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< int*>(_v) = _t->duration(); break;
        case 1: *reinterpret_cast< QPointF*>(_v) = _t->position(); break;
        case 2: *reinterpret_cast< int*>(_v) = _t->updateInterval(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        KineticModel *_t = static_cast<KineticModel *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: _t->setDuration(*reinterpret_cast< int*>(_v)); break;
        case 2: _t->setUpdateInterval(*reinterpret_cast< int*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject KineticModel::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_KineticModel.data,
      qt_meta_data_KineticModel,  qt_static_metacall, nullptr, nullptr}
};


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

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

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

// SIGNAL 0
void KineticModel::positionChanged(qreal _t1, qreal _t2)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)), const_cast<void*>(reinterpret_cast<const void*>(&_t2)) };
    QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void KineticModel::headingChanged(qreal _t1)
{
    void *_a[] = { nullptr, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void KineticModel::finished()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
