/****************************************************************************
** Meta object code from reading C++ file 'kineticmodel.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/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.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_KineticModel_t {
    QByteArrayData data[19];
    char stringdata0[168];
};
#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, 8), // "finished"
QT_MOC_LITERAL(6, 47, 11), // "setDuration"
QT_MOC_LITERAL(7, 59, 2), // "ms"
QT_MOC_LITERAL(8, 62, 11), // "setPosition"
QT_MOC_LITERAL(9, 74, 8), // "position"
QT_MOC_LITERAL(10, 83, 4), // "posX"
QT_MOC_LITERAL(11, 88, 4), // "posY"
QT_MOC_LITERAL(12, 93, 14), // "jumpToPosition"
QT_MOC_LITERAL(13, 108, 17), // "setUpdateInterval"
QT_MOC_LITERAL(14, 126, 4), // "stop"
QT_MOC_LITERAL(15, 131, 5), // "start"
QT_MOC_LITERAL(16, 137, 6), // "update"
QT_MOC_LITERAL(17, 144, 8), // "duration"
QT_MOC_LITERAL(18, 153, 14) // "updateInterval"

    },
    "KineticModel\0positionChanged\0\0lon\0lat\0"
    "finished\0setDuration\0ms\0setPosition\0"
    "position\0posX\0posY\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
      11,   14, // methods
       3,  100, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       2,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    2,   69,    2, 0x06 /* Public */,
       5,    0,   74,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       6,    1,   75,    2, 0x0a /* Public */,
       8,    1,   78,    2, 0x0a /* Public */,
       8,    2,   81,    2, 0x0a /* Public */,
      12,    1,   86,    2, 0x0a /* Public */,
      12,    2,   89,    2, 0x0a /* Public */,
      13,    1,   94,    2, 0x0a /* Public */,
      14,    0,   97,    2, 0x0a /* Public */,
      15,    0,   98,    2, 0x0a /* Public */,
      16,    0,   99,    2, 0x08 /* Private */,

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

 // slots: parameters
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void, QMetaType::QPointF,    9,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal,   10,   11,
    QMetaType::Void, QMetaType::QPointF,    9,
    QMetaType::Void, QMetaType::QReal, QMetaType::QReal,   10,   11,
    QMetaType::Void, QMetaType::Int,    7,
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void,

 // properties: name, type, flags
      17, QMetaType::Int, 0x00095103,
       9, QMetaType::QPointF, 0x00495001,
      18, 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->finished(); break;
        case 2: _t->setDuration((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->setPosition((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 4: _t->setPosition((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 5: _t->jumpToPosition((*reinterpret_cast< const QPointF(*)>(_a[1]))); break;
        case 6: _t->jumpToPosition((*reinterpret_cast< qreal(*)>(_a[1])),(*reinterpret_cast< qreal(*)>(_a[2]))); break;
        case 7: _t->setUpdateInterval((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 8: _t->stop(); break;
        case 9: _t->start(); break;
        case 10: _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)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&KineticModel::finished)) {
                *result = 1;
                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, Q_NULLPTR, Q_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 Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_KineticModel.stringdata0))
        return static_cast<void*>(const_cast< KineticModel*>(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 < 11)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 11;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 11)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 11;
    }
#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[] = { Q_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::finished()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
