/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.7.0
 *
 * Copyright (c) 2022 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt6.
 * 
 * This file may be used under the terms of the GNU General Public License
 * version 3.0 as published by the Free Software Foundation and appearing in
 * the file LICENSE included in the packaging of this file.  Please review the
 * following information to ensure the GNU General Public License version 3.0
 * requirements will be met: http://www.gnu.org/copyleft/gpl.html.
 * 
 * If you do not wish to use this file under the terms of the GPL version 3.0
 * then you may purchase a commercial license.  For more information contact
 * info@riverbankcomputing.com.
 * 
 * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE
 * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
 */

#include "sipAPIQtPositioning.h"

#line 28 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtPositioning/qgeopositioninfosource.sip"
#include <qgeopositioninfosource.h>
#line 29 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"

#line 28 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 36 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 24 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 39 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtPositioning/qgeopositioninfo.sip"
#include <qgeopositioninfo.h>
#line 42 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 45 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 27 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qpycore_qmap.sip"
#include <qmap.h>
#line 48 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 51 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 151 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 56 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 59 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 62 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 245 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 65 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 232 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 68 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 28 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 71 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 30 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 74 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 135 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 77 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 150 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 82 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 85 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qanystringview.sip"
#include <qanystringview.h>
#line 88 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 25 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qflags.sip"
#include <qglobal.h>
#line 91 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 94 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"
#line 26 "/build/pyqt6/src/PyQt6-6.4.0/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 97 "/build/pyqt6/src/PyQt6-6.4.0/build/QtPositioning/sipQtPositioningQGeoPositionInfoSource.cpp"


class sipQGeoPositionInfoSource : public  ::QGeoPositionInfoSource
{
public:
    sipQGeoPositionInfoSource( ::QObject*);
    virtual ~sipQGeoPositionInfoSource();

    int qt_metacall(QMetaObject::Call, int, void **) SIP_OVERRIDE;
    void *qt_metacast(const char *) SIP_OVERRIDE;
    const QMetaObject *metaObject() const SIP_OVERRIDE;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
     ::QVariant backendProperty(const  ::QString&) const SIP_OVERRIDE;
    bool setBackendProperty(const  ::QString&,const  ::QVariant&) SIP_OVERRIDE;
    void requestUpdate(int) SIP_OVERRIDE;
    void stopUpdates() SIP_OVERRIDE;
    void startUpdates() SIP_OVERRIDE;
     ::QGeoPositionInfoSource::Error error() const SIP_OVERRIDE;
    int minimumUpdateInterval() const SIP_OVERRIDE;
     ::QGeoPositionInfoSource::PositioningMethods supportedPositioningMethods() const SIP_OVERRIDE;
     ::QGeoPositionInfo lastKnownPosition(bool) const SIP_OVERRIDE;
    void setPreferredPositioningMethods( ::QGeoPositionInfoSource::PositioningMethods) SIP_OVERRIDE;
    void setUpdateInterval(int) SIP_OVERRIDE;
    bool event( ::QEvent*) SIP_OVERRIDE;
    bool eventFilter( ::QObject*, ::QEvent*) SIP_OVERRIDE;
    void timerEvent( ::QTimerEvent*) SIP_OVERRIDE;
    void childEvent( ::QChildEvent*) SIP_OVERRIDE;
    void customEvent( ::QEvent*) SIP_OVERRIDE;
    void connectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;
    void disconnectNotify(const  ::QMetaMethod&) SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQGeoPositionInfoSource(const sipQGeoPositionInfoSource &);
    sipQGeoPositionInfoSource &operator = (const sipQGeoPositionInfoSource &);

    char sipPyMethods[18];
};

sipQGeoPositionInfoSource::sipQGeoPositionInfoSource( ::QObject*a0):  ::QGeoPositionInfoSource(a0), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQGeoPositionInfoSource::~sipQGeoPositionInfoSource()
{
    sipInstanceDestroyedEx(&sipPySelf);
}

const QMetaObject *sipQGeoPositionInfoSource::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtPositioning_qt_metaobject(sipPySelf,sipType_QGeoPositionInfoSource);

    return  ::QGeoPositionInfoSource::metaObject();
}

int sipQGeoPositionInfoSource::qt_metacall(QMetaObject::Call _c,int _id,void **_a)
{
    _id =  ::QGeoPositionInfoSource::qt_metacall(_c,_id,_a);

    if (_id >= 0)
    {
        SIP_BLOCK_THREADS
        _id = sip_QtPositioning_qt_metacall(sipPySelf,sipType_QGeoPositionInfoSource,_c,_id,_a);
        SIP_UNBLOCK_THREADS
    }

    return _id;
}

void *sipQGeoPositionInfoSource::qt_metacast(const char *_clname)
{
    void *sipCpp;

    return (sip_QtPositioning_qt_metacast(sipPySelf, sipType_QGeoPositionInfoSource, _clname, &sipCpp) ? sipCpp :  ::QGeoPositionInfoSource::qt_metacast(_clname));
}

 ::QVariant sipQGeoPositionInfoSource::backendProperty(const  ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[0]), const_cast<sipSimpleWrapper **>(&sipPySelf), SIP_NULLPTR, sipName_backendProperty);

    if (!sipMeth)
        return  ::QGeoPositionInfoSource::backendProperty(a0);

    extern  ::QVariant sipVH_QtPositioning_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&);

    return sipVH_QtPositioning_15(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGeoPositionInfoSource::setBackendProperty(const  ::QString& a0,const  ::QVariant& a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[1], &sipPySelf, SIP_NULLPTR, sipName_setBackendProperty);

    if (!sipMeth)
        return  ::QGeoPositionInfoSource::setBackendProperty(a0,a1);

    extern bool sipVH_QtPositioning_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,const  ::QVariant&);

    return sipVH_QtPositioning_14(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGeoPositionInfoSource::requestUpdate(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[2], &sipPySelf, sipName_QGeoPositionInfoSource, sipName_requestUpdate);

    if (!sipMeth)
        return;

    extern void sipVH_QtPositioning_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtPositioning_16(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGeoPositionInfoSource::stopUpdates()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[3], &sipPySelf, sipName_QGeoPositionInfoSource, sipName_stopUpdates);

    if (!sipMeth)
        return;

    extern void sipVH_QtPositioning_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtPositioning_22(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQGeoPositionInfoSource::startUpdates()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[4], &sipPySelf, sipName_QGeoPositionInfoSource, sipName_startUpdates);

    if (!sipMeth)
        return;

    extern void sipVH_QtPositioning_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    sipVH_QtPositioning_22(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QGeoPositionInfoSource::Error sipQGeoPositionInfoSource::error() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[5]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QGeoPositionInfoSource, sipName_error);

    if (!sipMeth)
        return  ::QGeoPositionInfoSource::AccessError;

    extern  ::QGeoPositionInfoSource::Error sipVH_QtPositioning_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtPositioning_21(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

int sipQGeoPositionInfoSource::minimumUpdateInterval() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[6]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QGeoPositionInfoSource, sipName_minimumUpdateInterval);

    if (!sipMeth)
        return 0;

    extern int sipVH_QtPositioning_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtPositioning_20(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QGeoPositionInfoSource::PositioningMethods sipQGeoPositionInfoSource::supportedPositioningMethods() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[7]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QGeoPositionInfoSource, sipName_supportedPositioningMethods);

    if (!sipMeth)
        return  ::QGeoPositionInfoSource::PositioningMethods();

    extern  ::QGeoPositionInfoSource::PositioningMethods sipVH_QtPositioning_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtPositioning_19(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QGeoPositionInfo sipQGeoPositionInfoSource::lastKnownPosition(bool a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[8]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QGeoPositionInfoSource, sipName_lastKnownPosition);

    if (!sipMeth)
        return  ::QGeoPositionInfo();

    extern  ::QGeoPositionInfo sipVH_QtPositioning_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, bool);

    return sipVH_QtPositioning_18(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGeoPositionInfoSource::setPreferredPositioningMethods( ::QGeoPositionInfoSource::PositioningMethods a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[9], &sipPySelf, SIP_NULLPTR, sipName_setPreferredPositioningMethods);

    if (!sipMeth)
    {
         ::QGeoPositionInfoSource::setPreferredPositioningMethods(a0);
        return;
    }

    extern void sipVH_QtPositioning_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QGeoPositionInfoSource::PositioningMethods);

    sipVH_QtPositioning_17(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGeoPositionInfoSource::setUpdateInterval(int a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[10], &sipPySelf, SIP_NULLPTR, sipName_setUpdateInterval);

    if (!sipMeth)
    {
         ::QGeoPositionInfoSource::setUpdateInterval(a0);
        return;
    }

    extern void sipVH_QtPositioning_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, int);

    sipVH_QtPositioning_16(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGeoPositionInfoSource::event( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[11], &sipPySelf, SIP_NULLPTR, sipName_event);

    if (!sipMeth)
        return  ::QGeoPositionInfoSource::event(a0);

    extern bool sipVH_QtPositioning_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    return sipVH_QtPositioning_5(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQGeoPositionInfoSource::eventFilter( ::QObject*a0, ::QEvent*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[12], &sipPySelf, SIP_NULLPTR, sipName_eventFilter);

    if (!sipMeth)
        return  ::QGeoPositionInfoSource::eventFilter(a0,a1);

    extern bool sipVH_QtPositioning_4(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QObject*, ::QEvent*);

    return sipVH_QtPositioning_4(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void sipQGeoPositionInfoSource::timerEvent( ::QTimerEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[13], &sipPySelf, SIP_NULLPTR, sipName_timerEvent);

    if (!sipMeth)
    {
         ::QGeoPositionInfoSource::timerEvent(a0);
        return;
    }

    extern void sipVH_QtPositioning_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QTimerEvent*);

    sipVH_QtPositioning_3(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGeoPositionInfoSource::childEvent( ::QChildEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[14], &sipPySelf, SIP_NULLPTR, sipName_childEvent);

    if (!sipMeth)
    {
         ::QGeoPositionInfoSource::childEvent(a0);
        return;
    }

    extern void sipVH_QtPositioning_2(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QChildEvent*);

    sipVH_QtPositioning_2(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGeoPositionInfoSource::customEvent( ::QEvent*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[15], &sipPySelf, SIP_NULLPTR, sipName_customEvent);

    if (!sipMeth)
    {
         ::QGeoPositionInfoSource::customEvent(a0);
        return;
    }

    extern void sipVH_QtPositioning_1(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QEvent*);

    sipVH_QtPositioning_1(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGeoPositionInfoSource::connectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[16], &sipPySelf, SIP_NULLPTR, sipName_connectNotify);

    if (!sipMeth)
    {
         ::QGeoPositionInfoSource::connectNotify(a0);
        return;
    }

    extern void sipVH_QtPositioning_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtPositioning_0(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQGeoPositionInfoSource::disconnectNotify(const  ::QMetaMethod& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[17], &sipPySelf, SIP_NULLPTR, sipName_disconnectNotify);

    if (!sipMeth)
    {
         ::QGeoPositionInfoSource::disconnectNotify(a0);
        return;
    }

    extern void sipVH_QtPositioning_0(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QMetaMethod&);

    sipVH_QtPositioning_0(sipGILState, sipImportedVirtErrorHandlers_QtPositioning_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_setUpdateInterval, "setUpdateInterval(self, int)");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_setUpdateInterval(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_setUpdateInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGeoPositionInfoSource)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        int a0;
         ::QGeoPositionInfoSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp, &a0))
        {
            (sipSelfWasArg ? sipCpp-> ::QGeoPositionInfoSource::setUpdateInterval(a0) : sipCpp->setUpdateInterval(a0));

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_setUpdateInterval, doc_QGeoPositionInfoSource_setUpdateInterval);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_updateInterval, "updateInterval(self) -> int");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_updateInterval(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_updateInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QGeoPositionInfoSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->updateInterval();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_updateInterval, doc_QGeoPositionInfoSource_updateInterval);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_setPreferredPositioningMethods, "setPreferredPositioningMethods(self, QGeoPositionInfoSource.PositioningMethod)");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_setPreferredPositioningMethods(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_setPreferredPositioningMethods(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGeoPositionInfoSource)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
         ::QGeoPositionInfoSource::PositioningMethods* a0;
        int a0State = 0;
         ::QGeoPositionInfoSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp, sipType_QFlags_0100QGeoPositionInfoSource_PositioningMethod, &a0, &a0State))
        {
            (sipSelfWasArg ? sipCpp-> ::QGeoPositionInfoSource::setPreferredPositioningMethods(*a0) : sipCpp->setPreferredPositioningMethods(*a0));
            sipReleaseType(a0, sipType_QFlags_0100QGeoPositionInfoSource_PositioningMethod, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_setPreferredPositioningMethods, doc_QGeoPositionInfoSource_setPreferredPositioningMethods);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_preferredPositioningMethods, "preferredPositioningMethods(self) -> QGeoPositionInfoSource.PositioningMethod");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_preferredPositioningMethods(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_preferredPositioningMethods(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QGeoPositionInfoSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp))
        {
             ::QGeoPositionInfoSource::PositioningMethods*sipRes;

            sipRes = new  ::QGeoPositionInfoSource::PositioningMethods(sipCpp->preferredPositioningMethods());

            return sipConvertFromNewType(sipRes,sipType_QFlags_0100QGeoPositionInfoSource_PositioningMethod,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_preferredPositioningMethods, doc_QGeoPositionInfoSource_preferredPositioningMethods);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_lastKnownPosition, "lastKnownPosition(self, fromSatellitePositioningMethodsOnly: bool = False) -> QGeoPositionInfo");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_lastKnownPosition(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_lastKnownPosition(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        bool a0 = 0;
        const  ::QGeoPositionInfoSource *sipCpp;

        static const char *sipKwdList[] = {
            sipName_fromSatellitePositioningMethodsOnly,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|b", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp, &a0))
        {
             ::QGeoPositionInfo*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGeoPositionInfoSource, sipName_lastKnownPosition);
                return SIP_NULLPTR;
            }

            sipRes = new  ::QGeoPositionInfo(sipCpp->lastKnownPosition(a0));

            return sipConvertFromNewType(sipRes,sipType_QGeoPositionInfo,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_lastKnownPosition, doc_QGeoPositionInfoSource_lastKnownPosition);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_supportedPositioningMethods, "supportedPositioningMethods(self) -> QGeoPositionInfoSource.PositioningMethod");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_supportedPositioningMethods(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_supportedPositioningMethods(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QGeoPositionInfoSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp))
        {
             ::QGeoPositionInfoSource::PositioningMethods*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGeoPositionInfoSource, sipName_supportedPositioningMethods);
                return SIP_NULLPTR;
            }

            sipRes = new  ::QGeoPositionInfoSource::PositioningMethods(sipCpp->supportedPositioningMethods());

            return sipConvertFromNewType(sipRes,sipType_QFlags_0100QGeoPositionInfoSource_PositioningMethod,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_supportedPositioningMethods, doc_QGeoPositionInfoSource_supportedPositioningMethods);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_minimumUpdateInterval, "minimumUpdateInterval(self) -> int");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_minimumUpdateInterval(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_minimumUpdateInterval(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QGeoPositionInfoSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp))
        {
            int sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGeoPositionInfoSource, sipName_minimumUpdateInterval);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->minimumUpdateInterval();

            return PyLong_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_minimumUpdateInterval, doc_QGeoPositionInfoSource_minimumUpdateInterval);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_sourceName, "sourceName(self) -> str");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_sourceName(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_sourceName(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QGeoPositionInfoSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->sourceName());

            return sipConvertFromNewType(sipRes,sipType_QString,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_sourceName, doc_QGeoPositionInfoSource_sourceName);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_createDefaultSource, "createDefaultSource(QObject) -> QGeoPositionInfoSource\n"
"createDefaultSource(Dict[str, Any], QObject) -> QGeoPositionInfoSource");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_createDefaultSource(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_createDefaultSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
         ::QObject* a0;
        sipWrapper *sipOwner = SIP_NULLPTR;

        if (sipParseArgs(&sipParseErr, sipArgs, "CJH", &sipSelf, sipType_QObject, &a0, &sipOwner))
        {
             ::QGeoPositionInfoSource*sipRes;

            sipRes =  ::QGeoPositionInfoSource::createDefaultSource(a0);

            return sipConvertFromNewType(sipRes,sipType_QGeoPositionInfoSource,(PyObject *)sipOwner);
        }
    }

    {
        const  ::QVariantMap* a0;
        int a0State = 0;
         ::QObject* a1;
        sipWrapper *sipOwner = SIP_NULLPTR;

        if (sipParseArgs(&sipParseErr, sipArgs, "CJ1JH", &sipSelf, sipType_QMap_0100QString_0100QVariant, &a0, &a0State, sipType_QObject, &a1, &sipOwner))
        {
             ::QGeoPositionInfoSource*sipRes;

            sipRes =  ::QGeoPositionInfoSource::createDefaultSource(*a0,a1);
            sipReleaseType(const_cast< ::QVariantMap *>(a0), sipType_QMap_0100QString_0100QVariant, a0State);

            return sipConvertFromNewType(sipRes,sipType_QGeoPositionInfoSource,(PyObject *)sipOwner);
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_createDefaultSource, doc_QGeoPositionInfoSource_createDefaultSource);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_createSource, "createSource(str, QObject) -> QGeoPositionInfoSource\n"
"createSource(str, Dict[str, Any], QObject) -> QGeoPositionInfoSource");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_createSource(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_createSource(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QObject* a1;
        sipWrapper *sipOwner = SIP_NULLPTR;

        if (sipParseArgs(&sipParseErr, sipArgs, "CJ1JH", &sipSelf, sipType_QString, &a0, &a0State, sipType_QObject, &a1, &sipOwner))
        {
             ::QGeoPositionInfoSource*sipRes;

            sipRes =  ::QGeoPositionInfoSource::createSource(*a0,a1);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            return sipConvertFromNewType(sipRes,sipType_QGeoPositionInfoSource,(PyObject *)sipOwner);
        }
    }

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariantMap* a1;
        int a1State = 0;
         ::QObject* a2;
        sipWrapper *sipOwner = SIP_NULLPTR;

        if (sipParseArgs(&sipParseErr, sipArgs, "CJ1J1JH", &sipSelf, sipType_QString, &a0, &a0State, sipType_QMap_0100QString_0100QVariant, &a1, &a1State, sipType_QObject, &a2, &sipOwner))
        {
             ::QGeoPositionInfoSource*sipRes;

            sipRes =  ::QGeoPositionInfoSource::createSource(*a0,*a1,a2);
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);
            sipReleaseType(const_cast< ::QVariantMap *>(a1), sipType_QMap_0100QString_0100QVariant, a1State);

            return sipConvertFromNewType(sipRes,sipType_QGeoPositionInfoSource,(PyObject *)sipOwner);
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_createSource, doc_QGeoPositionInfoSource_createSource);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_availableSources, "availableSources() -> List[str]");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_availableSources(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_availableSources(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, "C", &sipSelf))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList( ::QGeoPositionInfoSource::availableSources());

            return sipConvertFromNewType(sipRes,sipType_QStringList,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_availableSources, doc_QGeoPositionInfoSource_availableSources);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_error, "error(self) -> QGeoPositionInfoSource.Error");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_error(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        const  ::QGeoPositionInfoSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp))
        {
             ::QGeoPositionInfoSource::Error sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGeoPositionInfoSource, sipName_error);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->error();

            return sipConvertFromEnum(static_cast<int>(sipRes), sipType_QGeoPositionInfoSource_Error);
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_error, doc_QGeoPositionInfoSource_error);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_startUpdates, "startUpdates(self)");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_startUpdates(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_startUpdates(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QGeoPositionInfoSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGeoPositionInfoSource, sipName_startUpdates);
                return SIP_NULLPTR;
            }

            sipCpp->startUpdates();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_startUpdates, doc_QGeoPositionInfoSource_startUpdates);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_stopUpdates, "stopUpdates(self)");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_stopUpdates(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_stopUpdates(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
         ::QGeoPositionInfoSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGeoPositionInfoSource, sipName_stopUpdates);
                return SIP_NULLPTR;
            }

            sipCpp->stopUpdates();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_stopUpdates, doc_QGeoPositionInfoSource_stopUpdates);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_requestUpdate, "requestUpdate(self, timeout: int = 0)");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_requestUpdate(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_requestUpdate(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    PyObject *sipOrigSelf = sipSelf;

    {
        int a0 = 0;
         ::QGeoPositionInfoSource *sipCpp;

        static const char *sipKwdList[] = {
            sipName_timeout,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "B|i", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QGeoPositionInfoSource, sipName_requestUpdate);
                return SIP_NULLPTR;
            }

            sipCpp->requestUpdate(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_requestUpdate, doc_QGeoPositionInfoSource_requestUpdate);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_setBackendProperty, "setBackendProperty(self, str, Any) -> bool");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_setBackendProperty(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_setBackendProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGeoPositionInfoSource)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QVariant* a1;
        int a1State = 0;
         ::QGeoPositionInfoSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp, sipType_QString, &a0, &a0State, sipType_QVariant, &a1, &a1State))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QGeoPositionInfoSource::setBackendProperty(*a0,*a1) : sipCpp->setBackendProperty(*a0,*a1));
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);
            sipReleaseType(const_cast< ::QVariant *>(a1), sipType_QVariant, a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_setBackendProperty, doc_QGeoPositionInfoSource_setBackendProperty);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QGeoPositionInfoSource_backendProperty, "backendProperty(self, str) -> Any");

extern "C" {static PyObject *meth_QGeoPositionInfoSource_backendProperty(PyObject *, PyObject *);}
static PyObject *meth_QGeoPositionInfoSource_backendProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = SIP_NULLPTR;
    bool sipSelfWasArg = (!PyObject_TypeCheck(sipSelf, sipTypeAsPyTypeObject(sipType_QGeoPositionInfoSource)) || sipIsDerivedClass((sipSimpleWrapper *)sipSelf));

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QGeoPositionInfoSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QGeoPositionInfoSource, &sipCpp, sipType_QString, &a0, &a0State))
        {
             ::QVariant*sipRes;

            sipRes = new  ::QVariant((sipSelfWasArg ? sipCpp-> ::QGeoPositionInfoSource::backendProperty(*a0) : sipCpp->backendProperty(*a0)));
            sipReleaseType(const_cast< ::QString *>(a0), sipType_QString, a0State);

            return sipConvertFromNewType(sipRes,sipType_QVariant,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QGeoPositionInfoSource, sipName_backendProperty, doc_QGeoPositionInfoSource_backendProperty);

    return SIP_NULLPTR;
}


/* Cast a pointer to a type somewhere in its inheritance hierarchy. */
extern "C" {static void *cast_QGeoPositionInfoSource(void *, const sipTypeDef *);}
static void *cast_QGeoPositionInfoSource(void *sipCppV, const sipTypeDef *targetType)
{
     ::QGeoPositionInfoSource *sipCpp = reinterpret_cast< ::QGeoPositionInfoSource *>(sipCppV);

    if (targetType == sipType_QGeoPositionInfoSource)
        return sipCppV;

    if (targetType == sipType_QObject)
        return static_cast< ::QObject *>(sipCpp);

    return SIP_NULLPTR;
}


/* Call the instance's destructor. */
extern "C" {static void release_QGeoPositionInfoSource(void *, int);}
static void release_QGeoPositionInfoSource(void *sipCppV, int)
{
     ::QGeoPositionInfoSource *sipCpp = reinterpret_cast< ::QGeoPositionInfoSource *>(sipCppV);

    if (QThread::currentThread() == sipCpp->thread())
        delete sipCpp;
    else
        sipCpp->deleteLater();
}


extern "C" {static void dealloc_QGeoPositionInfoSource(sipSimpleWrapper *);}
static void dealloc_QGeoPositionInfoSource(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQGeoPositionInfoSource *>(sipGetAddress(sipSelf))->sipPySelf = SIP_NULLPTR;

    if (sipIsOwnedByPython(sipSelf))
    {
        release_QGeoPositionInfoSource(sipGetAddress(sipSelf), sipIsDerivedClass(sipSelf));
    }
}


extern "C" {static void *init_type_QGeoPositionInfoSource(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QGeoPositionInfoSource(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQGeoPositionInfoSource *sipCpp = SIP_NULLPTR;

    {
         ::QObject* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, "JH", sipType_QObject, &a0, sipOwner))
        {
            sipCpp = new sipQGeoPositionInfoSource(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QGeoPositionInfoSource[] = {{9, 0, 1}};


static PyMethodDef methods_QGeoPositionInfoSource[] = {
    {sipName_availableSources, meth_QGeoPositionInfoSource_availableSources, METH_VARARGS, doc_QGeoPositionInfoSource_availableSources},
    {sipName_backendProperty, meth_QGeoPositionInfoSource_backendProperty, METH_VARARGS, doc_QGeoPositionInfoSource_backendProperty},
    {sipName_createDefaultSource, meth_QGeoPositionInfoSource_createDefaultSource, METH_VARARGS, doc_QGeoPositionInfoSource_createDefaultSource},
    {sipName_createSource, meth_QGeoPositionInfoSource_createSource, METH_VARARGS, doc_QGeoPositionInfoSource_createSource},
    {sipName_error, meth_QGeoPositionInfoSource_error, METH_VARARGS, doc_QGeoPositionInfoSource_error},
    {sipName_lastKnownPosition, SIP_MLMETH_CAST(meth_QGeoPositionInfoSource_lastKnownPosition), METH_VARARGS|METH_KEYWORDS, doc_QGeoPositionInfoSource_lastKnownPosition},
    {sipName_minimumUpdateInterval, meth_QGeoPositionInfoSource_minimumUpdateInterval, METH_VARARGS, doc_QGeoPositionInfoSource_minimumUpdateInterval},
    {sipName_preferredPositioningMethods, meth_QGeoPositionInfoSource_preferredPositioningMethods, METH_VARARGS, doc_QGeoPositionInfoSource_preferredPositioningMethods},
    {sipName_requestUpdate, SIP_MLMETH_CAST(meth_QGeoPositionInfoSource_requestUpdate), METH_VARARGS|METH_KEYWORDS, doc_QGeoPositionInfoSource_requestUpdate},
    {sipName_setBackendProperty, meth_QGeoPositionInfoSource_setBackendProperty, METH_VARARGS, doc_QGeoPositionInfoSource_setBackendProperty},
    {sipName_setPreferredPositioningMethods, meth_QGeoPositionInfoSource_setPreferredPositioningMethods, METH_VARARGS, doc_QGeoPositionInfoSource_setPreferredPositioningMethods},
    {sipName_setUpdateInterval, meth_QGeoPositionInfoSource_setUpdateInterval, METH_VARARGS, doc_QGeoPositionInfoSource_setUpdateInterval},
    {sipName_sourceName, meth_QGeoPositionInfoSource_sourceName, METH_VARARGS, doc_QGeoPositionInfoSource_sourceName},
    {sipName_startUpdates, meth_QGeoPositionInfoSource_startUpdates, METH_VARARGS, doc_QGeoPositionInfoSource_startUpdates},
    {sipName_stopUpdates, meth_QGeoPositionInfoSource_stopUpdates, METH_VARARGS, doc_QGeoPositionInfoSource_stopUpdates},
    {sipName_supportedPositioningMethods, meth_QGeoPositionInfoSource_supportedPositioningMethods, METH_VARARGS, doc_QGeoPositionInfoSource_supportedPositioningMethods},
    {sipName_updateInterval, meth_QGeoPositionInfoSource_updateInterval, METH_VARARGS, doc_QGeoPositionInfoSource_updateInterval}
};


/* Define the enum members and ints to be added to this type. */
static sipIntInstanceDef intInstances_QGeoPositionInfoSource[] = {
    {sipName_AccessError, static_cast<int>( ::QGeoPositionInfoSource::AccessError)},
    {sipName_ClosedError, static_cast<int>( ::QGeoPositionInfoSource::ClosedError)},
    {sipName_UnknownSourceError, static_cast<int>( ::QGeoPositionInfoSource::UnknownSourceError)},
    {sipName_UpdateTimeoutError, static_cast<int>( ::QGeoPositionInfoSource::UpdateTimeoutError)},
    {sipName_NoError, static_cast<int>( ::QGeoPositionInfoSource::NoError)},
    {sipName_NoPositioningMethods, static_cast<int>( ::QGeoPositionInfoSource::NoPositioningMethods)},
    {sipName_SatellitePositioningMethods, static_cast<int>( ::QGeoPositionInfoSource::SatellitePositioningMethods)},
    {sipName_NonSatellitePositioningMethods, static_cast<int>( ::QGeoPositionInfoSource::NonSatellitePositioningMethods)},
    {sipName_AllPositioningMethods, static_cast<int>( ::QGeoPositionInfoSource::AllPositioningMethods)},
    {0, 0}
};

PyDoc_STRVAR(doc_QGeoPositionInfoSource, "\1QGeoPositionInfoSource(QObject)");


/* Define this type's signals. */
static const pyqt6QtSignal signals_QGeoPositionInfoSource[] = {
    {"errorOccurred(QGeoPositionInfoSource::Error)", "\1errorOccurred(self, QGeoPositionInfoSource.Error)", SIP_NULLPTR, SIP_NULLPTR},
    {"supportedPositioningMethodsChanged()", "\1supportedPositioningMethodsChanged(self)", SIP_NULLPTR, SIP_NULLPTR},
    {"positionUpdated(QGeoPositionInfo)", "\1positionUpdated(self, QGeoPositionInfo)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt6ClassPluginDef plugin_QGeoPositionInfoSource = {
    & ::QGeoPositionInfoSource::staticMetaObject,
    signals_QGeoPositionInfoSource,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtPositioning_QGeoPositionInfoSource = {
    {
        SIP_NULLPTR,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QGeoPositionInfoSource,
        SIP_NULLPTR,
        &plugin_QGeoPositionInfoSource
    },
    {
        sipNameNr_QGeoPositionInfoSource,
        {0, 0, 1},
        17, methods_QGeoPositionInfoSource,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, intInstances_QGeoPositionInfoSource, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QGeoPositionInfoSource,
    -1,
    -1,
    supers_QGeoPositionInfoSource,
    SIP_NULLPTR,
    init_type_QGeoPositionInfoSource,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QGeoPositionInfoSource,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QGeoPositionInfoSource,
    cast_QGeoPositionInfoSource,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    sizeof ( ::QGeoPositionInfoSource),
};
