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

#include "../../../../../src/qtlocation-opensource-src-5.9.4/src/imports/positioning/qdeclarativepositionsource_p.h"
#include <QtCore/qbytearray.h>
#include <QtCore/qmetatype.h>
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'qdeclarativepositionsource_p.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 67
#error "This file was generated using the moc from 5.9.4. 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_QDeclarativePositionSource_t {
    QByteArrayData data[46];
    char stringdata0[779];
};
#define QT_MOC_LITERAL(idx, ofs, len) \
    Q_STATIC_BYTE_ARRAY_DATA_HEADER_INITIALIZER_WITH_OFFSET(len, \
    qptrdiff(offsetof(qt_meta_stringdata_QDeclarativePositionSource_t, stringdata0) + ofs \
        - idx * sizeof(QByteArrayData)) \
    )
static const qt_meta_stringdata_QDeclarativePositionSource_t qt_meta_stringdata_QDeclarativePositionSource = {
    {
QT_MOC_LITERAL(0, 0, 26), // "QDeclarativePositionSource"
QT_MOC_LITERAL(1, 27, 15), // "positionChanged"
QT_MOC_LITERAL(2, 43, 0), // ""
QT_MOC_LITERAL(3, 44, 13), // "activeChanged"
QT_MOC_LITERAL(4, 58, 17), // "nmeaSourceChanged"
QT_MOC_LITERAL(5, 76, 21), // "updateIntervalChanged"
QT_MOC_LITERAL(6, 98, 34), // "supportedPositioningMethodsCh..."
QT_MOC_LITERAL(7, 133, 34), // "preferredPositioningMethodsCh..."
QT_MOC_LITERAL(8, 168, 18), // "sourceErrorChanged"
QT_MOC_LITERAL(9, 187, 11), // "nameChanged"
QT_MOC_LITERAL(10, 199, 15), // "validityChanged"
QT_MOC_LITERAL(11, 215, 13), // "updateTimeout"
QT_MOC_LITERAL(12, 229, 6), // "update"
QT_MOC_LITERAL(13, 236, 5), // "start"
QT_MOC_LITERAL(14, 242, 4), // "stop"
QT_MOC_LITERAL(15, 247, 22), // "positionUpdateReceived"
QT_MOC_LITERAL(16, 270, 16), // "QGeoPositionInfo"
QT_MOC_LITERAL(17, 287, 19), // "sourceErrorReceived"
QT_MOC_LITERAL(18, 307, 29), // "QGeoPositionInfoSource::Error"
QT_MOC_LITERAL(19, 337, 5), // "error"
QT_MOC_LITERAL(20, 343, 15), // "socketConnected"
QT_MOC_LITERAL(21, 359, 11), // "socketError"
QT_MOC_LITERAL(22, 371, 28), // "QAbstractSocket::SocketError"
QT_MOC_LITERAL(23, 400, 21), // "updateTimeoutReceived"
QT_MOC_LITERAL(24, 422, 8), // "position"
QT_MOC_LITERAL(25, 431, 21), // "QDeclarativePosition*"
QT_MOC_LITERAL(26, 453, 6), // "active"
QT_MOC_LITERAL(27, 460, 5), // "valid"
QT_MOC_LITERAL(28, 466, 10), // "nmeaSource"
QT_MOC_LITERAL(29, 477, 14), // "updateInterval"
QT_MOC_LITERAL(30, 492, 27), // "supportedPositioningMethods"
QT_MOC_LITERAL(31, 520, 18), // "PositioningMethods"
QT_MOC_LITERAL(32, 539, 27), // "preferredPositioningMethods"
QT_MOC_LITERAL(33, 567, 11), // "sourceError"
QT_MOC_LITERAL(34, 579, 11), // "SourceError"
QT_MOC_LITERAL(35, 591, 4), // "name"
QT_MOC_LITERAL(36, 596, 17), // "PositioningMethod"
QT_MOC_LITERAL(37, 614, 20), // "NoPositioningMethods"
QT_MOC_LITERAL(38, 635, 27), // "SatellitePositioningMethods"
QT_MOC_LITERAL(39, 663, 30), // "NonSatellitePositioningMethods"
QT_MOC_LITERAL(40, 694, 21), // "AllPositioningMethods"
QT_MOC_LITERAL(41, 716, 11), // "AccessError"
QT_MOC_LITERAL(42, 728, 11), // "ClosedError"
QT_MOC_LITERAL(43, 740, 18), // "UnknownSourceError"
QT_MOC_LITERAL(44, 759, 7), // "NoError"
QT_MOC_LITERAL(45, 767, 11) // "SocketError"

    },
    "QDeclarativePositionSource\0positionChanged\0"
    "\0activeChanged\0nmeaSourceChanged\0"
    "updateIntervalChanged\0"
    "supportedPositioningMethodsChanged\0"
    "preferredPositioningMethodsChanged\0"
    "sourceErrorChanged\0nameChanged\0"
    "validityChanged\0updateTimeout\0update\0"
    "start\0stop\0positionUpdateReceived\0"
    "QGeoPositionInfo\0sourceErrorReceived\0"
    "QGeoPositionInfoSource::Error\0error\0"
    "socketConnected\0socketError\0"
    "QAbstractSocket::SocketError\0"
    "updateTimeoutReceived\0position\0"
    "QDeclarativePosition*\0active\0valid\0"
    "nmeaSource\0updateInterval\0"
    "supportedPositioningMethods\0"
    "PositioningMethods\0preferredPositioningMethods\0"
    "sourceError\0SourceError\0name\0"
    "PositioningMethod\0NoPositioningMethods\0"
    "SatellitePositioningMethods\0"
    "NonSatellitePositioningMethods\0"
    "AllPositioningMethods\0AccessError\0"
    "ClosedError\0UnknownSourceError\0NoError\0"
    "SocketError"
};
#undef QT_MOC_LITERAL

static const uint qt_meta_data_QDeclarativePositionSource[] = {

 // content:
       7,       // revision
       0,       // classname
       0,    0, // classinfo
      18,   14, // methods
       9,  128, // properties
       3,  164, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // signals: name, argc, parameters, tag, flags
       1,    0,  104,    2, 0x06 /* Public */,
       3,    0,  105,    2, 0x06 /* Public */,
       4,    0,  106,    2, 0x06 /* Public */,
       5,    0,  107,    2, 0x06 /* Public */,
       6,    0,  108,    2, 0x06 /* Public */,
       7,    0,  109,    2, 0x06 /* Public */,
       8,    0,  110,    2, 0x06 /* Public */,
       9,    0,  111,    2, 0x06 /* Public */,
      10,    0,  112,    2, 0x06 /* Public */,
      11,    0,  113,    2, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      12,    0,  114,    2, 0x0a /* Public */,
      13,    0,  115,    2, 0x0a /* Public */,
      14,    0,  116,    2, 0x0a /* Public */,
      15,    1,  117,    2, 0x08 /* Private */,
      17,    1,  120,    2, 0x08 /* Private */,
      20,    0,  123,    2, 0x08 /* Private */,
      21,    1,  124,    2, 0x08 /* Private */,
      23,    0,  127,    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::Void,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 16,   12,
    QMetaType::Void, 0x80000000 | 18,   19,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 22,   19,
    QMetaType::Void,

 // properties: name, type, flags
      24, 0x80000000 | 25, 0x00495009,
      26, QMetaType::Bool, 0x00495103,
      27, QMetaType::Bool, 0x00495001,
      28, QMetaType::QUrl, 0x00495103,
      29, QMetaType::Int, 0x00495103,
      30, 0x80000000 | 31, 0x00495009,
      32, 0x80000000 | 31, 0x0049510b,
      33, 0x80000000 | 34, 0x00495009,
      35, QMetaType::QString, 0x00495103,

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

 // enums: name, flags, count, data
      36, 0x0,    4,  176,
      31, 0x1,    4,  184,
      34, 0x0,    5,  192,

 // enum data: key, value
      37, uint(QDeclarativePositionSource::NoPositioningMethods),
      38, uint(QDeclarativePositionSource::SatellitePositioningMethods),
      39, uint(QDeclarativePositionSource::NonSatellitePositioningMethods),
      40, uint(QDeclarativePositionSource::AllPositioningMethods),
      37, uint(QDeclarativePositionSource::NoPositioningMethods),
      38, uint(QDeclarativePositionSource::SatellitePositioningMethods),
      39, uint(QDeclarativePositionSource::NonSatellitePositioningMethods),
      40, uint(QDeclarativePositionSource::AllPositioningMethods),
      41, uint(QDeclarativePositionSource::AccessError),
      42, uint(QDeclarativePositionSource::ClosedError),
      43, uint(QDeclarativePositionSource::UnknownSourceError),
      44, uint(QDeclarativePositionSource::NoError),
      45, uint(QDeclarativePositionSource::SocketError),

       0        // eod
};

void QDeclarativePositionSource::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        QDeclarativePositionSource *_t = static_cast<QDeclarativePositionSource *>(_o);
        Q_UNUSED(_t)
        switch (_id) {
        case 0: _t->positionChanged(); break;
        case 1: _t->activeChanged(); break;
        case 2: _t->nmeaSourceChanged(); break;
        case 3: _t->updateIntervalChanged(); break;
        case 4: _t->supportedPositioningMethodsChanged(); break;
        case 5: _t->preferredPositioningMethodsChanged(); break;
        case 6: _t->sourceErrorChanged(); break;
        case 7: _t->nameChanged(); break;
        case 8: _t->validityChanged(); break;
        case 9: _t->updateTimeout(); break;
        case 10: _t->update(); break;
        case 11: _t->start(); break;
        case 12: _t->stop(); break;
        case 13: _t->positionUpdateReceived((*reinterpret_cast< const QGeoPositionInfo(*)>(_a[1]))); break;
        case 14: _t->sourceErrorReceived((*reinterpret_cast< const QGeoPositionInfoSource::Error(*)>(_a[1]))); break;
        case 15: _t->socketConnected(); break;
        case 16: _t->socketError((*reinterpret_cast< QAbstractSocket::SocketError(*)>(_a[1]))); break;
        case 17: _t->updateTimeoutReceived(); break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 16:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QAbstractSocket::SocketError >(); break;
            }
            break;
        }
    } else if (_c == QMetaObject::IndexOfMethod) {
        int *result = reinterpret_cast<int *>(_a[0]);
        {
            typedef void (QDeclarativePositionSource::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::positionChanged)) {
                *result = 0;
                return;
            }
        }
        {
            typedef void (QDeclarativePositionSource::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::activeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            typedef void (QDeclarativePositionSource::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::nmeaSourceChanged)) {
                *result = 2;
                return;
            }
        }
        {
            typedef void (QDeclarativePositionSource::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::updateIntervalChanged)) {
                *result = 3;
                return;
            }
        }
        {
            typedef void (QDeclarativePositionSource::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::supportedPositioningMethodsChanged)) {
                *result = 4;
                return;
            }
        }
        {
            typedef void (QDeclarativePositionSource::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::preferredPositioningMethodsChanged)) {
                *result = 5;
                return;
            }
        }
        {
            typedef void (QDeclarativePositionSource::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::sourceErrorChanged)) {
                *result = 6;
                return;
            }
        }
        {
            typedef void (QDeclarativePositionSource::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::nameChanged)) {
                *result = 7;
                return;
            }
        }
        {
            typedef void (QDeclarativePositionSource::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::validityChanged)) {
                *result = 8;
                return;
            }
        }
        {
            typedef void (QDeclarativePositionSource::*_t)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::updateTimeout)) {
                *result = 9;
                return;
            }
        }
    } else if (_c == QMetaObject::RegisterPropertyMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 0:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QDeclarativePosition* >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        QDeclarativePositionSource *_t = static_cast<QDeclarativePositionSource *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 0: *reinterpret_cast< QDeclarativePosition**>(_v) = _t->position(); break;
        case 1: *reinterpret_cast< bool*>(_v) = _t->isActive(); break;
        case 2: *reinterpret_cast< bool*>(_v) = _t->isValid(); break;
        case 3: *reinterpret_cast< QUrl*>(_v) = _t->nmeaSource(); break;
        case 4: *reinterpret_cast< int*>(_v) = _t->updateInterval(); break;
        case 5: *reinterpret_cast<int*>(_v) = QFlag(_t->supportedPositioningMethods()); break;
        case 6: *reinterpret_cast<int*>(_v) = QFlag(_t->preferredPositioningMethods()); break;
        case 7: *reinterpret_cast< SourceError*>(_v) = _t->sourceError(); break;
        case 8: *reinterpret_cast< QString*>(_v) = _t->name(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        QDeclarativePositionSource *_t = static_cast<QDeclarativePositionSource *>(_o);
        Q_UNUSED(_t)
        void *_v = _a[0];
        switch (_id) {
        case 1: _t->setActive(*reinterpret_cast< bool*>(_v)); break;
        case 3: _t->setNmeaSource(*reinterpret_cast< QUrl*>(_v)); break;
        case 4: _t->setUpdateInterval(*reinterpret_cast< int*>(_v)); break;
        case 6: _t->setPreferredPositioningMethods(QFlag(*reinterpret_cast<int*>(_v))); break;
        case 8: _t->setName(*reinterpret_cast< QString*>(_v)); break;
        default: break;
        }
    } else if (_c == QMetaObject::ResetProperty) {
    }
#endif // QT_NO_PROPERTIES
}

const QMetaObject QDeclarativePositionSource::staticMetaObject = {
    { &QObject::staticMetaObject, qt_meta_stringdata_QDeclarativePositionSource.data,
      qt_meta_data_QDeclarativePositionSource,  qt_static_metacall, nullptr, nullptr}
};


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

void *QDeclarativePositionSource::qt_metacast(const char *_clname)
{
    if (!_clname) return nullptr;
    if (!strcmp(_clname, qt_meta_stringdata_QDeclarativePositionSource.stringdata0))
        return static_cast<void*>(this);
    if (!strcmp(_clname, "QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    if (!strcmp(_clname, "org.qt-project.Qt.QQmlParserStatus"))
        return static_cast< QQmlParserStatus*>(this);
    return QObject::qt_metacast(_clname);
}

int QDeclarativePositionSource::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 < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 18)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 18;
    }
#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 -= 9;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 9;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 9;
    }
#endif // QT_NO_PROPERTIES
    return _id;
}

// SIGNAL 0
void QDeclarativePositionSource::positionChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 0, nullptr);
}

// SIGNAL 1
void QDeclarativePositionSource::activeChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 1, nullptr);
}

// SIGNAL 2
void QDeclarativePositionSource::nmeaSourceChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 2, nullptr);
}

// SIGNAL 3
void QDeclarativePositionSource::updateIntervalChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 3, nullptr);
}

// SIGNAL 4
void QDeclarativePositionSource::supportedPositioningMethodsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 4, nullptr);
}

// SIGNAL 5
void QDeclarativePositionSource::preferredPositioningMethodsChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 5, nullptr);
}

// SIGNAL 6
void QDeclarativePositionSource::sourceErrorChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 6, nullptr);
}

// SIGNAL 7
void QDeclarativePositionSource::nameChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 7, nullptr);
}

// SIGNAL 8
void QDeclarativePositionSource::validityChanged()
{
    QMetaObject::activate(this, &staticMetaObject, 8, nullptr);
}

// SIGNAL 9
void QDeclarativePositionSource::updateTimeout()
{
    QMetaObject::activate(this, &staticMetaObject, 9, nullptr);
}
QT_WARNING_POP
QT_END_MOC_NAMESPACE
