/*
 * 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 "sipAPIQtBluetooth.h"

#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtBluetooth/qbluetoothtransferreply.sip"
#include <qbluetoothtransferreply.h>
#line 29 "/build/pyqt5/src/PyQt5-5.15.7/build/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.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/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.cpp"
#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtBluetooth/qbluetoothtransferrequest.sip"
#include <qbluetoothtransferrequest.h>
#line 36 "/build/pyqt5/src/PyQt5-5.15.7/build/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.cpp"
#line 28 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtBluetooth/qbluetoothtransfermanager.sip"
#include <qbluetoothtransfermanager.h>
#line 39 "/build/pyqt5/src/PyQt5-5.15.7/build/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.cpp"
#line 27 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 42 "/build/pyqt5/src/PyQt5-5.15.7/build/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.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 47 "/build/pyqt5/src/PyQt5-5.15.7/build/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 50 "/build/pyqt5/src/PyQt5-5.15.7/build/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.cpp"
#line 26 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 53 "/build/pyqt5/src/PyQt5-5.15.7/build/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.cpp"
#line 247 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 56 "/build/pyqt5/src/PyQt5-5.15.7/build/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.cpp"
#line 235 "/build/pyqt5/src/PyQt5-5.15.7/sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 59 "/build/pyqt5/src/PyQt5-5.15.7/build/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.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/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.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/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.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/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.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/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.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/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.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/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.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/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.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/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.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/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.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/QtBluetooth/sipQtBluetoothQBluetoothTransferReply.cpp"


class sipQBluetoothTransferReply : public  ::QBluetoothTransferReply
{
public:
    sipQBluetoothTransferReply( ::QObject*);
    virtual ~sipQBluetoothTransferReply();

    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:
     ::QString errorString() const SIP_OVERRIDE;
     ::QBluetoothTransferReply::TransferError error() const SIP_OVERRIDE;
    bool isRunning() const SIP_OVERRIDE;
    bool isFinished() const 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:
    sipQBluetoothTransferReply(const sipQBluetoothTransferReply &);
    sipQBluetoothTransferReply &operator = (const sipQBluetoothTransferReply &);

    char sipPyMethods[11];
};

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

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

const QMetaObject *sipQBluetoothTransferReply::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtBluetooth_qt_metaobject(sipPySelf,sipType_QBluetoothTransferReply);

    return  ::QBluetoothTransferReply::metaObject();
}

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

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

    return _id;
}

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

    return (sip_QtBluetooth_qt_metacast(sipPySelf, sipType_QBluetoothTransferReply, _clname, &sipCpp) ? sipCpp :  ::QBluetoothTransferReply::qt_metacast(_clname));
}

 ::QString sipQBluetoothTransferReply::errorString() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

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

    extern  ::QString sipVH_QtBluetooth_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtBluetooth_16(sipGILState, sipImportedVirtErrorHandlers_QtBluetooth_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

 ::QBluetoothTransferReply::TransferError sipQBluetoothTransferReply::error() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QBluetoothTransferReply::NoError;

    extern  ::QBluetoothTransferReply::TransferError sipVH_QtBluetooth_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtBluetooth_15(sipGILState, sipImportedVirtErrorHandlers_QtBluetooth_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQBluetoothTransferReply::isRunning() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[2]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QBluetoothTransferReply, sipName_isRunning);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtBluetooth_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtBluetooth_10(sipGILState, sipImportedVirtErrorHandlers_QtBluetooth_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

bool sipQBluetoothTransferReply::isFinished() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[3]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QBluetoothTransferReply, sipName_isFinished);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtBluetooth_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtBluetooth_10(sipGILState, sipImportedVirtErrorHandlers_QtBluetooth_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtBluetooth_5(sipGILState, sipImportedVirtErrorHandlers_QtBluetooth_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtBluetooth_3(sipGILState, sipImportedVirtErrorHandlers_QtBluetooth_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtBluetooth_2(sipGILState, sipImportedVirtErrorHandlers_QtBluetooth_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtBluetooth_1(sipGILState, sipImportedVirtErrorHandlers_QtBluetooth_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtBluetooth_0(sipGILState, sipImportedVirtErrorHandlers_QtBluetooth_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtBluetooth_0(sipGILState, sipImportedVirtErrorHandlers_QtBluetooth_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QBluetoothTransferReply_isFinished, "isFinished(self) -> bool");

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

    {
        const  ::QBluetoothTransferReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBluetoothTransferReply, &sipCpp))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QBluetoothTransferReply, sipName_isFinished);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->isFinished();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBluetoothTransferReply, sipName_isFinished, doc_QBluetoothTransferReply_isFinished);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBluetoothTransferReply_isRunning, "isRunning(self) -> bool");

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

    {
        const  ::QBluetoothTransferReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBluetoothTransferReply, &sipCpp))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QBluetoothTransferReply, sipName_isRunning);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->isRunning();

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBluetoothTransferReply, sipName_isRunning, doc_QBluetoothTransferReply_isRunning);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBluetoothTransferReply_manager, "manager(self) -> QBluetoothTransferManager");

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

    {
        const  ::QBluetoothTransferReply *sipCpp;

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

            sipRes = sipCpp->manager();

            return sipConvertFromType(sipRes,sipType_QBluetoothTransferManager,SIP_NULLPTR);
        }
    }

    sipNoMethod(sipParseErr, sipName_QBluetoothTransferReply, sipName_manager, doc_QBluetoothTransferReply_manager);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBluetoothTransferReply_error, "error(self) -> QBluetoothTransferReply.TransferError");

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

    {
        const  ::QBluetoothTransferReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBluetoothTransferReply, &sipCpp))
        {
             ::QBluetoothTransferReply::TransferError sipRes;

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

            sipRes = sipCpp->error();

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

    sipNoMethod(sipParseErr, sipName_QBluetoothTransferReply, sipName_error, doc_QBluetoothTransferReply_error);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBluetoothTransferReply_errorString, "errorString(self) -> str");

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

    {
        const  ::QBluetoothTransferReply *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QBluetoothTransferReply, sipName_errorString);
                return SIP_NULLPTR;
            }

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

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

    sipNoMethod(sipParseErr, sipName_QBluetoothTransferReply, sipName_errorString, doc_QBluetoothTransferReply_errorString);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBluetoothTransferReply_request, "request(self) -> QBluetoothTransferRequest");

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

    {
        const  ::QBluetoothTransferReply *sipCpp;

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

            sipRes = new  ::QBluetoothTransferRequest(sipCpp->request());

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

    sipNoMethod(sipParseErr, sipName_QBluetoothTransferReply, sipName_request, doc_QBluetoothTransferReply_request);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBluetoothTransferReply_abort, "abort(self)");

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

    {
         ::QBluetoothTransferReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QBluetoothTransferReply, &sipCpp))
        {
            sipCpp->abort();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBluetoothTransferReply, sipName_abort, doc_QBluetoothTransferReply_abort);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBluetoothTransferReply_setManager, "setManager(self, QBluetoothTransferManager)");

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

    {
         ::QBluetoothTransferManager* a0;
         ::QBluetoothTransferReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ8", &sipSelf, sipType_QBluetoothTransferReply, &sipCpp, sipType_QBluetoothTransferManager, &a0))
        {
            sipCpp->setManager(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBluetoothTransferReply, sipName_setManager, doc_QBluetoothTransferReply_setManager);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QBluetoothTransferReply_setRequest, "setRequest(self, QBluetoothTransferRequest)");

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

    {
        const  ::QBluetoothTransferRequest* a0;
         ::QBluetoothTransferReply *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "pJ9", &sipSelf, sipType_QBluetoothTransferReply, &sipCpp, sipType_QBluetoothTransferRequest, &a0))
        {
            sipCpp->setRequest(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QBluetoothTransferReply, sipName_setRequest, doc_QBluetoothTransferReply_setRequest);

    return SIP_NULLPTR;
}


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

    if (targetType == sipType_QBluetoothTransferReply)
        return sipCppV;

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

    return SIP_NULLPTR;
}


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

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


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

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


extern "C" {static void *init_type_QBluetoothTransferReply(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QBluetoothTransferReply(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **sipOwner, PyObject **sipParseErr)
{
    sipQBluetoothTransferReply *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 sipQBluetoothTransferReply(a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


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


static PyMethodDef methods_QBluetoothTransferReply[] = {
    {sipName_abort, meth_QBluetoothTransferReply_abort, METH_VARARGS, doc_QBluetoothTransferReply_abort},
    {sipName_error, meth_QBluetoothTransferReply_error, METH_VARARGS, doc_QBluetoothTransferReply_error},
    {sipName_errorString, meth_QBluetoothTransferReply_errorString, METH_VARARGS, doc_QBluetoothTransferReply_errorString},
    {sipName_isFinished, meth_QBluetoothTransferReply_isFinished, METH_VARARGS, doc_QBluetoothTransferReply_isFinished},
    {sipName_isRunning, meth_QBluetoothTransferReply_isRunning, METH_VARARGS, doc_QBluetoothTransferReply_isRunning},
    {sipName_manager, meth_QBluetoothTransferReply_manager, METH_VARARGS, doc_QBluetoothTransferReply_manager},
    {sipName_request, meth_QBluetoothTransferReply_request, METH_VARARGS, doc_QBluetoothTransferReply_request},
    {sipName_setManager, meth_QBluetoothTransferReply_setManager, METH_VARARGS, doc_QBluetoothTransferReply_setManager},
    {sipName_setRequest, meth_QBluetoothTransferReply_setRequest, METH_VARARGS, doc_QBluetoothTransferReply_setRequest}
};

static sipEnumMemberDef enummembers_QBluetoothTransferReply[] = {
    {sipName_FileNotFoundError, static_cast<int>( ::QBluetoothTransferReply::FileNotFoundError), 49},
    {sipName_HostNotFoundError, static_cast<int>( ::QBluetoothTransferReply::HostNotFoundError), 49},
    {sipName_IODeviceNotReadableError, static_cast<int>( ::QBluetoothTransferReply::IODeviceNotReadableError), 49},
    {sipName_NoError, static_cast<int>( ::QBluetoothTransferReply::NoError), 49},
    {sipName_ResourceBusyError, static_cast<int>( ::QBluetoothTransferReply::ResourceBusyError), 49},
    {sipName_SessionError, static_cast<int>( ::QBluetoothTransferReply::SessionError), 49},
    {sipName_UnknownError, static_cast<int>( ::QBluetoothTransferReply::UnknownError), 49},
    {sipName_UserCanceledTransferError, static_cast<int>( ::QBluetoothTransferReply::UserCanceledTransferError), 49},
};

PyDoc_STRVAR(doc_QBluetoothTransferReply, "\1QBluetoothTransferReply(parent: QObject = None)");


/* Define this type's signals. */
static const pyqt5QtSignal signals_QBluetoothTransferReply[] = {
    {"transferProgress(qint64,qint64)", "\1transferProgress(self, int, int)", SIP_NULLPTR, SIP_NULLPTR},
    {"finished(QBluetoothTransferReply*)", "\1finished(self, QBluetoothTransferReply)", SIP_NULLPTR, SIP_NULLPTR},
    {"error(QBluetoothTransferReply::TransferError)", "\1error(self, QBluetoothTransferReply.TransferError)", &methods_QBluetoothTransferReply[1], SIP_NULLPTR},
    {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR}
};


static pyqt5ClassPluginDef plugin_QBluetoothTransferReply = {
    & ::QBluetoothTransferReply::staticMetaObject,
    0,
    signals_QBluetoothTransferReply,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtBluetooth_QBluetoothTransferReply = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QBluetoothTransferReply,
        SIP_NULLPTR,
        &plugin_QBluetoothTransferReply
    },
    {
        sipNameNr_QBluetoothTransferReply,
        {0, 0, 1},
        9, methods_QBluetoothTransferReply,
        8, enummembers_QBluetoothTransferReply,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QBluetoothTransferReply,
    -1,
    -1,
    supers_QBluetoothTransferReply,
    SIP_NULLPTR,
    init_type_QBluetoothTransferReply,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QBluetoothTransferReply,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QBluetoothTransferReply,
    cast_QBluetoothTransferReply,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    sizeof ( ::QBluetoothTransferReply),
};
