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

#include "../../../../../src/qtlocation-opensource-src-5.4.2/examples/positioning/satelliteinfo/satellitemodel.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#include <QtCore/QList>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'satellitemodel.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.4.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_SatelliteModel_t {
    QByteArrayData data[20];
    char stringdata[318];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_SatelliteModel_t, stringdata) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_SatelliteModel_t qt_meta_stringdata_SatelliteModel = {
    {
QT_MOC_LITERAL(0, 0, 14), // "SatelliteModel"
QT_MOC_LITERAL(1, 15, 14), // "runningChanged"
QT_MOC_LITERAL(2, 30, 0), // ""
QT_MOC_LITERAL(3, 31, 17), // "entryCountChanged"
QT_MOC_LITERAL(4, 49, 10), // "errorFound"
QT_MOC_LITERAL(5, 60, 4), // "code"
QT_MOC_LITERAL(6, 65, 30), // "canProvideSatelliteInfoChanged"
QT_MOC_LITERAL(7, 96, 20), // "singleRequestChanged"
QT_MOC_LITERAL(8, 117, 10), // "clearModel"
QT_MOC_LITERAL(9, 128, 14), // "updateDemoData"
QT_MOC_LITERAL(10, 143, 5), // "error"
QT_MOC_LITERAL(11, 149, 30), // "QGeoSatelliteInfoSource::Error"
QT_MOC_LITERAL(12, 180, 23), // "satellitesInViewUpdated"
QT_MOC_LITERAL(13, 204, 24), // "QList<QGeoSatelliteInfo>"
QT_MOC_LITERAL(14, 229, 5), // "infos"
QT_MOC_LITERAL(15, 235, 22), // "satellitesInUseUpdated"
QT_MOC_LITERAL(16, 258, 7), // "running"
QT_MOC_LITERAL(17, 266, 22), // "satelliteInfoAvailable"
QT_MOC_LITERAL(18, 289, 10), // "entryCount"
QT_MOC_LITERAL(19, 300, 17) // "singleRequestMode"

    },
    "SatelliteModel\0runningChanged\0\0"
    "entryCountChanged\0errorFound\0code\0"
    "canProvideSatelliteInfoChanged\0"
    "singleRequestChanged\0clearModel\0"
    "updateDemoData\0error\0"
    "QGeoSatelliteInfoSource::Error\0"
    "satellitesInViewUpdated\0"
    "QList<QGeoSatelliteInfo>\0infos\0"
    "satellitesInUseUpdated\0running\0"
    "satelliteInfoAvailable\0entryCount\0"
    "singleRequestMode"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_SatelliteModel[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      10,   14, // methods
       4,   82, // properties
       0,    0, // enums/sets
       0,    0, // constructors
       0,       // flags
       5,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,   64,    2, 0x06 /* Public */,
       3,    0,   65,    2, 0x06 /* Public */,
       4,    1,   66,    2, 0x06 /* Public */,
       6,    0,   69,    2, 0x06 /* Public */,
       7,    0,   70,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
       8,    0,   71,    2, 0x0a /* Public */,
       9,    0,   72,    2, 0x0a /* Public */,
      10,    1,   73,    2, 0x08 /* Private */,
      12,    1,   76,    2, 0x08 /* Private */,
      15,    1,   79,    2, 0x08 /* Private */,

 // signals: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, QMetaType::Int,    5,
    QMetaType::Void,
    QMetaType::Void,

 // slots: parameters
    QMetaType::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 11,    2,
    QMetaType::Void, 0x80000000 | 13,   14,
    QMetaType::Void, 0x80000000 | 13,   14,

 // properties: name, type, flags
      16, QMetaType::Bool, 0x00495103,
      17, QMetaType::Bool, 0x00495001,
      18, QMetaType::Int, 0x00495001,
      19, QMetaType::Bool, 0x00495003,

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

       0        // eod
};

void SatelliteModel::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        SatelliteModel *_t = static_cast<SatelliteModel *>(_o);
        switch (_id) {
        case 0: _t->runningChanged(); break;
        case 1: _t->entryCountChanged(); break;
        case 2: _t->errorFound((*reinterpret_cast< int(*)>(_a[1]))); break;
        case 3: _t->canProvideSatelliteInfoChanged(); break;
        case 4: _t->singleRequestChanged(); break;
        case 5: _t->clearModel(); break;
        case 6: _t->updateDemoData(); break;
        case 7: _t->error((*reinterpret_cast< QGeoSatelliteInfoSource::Error(*)>(_a[1]))); break;
        case 8: _t->satellitesInViewUpdated((*reinterpret_cast< const QList<QGeoSatelliteInfo>(*)>(_a[1]))); break;
        case 9: _t->satellitesInUseUpdated((*reinterpret_cast< const QList<QGeoSatelliteInfo>(*)>(_a[1]))); break;
        default: ;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        void **func = reinterpret_cast<void **>(_a[1]);
        {
            typedef void (SatelliteModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SatelliteModel::runningChanged)) {
                *result = 0;
            }
        }
        {
            typedef void (SatelliteModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SatelliteModel::entryCountChanged)) {
                *result = 1;
            }
        }
        {
            typedef void (SatelliteModel::*_t)(int );
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SatelliteModel::errorFound)) {
                *result = 2;
            }
        }
        {
            typedef void (SatelliteModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SatelliteModel::canProvideSatelliteInfoChanged)) {
                *result = 3;
            }
        }
        {
            typedef void (SatelliteModel::*_t)();
            if (*reinterpret_cast<_t *>(func) == static_cast<_t>(&SatelliteModel::singleRequestChanged)) {
                *result = 4;
            }
        }
    }
}

const QMetaObject SatelliteModel::staticMetaObject = {
    { &QAbstractListModel::staticMetaObject, qt_meta_stringdata_SatelliteModel.data,
      qt_meta_data_SatelliteModel,  qt_static_metacall, Q_NULLPTR, Q_NULLPTR}
};


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

void *SatelliteModel::qt_metacast(const char *_clname)
{
    if (!_clname) return Q_NULLPTR;
    if (!strcmp(_clname, qt_meta_stringdata_SatelliteModel.stringdata))
        return static_cast<void*>(const_cast< SatelliteModel*>(this));
    if (!strcmp(_clname, "QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(const_cast< SatelliteModel*>(this));
    if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(const_cast< SatelliteModel*>(this));
    return QAbstractListModel::qt_metacast(_clname);
}

int SatelliteModel::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QAbstractListModel::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        if (_id < 10)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 10;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 10)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 10;
    }
#ifndef QT_NO_PROPERTIES
      else if (_c == QMetaObject::ReadProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< bool*>(_v) = running(); break;
        case 1: *reinterpret_cast< bool*>(_v) = canProvideSatelliteInfo(); break;
        case 2: *reinterpret_cast< int*>(_v) = entryCount(); break;
        case 3: *reinterpret_cast< bool*>(_v) = isSingleRequest(); break;
        default: break;
        }
        _id -= 4;
    } else if (_c == QMetaObject::WriteProperty) {
        void *_v = _a[0];
        switch (_id) {
        case 0: setRunning(*reinterpret_cast< bool*>(_v)); break;
        case 3: setSingleRequest(*reinterpret_cast< bool*>(_v)); break;
        default: 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;
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        if (_id < 4)
            *reinterpret_cast<int*>(_a[0]) = -1;
        _id -= 4;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void SatelliteModel::runningChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, Q_NULLPTR);
}

// SIGNAL 1
void SatelliteModel::entryCountChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, Q_NULLPTR);
}

// SIGNAL 2
void SatelliteModel::errorFound(int _t1)
{
    void *_a[] = { Q_NULLPTR, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
    QMetaObject::activate(this, &staticMetaObject, 2, _a);
}

// SIGNAL 3
void SatelliteModel::canProvideSatelliteInfoChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, Q_NULLPTR);
}

// SIGNAL 4
void SatelliteModel::singleRequestChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, Q_NULLPTR);
}
QT_END_MOC_NAMESPACE
