/*
 * Interface wrapper code.
 *
 * Generated by SIP 6.8.6
 *
 * Copyright (c) 2023 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 "sipAPIQtXml.h"

#line 125 "/usr/src/debug/python3-pyqt5/5.15.10/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 29 "/usr/src/debug/python3-pyqt5/5.15.10/QtXml/sipQtXmlQXmlReader.cpp"

#line 82 "/usr/src/debug/python3-pyqt5/5.15.10/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 33 "/usr/src/debug/python3-pyqt5/5.15.10/QtXml/sipQtXmlQXmlReader.cpp"
#line 282 "/usr/src/debug/python3-pyqt5/5.15.10/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 36 "/usr/src/debug/python3-pyqt5/5.15.10/QtXml/sipQtXmlQXmlReader.cpp"
#line 264 "/usr/src/debug/python3-pyqt5/5.15.10/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 39 "/usr/src/debug/python3-pyqt5/5.15.10/QtXml/sipQtXmlQXmlReader.cpp"
#line 225 "/usr/src/debug/python3-pyqt5/5.15.10/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 42 "/usr/src/debug/python3-pyqt5/5.15.10/QtXml/sipQtXmlQXmlReader.cpp"
#line 203 "/usr/src/debug/python3-pyqt5/5.15.10/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 45 "/usr/src/debug/python3-pyqt5/5.15.10/QtXml/sipQtXmlQXmlReader.cpp"
#line 239 "/usr/src/debug/python3-pyqt5/5.15.10/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 48 "/usr/src/debug/python3-pyqt5/5.15.10/QtXml/sipQtXmlQXmlReader.cpp"
#line 252 "/usr/src/debug/python3-pyqt5/5.15.10/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 51 "/usr/src/debug/python3-pyqt5/5.15.10/QtXml/sipQtXmlQXmlReader.cpp"
#line 27 "/usr/src/debug/python3-pyqt5/5.15.10/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 54 "/usr/src/debug/python3-pyqt5/5.15.10/QtXml/sipQtXmlQXmlReader.cpp"


class sipQXmlReader : public ::QXmlReader
{
public:
    sipQXmlReader();
    sipQXmlReader(const ::QXmlReader&);
    virtual ~sipQXmlReader();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool parse(const ::QXmlInputSource*) SIP_OVERRIDE;
    bool parse(const ::QXmlInputSource&) SIP_OVERRIDE;
    ::QXmlDeclHandler* declHandler() const SIP_OVERRIDE;
    void setDeclHandler(::QXmlDeclHandler*) SIP_OVERRIDE;
    ::QXmlLexicalHandler* lexicalHandler() const SIP_OVERRIDE;
    void setLexicalHandler(::QXmlLexicalHandler*) SIP_OVERRIDE;
    ::QXmlErrorHandler* errorHandler() const SIP_OVERRIDE;
    void setErrorHandler(::QXmlErrorHandler*) SIP_OVERRIDE;
    ::QXmlContentHandler* contentHandler() const SIP_OVERRIDE;
    void setContentHandler(::QXmlContentHandler*) SIP_OVERRIDE;
    ::QXmlDTDHandler* DTDHandler() const SIP_OVERRIDE;
    void setDTDHandler(::QXmlDTDHandler*) SIP_OVERRIDE;
    ::QXmlEntityResolver* entityResolver() const SIP_OVERRIDE;
    void setEntityResolver(::QXmlEntityResolver*) SIP_OVERRIDE;
    bool hasProperty(const ::QString&) const SIP_OVERRIDE;
    void setProperty(const ::QString&, void*) SIP_OVERRIDE;
    void* property(const ::QString&, bool*) const SIP_OVERRIDE;
    bool hasFeature(const ::QString&) const SIP_OVERRIDE;
    void setFeature(const ::QString&, bool) SIP_OVERRIDE;
    bool feature(const ::QString&, bool*) const SIP_OVERRIDE;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[20];
};

sipQXmlReader::sipQXmlReader(): ::QXmlReader(), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlReader::sipQXmlReader(const ::QXmlReader& a0): ::QXmlReader(a0), sipPySelf(SIP_NULLPTR)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

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

bool sipQXmlReader::parse(const ::QXmlInputSource*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[0], &sipPySelf, sipName_QXmlReader, sipName_parse);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtXml_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QXmlInputSource*);

    return sipVH_QtXml_24(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQXmlReader::parse(const ::QXmlInputSource& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[1], &sipPySelf, sipName_QXmlReader, sipName_parse);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtXml_23(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QXmlInputSource&);

    return sipVH_QtXml_23(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QXmlDeclHandler* sipQXmlReader::declHandler() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    extern ::QXmlDeclHandler* sipVH_QtXml_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_22(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQXmlReader::setDeclHandler(::QXmlDeclHandler*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[3], &sipPySelf, sipName_QXmlReader, sipName_setDeclHandler);

    if (!sipMeth)
        return;

    extern void sipVH_QtXml_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QXmlDeclHandler*);

    sipVH_QtXml_21(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QXmlLexicalHandler* sipQXmlReader::lexicalHandler() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[4]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QXmlReader, sipName_lexicalHandler);

    if (!sipMeth)
        return 0;

    extern ::QXmlLexicalHandler* sipVH_QtXml_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_20(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQXmlReader::setLexicalHandler(::QXmlLexicalHandler*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[5], &sipPySelf, sipName_QXmlReader, sipName_setLexicalHandler);

    if (!sipMeth)
        return;

    extern void sipVH_QtXml_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QXmlLexicalHandler*);

    sipVH_QtXml_19(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QXmlErrorHandler* sipQXmlReader::errorHandler() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    extern ::QXmlErrorHandler* sipVH_QtXml_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_18(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQXmlReader::setErrorHandler(::QXmlErrorHandler*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[7], &sipPySelf, sipName_QXmlReader, sipName_setErrorHandler);

    if (!sipMeth)
        return;

    extern void sipVH_QtXml_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QXmlErrorHandler*);

    sipVH_QtXml_17(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QXmlContentHandler* sipQXmlReader::contentHandler() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return 0;

    extern ::QXmlContentHandler* sipVH_QtXml_16(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_16(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQXmlReader::setContentHandler(::QXmlContentHandler*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[9], &sipPySelf, sipName_QXmlReader, sipName_setContentHandler);

    if (!sipMeth)
        return;

    extern void sipVH_QtXml_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QXmlContentHandler*);

    sipVH_QtXml_15(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QXmlDTDHandler* sipQXmlReader::DTDHandler() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[10]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QXmlReader, sipName_DTDHandler);

    if (!sipMeth)
        return 0;

    extern ::QXmlDTDHandler* sipVH_QtXml_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_14(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQXmlReader::setDTDHandler(::QXmlDTDHandler*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[11], &sipPySelf, sipName_QXmlReader, sipName_setDTDHandler);

    if (!sipMeth)
        return;

    extern void sipVH_QtXml_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QXmlDTDHandler*);

    sipVH_QtXml_13(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

::QXmlEntityResolver* sipQXmlReader::entityResolver() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[12]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QXmlReader, sipName_entityResolver);

    if (!sipMeth)
        return 0;

    extern ::QXmlEntityResolver* sipVH_QtXml_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_12(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

void sipQXmlReader::setEntityResolver(::QXmlEntityResolver*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[13], &sipPySelf, sipName_QXmlReader, sipName_setEntityResolver);

    if (!sipMeth)
        return;

    extern void sipVH_QtXml_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, ::QXmlEntityResolver*);

    sipVH_QtXml_11(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQXmlReader::hasProperty(const ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[14]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QXmlReader, sipName_hasProperty);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_8(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQXmlReader::setProperty(const ::QString& a0, void*a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[15], &sipPySelf, sipName_QXmlReader, sipName_setProperty);

    if (!sipMeth)
        return;

    extern void sipVH_QtXml_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QString&, void*);

    sipVH_QtXml_10(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

void* sipQXmlReader::property(const ::QString& a0, bool*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[16]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QXmlReader, sipName_property);

    if (!sipMeth)
        return 0;

    extern void* sipVH_QtXml_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QString&, bool*);

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

bool sipQXmlReader::hasFeature(const ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[17]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QXmlReader, sipName_hasFeature);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_8(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

void sipQXmlReader::setFeature(const ::QString& a0, bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[18], &sipPySelf, sipName_QXmlReader, sipName_setFeature);

    if (!sipMeth)
        return;

    extern void sipVH_QtXml_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const ::QString&, bool);

    sipVH_QtXml_7(sipGILState, sipImportedVirtErrorHandlers_QtXml_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1);
}

bool sipQXmlReader::feature(const ::QString& a0, bool*a1) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState, const_cast<char *>(&sipPyMethods[19]), const_cast<sipSimpleWrapper **>(&sipPySelf), sipName_QXmlReader, sipName_feature);

    if (!sipMeth)
        return 0;

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

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


PyDoc_STRVAR(doc_QXmlReader_feature, "feature(self, name: Optional[str]) -> (bool, Optional[bool])");

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

    {
        const ::QString* a0;
        int a0State = 0;
        bool a1;
        const ::QXmlReader *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_QXmlReader, &sipCpp, sipType_QString, &a0, &a0State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_feature);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->feature(*a0, &a1);
            sipReleaseType(const_cast<::QString *>(a0), sipType_QString, a0State);

            return sipBuildResult(0, "(bb)", sipRes, a1);
        }
    }

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_feature, doc_QXmlReader_feature);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_setFeature, "setFeature(self, name: Optional[str], value: bool)");

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

    {
        const ::QString* a0;
        int a0State = 0;
        bool a1;
        ::QXmlReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_QXmlReader, &sipCpp, sipType_QString, &a0, &a0State, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_setFeature);
                return SIP_NULLPTR;
            }

            sipCpp->setFeature(*a0, a1);
            sipReleaseType(const_cast<::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setFeature, doc_QXmlReader_setFeature);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_hasFeature, "hasFeature(self, name: Optional[str]) -> bool");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlReader, &sipCpp, sipType_QString, &a0, &a0State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_hasFeature);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->hasFeature(*a0);
            sipReleaseType(const_cast<::QString *>(a0), sipType_QString, a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_hasFeature, doc_QXmlReader_hasFeature);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_property, "property(self, name: Optional[str]) -> (Optional[PyQt5.sip.voidptr], Optional[bool])");

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

    {
        const ::QString* a0;
        int a0State = 0;
        bool a1;
        const ::QXmlReader *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, SIP_NULLPTR, "BJ1", &sipSelf, sipType_QXmlReader, &sipCpp, sipType_QString, &a0, &a0State))
        {
            void*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_property);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->property(*a0, &a1);
            sipReleaseType(const_cast<::QString *>(a0), sipType_QString, a0State);

            return sipBuildResult(0, "(Vb)", sipRes, a1);
        }
    }

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_property, doc_QXmlReader_property);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_setProperty, "setProperty(self, name: Optional[str], value: Optional[PyQt5.sip.voidptr])");

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

    {
        const ::QString* a0;
        int a0State = 0;
        void* a1;
        ::QXmlReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1v", &sipSelf, sipType_QXmlReader, &sipCpp, sipType_QString, &a0, &a0State, &a1))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_setProperty);
                return SIP_NULLPTR;
            }

            sipCpp->setProperty(*a0, a1);
            sipReleaseType(const_cast<::QString *>(a0), sipType_QString, a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setProperty, doc_QXmlReader_setProperty);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_hasProperty, "hasProperty(self, name: Optional[str]) -> bool");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlReader, &sipCpp, sipType_QString, &a0, &a0State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_hasProperty);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->hasProperty(*a0);
            sipReleaseType(const_cast<::QString *>(a0), sipType_QString, a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_hasProperty, doc_QXmlReader_hasProperty);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_setEntityResolver, "setEntityResolver(self, handler: Optional[QXmlEntityResolver])");

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

    {
        ::QXmlEntityResolver* a0;
        PyObject *a0Keep;
        ::QXmlReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlReader, &sipCpp, &a0Keep, sipType_QXmlEntityResolver, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_setEntityResolver);
                return SIP_NULLPTR;
            }

            sipCpp->setEntityResolver(a0);

            sipKeepReference(sipSelf, -1, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setEntityResolver, doc_QXmlReader_setEntityResolver);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_entityResolver, "entityResolver(self) -> Optional[QXmlEntityResolver]");

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

    {
        const ::QXmlReader *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_entityResolver);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->entityResolver();

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

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_entityResolver, doc_QXmlReader_entityResolver);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_setDTDHandler, "setDTDHandler(self, handler: Optional[QXmlDTDHandler])");

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

    {
        ::QXmlDTDHandler* a0;
        PyObject *a0Keep;
        ::QXmlReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlReader, &sipCpp, &a0Keep, sipType_QXmlDTDHandler, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_setDTDHandler);
                return SIP_NULLPTR;
            }

            sipCpp->setDTDHandler(a0);

            sipKeepReference(sipSelf, -2, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setDTDHandler, doc_QXmlReader_setDTDHandler);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_DTDHandler, "DTDHandler(self) -> Optional[QXmlDTDHandler]");

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

    {
        const ::QXmlReader *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_DTDHandler);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->DTDHandler();

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

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_DTDHandler, doc_QXmlReader_DTDHandler);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_setContentHandler, "setContentHandler(self, handler: Optional[QXmlContentHandler])");

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

    {
        ::QXmlContentHandler* a0;
        PyObject *a0Keep;
        ::QXmlReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlReader, &sipCpp, &a0Keep, sipType_QXmlContentHandler, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_setContentHandler);
                return SIP_NULLPTR;
            }

            sipCpp->setContentHandler(a0);

            sipKeepReference(sipSelf, -3, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setContentHandler, doc_QXmlReader_setContentHandler);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_contentHandler, "contentHandler(self) -> Optional[QXmlContentHandler]");

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

    {
        const ::QXmlReader *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_contentHandler);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->contentHandler();

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

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_contentHandler, doc_QXmlReader_contentHandler);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_setErrorHandler, "setErrorHandler(self, handler: Optional[QXmlErrorHandler])");

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

    {
        ::QXmlErrorHandler* a0;
        PyObject *a0Keep;
        ::QXmlReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlReader, &sipCpp, &a0Keep, sipType_QXmlErrorHandler, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_setErrorHandler);
                return SIP_NULLPTR;
            }

            sipCpp->setErrorHandler(a0);

            sipKeepReference(sipSelf, -4, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setErrorHandler, doc_QXmlReader_setErrorHandler);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_errorHandler, "errorHandler(self) -> Optional[QXmlErrorHandler]");

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

    {
        const ::QXmlReader *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_errorHandler);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->errorHandler();

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

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_errorHandler, doc_QXmlReader_errorHandler);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_setLexicalHandler, "setLexicalHandler(self, handler: Optional[QXmlLexicalHandler])");

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

    {
        ::QXmlLexicalHandler* a0;
        PyObject *a0Keep;
        ::QXmlReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlReader, &sipCpp, &a0Keep, sipType_QXmlLexicalHandler, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_setLexicalHandler);
                return SIP_NULLPTR;
            }

            sipCpp->setLexicalHandler(a0);

            sipKeepReference(sipSelf, -5, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setLexicalHandler, doc_QXmlReader_setLexicalHandler);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_lexicalHandler, "lexicalHandler(self) -> Optional[QXmlLexicalHandler]");

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

    {
        const ::QXmlReader *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_lexicalHandler);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->lexicalHandler();

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

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_lexicalHandler, doc_QXmlReader_lexicalHandler);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_setDeclHandler, "setDeclHandler(self, handler: Optional[QXmlDeclHandler])");

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

    {
        ::QXmlDeclHandler* a0;
        PyObject *a0Keep;
        ::QXmlReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlReader, &sipCpp, &a0Keep, sipType_QXmlDeclHandler, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_setDeclHandler);
                return SIP_NULLPTR;
            }

            sipCpp->setDeclHandler(a0);

            sipKeepReference(sipSelf, -6, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setDeclHandler, doc_QXmlReader_setDeclHandler);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_declHandler, "declHandler(self) -> Optional[QXmlDeclHandler]");

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

    {
        const ::QXmlReader *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_declHandler);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->declHandler();

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

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_declHandler, doc_QXmlReader_declHandler);

    return SIP_NULLPTR;
}


PyDoc_STRVAR(doc_QXmlReader_parse, "parse(self, input: QXmlInputSource) -> bool\n"
"parse(self, input: Optional[QXmlInputSource]) -> bool");

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

    {
        const ::QXmlInputSource* a0;
        ::QXmlReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QXmlReader, &sipCpp, sipType_QXmlInputSource, &a0))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_parse);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->parse(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const ::QXmlInputSource* a0;
        ::QXmlReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QXmlReader, &sipCpp, sipType_QXmlInputSource, &a0))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlReader, sipName_parse);
                return SIP_NULLPTR;
            }

            sipRes = sipCpp->parse(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_parse, doc_QXmlReader_parse);

    return SIP_NULLPTR;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlReader(void *, int);}
static void release_QXmlReader(void *sipCppV, int sipState)
{
    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlReader *>(sipCppV);
    else
        delete reinterpret_cast<::QXmlReader *>(sipCppV);
}


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

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


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

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, ""))
        {
            sipCpp = new sipQXmlReader();

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const ::QXmlReader* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, SIP_NULLPTR, sipUnused, "J9", sipType_QXmlReader, &a0))
        {
            sipCpp = new sipQXmlReader(*a0);

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return SIP_NULLPTR;
}


static PyMethodDef methods_QXmlReader[] = {
    {sipName_DTDHandler, meth_QXmlReader_DTDHandler, METH_VARARGS, doc_QXmlReader_DTDHandler},
    {sipName_contentHandler, meth_QXmlReader_contentHandler, METH_VARARGS, doc_QXmlReader_contentHandler},
    {sipName_declHandler, meth_QXmlReader_declHandler, METH_VARARGS, doc_QXmlReader_declHandler},
    {sipName_entityResolver, meth_QXmlReader_entityResolver, METH_VARARGS, doc_QXmlReader_entityResolver},
    {sipName_errorHandler, meth_QXmlReader_errorHandler, METH_VARARGS, doc_QXmlReader_errorHandler},
    {sipName_feature, SIP_MLMETH_CAST(meth_QXmlReader_feature), METH_VARARGS|METH_KEYWORDS, doc_QXmlReader_feature},
    {sipName_hasFeature, meth_QXmlReader_hasFeature, METH_VARARGS, doc_QXmlReader_hasFeature},
    {sipName_hasProperty, meth_QXmlReader_hasProperty, METH_VARARGS, doc_QXmlReader_hasProperty},
    {sipName_lexicalHandler, meth_QXmlReader_lexicalHandler, METH_VARARGS, doc_QXmlReader_lexicalHandler},
    {sipName_parse, meth_QXmlReader_parse, METH_VARARGS, doc_QXmlReader_parse},
    {sipName_property, SIP_MLMETH_CAST(meth_QXmlReader_property), METH_VARARGS|METH_KEYWORDS, doc_QXmlReader_property},
    {sipName_setContentHandler, meth_QXmlReader_setContentHandler, METH_VARARGS, doc_QXmlReader_setContentHandler},
    {sipName_setDTDHandler, meth_QXmlReader_setDTDHandler, METH_VARARGS, doc_QXmlReader_setDTDHandler},
    {sipName_setDeclHandler, meth_QXmlReader_setDeclHandler, METH_VARARGS, doc_QXmlReader_setDeclHandler},
    {sipName_setEntityResolver, meth_QXmlReader_setEntityResolver, METH_VARARGS, doc_QXmlReader_setEntityResolver},
    {sipName_setErrorHandler, meth_QXmlReader_setErrorHandler, METH_VARARGS, doc_QXmlReader_setErrorHandler},
    {sipName_setFeature, meth_QXmlReader_setFeature, METH_VARARGS, doc_QXmlReader_setFeature},
    {sipName_setLexicalHandler, meth_QXmlReader_setLexicalHandler, METH_VARARGS, doc_QXmlReader_setLexicalHandler},
    {sipName_setProperty, meth_QXmlReader_setProperty, METH_VARARGS, doc_QXmlReader_setProperty}
};

PyDoc_STRVAR(doc_QXmlReader, "\1QXmlReader()\n"
"QXmlReader(a0: QXmlReader)");


static pyqt5ClassPluginDef plugin_QXmlReader = {
    SIP_NULLPTR,
    0,
    SIP_NULLPTR,
    SIP_NULLPTR
};


sipClassTypeDef sipTypeDef_QtXml_QXmlReader = {
    {
        -1,
        SIP_NULLPTR,
        SIP_NULLPTR,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QXmlReader,
        SIP_NULLPTR,
        &plugin_QXmlReader,
    },
    {
        sipNameNr_QXmlReader,
        {0, 0, 1},
        19, methods_QXmlReader,
        0, SIP_NULLPTR,
        0, SIP_NULLPTR,
        {SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR, SIP_NULLPTR},
    },
    doc_QXmlReader,
    -1,
    sipNameNr_sip_simplewrapper,
    SIP_NULLPTR,
    SIP_NULLPTR,
    init_type_QXmlReader,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    dealloc_QXmlReader,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    release_QXmlReader,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    SIP_NULLPTR,
    sizeof (::QXmlReader),
};
