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

#include <memory>
#include "../../../../git/src/positioningquick/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.15.13. 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[53];
    char stringdata0[916];
};
#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), // "DefaultProperty"
QT_MOC_LITERAL(2, 43, 10), // "parameters"
QT_MOC_LITERAL(3, 54, 15), // "positionChanged"
QT_MOC_LITERAL(4, 70, 0), // ""
QT_MOC_LITERAL(5, 71, 13), // "activeChanged"
QT_MOC_LITERAL(6, 85, 17), // "nmeaSourceChanged"
QT_MOC_LITERAL(7, 103, 21), // "updateIntervalChanged"
QT_MOC_LITERAL(8, 125, 34), // "supportedPositioningMethodsCh..."
QT_MOC_LITERAL(9, 160, 34), // "preferredPositioningMethodsCh..."
QT_MOC_LITERAL(10, 195, 18), // "sourceErrorChanged"
QT_MOC_LITERAL(11, 214, 11), // "nameChanged"
QT_MOC_LITERAL(12, 226, 15), // "validityChanged"
QT_MOC_LITERAL(13, 242, 13), // "updateTimeout"
QT_MOC_LITERAL(14, 256, 6), // "update"
QT_MOC_LITERAL(15, 263, 5), // "start"
QT_MOC_LITERAL(16, 269, 4), // "stop"
QT_MOC_LITERAL(17, 274, 22), // "positionUpdateReceived"
QT_MOC_LITERAL(18, 297, 16), // "QGeoPositionInfo"
QT_MOC_LITERAL(19, 314, 19), // "sourceErrorReceived"
QT_MOC_LITERAL(20, 334, 29), // "QGeoPositionInfoSource::Error"
QT_MOC_LITERAL(21, 364, 5), // "error"
QT_MOC_LITERAL(22, 370, 15), // "socketConnected"
QT_MOC_LITERAL(23, 386, 11), // "socketError"
QT_MOC_LITERAL(24, 398, 28), // "QAbstractSocket::SocketError"
QT_MOC_LITERAL(25, 427, 21), // "updateTimeoutReceived"
QT_MOC_LITERAL(26, 449, 22), // "onParameterInitialized"
QT_MOC_LITERAL(27, 472, 18), // "setBackendProperty"
QT_MOC_LITERAL(28, 491, 4), // "name"
QT_MOC_LITERAL(29, 496, 5), // "value"
QT_MOC_LITERAL(30, 502, 15), // "backendProperty"
QT_MOC_LITERAL(31, 518, 8), // "position"
QT_MOC_LITERAL(32, 527, 21), // "QDeclarativePosition*"
QT_MOC_LITERAL(33, 549, 6), // "active"
QT_MOC_LITERAL(34, 556, 5), // "valid"
QT_MOC_LITERAL(35, 562, 10), // "nmeaSource"
QT_MOC_LITERAL(36, 573, 14), // "updateInterval"
QT_MOC_LITERAL(37, 588, 27), // "supportedPositioningMethods"
QT_MOC_LITERAL(38, 616, 18), // "PositioningMethods"
QT_MOC_LITERAL(39, 635, 27), // "preferredPositioningMethods"
QT_MOC_LITERAL(40, 663, 11), // "sourceError"
QT_MOC_LITERAL(41, 675, 11), // "SourceError"
QT_MOC_LITERAL(42, 687, 45), // "QQmlListProperty<QDeclarative..."
QT_MOC_LITERAL(43, 733, 17), // "PositioningMethod"
QT_MOC_LITERAL(44, 751, 20), // "NoPositioningMethods"
QT_MOC_LITERAL(45, 772, 27), // "SatellitePositioningMethods"
QT_MOC_LITERAL(46, 800, 30), // "NonSatellitePositioningMethods"
QT_MOC_LITERAL(47, 831, 21), // "AllPositioningMethods"
QT_MOC_LITERAL(48, 853, 11), // "AccessError"
QT_MOC_LITERAL(49, 865, 11), // "ClosedError"
QT_MOC_LITERAL(50, 877, 18), // "UnknownSourceError"
QT_MOC_LITERAL(51, 896, 7), // "NoError"
QT_MOC_LITERAL(52, 904, 11) // "SocketError"

    },
    "QDeclarativePositionSource\0DefaultProperty\0"
    "parameters\0positionChanged\0\0activeChanged\0"
    "nmeaSourceChanged\0updateIntervalChanged\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\0onParameterInitialized\0"
    "setBackendProperty\0name\0value\0"
    "backendProperty\0position\0QDeclarativePosition*\0"
    "active\0valid\0nmeaSource\0updateInterval\0"
    "supportedPositioningMethods\0"
    "PositioningMethods\0preferredPositioningMethods\0"
    "sourceError\0SourceError\0"
    "QQmlListProperty<QDeclarativePluginParameter>\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:
       8,       // revision
       0,       // classname
       1,   14, // classinfo
      21,   16, // methods
      10,  175, // properties
       3,  225, // enums/sets
       0,    0, // constructors
       0,       // flags
      10,       // signalCount

 // classinfo: key, value
       1,    2,

 // signals: name, argc, parameters, tag, flags
       3,    0,  142,    4, 0x06 /* Public */,
       5,    0,  143,    4, 0x06 /* Public */,
       6,    0,  144,    4, 0x06 /* Public */,
       7,    0,  145,    4, 0x06 /* Public */,
       8,    0,  146,    4, 0x06 /* Public */,
       9,    0,  147,    4, 0x06 /* Public */,
      10,    0,  148,    4, 0x06 /* Public */,
      11,    0,  149,    4, 0x06 /* Public */,
      12,    0,  150,    4, 0x06 /* Public */,
      13,    0,  151,    4, 0x06 /* Public */,

 // slots: name, argc, parameters, tag, flags
      14,    0,  152,    4, 0x0a /* Public */,
      15,    0,  153,    4, 0x0a /* Public */,
      16,    0,  154,    4, 0x0a /* Public */,
      17,    1,  155,    4, 0x08 /* Private */,
      19,    1,  158,    4, 0x08 /* Private */,
      22,    0,  161,    4, 0x08 /* Private */,
      23,    1,  162,    4, 0x08 /* Private */,
      25,    0,  165,    4, 0x08 /* Private */,
      26,    0,  166,    4, 0x08 /* Private */,

 // methods: name, argc, parameters, tag, flags
      27,    2,  167,    4, 0x82 /* Public | MethodRevisioned */,
      30,    1,  172,    4, 0x82 /* Public | MethodRevisioned */,

 // signals: revision
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,

 // slots: revision
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,

 // methods: revision
      14,
      14,

 // 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 | 18,   14,
    QMetaType::Void, 0x80000000 | 20,   21,
    QMetaType::Void,
    QMetaType::Void, 0x80000000 | 24,   21,
    QMetaType::Void,
    QMetaType::Void,

 // methods: parameters
    QMetaType::Bool, QMetaType::QString, QMetaType::QVariant,   28,   29,
    QMetaType::QVariant, QMetaType::QString,   28,

 // properties: name, type, flags
      31, 0x80000000 | 32, 0x00495009,
      33, QMetaType::Bool, 0x00495103,
      34, QMetaType::Bool, 0x00495001,
      35, QMetaType::QUrl, 0x00495103,
      36, QMetaType::Int, 0x00495103,
      37, 0x80000000 | 38, 0x00495009,
      39, 0x80000000 | 38, 0x0049510b,
      40, 0x80000000 | 41, 0x00495009,
      28, QMetaType::QString, 0x00495103,
       2, 0x80000000 | 42, 0x00895009,

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

 // properties: revision
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
       0,
      14,

 // enums: name, alias, flags, count, data
      43,   43, 0x0,    4,  240,
      38,   43, 0x1,    4,  248,
      41,   41, 0x0,    5,  256,

 // enum data: key, value
      44, uint(QDeclarativePositionSource::NoPositioningMethods),
      45, uint(QDeclarativePositionSource::SatellitePositioningMethods),
      46, uint(QDeclarativePositionSource::NonSatellitePositioningMethods),
      47, uint(QDeclarativePositionSource::AllPositioningMethods),
      44, uint(QDeclarativePositionSource::NoPositioningMethods),
      45, uint(QDeclarativePositionSource::SatellitePositioningMethods),
      46, uint(QDeclarativePositionSource::NonSatellitePositioningMethods),
      47, uint(QDeclarativePositionSource::AllPositioningMethods),
      48, uint(QDeclarativePositionSource::AccessError),
      49, uint(QDeclarativePositionSource::ClosedError),
      50, uint(QDeclarativePositionSource::UnknownSourceError),
      51, uint(QDeclarativePositionSource::NoError),
      52, uint(QDeclarativePositionSource::SocketError),

       0        // eod
};

void QDeclarativePositionSource::qt_static_metacall(QObject *_o, QMetaObject::Call _c, int _id, void **_a)
{
    if (_c == QMetaObject::InvokeMetaMethod) {
        auto *_t = static_cast<QDeclarativePositionSource *>(_o);
        (void)_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;
        case 18: _t->onParameterInitialized(); break;
        case 19: { bool _r = _t->setBackendProperty((*reinterpret_cast< const QString(*)>(_a[1])),(*reinterpret_cast< const QVariant(*)>(_a[2])));
            if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = std::move(_r); }  break;
        case 20: { QVariant _r = _t->backendProperty((*reinterpret_cast< const QString(*)>(_a[1])));
            if (_a[0]) *reinterpret_cast< QVariant*>(_a[0]) = std::move(_r); }  break;
        default: ;
        }
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        switch (_id) {
        default: *reinterpret_cast<int*>(_a[0]) = -1; break;
        case 13:
            switch (*reinterpret_cast<int*>(_a[1])) {
            default: *reinterpret_cast<int*>(_a[0]) = -1; break;
            case 0:
                *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QGeoPositionInfo >(); break;
            }
            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]);
        {
            using _t = void (QDeclarativePositionSource::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::positionChanged)) {
                *result = 0;
                return;
            }
        }
        {
            using _t = void (QDeclarativePositionSource::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::activeChanged)) {
                *result = 1;
                return;
            }
        }
        {
            using _t = void (QDeclarativePositionSource::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::nmeaSourceChanged)) {
                *result = 2;
                return;
            }
        }
        {
            using _t = void (QDeclarativePositionSource::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::updateIntervalChanged)) {
                *result = 3;
                return;
            }
        }
        {
            using _t = void (QDeclarativePositionSource::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::supportedPositioningMethodsChanged)) {
                *result = 4;
                return;
            }
        }
        {
            using _t = void (QDeclarativePositionSource::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::preferredPositioningMethodsChanged)) {
                *result = 5;
                return;
            }
        }
        {
            using _t = void (QDeclarativePositionSource::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::sourceErrorChanged)) {
                *result = 6;
                return;
            }
        }
        {
            using _t = void (QDeclarativePositionSource::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::nameChanged)) {
                *result = 7;
                return;
            }
        }
        {
            using _t = void (QDeclarativePositionSource::*)();
            if (*reinterpret_cast<_t *>(_a[1]) == static_cast<_t>(&QDeclarativePositionSource::validityChanged)) {
                *result = 8;
                return;
            }
        }
        {
            using _t = void (QDeclarativePositionSource::*)();
            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;
        case 9:
            *reinterpret_cast<int*>(_a[0]) = qRegisterMetaType< QQmlListProperty<QDeclarativePluginParameter> >(); break;
        }
    }

#ifndef QT_NO_PROPERTIES
    else if (_c == QMetaObject::ReadProperty) {
        auto *_t = static_cast<QDeclarativePositionSource *>(_o);
        (void)_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;
        case 9: *reinterpret_cast< QQmlListProperty<QDeclarativePluginParameter>*>(_v) = _t->parameters(); break;
        default: break;
        }
    } else if (_c == QMetaObject::WriteProperty) {
        auto *_t = static_cast<QDeclarativePositionSource *>(_o);
        (void)_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
}

QT_INIT_METAOBJECT const QMetaObject QDeclarativePositionSource::staticMetaObject = { {
    QMetaObject::SuperData::link<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 < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    } else if (_c == QMetaObject::RegisterMethodArgumentMetaType) {
        if (_id < 21)
            qt_static_metacall(this, _c, _id, _a);
        _id -= 21;
    }
#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 -= 10;
    } else if (_c == QMetaObject::QueryPropertyDesignable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyScriptable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyStored) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyEditable) {
        _id -= 10;
    } else if (_c == QMetaObject::QueryPropertyUser) {
        _id -= 10;
    }
#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
