/****************************************************************************
** Meta object code from reading C++ file 'ElevationProfileDataSource.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/plugins/render/elevationprofilefloatitem/ElevationProfileDataSource.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QVector>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'ElevationProfileDataSource.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__ElevationProfileDataSource_t {
    QByteArrayData data[9];
    char stringdata0[137];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__ElevationProfileDataSource_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__ElevationProfileDataSource_t qt_meta_stringdata_Marble__ElevationProfileDataSource = {
    {
QT_MOC_LITERAL(0, 0, 34), // "Marble::ElevationProfileDataS..."
QT_MOC_LITERAL(1, 35, 18), // "sourceCountChanged"
QT_MOC_LITERAL(2, 54, 0), // ""
QT_MOC_LITERAL(3, 55, 11), // "dataUpdated"
QT_MOC_LITERAL(4, 67, 17), // "GeoDataLineString"
QT_MOC_LITERAL(5, 85, 6), // "points"
QT_MOC_LITERAL(6, 92, 16), // "QVector<QPointF>"
QT_MOC_LITERAL(7, 109, 13), // "elevationData"
QT_MOC_LITERAL(8, 123, 13) // "requestUpdate"

    },
    "Marble::ElevationProfileDataSource\0"
    "sourceCountChanged\0\0dataUpdated\0"
    "GeoDataLineString\0points\0QVector<QPointF>\0"
    "elevationData\0requestUpdate"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__ElevationProfileDataSource[] = {

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

 // signals: name, argc, parameters, tag, flags
       1,    0,   29,    2, 0x06 /* Public */,
       3,    2,   30,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   35,    2, 0x0a /* Public */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4, 0x80000000 | 6,    5,    7,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void Marble::ElevationProfileDataSource::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ElevationProfileDataSource *_t = static_cast<ElevationProfileDataSource *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->sourceCountChanged(); break;
        case 1: _t->dataUpdated((*reinterpret_cast< const GeoDataLineString(*)>(_a[1])),(*reinterpret_cast< const QVector<QPointF>(*)>(_a[2]))); break;
        case 2: _t->requestUpdate(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 1:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 1:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QVector<QPointF> >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (ElevationProfileDataSource::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ElevationProfileDataSource::sourceCountChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (ElevationProfileDataSource::*_t)(const GeoDataLineString & , const QVector<QPointF> & );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&ElevationProfileDataSource::dataUpdated)) {
                *result = 1;
                return;
            }
        }
    }
}

const QMetaObject Marble::ElevationProfileDataSource::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_Marble__ElevationProfileDataSource.data,
      qt_meta_data_Marble__ElevationProfileDataSource,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Marble::ElevationProfileDataSource::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 < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    }
    return _id;
}

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

// SIGNAL 1
void Marble::ElevationProfileDataSource::dataUpdated(const GeoDataLineString & _t1, const QVector<QPointF> & _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, 1, _a);
}
struct qt_meta_stringdata_Marble__ElevationProfileTrackDataSource_t {
    QByteArrayData data[7];
    char stringdata0[115];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__ElevationProfileTrackDataSource_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__ElevationProfileTrackDataSource_t qt_meta_stringdata_Marble__ElevationProfileTrackDataSource = {
    {
QT_MOC_LITERAL(0, 0, 39), // "Marble::ElevationProfileTrack..."
QT_MOC_LITERAL(1, 40, 13), // "requestUpdate"
QT_MOC_LITERAL(2, 54, 0), // ""
QT_MOC_LITERAL(3, 55, 17), // "handleObjectAdded"
QT_MOC_LITERAL(4, 73, 14), // "GeoDataObject*"
QT_MOC_LITERAL(5, 88, 6), // "object"
QT_MOC_LITERAL(6, 95, 19) // "handleObjectRemoved"

    },
    "Marble::ElevationProfileTrackDataSource\0"
    "requestUpdate\0\0handleObjectAdded\0"
    "GeoDataObject*\0object\0handleObjectRemoved"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__ElevationProfileTrackDataSource[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   29,    2, 0x0a /* Public */,
       3,    1,   30,    2, 0x08 /* Private */,
       6,    1,   33,    2, 0x08 /* Private */,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 4,    5,
    QMetaType::Void, 0x80000000 | 4,    5,

       0        // eod
};

void Marble::ElevationProfileTrackDataSource::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ElevationProfileTrackDataSource *_t = static_cast<ElevationProfileTrackDataSource *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->requestUpdate(); break;
        case 1: _t->handleObjectAdded((*reinterpret_cast< GeoDataObject*(*)>(_a[1]))); break;
        case 2: _t->handleObjectRemoved((*reinterpret_cast< GeoDataObject*(*)>(_a[1]))); break;
        default: ;
        }
    }
}

const QMetaObject Marble::ElevationProfileTrackDataSource::staticMetaObject = {
    { &ElevationProfileDataSource::staticMetaObject, qt_meta_stringdata_Marble__ElevationProfileTrackDataSource.data,
      qt_meta_data_Marble__ElevationProfileTrackDataSource,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Marble::ElevationProfileTrackDataSource::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ElevationProfileDataSource::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 3)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 3;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 3)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 3;
    }
    return _id;
}
struct qt_meta_stringdata_Marble__ElevationProfileRouteDataSource_t {
    QByteArrayData data[3];
    char stringdata0[55];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_Marble__ElevationProfileRouteDataSource_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_Marble__ElevationProfileRouteDataSource_t qt_meta_stringdata_Marble__ElevationProfileRouteDataSource = {
    {
QT_MOC_LITERAL(0, 0, 39), // "Marble::ElevationProfileRoute..."
QT_MOC_LITERAL(1, 40, 13), // "requestUpdate"
QT_MOC_LITERAL(2, 54, 0) // ""

    },
    "Marble::ElevationProfileRouteDataSource\0"
    "requestUpdate\0"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_Marble__ElevationProfileRouteDataSource[] = {

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

 // slots: name, argc, parameters, tag, flags
       1,    0,   19,    2, 0x0a /* Public */,

 // slots: parameters
    QMetaType::Void,

       0        // eod
};

void Marble::ElevationProfileRouteDataSource::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        ElevationProfileRouteDataSource *_t = static_cast<ElevationProfileRouteDataSource *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->requestUpdate(); break;
        default: ;
        }
    }
    Q_UNUSED(_a);
}

const QMetaObject Marble::ElevationProfileRouteDataSource::staticMetaObject = {
    { &ElevationProfileDataSource::staticMetaObject, qt_meta_stringdata_Marble__ElevationProfileRouteDataSource.data,
      qt_meta_data_Marble__ElevationProfileRouteDataSource,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

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

int Marble::ElevationProfileRouteDataSource::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = ElevationProfileDataSource::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 1)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 1;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 1)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 1;
    }
    return _id;
}
QT_END_MOC_NAMESPACE
