/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.6.2
 *
 * Copyright (c) 2022 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt5.
 * 
 * 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 "sipAPIQtNfc.h"

#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtNfc/qnearfieldsharemanager.sip"
#include <qnearfieldsharemanager.h>
#line 29 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"

#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qobject.sip"
#include <qobject.h>
#line 33 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtNfc/qnearfieldsharemanager.sip"
#include <qnearfieldsharemanager.h>
#line 36 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtNfc/qnearfieldsharetarget.sip"
#include <qnearfieldsharetarget.h>
#line 39 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 146 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 44 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 47 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 50 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 247 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 53 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 235 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 27 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 59 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 62 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 38 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 65 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 30 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 68 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 149 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 71 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 74 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qthread.sip"
#include <qthread.h>
#line 77 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 80 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 83 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 86 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 89 "/build/pyqt5/src/PyQt5-5.15.7/build/QtNfc/sipQtNfcQNearFieldShareManager.cpp"


class sipQNearFieldShareManager : public  ::QNearFieldShareManager
{
public:
    sipQNearFieldShareManager( ::QObject*);
    virtual ~sipQNearFieldShareManager();

    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:
    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:
    sipQNearFieldShareManager(const sipQNearFieldShareManager &);
    sipQNearFieldShareManager &operator = (const sipQNearFieldShareManager &);

    char sipPyMethods[7];
};

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

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

const QMetaObject *sipQNearFieldShareManager::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtNfc_qt_metaobject(sipPySelf,sipType_QNearFieldShareManager);

    return  ::QNearFieldShareManager::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtNfc_qt_metacast(sipPySelf, sipType_QNearFieldShareManager, _clname, &sipCpp) ? sipCpp :  ::QNearFieldShareManager::qt_metacast(_clname));
}

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

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

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

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

    return sipVH_QtNfc_5(sipGILState, sipImportedVirtErrorHandlers_QtNfc_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtNfc_3(sipGILState, sipImportedVirtErrorHandlers_QtNfc_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtNfc_2(sipGILState, sipImportedVirtErrorHandlers_QtNfc_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtNfc_1(sipGILState, sipImportedVirtErrorHandlers_QtNfc_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtNfc_0(sipGILState, sipImportedVirtErrorHandlers_QtNfc_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtNfc_0(sipGILState, sipImportedVirtErrorHandlers_QtNfc_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QNearFieldShareManager_supportedShareModes, "supportedShareModes() -> QNearFieldShareManager.ShareModes");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QNearFieldShareManager::ShareModes*sipRes;

            sipRes = new  ::QNearFieldShareManager::ShareModes( ::QNearFieldShareManager::supportedShareModes());

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

    sipNoMethod(sipParseErr, sipName_QNearFieldShareManager, sipName_supportedShareModes, doc_QNearFieldShareManager_supportedShareModes);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QNearFieldShareManager_setShareModes, "setShareModes(self, Union[QNearFieldShareManager.ShareModes, QNearFieldShareManager.ShareMode])");

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

    {
         ::QNearFieldShareManager::ShareModes* a0;
        int a0State = 0;
         ::QNearFieldShareManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QNearFieldShareManager, &sipCpp, sipType_QNearFieldShareManager_ShareModes, &a0, &a0State))
        {
            sipCpp->setShareModes(*a0);
            sipReleaseType(a0, sipType_QNearFieldShareManager_ShareModes, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QNearFieldShareManager, sipName_setShareModes, doc_QNearFieldShareManager_setShareModes);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QNearFieldShareManager_shareModes, "shareModes(self) -> QNearFieldShareManager.ShareModes");

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

    {
        const  ::QNearFieldShareManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QNearFieldShareManager, &sipCpp))
        {
             ::QNearFieldShareManager::ShareModes*sipRes;

            sipRes = new  ::QNearFieldShareManager::ShareModes(sipCpp->shareModes());

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

    sipNoMethod(sipParseErr, sipName_QNearFieldShareManager, sipName_shareModes, doc_QNearFieldShareManager_shareModes);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QNearFieldShareManager_shareError, "shareError(self) -> QNearFieldShareManager.ShareError");

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

    {
        const  ::QNearFieldShareManager *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QNearFieldShareManager, &sipCpp))
        {
             ::QNearFieldShareManager::ShareError sipRes;

            sipRes = sipCpp->shareError();

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

    sipNoMethod(sipParseErr, sipName_QNearFieldShareManager, sipName_shareError, doc_QNearFieldShareManager_shareError);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QNearFieldShareManager)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


extern "C" {static void *array_QNearFieldShareManager(Py_ssize_t);}
static void *array_QNearFieldShareManager(Py_ssize_t sipNrElem)
{
    return new  ::QNearFieldShareManager[sipNrElem];
}


extern "C" {static void array_delete_QNearFieldShareManager(void *);}
static void array_delete_QNearFieldShareManager(void *sipCpp)
{
    delete[] reinterpret_cast< ::QNearFieldShareManager *>(sipCpp);
}


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

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


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

    {
         ::QObject* a0 = 0;

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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


static PyMethodDef methods_QNearFieldShareManager[] = {
    {sipName_setShareModes, meth_QNearFieldShareManager_setShareModes, METH_VARARGS, doc_QNearFieldShareManager_setShareModes},
    {sipName_shareError, meth_QNearFieldShareManager_shareError, METH_VARARGS, doc_QNearFieldShareManager_shareError},
    {sipName_shareModes, meth_QNearFieldShareManager_shareModes, METH_VARARGS, doc_QNearFieldShareManager_shareModes},
    {sipName_supportedShareModes, meth_QNearFieldShareManager_supportedShareModes, METH_VARARGS, doc_QNearFieldShareManager_supportedShareModes}
};

static sipEnumMemberDef enummembers_QNearFieldShareManager[] = {
    {sipName_FileShare, static_cast<int>( ::QNearFieldShareManager::FileShare), 21},
    {sipName_InvalidShareContentError, static_cast<int>( ::QNearFieldShareManager::InvalidShareContentError), 20},
    {sipName_NdefShare, static_cast<int>( ::QNearFieldShareManager::NdefShare), 21},
    {sipName_NoError, static_cast<int>( ::QNearFieldShareManager::NoError), 20},
    {sipName_NoShare, static_cast<int>( ::QNearFieldShareManager::NoShare), 21},
    {sipName_ShareAlreadyInProgressError, static_cast<int>( ::QNearFieldShareManager::ShareAlreadyInProgressError), 20},
    {sipName_ShareCanceledError, static_cast<int>( ::QNearFieldShareManager::ShareCanceledError), 20},
    {sipName_ShareInterruptedError, static_cast<int>( ::QNearFieldShareManager::ShareInterruptedError), 20},
    {sipName_SharePermissionDeniedError, static_cast<int>( ::QNearFieldShareManager::SharePermissionDeniedError), 20},
    {sipName_ShareRejectedError, static_cast<int>( ::QNearFieldShareManager::ShareRejectedError), 20},
    {sipName_UnknownError, static_cast<int>( ::QNearFieldShareManager::UnknownError), 20},
    {sipName_UnsupportedShareModeError, static_cast<int>( ::QNearFieldShareManager::UnsupportedShareModeError), 20},
};

PyDoc_STRVAR(doc_QNearFieldShareManager, "\1QNearFieldShareManager(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QNearFieldShareManager[] = {
    {"error(QNearFieldShareManager::ShareError)", "\1error(self, QNearFieldShareManager.ShareError)", SIP_NULLPTR, SIP_NULLPTR},
    {"shareModesChanged(QNearFieldShareManager::ShareModes)", "\1shareModesChanged(self, Union[QNearFieldShareManager.ShareModes, QNearFieldShareManager.ShareMode])", SIP_NULLPTR, SIP_NULLPTR},
    {"targetDetected(QNearFieldShareTarget*)", "\1targetDetected(self, QNearFieldShareTarget)", SIP_NULLPTR, SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt5ClassPluginDef plugin_QNearFieldShareManager = {
    & ::QNearFieldShareManager::staticMetaObject,
    0,
    signals_QNearFieldShareManager,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtNfc_QNearFieldShareManager = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QNearFieldShareManager,
        SIP_NULLPTR,
        &plugin_QNearFieldShareManager
    },
    {
        sipNameNr_QNearFieldShareManager,
        {0, 0, 1},
        4, methods_QNearFieldShareManager,
        12, enummembers_QNearFieldShareManager,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QNearFieldShareManager,
    -1,
    -1,
    supers_QNearFieldShareManager,
    SIP_NULLPTR,
    init_type_QNearFieldShareManager,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QNearFieldShareManager,
    SIP_NULLPTR,
    array_QNearFieldShareManager,
    SIP_NULLPTR,
    release_QNearFieldShareManager,
    cast_QNearFieldShareManager,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    array_delete_QNearFieldShareManager,
    sizeof ( ::QNearFieldShareManager),
};
