/*
 * Module code.
 *
 * Generated by SIP 4.16.7
 *
 * Copyright (c) 2014 Riverbank Computing Limited <info@riverbankcomputing.com>
 * 
 * This file is part of PyQt.
 * 
 * This file may be used under the terms of the GNU General Public
 * License versions 2.0 or 3.0 as published by the Free Software
 * Foundation and appearing in the files LICENSE.GPL2 and LICENSE.GPL3
 * included in the packaging of this file.  Alternatively you may (at
 * your option) use any later version of the GNU General Public
 * License if such license has been publicly approved by Riverbank
 * Computing Limited (or its successors, if any) and the KDE Free Qt
 * Foundation. In addition, as a special exception, Riverbank gives you
 * certain additional rights. These rights are described in the Riverbank
 * GPL Exception version 1.1, which can be found in the file
 * GPL_EXCEPTION.txt in this package.
 * 
 * If you are unsure which license is appropriate for your use, please
 * contact the sales department at sales@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 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 34 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 83 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 37 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 116 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 40 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 57 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 43 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 206 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 46 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 298 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 49 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 280 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 52 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 55 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 219 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 58 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 255 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 61 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 268 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 64 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 37 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 67 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 70 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 73 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 76 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 79 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 82 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 85 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 88 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 91 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 94 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 97 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 100 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 103 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 106 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 109 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 112 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 115 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 118 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 121 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 124 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

/* Define the strings used by this module. */
const char sipStrings_QtXml[] = {
    'Q', 'D', 'o', 'm', 'I', 'm', 'p', 'l', 'e', 'm', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', ':', ':', 'I', 'n', 'v', 'a', 'l', 'i', 'd', 'D', 'a', 't', 'a', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'P', 'y', 'Q', 't', '4', '.', 'Q', 't', 'C', 'o', 'r', 'e', '.', 'p', 'y', 'q', 't', 'W', 'r', 'a', 'p', 'p', 'e', 'r', 'T', 'y', 'p', 'e', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'P', 'r', 'o', 'c', 'e', 's', 's', 'i', 'n', 'g', 'I', 'n', 's', 't', 'r', 'u', 'c', 't', 'i', 'o', 'n', 0,
    'Q', 'D', 'o', 'm', 'P', 'r', 'o', 'c', 'e', 's', 's', 'i', 'n', 'g', 'I', 'n', 's', 't', 'r', 'u', 'c', 't', 'i', 'o', 'n', 0,
    'P', 'r', 'o', 'c', 'e', 's', 's', 'i', 'n', 'g', 'I', 'n', 's', 't', 'r', 'u', 'c', 't', 'i', 'o', 'n', 'N', 'o', 'd', 'e', 0,
    'Q', 'D', 'o', 'm', 'N', 'o', 'd', 'e', ':', ':', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    't', 'o', 'P', 'r', 'o', 'c', 'e', 's', 's', 'i', 'n', 'g', 'I', 'n', 's', 't', 'r', 'u', 'c', 't', 'i', 'o', 'n', 0,
    'i', 's', 'P', 'r', 'o', 'c', 'e', 's', 's', 'i', 'n', 'g', 'I', 'n', 's', 't', 'r', 'u', 'c', 't', 'i', 'o', 'n', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 0,
    'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 'F', 'r', 'o', 'm', 'T', 'e', 'x', 't', 'S', 't', 'r', 'e', 'a', 'm', 0,
    'p', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'S', 'i', 'b', 'l', 'i', 'n', 'g', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'p', 'r', 'o', 'c', 'e', 's', 's', 'i', 'n', 'g', 'I', 'n', 's', 't', 'r', 'u', 'c', 't', 'i', 'o', 'n', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'E', 'n', 't', 'i', 't', 'y', 'R', 'e', 'f', 'e', 'r', 'e', 'n', 'c', 'e', 0,
    'Q', 'X', 'm', 'l', 'N', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 'S', 'u', 'p', 'p', 'o', 'r', 't', 0,
    'Q', 'D', 'o', 'm', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 0,
    'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 'F', 'r', 'o', 'm', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 'N', 'o', 'd', 'e', 0,
    's', 'e', 't', 'I', 'n', 'v', 'a', 'l', 'i', 'd', 'D', 'a', 't', 'a', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'i', 'g', 'n', 'o', 'r', 'a', 'b', 'l', 'e', 'W', 'h', 'i', 't', 'e', 's', 'p', 'a', 'c', 'e', 0,
    'Q', 'D', 'o', 'm', 'E', 'n', 't', 'i', 't', 'y', 'R', 'e', 'f', 'e', 'r', 'e', 'n', 'c', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'o', 'd', 'e', 0,
    'e', 'l', 'e', 'm', 'e', 'n', 't', 's', 'B', 'y', 'T', 'a', 'g', 'N', 'a', 'm', 'e', 'N', 'S', 0,
    'E', 'n', 't', 'i', 't', 'y', 'R', 'e', 'f', 'e', 'r', 'e', 'n', 'c', 'e', 'N', 'o', 'd', 'e', 0,
    'Q', 'X', 'm', 'l', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'e', 'x', 't', 'e', 'r', 'n', 'a', 'l', 'E', 'n', 't', 'i', 't', 'y', 'D', 'e', 'c', 'l', 0,
    'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'E', 'n', 't', 'i', 't', 'y', 'D', 'e', 'c', 'l', 0,
    'Q', 'X', 'm', 'l', 'L', 'e', 'x', 'i', 'c', 'a', 'l', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'Q', 'X', 'm', 'l', 'E', 'n', 't', 'i', 't', 'y', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'r', 0,
    'u', 'n', 'p', 'a', 'r', 's', 'e', 'd', 'E', 'n', 't', 'i', 't', 'y', 'D', 'e', 'c', 'l', 0,
    's', 't', 'a', 'r', 't', 'P', 'r', 'e', 'f', 'i', 'x', 'M', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    's', 'e', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'L', 'o', 'c', 'a', 't', 'o', 'r', 0,
    'Q', 'X', 'm', 'l', 'C', 'o', 'n', 't', 'e', 'n', 't', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'Q', 'X', 'm', 'l', 'P', 'a', 'r', 's', 'e', 'E', 'x', 'c', 'e', 'p', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'o', 'd', 'e', 'N', 'S', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'C', 'D', 'A', 'T', 'A', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'n', 'e', 'x', 't', 'S', 'i', 'b', 'l', 'i', 'n', 'g', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    't', 'o', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 0,
    'i', 's', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'F', 'r', 'a', 'g', 'm', 'e', 'n', 't', 0,
    'Q', 'D', 'o', 'm', 'N', 'o', 'd', 'e', ':', ':', 'N', 'o', 'd', 'e', 'T', 'y', 'p', 'e', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'T', 'y', 'p', 'e', 0,
    'A', 'c', 'c', 'e', 'p', 't', 'I', 'n', 'v', 'a', 'l', 'i', 'd', 'C', 'h', 'a', 'r', 's', 0,
    'Q', 'D', 'o', 'm', 'I', 'm', 'p', 'l', 'e', 'm', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'L', 'e', 'x', 'i', 'c', 'a', 'l', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'e', 'n', 't', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'S', 0,
    'Q', 'D', 'o', 'm', 'C', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 'D', 'a', 't', 'a', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'N', 'a', 'm', 'e', 'd', 'I', 't', 'e', 'm', 'N', 'S', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'S', 0,
    'e', 'l', 'e', 'm', 'e', 'n', 't', 's', 'B', 'y', 'T', 'a', 'g', 'N', 'a', 'm', 'e', 0,
    'f', 'i', 'r', 's', 't', 'C', 'h', 'i', 'l', 'd', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    't', 'o', 'E', 'n', 't', 'i', 't', 'y', 'R', 'e', 'f', 'e', 'r', 'e', 'n', 'c', 'e', 0,
    'C', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 'D', 'a', 't', 'a', 'N', 'o', 'd', 'e', 0,
    'i', 'n', 'v', 'a', 'l', 'i', 'd', 'D', 'a', 't', 'a', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    's', 'e', 't', 'E', 'n', 't', 'i', 't', 'y', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'r', 0,
    'i', 's', 'E', 'n', 't', 'i', 't', 'y', 'R', 'e', 'f', 'e', 'r', 'e', 'n', 'c', 'e', 0,
    's', 'i', 'p', '.', 's', 'i', 'm', 'p', 'l', 'e', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 0,
    'Q', 'X', 'm', 'l', 'E', 'r', 'r', 'o', 'r', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'e', 'n', 'd', 'P', 'r', 'e', 'f', 'i', 'x', 'M', 'a', 'p', 'p', 'i', 'n', 'g', 0,
    'Q', 'X', 'm', 'l', 'S', 'i', 'm', 'p', 'l', 'e', 'R', 'e', 'a', 'd', 'e', 'r', 0,
    'Q', 'D', 'o', 'm', 'C', 'D', 'A', 'T', 'A', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'o', 'd', 'e', 0,
    'Q', 'D', 'o', 'm', 'N', 'a', 'm', 'e', 'd', 'N', 'o', 'd', 'e', 'M', 'a', 'p', 0,
    'Q', 'D', 'o', 'm', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'T', 'y', 'p', 'e', 0,
    'l', 'a', 's', 't', 'C', 'h', 'i', 'l', 'd', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'T', 'y', 'p', 'e', 'N', 'o', 'd', 'e', 0,
    'C', 'D', 'A', 'T', 'A', 'S', 'e', 'c', 't', 'i', 'o', 'n', 'N', 'o', 'd', 'e', 0,
    'D', 'r', 'o', 'p', 'I', 'n', 'v', 'a', 'l', 'i', 'd', 'C', 'h', 'a', 'r', 's', 0,
    'Q', 'X', 'm', 'l', 'D', 'e', 'c', 'l', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    's', 'e', 't', 'E', 'r', 'r', 'o', 'r', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'Q', 'X', 'm', 'l', 'I', 'n', 'p', 'u', 't', 'S', 'o', 'u', 'r', 'c', 'e', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'o', 'd', 'e', 'N', 'S', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'N', 'a', 'm', 'e', 'd', 'I', 't', 'e', 'm', 0,
    'd', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'E', 'l', 'e', 'm', 'e', 'n', 't', 'N', 'S', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    't', 'o', 'C', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 'D', 'a', 't', 'a', 0,
    'i', 's', 'C', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 'D', 'a', 't', 'a', 0,
    'p', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'S', 'i', 'b', 'l', 'i', 'n', 'g', 0,
    'Q', 'X', 'm', 'l', 'D', 'T', 'D', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    's', 'e', 't', 'D', 'e', 'c', 'l', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'l', 'e', 'x', 'i', 'c', 'a', 'l', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'c', 'o', 'n', 't', 'e', 'n', 't', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'Q', 'X', 'm', 'l', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', 0,
    'h', 'a', 's', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'S', 0,
    's', 'e', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'S', 0,
    's', 'e', 't', 'N', 'a', 'm', 'e', 'd', 'I', 't', 'e', 'm', 'N', 'S', 0,
    'i', 'm', 'p', 'l', 'e', 'm', 'e', 'n', 't', 'a', 't', 'i', 'o', 'n', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'T', 'e', 'x', 't', 'N', 'o', 'd', 'e', 0,
    'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', 'S', 'u', 'b', 's', 'e', 't', 0,
    't', 'o', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'T', 'y', 'p', 'e', 0,
    't', 'o', 'C', 'D', 'A', 'T', 'A', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'i', 's', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'T', 'y', 'p', 'e', 0,
    'i', 's', 'C', 'D', 'A', 'T', 'A', 'S', 'e', 'c', 't', 'i', 'o', 'n', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'R', 'e', 't', 'u', 'r', 'n', 'N', 'u', 'l', 'l', 'N', 'o', 'd', 'e', 0,
    'e', 'n', 't', 'i', 't', 'y', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'r', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'D', 'e', 'c', 'l', 0,
    'r', 'e', 's', 'o', 'l', 'v', 'e', 'E', 'n', 't', 'i', 't', 'y', 0,
    's', 'k', 'i', 'p', 'p', 'e', 'd', 'E', 'n', 't', 'i', 't', 'y', 0,
    's', 't', 'a', 'r', 't', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'p', 'a', 'r', 's', 'e', 'C', 'o', 'n', 't', 'i', 'n', 'u', 'e', 0,
    's', 'e', 't', 'D', 'T', 'D', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'E', 'n', 'd', 'O', 'f', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'o', 'd', 'e', 0,
    's', 'u', 'b', 's', 't', 'r', 'i', 'n', 'g', 'D', 'a', 't', 'a', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'C', 'o', 'm', 'm', 'e', 'n', 't', 0,
    'c', 'r', 'e', 'a', 't', 'e', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'h', 'a', 's', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', 0,
    'o', 'w', 'n', 'e', 'r', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'h', 'a', 's', 'C', 'h', 'i', 'l', 'd', 'N', 'o', 'd', 'e', 's', 0,
    'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'D', 'e', 'c', 'l', 0,
    's', 't', 'a', 'r', 't', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'e', 'r', 'r', 'o', 'r', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'Q', 'D', 'o', 'm', 'N', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    'o', 'w', 'n', 'e', 'r', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'N', 'a', 'm', 'e', 'd', 'I', 't', 'e', 'm', 0,
    'Q', 'D', 'o', 'm', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'Q', 'D', 'o', 'm', 'N', 'o', 'd', 'e', 'L', 'i', 's', 't', 0,
    's', 'e', 't', 'N', 'o', 'd', 'e', 'V', 'a', 'l', 'u', 'e', 0,
    'n', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 'U', 'R', 'I', 0,
    'r', 'e', 'p', 'l', 'a', 'c', 'e', 'C', 'h', 'i', 'l', 'd', 0,
    'i', 'n', 's', 'e', 'r', 't', 'B', 'e', 'f', 'o', 'r', 'e', 0,
    'N', 'o', 't', 'a', 't', 'i', 'o', 'n', 'N', 'o', 'd', 'e', 0,
    'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 'N', 'o', 'd', 'e', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 'N', 'a', 'm', 'e', 0,
    'h', 'a', 's', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', 0,
    's', 'e', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    's', 't', 'a', 'r', 't', 'E', 'n', 't', 'i', 't', 'y', 0,
    'e', 'n', 'd', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'Q', 'X', 'm', 'l', 'L', 'o', 'c', 'a', 't', 'o', 'r', 0,
    'd', 'e', 'c', 'l', 'H', 'a', 'n', 'd', 'l', 'e', 'r', 0,
    'h', 'a', 's', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'p', 'u', 's', 'h', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    'p', 'r', 'o', 'c', 'e', 's', 's', 'N', 'a', 'm', 'e', 0,
    'Q', 'D', 'o', 'm', 'C', 'o', 'm', 'm', 'e', 'n', 't', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'S', 0,
    'Q', 'D', 'o', 'm', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'r', 'e', 'p', 'l', 'a', 'c', 'e', 'D', 'a', 't', 'a', 0,
    'n', 'a', 'm', 'e', 'd', 'I', 't', 'e', 'm', 'N', 'S', 0,
    'e', 'r', 'r', 'o', 'r', 'C', 'o', 'l', 'u', 'm', 'n', 0,
    'e', 'l', 'e', 'm', 'e', 'n', 't', 'B', 'y', 'I', 'd', 0,
    'n', 'e', 'x', 't', 'S', 'i', 'b', 'l', 'i', 'n', 'g', 0,
    'i', 's', 'S', 'u', 'p', 'p', 'o', 'r', 't', 'e', 'd', 0,
    'a', 'p', 'p', 'e', 'n', 'd', 'C', 'h', 'i', 'l', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'C', 'h', 'i', 'l', 'd', 0,
    'i', 'n', 's', 'e', 'r', 't', 'A', 'f', 't', 'e', 'r', 0,
    'C', 'o', 'm', 'm', 'e', 'n', 't', 'N', 'o', 'd', 'e', 0,
    'E', 'l', 'e', 'm', 'e', 'n', 't', 'N', 'o', 'd', 'e', 0,
    't', 'o', 'B', 'y', 't', 'e', 'A', 'r', 'r', 'a', 'y', 0,
    's', 'e', 't', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'f', 'r', 'o', 'm', 'R', 'a', 'w', 'D', 'a', 't', 'a', 0,
    'e', 'r', 'r', 'o', 'r', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'P', 'y', 'Q', 't', '4', '.', 'Q', 't', 'X', 'm', 'l', 0,
    's', 't', 'a', 'r', 't', 'C', 'D', 'A', 'T', 'A', 0,
    'f', 'a', 't', 'a', 'l', 'E', 'r', 'r', 'o', 'r', 0,
    'c', 'h', 'a', 'r', 'a', 'c', 't', 'e', 'r', 's', 0,
    'e', 'n', 'd', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'F', 'e', 'a', 't', 'u', 'r', 'e', 0,
    'Q', 'X', 'm', 'l', 'R', 'e', 'a', 'd', 'e', 'r', 0,
    'p', 'o', 'p', 'C', 'o', 'n', 't', 'e', 'x', 't', 0,
    'Q', 'D', 'o', 'm', 'E', 'n', 't', 'i', 't', 'y', 0,
    's', 'e', 't', 'T', 'a', 'g', 'N', 'a', 'm', 'e', 0,
    'd', 'e', 'l', 'e', 't', 'e', 'D', 'a', 't', 'a', 0,
    'i', 'n', 's', 'e', 'r', 't', 'D', 'a', 't', 'a', 0,
    'a', 'p', 'p', 'e', 'n', 'd', 'D', 'a', 't', 'a', 0,
    's', 'e', 't', 'C', 'o', 'n', 't', 'e', 'n', 't', 0,
    'i', 'm', 'p', 'o', 'r', 't', 'N', 'o', 'd', 'e', 0,
    't', 'o', 'N', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    't', 'o', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'i', 's', 'N', 'o', 't', 'a', 't', 'i', 'o', 'n', 0,
    'i', 's', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'f', 'i', 'r', 's', 't', 'C', 'h', 'i', 'l', 'd', 0,
    'c', 'h', 'i', 'l', 'd', 'N', 'o', 'd', 'e', 's', 0,
    'p', 'a', 'r', 'e', 'n', 't', 'N', 'o', 'd', 'e', 0,
    'E', 'n', 't', 'i', 't', 'y', 'N', 'o', 'd', 'e', 0,
    'h', 'a', 's', 'F', 'e', 'a', 't', 'u', 'r', 'e', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', 0,
    'l', 'i', 'n', 'e', 'N', 'u', 'm', 'b', 'e', 'r', 0,
    'f', 'i', 'e', 'l', 'd', 'W', 'i', 'd', 't', 'h', 0,
    '_', '_', 'l', 's', 'h', 'i', 'f', 't', '_', '_', 0,
    'e', 'n', 'd', 'E', 'n', 't', 'i', 't', 'y', 0,
    'b', 'e', 'g', 'i', 'n', 'n', 'i', 'n', 'g', 0,
    'E', 'n', 'd', 'O', 'f', 'D', 'a', 't', 'a', 0,
    'f', 'e', 't', 'c', 'h', 'D', 'a', 't', 'a', 0,
    's', 'p', 'l', 'i', 't', 'N', 'a', 'm', 'e', 0,
    's', 'p', 'l', 'i', 't', 'T', 'e', 'x', 't', 0,
    's', 'p', 'e', 'c', 'i', 'f', 'i', 'e', 'd', 0,
    'e', 'r', 'r', 'o', 'r', 'L', 'i', 'n', 'e', 0,
    'n', 'o', 't', 'a', 't', 'i', 'o', 'n', 's', 0,
    't', 'o', 'C', 'o', 'm', 'm', 'e', 'n', 't', 0,
    't', 'o', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    'n', 'a', 'm', 'e', 'd', 'I', 't', 'e', 'm', 0,
    'i', 's', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'P', 'r', 'e', 'f', 'i', 'x', 0,
    'n', 'o', 'd', 'e', 'V', 'a', 'l', 'u', 'e', 0,
    'l', 'o', 'c', 'a', 'l', 'N', 'a', 'm', 'e', 0,
    'l', 'a', 's', 't', 'C', 'h', 'i', 'l', 'd', 0,
    'n', 'o', 'r', 'm', 'a', 'l', 'i', 'z', 'e', 0,
    'c', 'l', 'o', 'n', 'e', 'N', 'o', 'd', 'e', 0,
    'i', 's', 'C', 'o', 'm', 'm', 'e', 'n', 't', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'p', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'e', 'n', 'd', 'C', 'D', 'A', 'T', 'A', 0,
    's', 't', 'a', 'r', 't', 'D', 'T', 'D', 0,
    'p', 'r', 'e', 'f', 'i', 'x', 'e', 's', 0,
    'Q', 'D', 'o', 'm', 'T', 'e', 'x', 't', 0,
    'Q', 'D', 'o', 'm', 'A', 't', 't', 'r', 0,
    'e', 'r', 'r', 'o', 'r', 'M', 's', 'g', 0,
    'e', 'n', 't', 'i', 't', 'i', 'e', 's', 0,
    't', 'o', 'E', 'n', 't', 'i', 't', 'y', 0,
    'i', 's', 'E', 'n', 't', 'i', 't', 'y', 0,
    'n', 'o', 'd', 'e', 'T', 'y', 'p', 'e', 0,
    'n', 'o', 'd', 'e', 'N', 'a', 'm', 'e', 0,
    'B', 'a', 's', 'e', 'N', 'o', 'd', 'e', 0,
    'Q', 'D', 'o', 'm', 'N', 'o', 'd', 'e', 0,
    'p', 'u', 'b', 'l', 'i', 'c', 'I', 'd', 0,
    's', 'y', 's', 't', 'e', 'm', 'I', 'd', 0,
    'b', 'e', 'h', 'a', 'v', 'i', 'o', 'r', 0,
    'f', 'i', 'l', 'l', 'C', 'h', 'a', 'r', 0,
    's', 'e', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    't', 'o', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'c', 'o', 'n', 't', 'a', 'i', 'n', 's', 0,
    'w', 'a', 'r', 'n', 'i', 'n', 'g', 0,
    't', 'a', 'g', 'N', 'a', 'm', 'e', 0,
    'd', 'o', 'c', 't', 'y', 'p', 'e', 0,
    'f', 'e', 'a', 't', 'u', 'r', 'e', 0,
    'c', 'o', 'm', 'm', 'e', 'n', 't', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'i', 's', 'E', 'm', 'p', 't', 'y', 0,
    '_', '_', 'l', 'e', 'n', '_', '_', 0,
    's', 'e', 't', 'D', 'a', 't', 'a', 0,
    'f', 'i', 'l', 't', 'e', 'r', 's', 0,
    'm', 'e', 's', 's', 'a', 'g', 'e', 0,
    'Q', 'S', 't', 'r', 'i', 'n', 'g', 0,
    'e', 'n', 'd', 'D', 'T', 'D', 0,
    'i', 'n', 'd', 'e', 'n', 't', 0,
    't', 'o', 'T', 'e', 'x', 't', 0,
    't', 'o', 'A', 't', 't', 'r', 0,
    'i', 's', 'T', 'e', 'x', 't', 0,
    'i', 's', 'A', 't', 't', 'r', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 0,
    'v', 'a', 'l', 'u', 'e', '9', 0,
    'v', 'a', 'l', 'u', 'e', '8', 0,
    'v', 'a', 'l', 'u', 'e', '7', 0,
    'v', 'a', 'l', 'u', 'e', '6', 0,
    'v', 'a', 'l', 'u', 'e', '5', 0,
    'v', 'a', 'l', 'u', 'e', '4', 0,
    'v', 'a', 'l', 'u', 'e', '3', 0,
    'v', 'a', 'l', 'u', 'e', '0', 0,
    's', 'y', 'm', 'b', 'o', 'l', 0,
    's', 'u', 'f', 'f', 'i', 'x', 0,
    'p', 'r', 'e', 'f', 'i', 'x', 0,
    'f', 'o', 'r', 'm', 'a', 't', 0,
    'a', 'p', 'p', 'e', 'n', 'd', 0,
    'l', 'e', 'n', 'g', 't', 'h', 0,
    'v', 'a', 'l', 'u', 'e', '2', 0,
    'v', 'a', 'l', 'u', 'e', '1', 0,
    'i', 's', 'N', 'u', 'l', 'l', 0,
    't', 'a', 'r', 'g', 'e', 't', 0,
    'c', 'o', 'l', 'u', 'm', 'n', 0,
    'o', 'b', 'j', 'e', 'c', 't', 0,
    '_', '_', 'n', 'e', '_', '_', 0,
    '_', '_', 'e', 'q', '_', '_', 0,
    'p', 'a', 'r', 's', 'e', 0,
    'q', 'N', 'a', 'm', 'e', 0,
    'c', 'l', 'e', 'a', 'r', 0,
    'r', 'e', 's', 'e', 't', 0,
    'c', 'o', 'u', 'n', 't', 0,
    'v', 'a', 'l', 'u', 'e', 0,
    'i', 'n', 'd', 'e', 'x', 0,
    'e', 'r', 'r', 'o', 'r', 0,
    'f', 'l', 'a', 'g', 's', 0,
    'm', 's', 'e', 'c', 's', 0,
    'i', 't', 'e', 'm', 0,
    'd', 'e', 'e', 'p', 0,
    's', 'a', 'v', 'e', 0,
    'l', 'i', 'n', 'e', 0,
    'm', 'o', 'd', 'e', 0,
    'n', 'a', 'm', 'e', 0,
    'b', 'a', 's', 'e', 0,
    'f', 'r', 'o', 'm', 0,
    's', 'o', 'r', 't', 0,
    'n', 'e', 'x', 't', 0,
    'd', 'a', 't', 'a', 0,
    's', 'i', 'z', 'e', 0,
    'u', 'r', 'i', 0,
    'o', 'k', 0,
};
#line 29 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 423 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

bool sipVH_QtXml_0(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QString& a0,const QString& a1,const QString& a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NNN",new QString(a0),sipType_QString,NULL,new QString(a1),sipType_QString,NULL,new QString(a2),sipType_QString,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

bool sipVH_QtXml_1(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QString& a0,const QString& a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN",new QString(a0),sipType_QString,NULL,new QString(a1),sipType_QString,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

bool sipVH_QtXml_2(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QString& a0,const QString& a1,const QString& a2,const QString& a3,const QString& a4)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NNNNN",new QString(a0),sipType_QString,NULL,new QString(a1),sipType_QString,NULL,new QString(a2),sipType_QString,NULL,new QString(a3),sipType_QString,NULL,new QString(a4),sipType_QString,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

bool sipVH_QtXml_3(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QString& a0,const QString& a1,QXmlInputSource*&a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NN",new QString(a0),sipType_QString,NULL,new QString(a1),sipType_QString,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "(bH4)", &sipRes, sipType_QXmlInputSource, &a2);

    return sipRes;
}

bool sipVH_QtXml_4(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QString& a0,const QString& a1,const QString& a2,const QString& a3)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NNNN",new QString(a0),sipType_QString,NULL,new QString(a1),sipType_QString,NULL,new QString(a2),sipType_QString,NULL,new QString(a3),sipType_QString,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

bool sipVH_QtXml_5(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QXmlParseException& a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QXmlParseException(a0),sipType_QXmlParseException,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

bool sipVH_QtXml_6(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QString& a0,const QString& a1,const QString& a2,const QXmlAttributes& a3)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NNNN",new QString(a0),sipType_QString,NULL,new QString(a1),sipType_QString,NULL,new QString(a2),sipType_QString,NULL,new QXmlAttributes(a3),sipType_QXmlAttributes,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

void sipVH_QtXml_7(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QXmlLocator*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QXmlLocator,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "Z");
}

bool sipVH_QtXml_8(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QXmlInputSource*a0,bool a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "Db",const_cast<QXmlInputSource *>(a0),sipType_QXmlInputSource,NULL,a1);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

bool sipVH_QtXml_9(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QXmlInputSource*a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",const_cast<QXmlInputSource *>(a0),sipType_QXmlInputSource,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

QXmlDeclHandler* sipVH_QtXml_10(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    QXmlDeclHandler* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H0", sipType_QXmlDeclHandler, &sipRes);

    return sipRes;
}

void sipVH_QtXml_11(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QXmlDeclHandler*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QXmlDeclHandler,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "Z");
}

QXmlLexicalHandler* sipVH_QtXml_12(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    QXmlLexicalHandler* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H0", sipType_QXmlLexicalHandler, &sipRes);

    return sipRes;
}

void sipVH_QtXml_13(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QXmlLexicalHandler*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QXmlLexicalHandler,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "Z");
}

QXmlErrorHandler* sipVH_QtXml_14(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    QXmlErrorHandler* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H0", sipType_QXmlErrorHandler, &sipRes);

    return sipRes;
}

void sipVH_QtXml_15(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QXmlErrorHandler*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QXmlErrorHandler,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "Z");
}

QXmlContentHandler* sipVH_QtXml_16(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    QXmlContentHandler* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H0", sipType_QXmlContentHandler, &sipRes);

    return sipRes;
}

void sipVH_QtXml_17(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QXmlContentHandler*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QXmlContentHandler,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "Z");
}

QXmlDTDHandler* sipVH_QtXml_18(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    QXmlDTDHandler* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H0", sipType_QXmlDTDHandler, &sipRes);

    return sipRes;
}

void sipVH_QtXml_19(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QXmlDTDHandler*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QXmlDTDHandler,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "Z");
}

QXmlEntityResolver* sipVH_QtXml_20(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    QXmlEntityResolver* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H0", sipType_QXmlEntityResolver, &sipRes);

    return sipRes;
}

void sipVH_QtXml_21(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, QXmlEntityResolver*a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D",a0,sipType_QXmlEntityResolver,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "Z");
}

void sipVH_QtXml_22(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QString& a0,void*a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NV",new QString(a0),sipType_QString,NULL,a1);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "Z");
}

void* sipVH_QtXml_23(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QString& a0,bool*a1)
{
    void* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QString(a0),sipType_QString,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "(Vb)", &sipRes, a1);

    return sipRes;
}

void sipVH_QtXml_24(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QString& a0,bool a1)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "Nb",new QString(a0),sipType_QString,NULL,a1);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "Z");
}

bool sipVH_QtXml_25(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QString& a0,bool*a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QString(a0),sipType_QString,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "(bb)", &sipRes, a1);

    return sipRes;
}

bool sipVH_QtXml_26(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QXmlInputSource& a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QXmlInputSource(a0),sipType_QXmlInputSource,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "b", &sipRes);

    return sipRes;
}

QString sipVH_QtXml_27(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QByteArray& a0,bool a1)
{
    QString sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "Nb",new QByteArray(a0),sipType_QByteArray,NULL,a1);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_QString, &sipRes);

    return sipRes;
}

QChar sipVH_QtXml_28(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    QChar sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "H5", sipType_QChar, &sipRes);

    return sipRes;
}

void sipVH_QtXml_29(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const QByteArray& a0)
{
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "N",new QByteArray(a0),sipType_QByteArray,NULL);

    sipParseResultEx(sipGILState, sipErrorHandler, sipPySelf, sipMethod, sipResObj, "Z");
}


extern "C" {static PyObject *slot___lshift__(PyObject *,PyObject *);}
static PyObject *slot___lshift__(PyObject *sipArg0,PyObject *sipArg1)
{
    PyObject *sipParseErr = NULL;

    {
        QTextStream* a0;
        const QDomNode* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QTextStream, &a0, sipType_QDomNode, &a1))
        {
            QTextStream*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = &(*a0 << *a1);
            Py_END_ALLOW_THREADS

            return sipConvertFromType(sipRes,sipType_QTextStream,NULL);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}

static sipPySlotExtenderDef slotExtenders[] = {
    {(void *)slot___lshift__, lshift_slot, {0, 0, 0}},
    {NULL, (sipPySlotType)0, {0, 0, 0}}
};
static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDomNode__EncodingPolicy, {0}}, sipNameNr_EncodingPolicy, 13, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDomNode__NodeType, {0}}, sipNameNr_NodeType, 13, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QDomImplementation__InvalidDataPolicy, {0}}, sipNameNr_InvalidDataPolicy, 10, NULL},
};


/*
 * This defines each type in this module.
 */
static sipTypeDef *typesTable[] = {
    &sipTypeDef_QtXml_QDomAttr.super.ctd_base,
    &sipTypeDef_QtXml_QDomCDATASection.super.ctd_base,
    &sipTypeDef_QtXml_QDomCharacterData.super.ctd_base,
    &sipTypeDef_QtXml_QDomComment.super.ctd_base,
    &sipTypeDef_QtXml_QDomDocument.super.ctd_base,
    &sipTypeDef_QtXml_QDomDocumentFragment.super.ctd_base,
    &sipTypeDef_QtXml_QDomDocumentType.super.ctd_base,
    &sipTypeDef_QtXml_QDomElement.super.ctd_base,
    &sipTypeDef_QtXml_QDomEntity.super.ctd_base,
    &sipTypeDef_QtXml_QDomEntityReference.super.ctd_base,
    &sipTypeDef_QtXml_QDomImplementation.super.ctd_base,
    &enumTypes[2].etd_base,
    &sipTypeDef_QtXml_QDomNamedNodeMap.super.ctd_base,
    &sipTypeDef_QtXml_QDomNode.super.ctd_base,
    &enumTypes[0].etd_base,
    &enumTypes[1].etd_base,
    &sipTypeDef_QtXml_QDomNodeList.super.ctd_base,
    &sipTypeDef_QtXml_QDomNotation.super.ctd_base,
    &sipTypeDef_QtXml_QDomProcessingInstruction.super.ctd_base,
    &sipTypeDef_QtXml_QDomText.super.ctd_base,
    &sipTypeDef_QtXml_QXmlAttributes.super.ctd_base,
    &sipTypeDef_QtXml_QXmlContentHandler.super.ctd_base,
    &sipTypeDef_QtXml_QXmlDTDHandler.super.ctd_base,
    &sipTypeDef_QtXml_QXmlDeclHandler.super.ctd_base,
    &sipTypeDef_QtXml_QXmlDefaultHandler.super.ctd_base,
    &sipTypeDef_QtXml_QXmlEntityResolver.super.ctd_base,
    &sipTypeDef_QtXml_QXmlErrorHandler.super.ctd_base,
    &sipTypeDef_QtXml_QXmlInputSource.super.ctd_base,
    &sipTypeDef_QtXml_QXmlLexicalHandler.super.ctd_base,
    &sipTypeDef_QtXml_QXmlLocator.super.ctd_base,
    &sipTypeDef_QtXml_QXmlNamespaceSupport.super.ctd_base,
    &sipTypeDef_QtXml_QXmlParseException.super.ctd_base,
    &sipTypeDef_QtXml_QXmlReader.super.ctd_base,
    &sipTypeDef_QtXml_QXmlSimpleReader.super.ctd_base,
};


/*
 * This defines the virtual handlers that this module implements and can be
 * used by other modules.
 */
static sipVirtHandlerFunc virtHandlersTable[] = {
    (sipVirtHandlerFunc)sipVH_QtXml_0,
    (sipVirtHandlerFunc)sipVH_QtXml_1,
    (sipVirtHandlerFunc)sipVH_QtXml_2,
    (sipVirtHandlerFunc)sipVH_QtXml_3,
    (sipVirtHandlerFunc)sipVH_QtXml_4,
    (sipVirtHandlerFunc)sipVH_QtXml_5,
    (sipVirtHandlerFunc)sipVH_QtXml_6,
    (sipVirtHandlerFunc)sipVH_QtXml_7,
    (sipVirtHandlerFunc)sipVH_QtXml_8,
    (sipVirtHandlerFunc)sipVH_QtXml_9,
    (sipVirtHandlerFunc)sipVH_QtXml_10,
    (sipVirtHandlerFunc)sipVH_QtXml_11,
    (sipVirtHandlerFunc)sipVH_QtXml_12,
    (sipVirtHandlerFunc)sipVH_QtXml_13,
    (sipVirtHandlerFunc)sipVH_QtXml_14,
    (sipVirtHandlerFunc)sipVH_QtXml_15,
    (sipVirtHandlerFunc)sipVH_QtXml_16,
    (sipVirtHandlerFunc)sipVH_QtXml_17,
    (sipVirtHandlerFunc)sipVH_QtXml_18,
    (sipVirtHandlerFunc)sipVH_QtXml_19,
    (sipVirtHandlerFunc)sipVH_QtXml_20,
    (sipVirtHandlerFunc)sipVH_QtXml_21,
    (sipVirtHandlerFunc)sipVH_QtXml_22,
    (sipVirtHandlerFunc)sipVH_QtXml_23,
    (sipVirtHandlerFunc)sipVH_QtXml_24,
    (sipVirtHandlerFunc)sipVH_QtXml_25,
    (sipVirtHandlerFunc)sipVH_QtXml_26,
    (sipVirtHandlerFunc)sipVH_QtXml_27,
    (sipVirtHandlerFunc)sipVH_QtXml_28,
    (sipVirtHandlerFunc)sipVH_QtXml_29,
};


/* This defines the modules that this module needs to import. */
static sipImportedModuleDef importsTable[] = {
    {"PyQt4.QtCore", 1, NULL},
    {NULL, -1, NULL}
};


/* This defines the API versions and ranges in use. */
static int apiVersions[] = {sipNameNr_QString, 0, 2, -1};


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtXml = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyQt4_QtXml,
    0,
    -1,
    sipStrings_QtXml,
    importsTable,
    NULL,
    34,
    typesTable,
    NULL,
    0,
    NULL,
    0,
    NULL,
    virtHandlersTable,
    NULL,
    NULL,
    {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
    NULL,
    NULL,
    slotExtenders,
    NULL,
    NULL,
    NULL,
    apiVersions,
    NULL
};


/* The SIP API and the APIs of any imported modules. */
const sipAPIDef *sipAPI_QtXml;
const sipExportedModuleDef *sipModuleAPI_QtXml_QtCore;

sip_qt_metaobject_func sip_QtXml_qt_metaobject;
sip_qt_metacall_func sip_QtXml_qt_metacall;
sip_qt_metacast_func sip_QtXml_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_QtXml
#define SIP_MODULE_TYPE         PyObject *
#define SIP_MODULE_DISCARD(r)   Py_DECREF(r)
#define SIP_MODULE_RETURN(r)    return (r)
#else
#define SIP_MODULE_ENTRY        initQtXml
#define SIP_MODULE_TYPE         void
#define SIP_MODULE_DISCARD(r)
#define SIP_MODULE_RETURN(r)    return
#endif

#if defined(SIP_STATIC_MODULE)
extern "C" SIP_MODULE_TYPE SIP_MODULE_ENTRY()
#else
PyMODINIT_FUNC SIP_MODULE_ENTRY()
#endif
{
    static PyMethodDef sip_methods[] = {
        {0, 0, 0, 0}
    };

#if PY_MAJOR_VERSION >= 3
    static PyModuleDef sip_module_def = {
        PyModuleDef_HEAD_INIT,
        "PyQt4.QtXml",
        NULL,
        -1,
        sip_methods,
        NULL,
        NULL,
        NULL,
        NULL
    };
#endif

    PyObject *sipModule, *sipModuleDict;
    PyObject *sip_sipmod, *sip_capiobj;

    /* Initialise the module and get it's dictionary. */
#if PY_MAJOR_VERSION >= 3
    sipModule = PyModule_Create(&sip_module_def);
#elif PY_VERSION_HEX >= 0x02050000
    sipModule = Py_InitModule(sipName_PyQt4_QtXml, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyQt4_QtXml), sip_methods);
#endif

    if (sipModule == NULL)
        SIP_MODULE_RETURN(NULL);

    sipModuleDict = PyModule_GetDict(sipModule);

    /* Get the SIP module's API. */
#if PY_VERSION_HEX >= 0x02050000
    sip_sipmod = PyImport_ImportModule(SIP_MODULE_NAME);
#else
    sip_sipmod = PyImport_ImportModule(const_cast<char *>(SIP_MODULE_NAME));
#endif

    if (sip_sipmod == NULL)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(NULL);
    }

    sip_capiobj = PyDict_GetItemString(PyModule_GetDict(sip_sipmod), "_C_API");
    Py_DECREF(sip_sipmod);

#if defined(SIP_USE_PYCAPSULE)
    if (sip_capiobj == NULL || !PyCapsule_CheckExact(sip_capiobj))
#else
    if (sip_capiobj == NULL || !PyCObject_Check(sip_capiobj))
#endif
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(NULL);
    }

#if defined(SIP_USE_PYCAPSULE)
    sipAPI_QtXml = reinterpret_cast<const sipAPIDef *>(PyCapsule_GetPointer(sip_capiobj, SIP_MODULE_NAME "._C_API"));
#else
    sipAPI_QtXml = reinterpret_cast<const sipAPIDef *>(PyCObject_AsVoidPtr(sip_capiobj));
#endif

#if defined(SIP_USE_PYCAPSULE)
    if (sipAPI_QtXml == NULL)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(NULL);
    }
#endif

    /* Export the module and publish it's API. */
    if (sipExportModule(&sipModuleAPI_QtXml,SIP_API_MAJOR_NR,SIP_API_MINOR_NR,0) < 0)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(0);
    }

    sip_QtXml_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_QtXml_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_QtXml_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

    if (!sip_QtXml_qt_metacast)
        Py_FatalError("Unable to import qtcore_qt_metacast");

    /* Initialise the module now all its dependencies have been set up. */
    if (sipInitModule(&sipModuleAPI_QtXml,sipModuleDict) < 0)
    {
        SIP_MODULE_DISCARD(sipModule);
        SIP_MODULE_RETURN(0);
    }

    /* Get the APIs of the modules that this one is dependent on. */
    sipModuleAPI_QtXml_QtCore = sipModuleAPI_QtXml.em_imports[0].im_module;

    SIP_MODULE_RETURN(sipModule);
}

#line 312 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 991 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 995 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 83 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 998 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 116 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 1001 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 57 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 1004 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 206 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 1007 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


class sipQXmlDefaultHandler : public QXmlDefaultHandler
{
public:
    sipQXmlDefaultHandler();
    virtual ~sipQXmlDefaultHandler();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString errorString() const;
    bool externalEntityDecl(const QString&,const QString&,const QString&);
    bool internalEntityDecl(const QString&,const QString&);
    bool attributeDecl(const QString&,const QString&,const QString&,const QString&,const QString&);
    bool comment(const QString&);
    bool endCDATA();
    bool startCDATA();
    bool endEntity(const QString&);
    bool startEntity(const QString&);
    bool endDTD();
    bool startDTD(const QString&,const QString&,const QString&);
    bool resolveEntity(const QString&,const QString&,QXmlInputSource*&);
    bool unparsedEntityDecl(const QString&,const QString&,const QString&,const QString&);
    bool notationDecl(const QString&,const QString&,const QString&);
    bool fatalError(const QXmlParseException&);
    bool error(const QXmlParseException&);
    bool warning(const QXmlParseException&);
    bool skippedEntity(const QString&);
    bool processingInstruction(const QString&,const QString&);
    bool ignorableWhitespace(const QString&);
    bool characters(const QString&);
    bool endElement(const QString&,const QString&,const QString&);
    bool startElement(const QString&,const QString&,const QString&,const QXmlAttributes&);
    bool endPrefixMapping(const QString&);
    bool startPrefixMapping(const QString&,const QString&);
    bool endDocument();
    bool startDocument();
    void setDocumentLocator(QXmlLocator*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[28];
};

sipQXmlDefaultHandler::sipQXmlDefaultHandler(): QXmlDefaultHandler(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlDefaultHandler::~sipQXmlDefaultHandler()
{
    sipCommonDtor(sipPySelf);
}

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

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

    if (!sipMeth)
        return QXmlDefaultHandler::errorString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_QtXml_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlDefaultHandler::externalEntityDecl(const QString& a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_externalEntityDecl);

    if (!sipMeth)
        return QXmlDefaultHandler::externalEntityDecl(a0,a1,a2);

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

    return sipVH_QtXml_0(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_internalEntityDecl);

    if (!sipMeth)
        return QXmlDefaultHandler::internalEntityDecl(a0,a1);

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

    return sipVH_QtXml_1(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQXmlDefaultHandler::attributeDecl(const QString& a0,const QString& a1,const QString& a2,const QString& a3,const QString& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,NULL,sipName_attributeDecl);

    if (!sipMeth)
        return QXmlDefaultHandler::attributeDecl(a0,a1,a2,a3,a4);

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

    return sipVH_QtXml_2(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}

bool sipQXmlDefaultHandler::comment(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_comment);

    if (!sipMeth)
        return QXmlDefaultHandler::comment(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlDefaultHandler::endCDATA()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_endCDATA);

    if (!sipMeth)
        return QXmlDefaultHandler::endCDATA();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtXml_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlDefaultHandler::startCDATA()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_startCDATA);

    if (!sipMeth)
        return QXmlDefaultHandler::startCDATA();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtXml_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlDefaultHandler::endEntity(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,NULL,sipName_endEntity);

    if (!sipMeth)
        return QXmlDefaultHandler::endEntity(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlDefaultHandler::startEntity(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_startEntity);

    if (!sipMeth)
        return QXmlDefaultHandler::startEntity(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlDefaultHandler::endDTD()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,NULL,sipName_endDTD);

    if (!sipMeth)
        return QXmlDefaultHandler::endDTD();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtXml_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlDefaultHandler::startDTD(const QString& a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_startDTD);

    if (!sipMeth)
        return QXmlDefaultHandler::startDTD(a0,a1,a2);

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

    return sipVH_QtXml_0(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQXmlDefaultHandler::resolveEntity(const QString& a0,const QString& a1,QXmlInputSource*&a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,NULL,sipName_resolveEntity);

    if (!sipMeth)
        return QXmlDefaultHandler::resolveEntity(a0,a1,a2);

    extern bool sipVH_QtXml_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,const QString&,QXmlInputSource*&);

    return sipVH_QtXml_3(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQXmlDefaultHandler::unparsedEntityDecl(const QString& a0,const QString& a1,const QString& a2,const QString& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_unparsedEntityDecl);

    if (!sipMeth)
        return QXmlDefaultHandler::unparsedEntityDecl(a0,a1,a2,a3);

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

    return sipVH_QtXml_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipQXmlDefaultHandler::notationDecl(const QString& a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[13],sipPySelf,NULL,sipName_notationDecl);

    if (!sipMeth)
        return QXmlDefaultHandler::notationDecl(a0,a1,a2);

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

    return sipVH_QtXml_0(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQXmlDefaultHandler::fatalError(const QXmlParseException& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_fatalError);

    if (!sipMeth)
        return QXmlDefaultHandler::fatalError(a0);

    extern bool sipVH_QtXml_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QXmlParseException&);

    return sipVH_QtXml_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlDefaultHandler::error(const QXmlParseException& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[15],sipPySelf,NULL,sipName_error);

    if (!sipMeth)
        return QXmlDefaultHandler::error(a0);

    extern bool sipVH_QtXml_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QXmlParseException&);

    return sipVH_QtXml_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlDefaultHandler::warning(const QXmlParseException& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_warning);

    if (!sipMeth)
        return QXmlDefaultHandler::warning(a0);

    extern bool sipVH_QtXml_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QXmlParseException&);

    return sipVH_QtXml_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlDefaultHandler::skippedEntity(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[17],sipPySelf,NULL,sipName_skippedEntity);

    if (!sipMeth)
        return QXmlDefaultHandler::skippedEntity(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[18],sipPySelf,NULL,sipName_processingInstruction);

    if (!sipMeth)
        return QXmlDefaultHandler::processingInstruction(a0,a1);

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

    return sipVH_QtXml_1(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQXmlDefaultHandler::ignorableWhitespace(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_ignorableWhitespace);

    if (!sipMeth)
        return QXmlDefaultHandler::ignorableWhitespace(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlDefaultHandler::characters(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[20],sipPySelf,NULL,sipName_characters);

    if (!sipMeth)
        return QXmlDefaultHandler::characters(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlDefaultHandler::endElement(const QString& a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[21],sipPySelf,NULL,sipName_endElement);

    if (!sipMeth)
        return QXmlDefaultHandler::endElement(a0,a1,a2);

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

    return sipVH_QtXml_0(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQXmlDefaultHandler::startElement(const QString& a0,const QString& a1,const QString& a2,const QXmlAttributes& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[22],sipPySelf,NULL,sipName_startElement);

    if (!sipMeth)
        return QXmlDefaultHandler::startElement(a0,a1,a2,a3);

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

    return sipVH_QtXml_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipQXmlDefaultHandler::endPrefixMapping(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[23],sipPySelf,NULL,sipName_endPrefixMapping);

    if (!sipMeth)
        return QXmlDefaultHandler::endPrefixMapping(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[24],sipPySelf,NULL,sipName_startPrefixMapping);

    if (!sipMeth)
        return QXmlDefaultHandler::startPrefixMapping(a0,a1);

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

    return sipVH_QtXml_1(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQXmlDefaultHandler::endDocument()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[25],sipPySelf,NULL,sipName_endDocument);

    if (!sipMeth)
        return QXmlDefaultHandler::endDocument();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtXml_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlDefaultHandler::startDocument()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[26],sipPySelf,NULL,sipName_startDocument);

    if (!sipMeth)
        return QXmlDefaultHandler::startDocument();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtXml_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQXmlDefaultHandler::setDocumentLocator(QXmlLocator*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[27],sipPySelf,NULL,sipName_setDocumentLocator);

    if (!sipMeth)
    {
        QXmlDefaultHandler::setDocumentLocator(a0);
        return;
    }

    extern void sipVH_QtXml_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QXmlLocator*);

    sipVH_QtXml_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_setDocumentLocator, "QXmlDefaultHandler.setDocumentLocator(QXmlLocator)");

extern "C" {static PyObject *meth_QXmlDefaultHandler_setDocumentLocator(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_setDocumentLocator(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlLocator* a0;
        PyObject *a0Keep;
        QXmlDefaultHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlDefaultHandler, &sipCpp, &a0Keep, sipType_QXmlLocator, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::setDocumentLocator(a0) : sipCpp->setDocumentLocator(a0));
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -15, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_setDocumentLocator, doc_QXmlDefaultHandler_setDocumentLocator);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_startDocument, "QXmlDefaultHandler.startDocument() -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_startDocument(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_startDocument(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::startDocument() : sipCpp->startDocument());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_startDocument, doc_QXmlDefaultHandler_startDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_endDocument, "QXmlDefaultHandler.endDocument() -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_endDocument(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_endDocument(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::endDocument() : sipCpp->endDocument());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_endDocument, doc_QXmlDefaultHandler_endDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_startPrefixMapping, "QXmlDefaultHandler.startPrefixMapping(str, str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_startPrefixMapping(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_startPrefixMapping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::startPrefixMapping(*a0,*a1) : sipCpp->startPrefixMapping(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_startPrefixMapping, doc_QXmlDefaultHandler_startPrefixMapping);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_endPrefixMapping, "QXmlDefaultHandler.endPrefixMapping(str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_endPrefixMapping(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_endPrefixMapping(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::endPrefixMapping(*a0) : sipCpp->endPrefixMapping(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_endPrefixMapping, doc_QXmlDefaultHandler_endPrefixMapping);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_startElement, "QXmlDefaultHandler.startElement(str, str, str, QXmlAttributes) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_startElement(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_startElement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QXmlAttributes* a3;
        QXmlDefaultHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J9", &sipSelf, sipType_QXmlDefaultHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QXmlAttributes, &a3))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::startElement(*a0,*a1,*a2,*a3) : sipCpp->startElement(*a0,*a1,*a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_startElement, doc_QXmlDefaultHandler_startElement);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_endElement, "QXmlDefaultHandler.endElement(str, str, str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_endElement(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_endElement(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QXmlDefaultHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QXmlDefaultHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::endElement(*a0,*a1,*a2) : sipCpp->endElement(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_endElement, doc_QXmlDefaultHandler_endElement);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_characters, "QXmlDefaultHandler.characters(str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_characters(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_characters(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::characters(*a0) : sipCpp->characters(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_characters, doc_QXmlDefaultHandler_characters);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_ignorableWhitespace, "QXmlDefaultHandler.ignorableWhitespace(str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_ignorableWhitespace(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_ignorableWhitespace(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::ignorableWhitespace(*a0) : sipCpp->ignorableWhitespace(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_ignorableWhitespace, doc_QXmlDefaultHandler_ignorableWhitespace);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_processingInstruction, "QXmlDefaultHandler.processingInstruction(str, str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_processingInstruction(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_processingInstruction(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::processingInstruction(*a0,*a1) : sipCpp->processingInstruction(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_processingInstruction, doc_QXmlDefaultHandler_processingInstruction);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_skippedEntity, "QXmlDefaultHandler.skippedEntity(str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_skippedEntity(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_skippedEntity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::skippedEntity(*a0) : sipCpp->skippedEntity(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_skippedEntity, doc_QXmlDefaultHandler_skippedEntity);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_warning, "QXmlDefaultHandler.warning(QXmlParseException) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_warning(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_warning(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QXmlParseException* a0;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::warning(*a0) : sipCpp->warning(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_warning, doc_QXmlDefaultHandler_warning);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_error, "QXmlDefaultHandler.error(QXmlParseException) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_error(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_error(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QXmlParseException* a0;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::error(*a0) : sipCpp->error(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_error, doc_QXmlDefaultHandler_error);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_fatalError, "QXmlDefaultHandler.fatalError(QXmlParseException) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_fatalError(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_fatalError(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QXmlParseException* a0;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::fatalError(*a0) : sipCpp->fatalError(*a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_fatalError, doc_QXmlDefaultHandler_fatalError);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_notationDecl, "QXmlDefaultHandler.notationDecl(str, str, str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_notationDecl(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_notationDecl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QXmlDefaultHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QXmlDefaultHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::notationDecl(*a0,*a1,*a2) : sipCpp->notationDecl(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_notationDecl, doc_QXmlDefaultHandler_notationDecl);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_unparsedEntityDecl, "QXmlDefaultHandler.unparsedEntityDecl(str, str, str, str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_unparsedEntityDecl(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_unparsedEntityDecl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QString* a3;
        int a3State = 0;
        QXmlDefaultHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1", &sipSelf, sipType_QXmlDefaultHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::unparsedEntityDecl(*a0,*a1,*a2,*a3) : sipCpp->unparsedEntityDecl(*a0,*a1,*a2,*a3));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_unparsedEntityDecl, doc_QXmlDefaultHandler_unparsedEntityDecl);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_resolveEntity, "QXmlDefaultHandler.resolveEntity(str, str) -> (bool, QXmlInputSource)");

extern "C" {static PyObject *meth_QXmlDefaultHandler_resolveEntity(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_resolveEntity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QXmlInputSource* a2;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::resolveEntity(*a0,*a1,a2) : sipCpp->resolveEntity(*a0,*a1,a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipBuildResult(0,"(bD)",sipRes,a2,sipType_QXmlInputSource,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_resolveEntity, doc_QXmlDefaultHandler_resolveEntity);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_startDTD, "QXmlDefaultHandler.startDTD(str, str, str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_startDTD(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_startDTD(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QXmlDefaultHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QXmlDefaultHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::startDTD(*a0,*a1,*a2) : sipCpp->startDTD(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_startDTD, doc_QXmlDefaultHandler_startDTD);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_endDTD, "QXmlDefaultHandler.endDTD() -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_endDTD(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_endDTD(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::endDTD() : sipCpp->endDTD());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_endDTD, doc_QXmlDefaultHandler_endDTD);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_startEntity, "QXmlDefaultHandler.startEntity(str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_startEntity(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_startEntity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::startEntity(*a0) : sipCpp->startEntity(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_startEntity, doc_QXmlDefaultHandler_startEntity);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_endEntity, "QXmlDefaultHandler.endEntity(str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_endEntity(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_endEntity(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::endEntity(*a0) : sipCpp->endEntity(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_endEntity, doc_QXmlDefaultHandler_endEntity);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_startCDATA, "QXmlDefaultHandler.startCDATA() -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_startCDATA(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_startCDATA(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::startCDATA() : sipCpp->startCDATA());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_startCDATA, doc_QXmlDefaultHandler_startCDATA);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_endCDATA, "QXmlDefaultHandler.endCDATA() -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_endCDATA(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_endCDATA(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::endCDATA() : sipCpp->endCDATA());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_endCDATA, doc_QXmlDefaultHandler_endCDATA);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_comment, "QXmlDefaultHandler.comment(str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_comment(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_comment(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::comment(*a0) : sipCpp->comment(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_comment, doc_QXmlDefaultHandler_comment);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_attributeDecl, "QXmlDefaultHandler.attributeDecl(str, str, str, str, str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_attributeDecl(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_attributeDecl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QString* a3;
        int a3State = 0;
        const QString* a4;
        int a4State = 0;
        QXmlDefaultHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1J1", &sipSelf, sipType_QXmlDefaultHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::attributeDecl(*a0,*a1,*a2,*a3,*a4) : sipCpp->attributeDecl(*a0,*a1,*a2,*a3,*a4));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_attributeDecl, doc_QXmlDefaultHandler_attributeDecl);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_internalEntityDecl, "QXmlDefaultHandler.internalEntityDecl(str, str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_internalEntityDecl(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_internalEntityDecl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::internalEntityDecl(*a0,*a1) : sipCpp->internalEntityDecl(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_internalEntityDecl, doc_QXmlDefaultHandler_internalEntityDecl);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_externalEntityDecl, "QXmlDefaultHandler.externalEntityDecl(str, str, str) -> bool");

extern "C" {static PyObject *meth_QXmlDefaultHandler_externalEntityDecl(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_externalEntityDecl(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QXmlDefaultHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QXmlDefaultHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlDefaultHandler::externalEntityDecl(*a0,*a1,*a2) : sipCpp->externalEntityDecl(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_externalEntityDecl, doc_QXmlDefaultHandler_externalEntityDecl);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDefaultHandler_errorString, "QXmlDefaultHandler.errorString() -> str");

extern "C" {static PyObject *meth_QXmlDefaultHandler_errorString(PyObject *, PyObject *);}
static PyObject *meth_QXmlDefaultHandler_errorString(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QXmlDefaultHandler *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->QXmlDefaultHandler::errorString() : sipCpp->errorString()));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDefaultHandler, sipName_errorString, doc_QXmlDefaultHandler_errorString);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlDefaultHandler(void *, const sipTypeDef *);}
static void *cast_QXmlDefaultHandler(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QXmlDefaultHandler)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QXmlContentHandler)->ctd_cast((QXmlContentHandler *)(QXmlDefaultHandler *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_QXmlErrorHandler)->ctd_cast((QXmlErrorHandler *)(QXmlDefaultHandler *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_QXmlDTDHandler)->ctd_cast((QXmlDTDHandler *)(QXmlDefaultHandler *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_QXmlEntityResolver)->ctd_cast((QXmlEntityResolver *)(QXmlDefaultHandler *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_QXmlLexicalHandler)->ctd_cast((QXmlLexicalHandler *)(QXmlDefaultHandler *)ptr,targetType)) != NULL)
        return res;

    if ((res = ((const sipClassTypeDef *)sipType_QXmlDeclHandler)->ctd_cast((QXmlDeclHandler *)(QXmlDefaultHandler *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlDefaultHandler(void *, int);}
static void release_QXmlDefaultHandler(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlDefaultHandler *>(sipCppV);
    else
        delete reinterpret_cast<QXmlDefaultHandler *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QXmlDefaultHandler(sipSimpleWrapper *);}
static void dealloc_QXmlDefaultHandler(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQXmlDefaultHandler *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlDefaultHandler(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QXmlDefaultHandler(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlDefaultHandler(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQXmlDefaultHandler *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlDefaultHandler();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QXmlDefaultHandler[] = {{21, 255, 0}, {26, 255, 0}, {22, 255, 0}, {25, 255, 0}, {28, 255, 0}, {23, 255, 1}};


static PyMethodDef methods_QXmlDefaultHandler[] = {
    {SIP_MLNAME_CAST(sipName_attributeDecl), meth_QXmlDefaultHandler_attributeDecl, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_attributeDecl)},
    {SIP_MLNAME_CAST(sipName_characters), meth_QXmlDefaultHandler_characters, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_characters)},
    {SIP_MLNAME_CAST(sipName_comment), meth_QXmlDefaultHandler_comment, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_comment)},
    {SIP_MLNAME_CAST(sipName_endCDATA), meth_QXmlDefaultHandler_endCDATA, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_endCDATA)},
    {SIP_MLNAME_CAST(sipName_endDTD), meth_QXmlDefaultHandler_endDTD, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_endDTD)},
    {SIP_MLNAME_CAST(sipName_endDocument), meth_QXmlDefaultHandler_endDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_endDocument)},
    {SIP_MLNAME_CAST(sipName_endElement), meth_QXmlDefaultHandler_endElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_endElement)},
    {SIP_MLNAME_CAST(sipName_endEntity), meth_QXmlDefaultHandler_endEntity, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_endEntity)},
    {SIP_MLNAME_CAST(sipName_endPrefixMapping), meth_QXmlDefaultHandler_endPrefixMapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_endPrefixMapping)},
    {SIP_MLNAME_CAST(sipName_error), meth_QXmlDefaultHandler_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QXmlDefaultHandler_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_errorString)},
    {SIP_MLNAME_CAST(sipName_externalEntityDecl), meth_QXmlDefaultHandler_externalEntityDecl, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_externalEntityDecl)},
    {SIP_MLNAME_CAST(sipName_fatalError), meth_QXmlDefaultHandler_fatalError, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_fatalError)},
    {SIP_MLNAME_CAST(sipName_ignorableWhitespace), meth_QXmlDefaultHandler_ignorableWhitespace, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_ignorableWhitespace)},
    {SIP_MLNAME_CAST(sipName_internalEntityDecl), meth_QXmlDefaultHandler_internalEntityDecl, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_internalEntityDecl)},
    {SIP_MLNAME_CAST(sipName_notationDecl), meth_QXmlDefaultHandler_notationDecl, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_notationDecl)},
    {SIP_MLNAME_CAST(sipName_processingInstruction), meth_QXmlDefaultHandler_processingInstruction, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_processingInstruction)},
    {SIP_MLNAME_CAST(sipName_resolveEntity), meth_QXmlDefaultHandler_resolveEntity, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_resolveEntity)},
    {SIP_MLNAME_CAST(sipName_setDocumentLocator), meth_QXmlDefaultHandler_setDocumentLocator, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_setDocumentLocator)},
    {SIP_MLNAME_CAST(sipName_skippedEntity), meth_QXmlDefaultHandler_skippedEntity, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_skippedEntity)},
    {SIP_MLNAME_CAST(sipName_startCDATA), meth_QXmlDefaultHandler_startCDATA, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_startCDATA)},
    {SIP_MLNAME_CAST(sipName_startDTD), meth_QXmlDefaultHandler_startDTD, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_startDTD)},
    {SIP_MLNAME_CAST(sipName_startDocument), meth_QXmlDefaultHandler_startDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_startDocument)},
    {SIP_MLNAME_CAST(sipName_startElement), meth_QXmlDefaultHandler_startElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_startElement)},
    {SIP_MLNAME_CAST(sipName_startEntity), meth_QXmlDefaultHandler_startEntity, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_startEntity)},
    {SIP_MLNAME_CAST(sipName_startPrefixMapping), meth_QXmlDefaultHandler_startPrefixMapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_startPrefixMapping)},
    {SIP_MLNAME_CAST(sipName_unparsedEntityDecl), meth_QXmlDefaultHandler_unparsedEntityDecl, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_unparsedEntityDecl)},
    {SIP_MLNAME_CAST(sipName_warning), meth_QXmlDefaultHandler_warning, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDefaultHandler_warning)}
};

PyDoc_STRVAR(doc_QXmlDefaultHandler, "\1QXmlDefaultHandler()");


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlDefaultHandler = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QXmlDefaultHandler,
        {0}
    },
    {
        sipNameNr_QXmlDefaultHandler,
        {0, 0, 1},
        28, methods_QXmlDefaultHandler,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlDefaultHandler,
    -1,
    -1,
    supers_QXmlDefaultHandler,
    0,
    init_type_QXmlDefaultHandler,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlDefaultHandler,
    0,
    0,
    0,
    release_QXmlDefaultHandler,
    cast_QXmlDefaultHandler,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 298 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 2634 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2638 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


class sipQXmlDeclHandler : public QXmlDeclHandler
{
public:
    sipQXmlDeclHandler();
    sipQXmlDeclHandler(const QXmlDeclHandler&);
    virtual ~sipQXmlDeclHandler();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString errorString() const;
    bool externalEntityDecl(const QString&,const QString&,const QString&);
    bool internalEntityDecl(const QString&,const QString&);
    bool attributeDecl(const QString&,const QString&,const QString&,const QString&,const QString&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[4];
};

sipQXmlDeclHandler::sipQXmlDeclHandler(): QXmlDeclHandler(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlDeclHandler::sipQXmlDeclHandler(const QXmlDeclHandler& a0): QXmlDeclHandler(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlDeclHandler::~sipQXmlDeclHandler()
{
    sipCommonDtor(sipPySelf);
}

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

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

    if (!sipMeth)
        return QString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_QtXml_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlDeclHandler::externalEntityDecl(const QString& a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_QXmlDeclHandler,sipName_externalEntityDecl);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_0(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_QXmlDeclHandler,sipName_internalEntityDecl);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_1(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQXmlDeclHandler::attributeDecl(const QString& a0,const QString& a1,const QString& a2,const QString& a3,const QString& a4)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_QXmlDeclHandler,sipName_attributeDecl);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_2(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3, a4);
}


PyDoc_STRVAR(doc_QXmlDeclHandler_attributeDecl, "QXmlDeclHandler.attributeDecl(str, str, str, str, str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QString* a3;
        int a3State = 0;
        const QString* a4;
        int a4State = 0;
        QXmlDeclHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1J1", &sipSelf, sipType_QXmlDeclHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlDeclHandler, sipName_attributeDecl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->attributeDecl(*a0,*a1,*a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDeclHandler, sipName_attributeDecl, doc_QXmlDeclHandler_attributeDecl);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDeclHandler_internalEntityDecl, "QXmlDeclHandler.internalEntityDecl(str, str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QXmlDeclHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlDeclHandler, sipName_internalEntityDecl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->internalEntityDecl(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDeclHandler, sipName_internalEntityDecl, doc_QXmlDeclHandler_internalEntityDecl);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDeclHandler_externalEntityDecl, "QXmlDeclHandler.externalEntityDecl(str, str, str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QXmlDeclHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QXmlDeclHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlDeclHandler, sipName_externalEntityDecl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->externalEntityDecl(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDeclHandler, sipName_externalEntityDecl, doc_QXmlDeclHandler_externalEntityDecl);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDeclHandler_errorString, "QXmlDeclHandler.errorString() -> str");

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

    {
        const QXmlDeclHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlDeclHandler, sipName_errorString);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDeclHandler, sipName_errorString, doc_QXmlDeclHandler_errorString);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlDeclHandler(void *, const sipTypeDef *);}
static void *cast_QXmlDeclHandler(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QXmlDeclHandler)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlDeclHandler(void *, int);}
static void release_QXmlDeclHandler(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlDeclHandler *>(sipCppV);
    else
        delete reinterpret_cast<QXmlDeclHandler *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QXmlDeclHandler(sipSimpleWrapper *);}
static void dealloc_QXmlDeclHandler(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQXmlDeclHandler *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlDeclHandler(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QXmlDeclHandler(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlDeclHandler(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQXmlDeclHandler *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlDeclHandler();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QXmlDeclHandler* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlDeclHandler, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlDeclHandler(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QXmlDeclHandler[] = {
    {SIP_MLNAME_CAST(sipName_attributeDecl), meth_QXmlDeclHandler_attributeDecl, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDeclHandler_attributeDecl)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QXmlDeclHandler_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDeclHandler_errorString)},
    {SIP_MLNAME_CAST(sipName_externalEntityDecl), meth_QXmlDeclHandler_externalEntityDecl, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDeclHandler_externalEntityDecl)},
    {SIP_MLNAME_CAST(sipName_internalEntityDecl), meth_QXmlDeclHandler_internalEntityDecl, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDeclHandler_internalEntityDecl)}
};

PyDoc_STRVAR(doc_QXmlDeclHandler, "\1QXmlDeclHandler()\n"
    "QXmlDeclHandler(QXmlDeclHandler)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlDeclHandler = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QXmlDeclHandler,
        {0}
    },
    {
        sipNameNr_QXmlDeclHandler,
        {0, 0, 1},
        4, methods_QXmlDeclHandler,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlDeclHandler,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlDeclHandler,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlDeclHandler,
    0,
    0,
    0,
    release_QXmlDeclHandler,
    cast_QXmlDeclHandler,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 280 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 3061 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3065 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


class sipQXmlLexicalHandler : public QXmlLexicalHandler
{
public:
    sipQXmlLexicalHandler();
    sipQXmlLexicalHandler(const QXmlLexicalHandler&);
    virtual ~sipQXmlLexicalHandler();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString errorString() const;
    bool comment(const QString&);
    bool endCDATA();
    bool startCDATA();
    bool endEntity(const QString&);
    bool startEntity(const QString&);
    bool endDTD();
    bool startDTD(const QString&,const QString&,const QString&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[8];
};

sipQXmlLexicalHandler::sipQXmlLexicalHandler(): QXmlLexicalHandler(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlLexicalHandler::sipQXmlLexicalHandler(const QXmlLexicalHandler& a0): QXmlLexicalHandler(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlLexicalHandler::~sipQXmlLexicalHandler()
{
    sipCommonDtor(sipPySelf);
}

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

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

    if (!sipMeth)
        return QString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_QtXml_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlLexicalHandler::comment(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_QXmlLexicalHandler,sipName_comment);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlLexicalHandler::endCDATA()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_QXmlLexicalHandler,sipName_endCDATA);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtXml_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlLexicalHandler::startCDATA()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_QXmlLexicalHandler,sipName_startCDATA);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtXml_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlLexicalHandler::endEntity(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_QXmlLexicalHandler,sipName_endEntity);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlLexicalHandler::startEntity(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,sipName_QXmlLexicalHandler,sipName_startEntity);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlLexicalHandler::endDTD()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,sipName_QXmlLexicalHandler,sipName_endDTD);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtXml_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlLexicalHandler::startDTD(const QString& a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_QXmlLexicalHandler,sipName_startDTD);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_0(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


PyDoc_STRVAR(doc_QXmlLexicalHandler_startDTD, "QXmlLexicalHandler.startDTD(str, str, str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QXmlLexicalHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QXmlLexicalHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlLexicalHandler, sipName_startDTD);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startDTD(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlLexicalHandler, sipName_startDTD, doc_QXmlLexicalHandler_startDTD);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlLexicalHandler_endDTD, "QXmlLexicalHandler.endDTD() -> bool");

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

    {
        QXmlLexicalHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlLexicalHandler, sipName_endDTD);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endDTD();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlLexicalHandler, sipName_endDTD, doc_QXmlLexicalHandler_endDTD);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlLexicalHandler_startEntity, "QXmlLexicalHandler.startEntity(str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        QXmlLexicalHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlLexicalHandler, sipName_startEntity);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startEntity(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlLexicalHandler, sipName_startEntity, doc_QXmlLexicalHandler_startEntity);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlLexicalHandler_endEntity, "QXmlLexicalHandler.endEntity(str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        QXmlLexicalHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlLexicalHandler, sipName_endEntity);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endEntity(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlLexicalHandler, sipName_endEntity, doc_QXmlLexicalHandler_endEntity);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlLexicalHandler_startCDATA, "QXmlLexicalHandler.startCDATA() -> bool");

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

    {
        QXmlLexicalHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlLexicalHandler, sipName_startCDATA);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startCDATA();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlLexicalHandler, sipName_startCDATA, doc_QXmlLexicalHandler_startCDATA);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlLexicalHandler_endCDATA, "QXmlLexicalHandler.endCDATA() -> bool");

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

    {
        QXmlLexicalHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlLexicalHandler, sipName_endCDATA);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endCDATA();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlLexicalHandler, sipName_endCDATA, doc_QXmlLexicalHandler_endCDATA);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlLexicalHandler_comment, "QXmlLexicalHandler.comment(str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        QXmlLexicalHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlLexicalHandler, sipName_comment);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->comment(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlLexicalHandler, sipName_comment, doc_QXmlLexicalHandler_comment);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlLexicalHandler_errorString, "QXmlLexicalHandler.errorString() -> str");

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

    {
        const QXmlLexicalHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlLexicalHandler, sipName_errorString);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlLexicalHandler, sipName_errorString, doc_QXmlLexicalHandler_errorString);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlLexicalHandler(void *, const sipTypeDef *);}
static void *cast_QXmlLexicalHandler(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QXmlLexicalHandler)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlLexicalHandler(void *, int);}
static void release_QXmlLexicalHandler(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlLexicalHandler *>(sipCppV);
    else
        delete reinterpret_cast<QXmlLexicalHandler *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QXmlLexicalHandler(sipSimpleWrapper *);}
static void dealloc_QXmlLexicalHandler(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQXmlLexicalHandler *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlLexicalHandler(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QXmlLexicalHandler(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlLexicalHandler(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQXmlLexicalHandler *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlLexicalHandler();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QXmlLexicalHandler* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlLexicalHandler, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlLexicalHandler(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QXmlLexicalHandler[] = {
    {SIP_MLNAME_CAST(sipName_comment), meth_QXmlLexicalHandler_comment, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlLexicalHandler_comment)},
    {SIP_MLNAME_CAST(sipName_endCDATA), meth_QXmlLexicalHandler_endCDATA, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlLexicalHandler_endCDATA)},
    {SIP_MLNAME_CAST(sipName_endDTD), meth_QXmlLexicalHandler_endDTD, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlLexicalHandler_endDTD)},
    {SIP_MLNAME_CAST(sipName_endEntity), meth_QXmlLexicalHandler_endEntity, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlLexicalHandler_endEntity)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QXmlLexicalHandler_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlLexicalHandler_errorString)},
    {SIP_MLNAME_CAST(sipName_startCDATA), meth_QXmlLexicalHandler_startCDATA, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlLexicalHandler_startCDATA)},
    {SIP_MLNAME_CAST(sipName_startDTD), meth_QXmlLexicalHandler_startDTD, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlLexicalHandler_startDTD)},
    {SIP_MLNAME_CAST(sipName_startEntity), meth_QXmlLexicalHandler_startEntity, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlLexicalHandler_startEntity)}
};

PyDoc_STRVAR(doc_QXmlLexicalHandler, "\1QXmlLexicalHandler()\n"
    "QXmlLexicalHandler(QXmlLexicalHandler)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlLexicalHandler = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QXmlLexicalHandler,
        {0}
    },
    {
        sipNameNr_QXmlLexicalHandler,
        {0, 0, 1},
        8, methods_QXmlLexicalHandler,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlLexicalHandler,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlLexicalHandler,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlLexicalHandler,
    0,
    0,
    0,
    release_QXmlLexicalHandler,
    cast_QXmlLexicalHandler,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 268 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 3688 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3692 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 83 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 3695 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


class sipQXmlEntityResolver : public QXmlEntityResolver
{
public:
    sipQXmlEntityResolver();
    sipQXmlEntityResolver(const QXmlEntityResolver&);
    virtual ~sipQXmlEntityResolver();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString errorString() const;
    bool resolveEntity(const QString&,const QString&,QXmlInputSource*&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipQXmlEntityResolver::sipQXmlEntityResolver(): QXmlEntityResolver(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlEntityResolver::sipQXmlEntityResolver(const QXmlEntityResolver& a0): QXmlEntityResolver(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlEntityResolver::~sipQXmlEntityResolver()
{
    sipCommonDtor(sipPySelf);
}

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

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

    if (!sipMeth)
        return QString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_QtXml_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlEntityResolver::resolveEntity(const QString& a0,const QString& a1,QXmlInputSource*&a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_QXmlEntityResolver,sipName_resolveEntity);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtXml_3(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,const QString&,QXmlInputSource*&);

    return sipVH_QtXml_3(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


PyDoc_STRVAR(doc_QXmlEntityResolver_resolveEntity, "QXmlEntityResolver.resolveEntity(str, str) -> (bool, QXmlInputSource)");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QXmlInputSource* a2;
        QXmlEntityResolver *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlEntityResolver, sipName_resolveEntity);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->resolveEntity(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipBuildResult(0,"(bD)",sipRes,a2,sipType_QXmlInputSource,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlEntityResolver, sipName_resolveEntity, doc_QXmlEntityResolver_resolveEntity);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlEntityResolver_errorString, "QXmlEntityResolver.errorString() -> str");

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

    {
        const QXmlEntityResolver *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlEntityResolver, sipName_errorString);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlEntityResolver, sipName_errorString, doc_QXmlEntityResolver_errorString);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlEntityResolver(void *, const sipTypeDef *);}
static void *cast_QXmlEntityResolver(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QXmlEntityResolver)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlEntityResolver(void *, int);}
static void release_QXmlEntityResolver(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlEntityResolver *>(sipCppV);
    else
        delete reinterpret_cast<QXmlEntityResolver *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QXmlEntityResolver(sipSimpleWrapper *);}
static void dealloc_QXmlEntityResolver(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQXmlEntityResolver *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlEntityResolver(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QXmlEntityResolver(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlEntityResolver(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQXmlEntityResolver *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlEntityResolver();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QXmlEntityResolver* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlEntityResolver, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlEntityResolver(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QXmlEntityResolver[] = {
    {SIP_MLNAME_CAST(sipName_errorString), meth_QXmlEntityResolver_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlEntityResolver_errorString)},
    {SIP_MLNAME_CAST(sipName_resolveEntity), meth_QXmlEntityResolver_resolveEntity, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlEntityResolver_resolveEntity)}
};

PyDoc_STRVAR(doc_QXmlEntityResolver, "\1QXmlEntityResolver()\n"
    "QXmlEntityResolver(QXmlEntityResolver)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlEntityResolver = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QXmlEntityResolver,
        {0}
    },
    {
        sipNameNr_QXmlEntityResolver,
        {0, 0, 1},
        2, methods_QXmlEntityResolver,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlEntityResolver,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlEntityResolver,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlEntityResolver,
    0,
    0,
    0,
    release_QXmlEntityResolver,
    cast_QXmlEntityResolver,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 255 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 3989 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3993 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


class sipQXmlDTDHandler : public QXmlDTDHandler
{
public:
    sipQXmlDTDHandler();
    sipQXmlDTDHandler(const QXmlDTDHandler&);
    virtual ~sipQXmlDTDHandler();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString errorString() const;
    bool unparsedEntityDecl(const QString&,const QString&,const QString&,const QString&);
    bool notationDecl(const QString&,const QString&,const QString&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[3];
};

sipQXmlDTDHandler::sipQXmlDTDHandler(): QXmlDTDHandler(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlDTDHandler::sipQXmlDTDHandler(const QXmlDTDHandler& a0): QXmlDTDHandler(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlDTDHandler::~sipQXmlDTDHandler()
{
    sipCommonDtor(sipPySelf);
}

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

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

    if (!sipMeth)
        return QString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_QtXml_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlDTDHandler::unparsedEntityDecl(const QString& a0,const QString& a1,const QString& a2,const QString& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_QXmlDTDHandler,sipName_unparsedEntityDecl);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_4(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipQXmlDTDHandler::notationDecl(const QString& a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_QXmlDTDHandler,sipName_notationDecl);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_0(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}


PyDoc_STRVAR(doc_QXmlDTDHandler_notationDecl, "QXmlDTDHandler.notationDecl(str, str, str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QXmlDTDHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QXmlDTDHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlDTDHandler, sipName_notationDecl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->notationDecl(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDTDHandler, sipName_notationDecl, doc_QXmlDTDHandler_notationDecl);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDTDHandler_unparsedEntityDecl, "QXmlDTDHandler.unparsedEntityDecl(str, str, str, str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QString* a3;
        int a3State = 0;
        QXmlDTDHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1", &sipSelf, sipType_QXmlDTDHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlDTDHandler, sipName_unparsedEntityDecl);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->unparsedEntityDecl(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDTDHandler, sipName_unparsedEntityDecl, doc_QXmlDTDHandler_unparsedEntityDecl);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlDTDHandler_errorString, "QXmlDTDHandler.errorString() -> str");

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

    {
        const QXmlDTDHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlDTDHandler, sipName_errorString);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlDTDHandler, sipName_errorString, doc_QXmlDTDHandler_errorString);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlDTDHandler(void *, const sipTypeDef *);}
static void *cast_QXmlDTDHandler(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QXmlDTDHandler)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlDTDHandler(void *, int);}
static void release_QXmlDTDHandler(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlDTDHandler *>(sipCppV);
    else
        delete reinterpret_cast<QXmlDTDHandler *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QXmlDTDHandler(sipSimpleWrapper *);}
static void dealloc_QXmlDTDHandler(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQXmlDTDHandler *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlDTDHandler(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QXmlDTDHandler(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlDTDHandler(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQXmlDTDHandler *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlDTDHandler();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QXmlDTDHandler* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlDTDHandler, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlDTDHandler(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QXmlDTDHandler[] = {
    {SIP_MLNAME_CAST(sipName_errorString), meth_QXmlDTDHandler_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDTDHandler_errorString)},
    {SIP_MLNAME_CAST(sipName_notationDecl), meth_QXmlDTDHandler_notationDecl, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDTDHandler_notationDecl)},
    {SIP_MLNAME_CAST(sipName_unparsedEntityDecl), meth_QXmlDTDHandler_unparsedEntityDecl, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlDTDHandler_unparsedEntityDecl)}
};

PyDoc_STRVAR(doc_QXmlDTDHandler, "\1QXmlDTDHandler()\n"
    "QXmlDTDHandler(QXmlDTDHandler)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlDTDHandler = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QXmlDTDHandler,
        {0}
    },
    {
        sipNameNr_QXmlDTDHandler,
        {0, 0, 1},
        3, methods_QXmlDTDHandler,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlDTDHandler,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlDTDHandler,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlDTDHandler,
    0,
    0,
    0,
    release_QXmlDTDHandler,
    cast_QXmlDTDHandler,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 241 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 4354 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4358 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 116 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 4361 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


class sipQXmlErrorHandler : public QXmlErrorHandler
{
public:
    sipQXmlErrorHandler();
    sipQXmlErrorHandler(const QXmlErrorHandler&);
    virtual ~sipQXmlErrorHandler();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString errorString() const;
    bool fatalError(const QXmlParseException&);
    bool error(const QXmlParseException&);
    bool warning(const QXmlParseException&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[4];
};

sipQXmlErrorHandler::sipQXmlErrorHandler(): QXmlErrorHandler(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlErrorHandler::sipQXmlErrorHandler(const QXmlErrorHandler& a0): QXmlErrorHandler(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlErrorHandler::~sipQXmlErrorHandler()
{
    sipCommonDtor(sipPySelf);
}

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

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

    if (!sipMeth)
        return QString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_QtXml_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlErrorHandler::fatalError(const QXmlParseException& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_QXmlErrorHandler,sipName_fatalError);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtXml_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QXmlParseException&);

    return sipVH_QtXml_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlErrorHandler::error(const QXmlParseException& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_QXmlErrorHandler,sipName_error);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtXml_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QXmlParseException&);

    return sipVH_QtXml_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlErrorHandler::warning(const QXmlParseException& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_QXmlErrorHandler,sipName_warning);

    if (!sipMeth)
        return 0;

    extern bool sipVH_QtXml_5(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QXmlParseException&);

    return sipVH_QtXml_5(sipGILState, 0, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QXmlErrorHandler_warning, "QXmlErrorHandler.warning(QXmlParseException) -> bool");

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

    {
        const QXmlParseException* a0;
        QXmlErrorHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlErrorHandler, sipName_warning);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->warning(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlErrorHandler, sipName_warning, doc_QXmlErrorHandler_warning);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlErrorHandler_error, "QXmlErrorHandler.error(QXmlParseException) -> bool");

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

    {
        const QXmlParseException* a0;
        QXmlErrorHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlErrorHandler, sipName_error);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->error(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlErrorHandler, sipName_error, doc_QXmlErrorHandler_error);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlErrorHandler_fatalError, "QXmlErrorHandler.fatalError(QXmlParseException) -> bool");

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

    {
        const QXmlParseException* a0;
        QXmlErrorHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlErrorHandler, sipName_fatalError);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->fatalError(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlErrorHandler, sipName_fatalError, doc_QXmlErrorHandler_fatalError);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlErrorHandler_errorString, "QXmlErrorHandler.errorString() -> str");

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

    {
        const QXmlErrorHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlErrorHandler, sipName_errorString);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlErrorHandler, sipName_errorString, doc_QXmlErrorHandler_errorString);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlErrorHandler(void *, const sipTypeDef *);}
static void *cast_QXmlErrorHandler(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QXmlErrorHandler)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlErrorHandler(void *, int);}
static void release_QXmlErrorHandler(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlErrorHandler *>(sipCppV);
    else
        delete reinterpret_cast<QXmlErrorHandler *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QXmlErrorHandler(sipSimpleWrapper *);}
static void dealloc_QXmlErrorHandler(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQXmlErrorHandler *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlErrorHandler(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QXmlErrorHandler(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlErrorHandler(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQXmlErrorHandler *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlErrorHandler();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QXmlErrorHandler* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlErrorHandler, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlErrorHandler(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QXmlErrorHandler[] = {
    {SIP_MLNAME_CAST(sipName_error), meth_QXmlErrorHandler_error, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlErrorHandler_error)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QXmlErrorHandler_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlErrorHandler_errorString)},
    {SIP_MLNAME_CAST(sipName_fatalError), meth_QXmlErrorHandler_fatalError, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlErrorHandler_fatalError)},
    {SIP_MLNAME_CAST(sipName_warning), meth_QXmlErrorHandler_warning, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlErrorHandler_warning)}
};

PyDoc_STRVAR(doc_QXmlErrorHandler, "\1QXmlErrorHandler()\n"
    "QXmlErrorHandler(QXmlErrorHandler)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlErrorHandler = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QXmlErrorHandler,
        {0}
    },
    {
        sipNameNr_QXmlErrorHandler,
        {0, 0, 1},
        4, methods_QXmlErrorHandler,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlErrorHandler,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlErrorHandler,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlErrorHandler,
    0,
    0,
    0,
    release_QXmlErrorHandler,
    cast_QXmlErrorHandler,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 219 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 4757 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4761 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 57 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 4764 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 206 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 4767 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


class sipQXmlContentHandler : public QXmlContentHandler
{
public:
    sipQXmlContentHandler();
    sipQXmlContentHandler(const QXmlContentHandler&);
    virtual ~sipQXmlContentHandler();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString errorString() const;
    bool skippedEntity(const QString&);
    bool processingInstruction(const QString&,const QString&);
    bool ignorableWhitespace(const QString&);
    bool characters(const QString&);
    bool endElement(const QString&,const QString&,const QString&);
    bool startElement(const QString&,const QString&,const QString&,const QXmlAttributes&);
    bool endPrefixMapping(const QString&);
    bool startPrefixMapping(const QString&,const QString&);
    bool endDocument();
    bool startDocument();
    void setDocumentLocator(QXmlLocator*);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipQXmlContentHandler::sipQXmlContentHandler(): QXmlContentHandler(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlContentHandler::sipQXmlContentHandler(const QXmlContentHandler& a0): QXmlContentHandler(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlContentHandler::~sipQXmlContentHandler()
{
    sipCommonDtor(sipPySelf);
}

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

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

    if (!sipMeth)
        return QString();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_QtXml_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlContentHandler::skippedEntity(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,sipName_QXmlContentHandler,sipName_skippedEntity);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,sipName_QXmlContentHandler,sipName_processingInstruction);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_1(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQXmlContentHandler::ignorableWhitespace(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[3],sipPySelf,sipName_QXmlContentHandler,sipName_ignorableWhitespace);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlContentHandler::characters(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,sipName_QXmlContentHandler,sipName_characters);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

bool sipQXmlContentHandler::endElement(const QString& a0,const QString& a1,const QString& a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,sipName_QXmlContentHandler,sipName_endElement);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_0(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2);
}

bool sipQXmlContentHandler::startElement(const QString& a0,const QString& a1,const QString& a2,const QXmlAttributes& a3)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,sipName_QXmlContentHandler,sipName_startElement);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_6(sipGILState, 0, sipPySelf, sipMeth, a0, a1, a2, a3);
}

bool sipQXmlContentHandler::endPrefixMapping(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[7],sipPySelf,sipName_QXmlContentHandler,sipName_endPrefixMapping);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,sipName_QXmlContentHandler,sipName_startPrefixMapping);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_1(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

bool sipQXmlContentHandler::endDocument()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[9],sipPySelf,sipName_QXmlContentHandler,sipName_endDocument);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtXml_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlContentHandler::startDocument()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,sipName_QXmlContentHandler,sipName_startDocument);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtXml_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQXmlContentHandler::setDocumentLocator(QXmlLocator*a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[11],sipPySelf,sipName_QXmlContentHandler,sipName_setDocumentLocator);

    if (!sipMeth)
        return;

    extern void sipVH_QtXml_7(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QXmlLocator*);

    sipVH_QtXml_7(sipGILState, 0, sipPySelf, sipMeth, a0);
}


PyDoc_STRVAR(doc_QXmlContentHandler_setDocumentLocator, "QXmlContentHandler.setDocumentLocator(QXmlLocator)");

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

    {
        QXmlLocator* a0;
        PyObject *a0Keep;
        QXmlContentHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlContentHandler, &sipCpp, &a0Keep, sipType_QXmlLocator, &a0))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlContentHandler, sipName_setDocumentLocator);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDocumentLocator(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -14, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlContentHandler, sipName_setDocumentLocator, doc_QXmlContentHandler_setDocumentLocator);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlContentHandler_startDocument, "QXmlContentHandler.startDocument() -> bool");

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

    {
        QXmlContentHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlContentHandler, sipName_startDocument);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startDocument();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlContentHandler, sipName_startDocument, doc_QXmlContentHandler_startDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlContentHandler_endDocument, "QXmlContentHandler.endDocument() -> bool");

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

    {
        QXmlContentHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlContentHandler, sipName_endDocument);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endDocument();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlContentHandler, sipName_endDocument, doc_QXmlContentHandler_endDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlContentHandler_startPrefixMapping, "QXmlContentHandler.startPrefixMapping(str, str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QXmlContentHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlContentHandler, sipName_startPrefixMapping);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startPrefixMapping(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlContentHandler, sipName_startPrefixMapping, doc_QXmlContentHandler_startPrefixMapping);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlContentHandler_endPrefixMapping, "QXmlContentHandler.endPrefixMapping(str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        QXmlContentHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlContentHandler, sipName_endPrefixMapping);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endPrefixMapping(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlContentHandler, sipName_endPrefixMapping, doc_QXmlContentHandler_endPrefixMapping);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlContentHandler_startElement, "QXmlContentHandler.startElement(str, str, str, QXmlAttributes) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QXmlAttributes* a3;
        QXmlContentHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J9", &sipSelf, sipType_QXmlContentHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QXmlAttributes, &a3))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlContentHandler, sipName_startElement);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->startElement(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlContentHandler, sipName_startElement, doc_QXmlContentHandler_startElement);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlContentHandler_endElement, "QXmlContentHandler.endElement(str, str, str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QXmlContentHandler *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QXmlContentHandler, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            bool sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlContentHandler, sipName_endElement);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->endElement(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlContentHandler, sipName_endElement, doc_QXmlContentHandler_endElement);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlContentHandler_characters, "QXmlContentHandler.characters(str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        QXmlContentHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlContentHandler, sipName_characters);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->characters(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlContentHandler, sipName_characters, doc_QXmlContentHandler_characters);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlContentHandler_ignorableWhitespace, "QXmlContentHandler.ignorableWhitespace(str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        QXmlContentHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlContentHandler, sipName_ignorableWhitespace);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->ignorableWhitespace(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlContentHandler, sipName_ignorableWhitespace, doc_QXmlContentHandler_ignorableWhitespace);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlContentHandler_processingInstruction, "QXmlContentHandler.processingInstruction(str, str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QXmlContentHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlContentHandler, sipName_processingInstruction);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->processingInstruction(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlContentHandler, sipName_processingInstruction, doc_QXmlContentHandler_processingInstruction);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlContentHandler_skippedEntity, "QXmlContentHandler.skippedEntity(str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        QXmlContentHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlContentHandler, sipName_skippedEntity);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->skippedEntity(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlContentHandler, sipName_skippedEntity, doc_QXmlContentHandler_skippedEntity);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlContentHandler_errorString, "QXmlContentHandler.errorString() -> str");

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

    {
        const QXmlContentHandler *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlContentHandler, sipName_errorString);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->errorString());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlContentHandler, sipName_errorString, doc_QXmlContentHandler_errorString);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlContentHandler(void *, const sipTypeDef *);}
static void *cast_QXmlContentHandler(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QXmlContentHandler)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlContentHandler(void *, int);}
static void release_QXmlContentHandler(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlContentHandler *>(sipCppV);
    else
        delete reinterpret_cast<QXmlContentHandler *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QXmlContentHandler(sipSimpleWrapper *);}
static void dealloc_QXmlContentHandler(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQXmlContentHandler *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlContentHandler(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QXmlContentHandler(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlContentHandler(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQXmlContentHandler *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlContentHandler();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QXmlContentHandler* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlContentHandler, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlContentHandler(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QXmlContentHandler[] = {
    {SIP_MLNAME_CAST(sipName_characters), meth_QXmlContentHandler_characters, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlContentHandler_characters)},
    {SIP_MLNAME_CAST(sipName_endDocument), meth_QXmlContentHandler_endDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlContentHandler_endDocument)},
    {SIP_MLNAME_CAST(sipName_endElement), meth_QXmlContentHandler_endElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlContentHandler_endElement)},
    {SIP_MLNAME_CAST(sipName_endPrefixMapping), meth_QXmlContentHandler_endPrefixMapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlContentHandler_endPrefixMapping)},
    {SIP_MLNAME_CAST(sipName_errorString), meth_QXmlContentHandler_errorString, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlContentHandler_errorString)},
    {SIP_MLNAME_CAST(sipName_ignorableWhitespace), meth_QXmlContentHandler_ignorableWhitespace, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlContentHandler_ignorableWhitespace)},
    {SIP_MLNAME_CAST(sipName_processingInstruction), meth_QXmlContentHandler_processingInstruction, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlContentHandler_processingInstruction)},
    {SIP_MLNAME_CAST(sipName_setDocumentLocator), meth_QXmlContentHandler_setDocumentLocator, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlContentHandler_setDocumentLocator)},
    {SIP_MLNAME_CAST(sipName_skippedEntity), meth_QXmlContentHandler_skippedEntity, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlContentHandler_skippedEntity)},
    {SIP_MLNAME_CAST(sipName_startDocument), meth_QXmlContentHandler_startDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlContentHandler_startDocument)},
    {SIP_MLNAME_CAST(sipName_startElement), meth_QXmlContentHandler_startElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlContentHandler_startElement)},
    {SIP_MLNAME_CAST(sipName_startPrefixMapping), meth_QXmlContentHandler_startPrefixMapping, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlContentHandler_startPrefixMapping)}
};

PyDoc_STRVAR(doc_QXmlContentHandler, "\1QXmlContentHandler()\n"
    "QXmlContentHandler(QXmlContentHandler)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlContentHandler = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QXmlContentHandler,
        {0}
    },
    {
        sipNameNr_QXmlContentHandler,
        {0, 0, 1},
        12, methods_QXmlContentHandler,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlContentHandler,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlContentHandler,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlContentHandler,
    0,
    0,
    0,
    release_QXmlContentHandler,
    cast_QXmlContentHandler,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 206 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 5630 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"



class sipQXmlLocator : public QXmlLocator
{
public:
    sipQXmlLocator();
    sipQXmlLocator(const QXmlLocator&);
    virtual ~sipQXmlLocator();

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    int lineNumber() const;
    int columnNumber() const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[2];
};

sipQXmlLocator::sipQXmlLocator(): QXmlLocator(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlLocator::sipQXmlLocator(const QXmlLocator& a0): QXmlLocator(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlLocator::~sipQXmlLocator()
{
    sipCommonDtor(sipPySelf);
}

int sipQXmlLocator::lineNumber() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[0]),sipPySelf,sipName_QXmlLocator,sipName_lineNumber);

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtXml_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}

int sipQXmlLocator::columnNumber() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_QXmlLocator,sipName_columnNumber);

    if (!sipMeth)
        return 0;

    typedef int (*sipVH_QtCore_6)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_6)(sipModuleAPI_QtXml_QtCore->em_virthandlers[6]))(sipGILState, 0, sipPySelf, sipMeth);
}


PyDoc_STRVAR(doc_QXmlLocator_columnNumber, "QXmlLocator.columnNumber() -> int");

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

    {
        const QXmlLocator *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlLocator, sipName_columnNumber);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->columnNumber();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlLocator, sipName_columnNumber, doc_QXmlLocator_columnNumber);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlLocator_lineNumber, "QXmlLocator.lineNumber() -> int");

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

    {
        const QXmlLocator *sipCpp;

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QXmlLocator, sipName_lineNumber);
                return NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lineNumber();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlLocator, sipName_lineNumber, doc_QXmlLocator_lineNumber);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlLocator(void *, const sipTypeDef *);}
static void *cast_QXmlLocator(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QXmlLocator)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlLocator(void *, int);}
static void release_QXmlLocator(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlLocator *>(sipCppV);
    else
        delete reinterpret_cast<QXmlLocator *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QXmlLocator(sipSimpleWrapper *);}
static void dealloc_QXmlLocator(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQXmlLocator *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlLocator(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QXmlLocator(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlLocator(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQXmlLocator *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlLocator();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QXmlLocator* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlLocator, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlLocator(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QXmlLocator[] = {
    {SIP_MLNAME_CAST(sipName_columnNumber), meth_QXmlLocator_columnNumber, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlLocator_columnNumber)},
    {SIP_MLNAME_CAST(sipName_lineNumber), meth_QXmlLocator_lineNumber, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlLocator_lineNumber)}
};

PyDoc_STRVAR(doc_QXmlLocator, "\1QXmlLocator()\n"
    "QXmlLocator(QXmlLocator)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlLocator = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QXmlLocator,
        {0}
    },
    {
        sipNameNr_QXmlLocator,
        {0, 0, 1},
        2, methods_QXmlLocator,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlLocator,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlLocator,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlLocator,
    0,
    0,
    0,
    release_QXmlLocator,
    cast_QXmlLocator,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 171 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 5918 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 83 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 5922 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 298 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 5925 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 280 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 5928 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 5931 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 219 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 5934 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 255 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 5937 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 268 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 5940 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5943 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


class sipQXmlSimpleReader : public QXmlSimpleReader
{
public:
    sipQXmlSimpleReader();
    virtual ~sipQXmlSimpleReader();

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

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[21];
};

sipQXmlSimpleReader::sipQXmlSimpleReader(): QXmlSimpleReader(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlSimpleReader::~sipQXmlSimpleReader()
{
    sipCommonDtor(sipPySelf);
}

bool sipQXmlSimpleReader::parseContinue()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_parseContinue);

    if (!sipMeth)
        return QXmlSimpleReader::parseContinue();

    typedef bool (*sipVH_QtCore_7)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_7)(sipModuleAPI_QtXml_QtCore->em_virthandlers[7]))(sipGILState, 0, sipPySelf, sipMeth);
}

bool sipQXmlSimpleReader::parse(const QXmlInputSource*a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return QXmlSimpleReader::parse(a0,a1);

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

    return sipVH_QtXml_8(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_parse);

    if (!sipMeth)
        return QXmlSimpleReader::parse(a0);

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

    return sipVH_QtXml_9(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_declHandler);

    if (!sipMeth)
        return QXmlSimpleReader::declHandler();

    extern QXmlDeclHandler* sipVH_QtXml_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_10(sipGILState, 0, sipPySelf, sipMeth);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_setDeclHandler);

    if (!sipMeth)
    {
        QXmlSimpleReader::setDeclHandler(a0);
        return;
    }

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

    sipVH_QtXml_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[5]),sipPySelf,NULL,sipName_lexicalHandler);

    if (!sipMeth)
        return QXmlSimpleReader::lexicalHandler();

    extern QXmlLexicalHandler* sipVH_QtXml_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_12(sipGILState, 0, sipPySelf, sipMeth);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setLexicalHandler);

    if (!sipMeth)
    {
        QXmlSimpleReader::setLexicalHandler(a0);
        return;
    }

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

    sipVH_QtXml_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[7]),sipPySelf,NULL,sipName_errorHandler);

    if (!sipMeth)
        return QXmlSimpleReader::errorHandler();

    extern QXmlErrorHandler* sipVH_QtXml_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_14(sipGILState, 0, sipPySelf, sipMeth);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[8],sipPySelf,NULL,sipName_setErrorHandler);

    if (!sipMeth)
    {
        QXmlSimpleReader::setErrorHandler(a0);
        return;
    }

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

    sipVH_QtXml_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[9]),sipPySelf,NULL,sipName_contentHandler);

    if (!sipMeth)
        return QXmlSimpleReader::contentHandler();

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

    return sipVH_QtXml_16(sipGILState, 0, sipPySelf, sipMeth);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[10],sipPySelf,NULL,sipName_setContentHandler);

    if (!sipMeth)
    {
        QXmlSimpleReader::setContentHandler(a0);
        return;
    }

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

    sipVH_QtXml_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[11]),sipPySelf,NULL,sipName_DTDHandler);

    if (!sipMeth)
        return QXmlSimpleReader::DTDHandler();

    extern QXmlDTDHandler* sipVH_QtXml_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_18(sipGILState, 0, sipPySelf, sipMeth);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[12],sipPySelf,NULL,sipName_setDTDHandler);

    if (!sipMeth)
    {
        QXmlSimpleReader::setDTDHandler(a0);
        return;
    }

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

    sipVH_QtXml_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[13]),sipPySelf,NULL,sipName_entityResolver);

    if (!sipMeth)
        return QXmlSimpleReader::entityResolver();

    extern QXmlEntityResolver* sipVH_QtXml_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_20(sipGILState, 0, sipPySelf, sipMeth);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[14],sipPySelf,NULL,sipName_setEntityResolver);

    if (!sipMeth)
    {
        QXmlSimpleReader::setEntityResolver(a0);
        return;
    }

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

    sipVH_QtXml_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[15]),sipPySelf,NULL,sipName_hasProperty);

    if (!sipMeth)
        return QXmlSimpleReader::hasProperty(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[16],sipPySelf,NULL,sipName_setProperty);

    if (!sipMeth)
    {
        QXmlSimpleReader::setProperty(a0,a1);
        return;
    }

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

    sipVH_QtXml_22(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[17]),sipPySelf,NULL,sipName_property);

    if (!sipMeth)
        return QXmlSimpleReader::property(a0,a1);

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

    return sipVH_QtXml_23(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[18]),sipPySelf,NULL,sipName_hasFeature);

    if (!sipMeth)
        return QXmlSimpleReader::hasFeature(a0);

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[19],sipPySelf,NULL,sipName_setFeature);

    if (!sipMeth)
    {
        QXmlSimpleReader::setFeature(a0,a1);
        return;
    }

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

    sipVH_QtXml_24(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[20]),sipPySelf,NULL,sipName_feature);

    if (!sipMeth)
        return QXmlSimpleReader::feature(a0,a1);

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

    return sipVH_QtXml_25(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


PyDoc_STRVAR(doc_QXmlSimpleReader_feature, "QXmlSimpleReader.feature(str) -> (bool, bool)");

extern "C" {static PyObject *meth_QXmlSimpleReader_feature(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_feature(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

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

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_feature, doc_QXmlSimpleReader_feature);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_setFeature, "QXmlSimpleReader.setFeature(str, bool)");

extern "C" {static PyObject *meth_QXmlSimpleReader_setFeature(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_setFeature(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1b", &sipSelf, sipType_QXmlSimpleReader, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QXmlSimpleReader::setFeature(*a0,a1) : sipCpp->setFeature(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_setFeature, doc_QXmlSimpleReader_setFeature);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_hasFeature, "QXmlSimpleReader.hasFeature(str) -> bool");

extern "C" {static PyObject *meth_QXmlSimpleReader_hasFeature(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_hasFeature(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QXmlSimpleReader *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlSimpleReader::hasFeature(*a0) : sipCpp->hasFeature(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_hasFeature, doc_QXmlSimpleReader_hasFeature);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_property, "QXmlSimpleReader.property(str) -> (sip.voidptr, bool)");

extern "C" {static PyObject *meth_QXmlSimpleReader_property(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_property(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

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

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_property, doc_QXmlSimpleReader_property);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_setProperty, "QXmlSimpleReader.setProperty(str, sip.voidptr)");

extern "C" {static PyObject *meth_QXmlSimpleReader_setProperty(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_setProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1v", &sipSelf, sipType_QXmlSimpleReader, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QXmlSimpleReader::setProperty(*a0,a1) : sipCpp->setProperty(*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_setProperty, doc_QXmlSimpleReader_setProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_hasProperty, "QXmlSimpleReader.hasProperty(str) -> bool");

extern "C" {static PyObject *meth_QXmlSimpleReader_hasProperty(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_hasProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        const QXmlSimpleReader *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlSimpleReader::hasProperty(*a0) : sipCpp->hasProperty(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_hasProperty, doc_QXmlSimpleReader_hasProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_setEntityResolver, "QXmlSimpleReader.setEntityResolver(QXmlEntityResolver)");

extern "C" {static PyObject *meth_QXmlSimpleReader_setEntityResolver(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_setEntityResolver(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlEntityResolver* a0;
        PyObject *a0Keep;
        QXmlSimpleReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlSimpleReader, &sipCpp, &a0Keep, sipType_QXmlEntityResolver, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QXmlSimpleReader::setEntityResolver(a0) : sipCpp->setEntityResolver(a0));
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -8, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_setEntityResolver, doc_QXmlSimpleReader_setEntityResolver);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_entityResolver, "QXmlSimpleReader.entityResolver() -> QXmlEntityResolver");

extern "C" {static PyObject *meth_QXmlSimpleReader_entityResolver(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_entityResolver(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QXmlSimpleReader *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlSimpleReader::entityResolver() : sipCpp->entityResolver());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_entityResolver, doc_QXmlSimpleReader_entityResolver);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_setDTDHandler, "QXmlSimpleReader.setDTDHandler(QXmlDTDHandler)");

extern "C" {static PyObject *meth_QXmlSimpleReader_setDTDHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_setDTDHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlDTDHandler* a0;
        PyObject *a0Keep;
        QXmlSimpleReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlSimpleReader, &sipCpp, &a0Keep, sipType_QXmlDTDHandler, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QXmlSimpleReader::setDTDHandler(a0) : sipCpp->setDTDHandler(a0));
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -9, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_setDTDHandler, doc_QXmlSimpleReader_setDTDHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_DTDHandler, "QXmlSimpleReader.DTDHandler() -> QXmlDTDHandler");

extern "C" {static PyObject *meth_QXmlSimpleReader_DTDHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_DTDHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QXmlSimpleReader *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlSimpleReader::DTDHandler() : sipCpp->DTDHandler());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_DTDHandler, doc_QXmlSimpleReader_DTDHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_setContentHandler, "QXmlSimpleReader.setContentHandler(QXmlContentHandler)");

extern "C" {static PyObject *meth_QXmlSimpleReader_setContentHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_setContentHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlContentHandler* a0;
        PyObject *a0Keep;
        QXmlSimpleReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlSimpleReader, &sipCpp, &a0Keep, sipType_QXmlContentHandler, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QXmlSimpleReader::setContentHandler(a0) : sipCpp->setContentHandler(a0));
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -10, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_setContentHandler, doc_QXmlSimpleReader_setContentHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_contentHandler, "QXmlSimpleReader.contentHandler() -> QXmlContentHandler");

extern "C" {static PyObject *meth_QXmlSimpleReader_contentHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_contentHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QXmlSimpleReader *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlSimpleReader::contentHandler() : sipCpp->contentHandler());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_contentHandler, doc_QXmlSimpleReader_contentHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_setErrorHandler, "QXmlSimpleReader.setErrorHandler(QXmlErrorHandler)");

extern "C" {static PyObject *meth_QXmlSimpleReader_setErrorHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_setErrorHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlErrorHandler* a0;
        PyObject *a0Keep;
        QXmlSimpleReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlSimpleReader, &sipCpp, &a0Keep, sipType_QXmlErrorHandler, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QXmlSimpleReader::setErrorHandler(a0) : sipCpp->setErrorHandler(a0));
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -11, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_setErrorHandler, doc_QXmlSimpleReader_setErrorHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_errorHandler, "QXmlSimpleReader.errorHandler() -> QXmlErrorHandler");

extern "C" {static PyObject *meth_QXmlSimpleReader_errorHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_errorHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QXmlSimpleReader *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlSimpleReader::errorHandler() : sipCpp->errorHandler());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_errorHandler, doc_QXmlSimpleReader_errorHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_setLexicalHandler, "QXmlSimpleReader.setLexicalHandler(QXmlLexicalHandler)");

extern "C" {static PyObject *meth_QXmlSimpleReader_setLexicalHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_setLexicalHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlLexicalHandler* a0;
        PyObject *a0Keep;
        QXmlSimpleReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlSimpleReader, &sipCpp, &a0Keep, sipType_QXmlLexicalHandler, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QXmlSimpleReader::setLexicalHandler(a0) : sipCpp->setLexicalHandler(a0));
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -12, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_setLexicalHandler, doc_QXmlSimpleReader_setLexicalHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_lexicalHandler, "QXmlSimpleReader.lexicalHandler() -> QXmlLexicalHandler");

extern "C" {static PyObject *meth_QXmlSimpleReader_lexicalHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_lexicalHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QXmlSimpleReader *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlSimpleReader::lexicalHandler() : sipCpp->lexicalHandler());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_lexicalHandler, doc_QXmlSimpleReader_lexicalHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_setDeclHandler, "QXmlSimpleReader.setDeclHandler(QXmlDeclHandler)");

extern "C" {static PyObject *meth_QXmlSimpleReader_setDeclHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_setDeclHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlDeclHandler* a0;
        PyObject *a0Keep;
        QXmlSimpleReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B@J8", &sipSelf, sipType_QXmlSimpleReader, &sipCpp, &a0Keep, sipType_QXmlDeclHandler, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QXmlSimpleReader::setDeclHandler(a0) : sipCpp->setDeclHandler(a0));
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -13, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_setDeclHandler, doc_QXmlSimpleReader_setDeclHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_declHandler, "QXmlSimpleReader.declHandler() -> QXmlDeclHandler");

extern "C" {static PyObject *meth_QXmlSimpleReader_declHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_declHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QXmlSimpleReader *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlSimpleReader::declHandler() : sipCpp->declHandler());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_declHandler, doc_QXmlSimpleReader_declHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_parse, "QXmlSimpleReader.parse(QXmlInputSource) -> bool\n"
    "QXmlSimpleReader.parse(QXmlInputSource, bool) -> bool");

extern "C" {static PyObject *meth_QXmlSimpleReader_parse(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_parse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QXmlInputSource* a0;
        QXmlSimpleReader *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlSimpleReader::parse(a0) : sipCpp->parse(a0));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    {
        const QXmlInputSource* a0;
        bool a1;
        QXmlSimpleReader *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8b", &sipSelf, sipType_QXmlSimpleReader, &sipCpp, sipType_QXmlInputSource, &a0, &a1))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlSimpleReader::parse(a0,a1) : sipCpp->parse(a0,a1));
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_parse, doc_QXmlSimpleReader_parse);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlSimpleReader_parseContinue, "QXmlSimpleReader.parseContinue() -> bool");

extern "C" {static PyObject *meth_QXmlSimpleReader_parseContinue(PyObject *, PyObject *);}
static PyObject *meth_QXmlSimpleReader_parseContinue(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlSimpleReader *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = (sipSelfWasArg ? sipCpp->QXmlSimpleReader::parseContinue() : sipCpp->parseContinue());
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlSimpleReader, sipName_parseContinue, doc_QXmlSimpleReader_parseContinue);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlSimpleReader(void *, const sipTypeDef *);}
static void *cast_QXmlSimpleReader(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QXmlSimpleReader)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QXmlReader)->ctd_cast((QXmlReader *)(QXmlSimpleReader *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlSimpleReader(void *, int);}
static void release_QXmlSimpleReader(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlSimpleReader *>(sipCppV);
    else
        delete reinterpret_cast<QXmlSimpleReader *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QXmlSimpleReader(sipSimpleWrapper *);}
static void dealloc_QXmlSimpleReader(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQXmlSimpleReader *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlSimpleReader(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QXmlSimpleReader(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlSimpleReader(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQXmlSimpleReader *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlSimpleReader();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QXmlSimpleReader[] = {{32, 255, 1}};


static PyMethodDef methods_QXmlSimpleReader[] = {
    {SIP_MLNAME_CAST(sipName_DTDHandler), meth_QXmlSimpleReader_DTDHandler, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_DTDHandler)},
    {SIP_MLNAME_CAST(sipName_contentHandler), meth_QXmlSimpleReader_contentHandler, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_contentHandler)},
    {SIP_MLNAME_CAST(sipName_declHandler), meth_QXmlSimpleReader_declHandler, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_declHandler)},
    {SIP_MLNAME_CAST(sipName_entityResolver), meth_QXmlSimpleReader_entityResolver, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_entityResolver)},
    {SIP_MLNAME_CAST(sipName_errorHandler), meth_QXmlSimpleReader_errorHandler, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_errorHandler)},
    {SIP_MLNAME_CAST(sipName_feature), (PyCFunction)meth_QXmlSimpleReader_feature, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_feature)},
    {SIP_MLNAME_CAST(sipName_hasFeature), meth_QXmlSimpleReader_hasFeature, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_hasFeature)},
    {SIP_MLNAME_CAST(sipName_hasProperty), meth_QXmlSimpleReader_hasProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_hasProperty)},
    {SIP_MLNAME_CAST(sipName_lexicalHandler), meth_QXmlSimpleReader_lexicalHandler, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_lexicalHandler)},
    {SIP_MLNAME_CAST(sipName_parse), meth_QXmlSimpleReader_parse, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_parse)},
    {SIP_MLNAME_CAST(sipName_parseContinue), meth_QXmlSimpleReader_parseContinue, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_parseContinue)},
    {SIP_MLNAME_CAST(sipName_property), (PyCFunction)meth_QXmlSimpleReader_property, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_property)},
    {SIP_MLNAME_CAST(sipName_setContentHandler), meth_QXmlSimpleReader_setContentHandler, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_setContentHandler)},
    {SIP_MLNAME_CAST(sipName_setDTDHandler), meth_QXmlSimpleReader_setDTDHandler, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_setDTDHandler)},
    {SIP_MLNAME_CAST(sipName_setDeclHandler), meth_QXmlSimpleReader_setDeclHandler, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_setDeclHandler)},
    {SIP_MLNAME_CAST(sipName_setEntityResolver), meth_QXmlSimpleReader_setEntityResolver, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_setEntityResolver)},
    {SIP_MLNAME_CAST(sipName_setErrorHandler), meth_QXmlSimpleReader_setErrorHandler, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_setErrorHandler)},
    {SIP_MLNAME_CAST(sipName_setFeature), meth_QXmlSimpleReader_setFeature, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_setFeature)},
    {SIP_MLNAME_CAST(sipName_setLexicalHandler), meth_QXmlSimpleReader_setLexicalHandler, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_setLexicalHandler)},
    {SIP_MLNAME_CAST(sipName_setProperty), meth_QXmlSimpleReader_setProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlSimpleReader_setProperty)}
};

PyDoc_STRVAR(doc_QXmlSimpleReader, "\1QXmlSimpleReader()");


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlSimpleReader = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QXmlSimpleReader,
        {0}
    },
    {
        sipNameNr_QXmlSimpleReader,
        {0, 0, 1},
        20, methods_QXmlSimpleReader,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlSimpleReader,
    -1,
    -1,
    supers_QXmlSimpleReader,
    0,
    init_type_QXmlSimpleReader,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlSimpleReader,
    0,
    0,
    0,
    release_QXmlSimpleReader,
    cast_QXmlSimpleReader,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 141 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 7156 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 83 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 7160 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 298 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 7163 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 280 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 7166 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 241 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 7169 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 219 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 7172 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 255 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 7175 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 268 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 7178 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7181 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.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*);
    bool parse(const QXmlInputSource&);
    QXmlDeclHandler* declHandler() const;
    void setDeclHandler(QXmlDeclHandler*);
    QXmlLexicalHandler* lexicalHandler() const;
    void setLexicalHandler(QXmlLexicalHandler*);
    QXmlErrorHandler* errorHandler() const;
    void setErrorHandler(QXmlErrorHandler*);
    QXmlContentHandler* contentHandler() const;
    void setContentHandler(QXmlContentHandler*);
    QXmlDTDHandler* DTDHandler() const;
    void setDTDHandler(QXmlDTDHandler*);
    QXmlEntityResolver* entityResolver() const;
    void setEntityResolver(QXmlEntityResolver*);
    bool hasProperty(const QString&) const;
    void setProperty(const QString&,void*);
    void* property(const QString&,bool*) const;
    bool hasFeature(const QString&) const;
    void setFeature(const QString&,bool);
    bool feature(const QString&,bool*) const;

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[20];
};

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

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

sipQXmlReader::~sipQXmlReader()
{
    sipCommonDtor(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_9(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QXmlInputSource*);

    return sipVH_QtXml_9(sipGILState, 0, 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_26(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QXmlInputSource&);

    return sipVH_QtXml_26(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return 0;

    extern QXmlDeclHandler* sipVH_QtXml_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_10(sipGILState, 0, 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_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QXmlDeclHandler*);

    sipVH_QtXml_11(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return 0;

    extern QXmlLexicalHandler* sipVH_QtXml_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_12(sipGILState, 0, 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_13(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QXmlLexicalHandler*);

    sipVH_QtXml_13(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return 0;

    extern QXmlErrorHandler* sipVH_QtXml_14(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_14(sipGILState, 0, 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_15(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QXmlErrorHandler*);

    sipVH_QtXml_15(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[8]),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, 0, 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_17(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QXmlContentHandler*);

    sipVH_QtXml_17(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return 0;

    extern QXmlDTDHandler* sipVH_QtXml_18(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_18(sipGILState, 0, 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_19(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QXmlDTDHandler*);

    sipVH_QtXml_19(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return 0;

    extern QXmlEntityResolver* sipVH_QtXml_20(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_20(sipGILState, 0, 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_21(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, QXmlEntityResolver*);

    sipVH_QtXml_21(sipGILState, 0, sipPySelf, sipMeth, a0);
}

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

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

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, 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_22(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,void*);

    sipVH_QtXml_22(sipGILState, 0, 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]),sipPySelf,sipName_QXmlReader,sipName_property);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_23(sipGILState, 0, 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]),sipPySelf,sipName_QXmlReader,sipName_hasFeature);

    if (!sipMeth)
        return 0;

    typedef bool (*sipVH_QtCore_28)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    return ((sipVH_QtCore_28)(sipModuleAPI_QtXml_QtCore->em_virthandlers[28]))(sipGILState, 0, 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_24(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&,bool);

    sipVH_QtXml_24(sipGILState, 0, 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]),sipPySelf,sipName_QXmlReader,sipName_feature);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtXml_25(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}


PyDoc_STRVAR(doc_QXmlReader_feature, "QXmlReader.feature(str) -> (bool, bool)");

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

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

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

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

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_feature, doc_QXmlReader_feature);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_setFeature, "QXmlReader.setFeature(str, bool)");

extern "C" {static PyObject *meth_QXmlReader_setFeature(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_setFeature(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setFeature, doc_QXmlReader_setFeature);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_hasFeature, "QXmlReader.hasFeature(str) -> bool");

extern "C" {static PyObject *meth_QXmlReader_hasFeature(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_hasFeature(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

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

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_hasFeature, doc_QXmlReader_hasFeature);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_property, "QXmlReader.property(str) -> (sip.voidptr, bool)");

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

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

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

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

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_property, doc_QXmlReader_property);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_setProperty, "QXmlReader.setProperty(str, sip.voidptr)");

extern "C" {static PyObject *meth_QXmlReader_setProperty(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_setProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setProperty, doc_QXmlReader_setProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_hasProperty, "QXmlReader.hasProperty(str) -> bool");

extern "C" {static PyObject *meth_QXmlReader_hasProperty(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_hasProperty(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

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

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_hasProperty, doc_QXmlReader_hasProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_setEntityResolver, "QXmlReader.setEntityResolver(QXmlEntityResolver)");

extern "C" {static PyObject *meth_QXmlReader_setEntityResolver(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_setEntityResolver(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setEntityResolver(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -2, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setEntityResolver, doc_QXmlReader_setEntityResolver);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_entityResolver, "QXmlReader.entityResolver() -> QXmlEntityResolver");

extern "C" {static PyObject *meth_QXmlReader_entityResolver(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_entityResolver(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->entityResolver();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_entityResolver, doc_QXmlReader_entityResolver);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_setDTDHandler, "QXmlReader.setDTDHandler(QXmlDTDHandler)");

extern "C" {static PyObject *meth_QXmlReader_setDTDHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_setDTDHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDTDHandler(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -3, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setDTDHandler, doc_QXmlReader_setDTDHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_DTDHandler, "QXmlReader.DTDHandler() -> QXmlDTDHandler");

extern "C" {static PyObject *meth_QXmlReader_DTDHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_DTDHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->DTDHandler();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_DTDHandler, doc_QXmlReader_DTDHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_setContentHandler, "QXmlReader.setContentHandler(QXmlContentHandler)");

extern "C" {static PyObject *meth_QXmlReader_setContentHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_setContentHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setContentHandler(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -4, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setContentHandler, doc_QXmlReader_setContentHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_contentHandler, "QXmlReader.contentHandler() -> QXmlContentHandler");

extern "C" {static PyObject *meth_QXmlReader_contentHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_contentHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contentHandler();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_contentHandler, doc_QXmlReader_contentHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_setErrorHandler, "QXmlReader.setErrorHandler(QXmlErrorHandler)");

extern "C" {static PyObject *meth_QXmlReader_setErrorHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_setErrorHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setErrorHandler(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -5, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setErrorHandler, doc_QXmlReader_setErrorHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_errorHandler, "QXmlReader.errorHandler() -> QXmlErrorHandler");

extern "C" {static PyObject *meth_QXmlReader_errorHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_errorHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->errorHandler();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_errorHandler, doc_QXmlReader_errorHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_setLexicalHandler, "QXmlReader.setLexicalHandler(QXmlLexicalHandler)");

extern "C" {static PyObject *meth_QXmlReader_setLexicalHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_setLexicalHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setLexicalHandler(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -6, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setLexicalHandler, doc_QXmlReader_setLexicalHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_lexicalHandler, "QXmlReader.lexicalHandler() -> QXmlLexicalHandler");

extern "C" {static PyObject *meth_QXmlReader_lexicalHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_lexicalHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lexicalHandler();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_lexicalHandler, doc_QXmlReader_lexicalHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_setDeclHandler, "QXmlReader.setDeclHandler(QXmlDeclHandler)");

extern "C" {static PyObject *meth_QXmlReader_setDeclHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_setDeclHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipCpp->setDeclHandler(a0);
            Py_END_ALLOW_THREADS

            sipKeepReference(sipSelf, -7, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_setDeclHandler, doc_QXmlReader_setDeclHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_declHandler, "QXmlReader.declHandler() -> QXmlDeclHandler");

extern "C" {static PyObject *meth_QXmlReader_declHandler(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_declHandler(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->declHandler();
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_declHandler, doc_QXmlReader_declHandler);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlReader_parse, "QXmlReader.parse(QXmlInputSource) -> bool\n"
    "QXmlReader.parse(QXmlInputSource) -> bool");

extern "C" {static PyObject *meth_QXmlReader_parse(PyObject *, PyObject *);}
static PyObject *meth_QXmlReader_parse(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parse(*a0);
            Py_END_ALLOW_THREADS

            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 NULL;
            }

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->parse(a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlReader, sipName_parse, doc_QXmlReader_parse);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlReader(void *, const sipTypeDef *);}
static void *cast_QXmlReader(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QXmlReader)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlReader(void *, int);}
static void release_QXmlReader(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlReader *>(sipCppV);
    else
        delete reinterpret_cast<QXmlReader *>(sipCppV);

    Py_END_ALLOW_THREADS
}


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

    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlReader(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


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 = 0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QXmlReader* a0;

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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

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


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlReader = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_CLASS,
        sipNameNr_QXmlReader,
        {0}
    },
    {
        sipNameNr_QXmlReader,
        {0, 0, 1},
        19, methods_QXmlReader,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlReader,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlReader,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlReader,
    0,
    0,
    0,
    release_QXmlReader,
    cast_QXmlReader,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 116 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 8455 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8459 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QXmlParseException_columnNumber, "QXmlParseException.columnNumber() -> int");

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

    {
        const QXmlParseException *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->columnNumber();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlParseException, sipName_columnNumber, doc_QXmlParseException_columnNumber);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlParseException_lineNumber, "QXmlParseException.lineNumber() -> int");

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

    {
        const QXmlParseException *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lineNumber();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlParseException, sipName_lineNumber, doc_QXmlParseException_lineNumber);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlParseException_publicId, "QXmlParseException.publicId() -> str");

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

    {
        const QXmlParseException *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->publicId());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlParseException, sipName_publicId, doc_QXmlParseException_publicId);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlParseException_systemId, "QXmlParseException.systemId() -> str");

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

    {
        const QXmlParseException *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->systemId());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlParseException, sipName_systemId, doc_QXmlParseException_systemId);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlParseException_message, "QXmlParseException.message() -> str");

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

    {
        const QXmlParseException *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->message());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlParseException, sipName_message, doc_QXmlParseException_message);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlParseException(void *, const sipTypeDef *);}
static void *cast_QXmlParseException(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QXmlParseException)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlParseException(void *, int);}
static void release_QXmlParseException(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QXmlParseException *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QXmlParseException(sipSimpleWrapper *);}
static void dealloc_QXmlParseException(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlParseException(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QXmlParseException(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlParseException(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QXmlParseException *sipCpp = 0;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        int a1 = -1;
        int a2 = -1;
        const QString& a3def = QString();
        const QString* a3 = &a3def;
        int a3State = 0;
        const QString& a4def = QString();
        const QString* a4 = &a4def;
        int a4State = 0;

        static const char *sipKwdList[] = {
            sipName_name,
            sipName_column,
            sipName_line,
            sipName_publicId,
            sipName_systemId,
        };

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, sipKwdList, sipUnused, "|J1iiJ1J1", sipType_QString,&a0, &a0State, &a1, &a2, sipType_QString,&a3, &a3State, sipType_QString,&a4, &a4State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlParseException(*a0,a1,a2,*a3,*a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);
            sipReleaseType(const_cast<QString *>(a4),sipType_QString,a4State);

            return sipCpp;
        }
    }

    {
        const QXmlParseException* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlParseException, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlParseException(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QXmlParseException[] = {
    {SIP_MLNAME_CAST(sipName_columnNumber), meth_QXmlParseException_columnNumber, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlParseException_columnNumber)},
    {SIP_MLNAME_CAST(sipName_lineNumber), meth_QXmlParseException_lineNumber, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlParseException_lineNumber)},
    {SIP_MLNAME_CAST(sipName_message), meth_QXmlParseException_message, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlParseException_message)},
    {SIP_MLNAME_CAST(sipName_publicId), meth_QXmlParseException_publicId, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlParseException_publicId)},
    {SIP_MLNAME_CAST(sipName_systemId), meth_QXmlParseException_systemId, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlParseException_systemId)}
};

PyDoc_STRVAR(doc_QXmlParseException, "\1QXmlParseException(str name='', int column=-1, int line=-1, str publicId='', str systemId='')\n"
    "QXmlParseException(QXmlParseException)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlParseException = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QXmlParseException,
        {0}
    },
    {
        sipNameNr_QXmlParseException,
        {0, 0, 1},
        5, methods_QXmlParseException,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlParseException,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlParseException,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlParseException,
    0,
    0,
    0,
    release_QXmlParseException,
    cast_QXmlParseException,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 83 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 8764 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 8768 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8771 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 37 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 8774 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 72 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qchar.sip"
#include <qchar.h>
#line 8777 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


class sipQXmlInputSource : public QXmlInputSource
{
public:
    sipQXmlInputSource();
    sipQXmlInputSource(QIODevice*);
    sipQXmlInputSource(const QXmlInputSource&);
    virtual ~sipQXmlInputSource();

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
    QString sipProtectVirt_fromRawData(bool,const QByteArray&,bool);

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    QString fromRawData(const QByteArray&,bool);
    void reset();
    QChar next();
    QString data() const;
    void fetchData();
    void setData(const QByteArray&);
    void setData(const QString&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[7];
};

sipQXmlInputSource::sipQXmlInputSource(): QXmlInputSource(), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlInputSource::sipQXmlInputSource(QIODevice*a0): QXmlInputSource(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlInputSource::sipQXmlInputSource(const QXmlInputSource& a0): QXmlInputSource(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQXmlInputSource::~sipQXmlInputSource()
{
    sipCommonDtor(sipPySelf);
}

QString sipQXmlInputSource::fromRawData(const QByteArray& a0,bool a1)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,NULL,sipName_fromRawData);

    if (!sipMeth)
        return QXmlInputSource::fromRawData(a0,a1);

    extern QString sipVH_QtXml_27(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&,bool);

    return sipVH_QtXml_27(sipGILState, 0, sipPySelf, sipMeth, a0, a1);
}

void sipQXmlInputSource::reset()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[1],sipPySelf,NULL,sipName_reset);

    if (!sipMeth)
    {
        QXmlInputSource::reset();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtXml_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

QChar sipQXmlInputSource::next()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[2],sipPySelf,NULL,sipName_next);

    if (!sipMeth)
        return QXmlInputSource::next();

    extern QChar sipVH_QtXml_28(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtXml_28(sipGILState, 0, sipPySelf, sipMeth);
}

QString sipQXmlInputSource::data() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[3]),sipPySelf,NULL,sipName_data);

    if (!sipMeth)
        return QXmlInputSource::data();

    typedef QString (*sipVH_QtCore_62)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return ((sipVH_QtCore_62)(sipModuleAPI_QtXml_QtCore->em_virthandlers[62]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQXmlInputSource::fetchData()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[4],sipPySelf,NULL,sipName_fetchData);

    if (!sipMeth)
    {
        QXmlInputSource::fetchData();
        return;
    }

    typedef void (*sipVH_QtCore_11)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    ((sipVH_QtCore_11)(sipModuleAPI_QtXml_QtCore->em_virthandlers[11]))(sipGILState, 0, sipPySelf, sipMeth);
}

void sipQXmlInputSource::setData(const QByteArray& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[5],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
    {
        QXmlInputSource::setData(a0);
        return;
    }

    extern void sipVH_QtXml_29(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QByteArray&);

    sipVH_QtXml_29(sipGILState, 0, sipPySelf, sipMeth, a0);
}

void sipQXmlInputSource::setData(const QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[6],sipPySelf,NULL,sipName_setData);

    if (!sipMeth)
    {
        QXmlInputSource::setData(a0);
        return;
    }

    typedef void (*sipVH_QtCore_33)(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const QString&);

    ((sipVH_QtCore_33)(sipModuleAPI_QtXml_QtCore->em_virthandlers[33]))(sipGILState, 0, sipPySelf, sipMeth, a0);
}

QString sipQXmlInputSource::sipProtectVirt_fromRawData(bool sipSelfWasArg,const QByteArray& a0,bool a1)
{
    return (sipSelfWasArg ? QXmlInputSource::fromRawData(a0,a1) : fromRawData(a0,a1));
}


PyDoc_STRVAR(doc_QXmlInputSource_setData, "QXmlInputSource.setData(str)\n"
    "QXmlInputSource.setData(QByteArray)");

extern "C" {static PyObject *meth_QXmlInputSource_setData(PyObject *, PyObject *);}
static PyObject *meth_QXmlInputSource_setData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QString* a0;
        int a0State = 0;
        QXmlInputSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlInputSource, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QXmlInputSource::setData(*a0) : sipCpp->setData(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;
        QXmlInputSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlInputSource, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QXmlInputSource::setData(*a0) : sipCpp->setData(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlInputSource, sipName_setData, doc_QXmlInputSource_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlInputSource_fetchData, "QXmlInputSource.fetchData()");

extern "C" {static PyObject *meth_QXmlInputSource_fetchData(PyObject *, PyObject *);}
static PyObject *meth_QXmlInputSource_fetchData(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlInputSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlInputSource, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QXmlInputSource::fetchData() : sipCpp->fetchData());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlInputSource, sipName_fetchData, doc_QXmlInputSource_fetchData);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlInputSource_data, "QXmlInputSource.data() -> str");

extern "C" {static PyObject *meth_QXmlInputSource_data(PyObject *, PyObject *);}
static PyObject *meth_QXmlInputSource_data(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QXmlInputSource *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString((sipSelfWasArg ? sipCpp->QXmlInputSource::data() : sipCpp->data()));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlInputSource, sipName_data, doc_QXmlInputSource_data);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlInputSource_next, "QXmlInputSource.next() -> str");

extern "C" {static PyObject *meth_QXmlInputSource_next(PyObject *, PyObject *);}
static PyObject *meth_QXmlInputSource_next(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlInputSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlInputSource, &sipCpp))
        {
            QChar*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QChar((sipSelfWasArg ? sipCpp->QXmlInputSource::next() : sipCpp->next()));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QChar,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlInputSource, sipName_next, doc_QXmlInputSource_next);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlInputSource_reset, "QXmlInputSource.reset()");

extern "C" {static PyObject *meth_QXmlInputSource_reset(PyObject *, PyObject *);}
static PyObject *meth_QXmlInputSource_reset(PyObject *sipSelf, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        QXmlInputSource *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlInputSource, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            (sipSelfWasArg ? sipCpp->QXmlInputSource::reset() : sipCpp->reset());
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlInputSource, sipName_reset, doc_QXmlInputSource_reset);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlInputSource_fromRawData, "QXmlInputSource.fromRawData(QByteArray, bool beginning=False) -> str");

extern "C" {static PyObject *meth_QXmlInputSource_fromRawData(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QXmlInputSource_fromRawData(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;
    bool sipSelfWasArg = (!sipSelf || sipIsDerived((sipSimpleWrapper *)sipSelf));

    {
        const QByteArray* a0;
        int a0State = 0;
        bool a1 = 0;
        sipQXmlInputSource *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|b", &sipSelf, sipType_QXmlInputSource, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->sipProtectVirt_fromRawData(sipSelfWasArg,*a0,a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlInputSource, sipName_fromRawData, doc_QXmlInputSource_fromRawData);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlInputSource(void *, const sipTypeDef *);}
static void *cast_QXmlInputSource(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QXmlInputSource)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlInputSource(void *, int);}
static void release_QXmlInputSource(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlInputSource *>(sipCppV);
    else
        delete reinterpret_cast<QXmlInputSource *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QXmlInputSource(void *, SIP_SSIZE_T, const void *);}
static void assign_QXmlInputSource(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QXmlInputSource *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QXmlInputSource *>(sipSrc);
}


extern "C" {static void *array_QXmlInputSource(SIP_SSIZE_T);}
static void *array_QXmlInputSource(SIP_SSIZE_T sipNrElem)
{
    return new QXmlInputSource[sipNrElem];
}


extern "C" {static void *copy_QXmlInputSource(const void *, SIP_SSIZE_T);}
static void *copy_QXmlInputSource(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QXmlInputSource(reinterpret_cast<const QXmlInputSource *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QXmlInputSource(sipSimpleWrapper *);}
static void dealloc_QXmlInputSource(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQXmlInputSource *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlInputSource(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QXmlInputSource(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlInputSource(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQXmlInputSource *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlInputSource();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        QIODevice* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J8", sipType_QIODevice, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlInputSource(a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QXmlInputSource* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlInputSource, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlInputSource(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QXmlInputSource[] = {
    {SIP_MLNAME_CAST(sipName_data), meth_QXmlInputSource_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlInputSource_data)},
    {SIP_MLNAME_CAST(sipName_fetchData), meth_QXmlInputSource_fetchData, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlInputSource_fetchData)},
    {SIP_MLNAME_CAST(sipName_fromRawData), (PyCFunction)meth_QXmlInputSource_fromRawData, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QXmlInputSource_fromRawData)},
    {SIP_MLNAME_CAST(sipName_next), meth_QXmlInputSource_next, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlInputSource_next)},
    {SIP_MLNAME_CAST(sipName_reset), meth_QXmlInputSource_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlInputSource_reset)},
    {SIP_MLNAME_CAST(sipName_setData), meth_QXmlInputSource_setData, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlInputSource_setData)}
};


extern "C" {static PyObject *varget_QXmlInputSource_EndOfData(void *, PyObject *, PyObject *);}
static PyObject *varget_QXmlInputSource_EndOfData(void *, PyObject *, PyObject *)
{
    ushort sipVal;
    sipVal = QXmlInputSource::EndOfData;

#if PY_MAJOR_VERSION >= 3
    return PyLong_FromUnsignedLong(sipVal);
#else
    return PyInt_FromLong(sipVal);
#endif
}


extern "C" {static PyObject *varget_QXmlInputSource_EndOfDocument(void *, PyObject *, PyObject *);}
static PyObject *varget_QXmlInputSource_EndOfDocument(void *, PyObject *, PyObject *)
{
    ushort sipVal;
    sipVal = QXmlInputSource::EndOfDocument;

#if PY_MAJOR_VERSION >= 3
    return PyLong_FromUnsignedLong(sipVal);
#else
    return PyInt_FromLong(sipVal);
#endif
}

sipVariableDef variables_QXmlInputSource[] = {
    {ClassVariable, sipName_EndOfData, (PyMethodDef *)varget_QXmlInputSource_EndOfData, NULL, NULL, NULL},
    {ClassVariable, sipName_EndOfDocument, (PyMethodDef *)varget_QXmlInputSource_EndOfDocument, NULL, NULL, NULL},
};

PyDoc_STRVAR(doc_QXmlInputSource, "\1QXmlInputSource()\n"
    "QXmlInputSource(QIODevice)\n"
    "QXmlInputSource(QXmlInputSource)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlInputSource = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QXmlInputSource,
        {0}
    },
    {
        sipNameNr_QXmlInputSource,
        {0, 0, 1},
        6, methods_QXmlInputSource,
        0, 0,
        2, variables_QXmlInputSource,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlInputSource,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlInputSource,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlInputSource,
    assign_QXmlInputSource,
    array_QXmlInputSource,
    copy_QXmlInputSource,
    release_QXmlInputSource,
    cast_QXmlInputSource,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 57 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 9382 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 9386 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


class sipQXmlAttributes : public QXmlAttributes
{
public:
    sipQXmlAttributes();
    sipQXmlAttributes(const QXmlAttributes&);
    ~sipQXmlAttributes();

public:
    sipSimpleWrapper *sipPySelf;

private:
    sipQXmlAttributes(const sipQXmlAttributes &);
    sipQXmlAttributes &operator = (const sipQXmlAttributes &);
};

sipQXmlAttributes::sipQXmlAttributes(): QXmlAttributes(), sipPySelf(0)
{
}

sipQXmlAttributes::sipQXmlAttributes(const QXmlAttributes& a0): QXmlAttributes(a0), sipPySelf(0)
{
}

sipQXmlAttributes::~sipQXmlAttributes()
{
    sipCommonDtor(sipPySelf);
}


PyDoc_STRVAR(doc_QXmlAttributes_index, "QXmlAttributes.index(str) -> int\n"
    "QXmlAttributes.index(str, str) -> int");

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

    {
        const QString* a0;
        int a0State = 0;
        const QXmlAttributes *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->index(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return SIPLong_FromLong(sipRes);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QXmlAttributes *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->index(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlAttributes, sipName_index, doc_QXmlAttributes_index);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlAttributes_length, "QXmlAttributes.length() -> int");

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

    {
        const QXmlAttributes *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->length();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlAttributes, sipName_length, doc_QXmlAttributes_length);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlAttributes_localName, "QXmlAttributes.localName(int) -> str");

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

    {
        int a0;
        const QXmlAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QXmlAttributes, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->localName(a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlAttributes, sipName_localName, doc_QXmlAttributes_localName);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlAttributes_qName, "QXmlAttributes.qName(int) -> str");

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

    {
        int a0;
        const QXmlAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QXmlAttributes, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->qName(a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlAttributes, sipName_qName, doc_QXmlAttributes_qName);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlAttributes_uri, "QXmlAttributes.uri(int) -> str");

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

    {
        int a0;
        const QXmlAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QXmlAttributes, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->uri(a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlAttributes, sipName_uri, doc_QXmlAttributes_uri);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlAttributes_type, "QXmlAttributes.type(int) -> str\n"
    "QXmlAttributes.type(str) -> str\n"
    "QXmlAttributes.type(str, str) -> str");

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

    {
        int a0;
        const QXmlAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QXmlAttributes, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->type(a0));
            Py_END_ALLOW_THREADS

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

    {
        const QString* a0;
        int a0State = 0;
        const QXmlAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlAttributes, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->type(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QXmlAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QXmlAttributes, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->type(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlAttributes, sipName_type, doc_QXmlAttributes_type);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlAttributes_value, "QXmlAttributes.value(int) -> str\n"
    "QXmlAttributes.value(str) -> str\n"
    "QXmlAttributes.value(str, str) -> str");

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

    {
        int a0;
        const QXmlAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QXmlAttributes, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->value(a0));
            Py_END_ALLOW_THREADS

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

    {
        const QString* a0;
        int a0State = 0;
        const QXmlAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlAttributes, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->value(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QXmlAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QXmlAttributes, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->value(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlAttributes, sipName_value, doc_QXmlAttributes_value);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlAttributes_clear, "QXmlAttributes.clear()");

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

    {
        QXmlAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlAttributes, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlAttributes, sipName_clear, doc_QXmlAttributes_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlAttributes_append, "QXmlAttributes.append(str, str, str, str)");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        const QString* a3;
        int a3State = 0;
        QXmlAttributes *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1J1", &sipSelf, sipType_QXmlAttributes, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->append(*a0,*a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);
            sipReleaseType(const_cast<QString *>(a3),sipType_QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlAttributes, sipName_append, doc_QXmlAttributes_append);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlAttributes_count, "QXmlAttributes.count() -> int");

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

    {
        const QXmlAttributes *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlAttributes, sipName_count, doc_QXmlAttributes_count);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QXmlAttributes___len__(PyObject *);}
static SIP_SSIZE_T slot_QXmlAttributes___len__(PyObject *sipSelf)
{
    QXmlAttributes *sipCpp = reinterpret_cast<QXmlAttributes *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QXmlAttributes));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 9845 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlAttributes(void *, const sipTypeDef *);}
static void *cast_QXmlAttributes(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QXmlAttributes)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlAttributes(void *, int);}
static void release_QXmlAttributes(void *sipCppV,int sipState)
{
    Py_BEGIN_ALLOW_THREADS

    if (sipState & SIP_DERIVED_CLASS)
        delete reinterpret_cast<sipQXmlAttributes *>(sipCppV);
    else
        delete reinterpret_cast<QXmlAttributes *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QXmlAttributes(void *, SIP_SSIZE_T, const void *);}
static void assign_QXmlAttributes(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QXmlAttributes *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QXmlAttributes *>(sipSrc);
}


extern "C" {static void *array_QXmlAttributes(SIP_SSIZE_T);}
static void *array_QXmlAttributes(SIP_SSIZE_T sipNrElem)
{
    return new QXmlAttributes[sipNrElem];
}


extern "C" {static void *copy_QXmlAttributes(const void *, SIP_SSIZE_T);}
static void *copy_QXmlAttributes(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QXmlAttributes(reinterpret_cast<const QXmlAttributes *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QXmlAttributes(sipSimpleWrapper *);}
static void dealloc_QXmlAttributes(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerived(sipSelf))
        reinterpret_cast<sipQXmlAttributes *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlAttributes(sipGetAddress(sipSelf),sipSelf->flags);
    }
}


extern "C" {static void *init_type_QXmlAttributes(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlAttributes(sipSimpleWrapper *sipSelf, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    sipQXmlAttributes *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlAttributes();
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    {
        const QXmlAttributes* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QXmlAttributes, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new sipQXmlAttributes(*a0);
            Py_END_ALLOW_THREADS

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QXmlAttributes[] = {
    {(void *)slot_QXmlAttributes___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QXmlAttributes[] = {
    {SIP_MLNAME_CAST(sipName_append), meth_QXmlAttributes_append, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlAttributes_append)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QXmlAttributes_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlAttributes_clear)},
    {SIP_MLNAME_CAST(sipName_count), meth_QXmlAttributes_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlAttributes_count)},
    {SIP_MLNAME_CAST(sipName_index), meth_QXmlAttributes_index, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlAttributes_index)},
    {SIP_MLNAME_CAST(sipName_length), meth_QXmlAttributes_length, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlAttributes_length)},
    {SIP_MLNAME_CAST(sipName_localName), meth_QXmlAttributes_localName, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlAttributes_localName)},
    {SIP_MLNAME_CAST(sipName_qName), meth_QXmlAttributes_qName, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlAttributes_qName)},
    {SIP_MLNAME_CAST(sipName_type), meth_QXmlAttributes_type, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlAttributes_type)},
    {SIP_MLNAME_CAST(sipName_uri), meth_QXmlAttributes_uri, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlAttributes_uri)},
    {SIP_MLNAME_CAST(sipName_value), meth_QXmlAttributes_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlAttributes_value)}
};

PyDoc_STRVAR(doc_QXmlAttributes, "\1QXmlAttributes()\n"
    "QXmlAttributes(QXmlAttributes)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlAttributes = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QXmlAttributes,
        {0}
    },
    {
        sipNameNr_QXmlAttributes,
        {0, 0, 1},
        10, methods_QXmlAttributes,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlAttributes,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QXmlAttributes,
    init_type_QXmlAttributes,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlAttributes,
    assign_QXmlAttributes,
    array_QXmlAttributes,
    copy_QXmlAttributes,
    release_QXmlAttributes,
    cast_QXmlAttributes,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 31 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 10032 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 10036 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10039 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QXmlNamespaceSupport_setPrefix, "QXmlNamespaceSupport.setPrefix(str, str)");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QXmlNamespaceSupport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QXmlNamespaceSupport, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPrefix(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlNamespaceSupport, sipName_setPrefix, doc_QXmlNamespaceSupport_setPrefix);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlNamespaceSupport_prefix, "QXmlNamespaceSupport.prefix(str) -> str");

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

    {
        const QString* a0;
        int a0State = 0;
        const QXmlNamespaceSupport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlNamespaceSupport, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->prefix(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlNamespaceSupport, sipName_prefix, doc_QXmlNamespaceSupport_prefix);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlNamespaceSupport_uri, "QXmlNamespaceSupport.uri(str) -> str");

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

    {
        const QString* a0;
        int a0State = 0;
        const QXmlNamespaceSupport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlNamespaceSupport, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->uri(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlNamespaceSupport, sipName_uri, doc_QXmlNamespaceSupport_uri);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlNamespaceSupport_splitName, "QXmlNamespaceSupport.splitName(str, str, str)");

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

    {
        const QString* a0;
        int a0State = 0;
        QString* a1;
        int a1State = 0;
        QString* a2;
        int a2State = 0;
        const QXmlNamespaceSupport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QXmlNamespaceSupport, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->splitName(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a1,sipType_QString,a1State);
            sipReleaseType(a2,sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlNamespaceSupport, sipName_splitName, doc_QXmlNamespaceSupport_splitName);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlNamespaceSupport_processName, "QXmlNamespaceSupport.processName(str, bool, str, str)");

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

    {
        const QString* a0;
        int a0State = 0;
        bool a1;
        QString* a2;
        int a2State = 0;
        QString* a3;
        int a3State = 0;
        const QXmlNamespaceSupport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1bJ1J1", &sipSelf, sipType_QXmlNamespaceSupport, &sipCpp, sipType_QString,&a0, &a0State, &a1, sipType_QString,&a2, &a2State, sipType_QString,&a3, &a3State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->processName(*a0,a1,*a2,*a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(a2,sipType_QString,a2State);
            sipReleaseType(a3,sipType_QString,a3State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlNamespaceSupport, sipName_processName, doc_QXmlNamespaceSupport_processName);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlNamespaceSupport_prefixes, "QXmlNamespaceSupport.prefixes() -> list-of-str\n"
    "QXmlNamespaceSupport.prefixes(str) -> list-of-str");

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

    {
        const QXmlNamespaceSupport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlNamespaceSupport, &sipCpp))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->prefixes());
            Py_END_ALLOW_THREADS

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

    {
        const QString* a0;
        int a0State = 0;
        const QXmlNamespaceSupport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QXmlNamespaceSupport, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QStringList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QStringList(sipCpp->prefixes(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlNamespaceSupport, sipName_prefixes, doc_QXmlNamespaceSupport_prefixes);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlNamespaceSupport_pushContext, "QXmlNamespaceSupport.pushContext()");

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

    {
        QXmlNamespaceSupport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlNamespaceSupport, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->pushContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlNamespaceSupport, sipName_pushContext, doc_QXmlNamespaceSupport_pushContext);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlNamespaceSupport_popContext, "QXmlNamespaceSupport.popContext()");

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

    {
        QXmlNamespaceSupport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlNamespaceSupport, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->popContext();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlNamespaceSupport, sipName_popContext, doc_QXmlNamespaceSupport_popContext);

    return NULL;
}


PyDoc_STRVAR(doc_QXmlNamespaceSupport_reset, "QXmlNamespaceSupport.reset()");

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

    {
        QXmlNamespaceSupport *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QXmlNamespaceSupport, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->reset();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QXmlNamespaceSupport, sipName_reset, doc_QXmlNamespaceSupport_reset);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QXmlNamespaceSupport(void *, const sipTypeDef *);}
static void *cast_QXmlNamespaceSupport(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QXmlNamespaceSupport)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QXmlNamespaceSupport(void *, int);}
static void release_QXmlNamespaceSupport(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QXmlNamespaceSupport *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void dealloc_QXmlNamespaceSupport(sipSimpleWrapper *);}
static void dealloc_QXmlNamespaceSupport(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QXmlNamespaceSupport(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QXmlNamespaceSupport(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QXmlNamespaceSupport(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QXmlNamespaceSupport *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QXmlNamespaceSupport();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QXmlNamespaceSupport[] = {
    {SIP_MLNAME_CAST(sipName_popContext), meth_QXmlNamespaceSupport_popContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlNamespaceSupport_popContext)},
    {SIP_MLNAME_CAST(sipName_prefix), meth_QXmlNamespaceSupport_prefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlNamespaceSupport_prefix)},
    {SIP_MLNAME_CAST(sipName_prefixes), meth_QXmlNamespaceSupport_prefixes, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlNamespaceSupport_prefixes)},
    {SIP_MLNAME_CAST(sipName_processName), meth_QXmlNamespaceSupport_processName, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlNamespaceSupport_processName)},
    {SIP_MLNAME_CAST(sipName_pushContext), meth_QXmlNamespaceSupport_pushContext, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlNamespaceSupport_pushContext)},
    {SIP_MLNAME_CAST(sipName_reset), meth_QXmlNamespaceSupport_reset, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlNamespaceSupport_reset)},
    {SIP_MLNAME_CAST(sipName_setPrefix), meth_QXmlNamespaceSupport_setPrefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlNamespaceSupport_setPrefix)},
    {SIP_MLNAME_CAST(sipName_splitName), meth_QXmlNamespaceSupport_splitName, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlNamespaceSupport_splitName)},
    {SIP_MLNAME_CAST(sipName_uri), meth_QXmlNamespaceSupport_uri, METH_VARARGS, SIP_MLDOC_CAST(doc_QXmlNamespaceSupport_uri)}
};

PyDoc_STRVAR(doc_QXmlNamespaceSupport, "\1QXmlNamespaceSupport()");


pyqt4ClassTypeDef sipTypeDef_QtXml_QXmlNamespaceSupport = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QXmlNamespaceSupport,
        {0}
    },
    {
        sipNameNr_QXmlNamespaceSupport,
        {0, 0, 1},
        9, methods_QXmlNamespaceSupport,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QXmlNamespaceSupport,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QXmlNamespaceSupport,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QXmlNamespaceSupport,
    0,
    0,
    0,
    release_QXmlNamespaceSupport,
    cast_QXmlNamespaceSupport,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10471 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10475 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10478 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10481 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 10484 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10487 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10490 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10493 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10496 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10499 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10502 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10505 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10508 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10511 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10514 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10517 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10520 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10523 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomProcessingInstruction_target, "QDomProcessingInstruction.target() -> str");

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

    {
        const QDomProcessingInstruction *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->target());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomProcessingInstruction, sipName_target, doc_QDomProcessingInstruction_target);

    return NULL;
}


PyDoc_STRVAR(doc_QDomProcessingInstruction_data, "QDomProcessingInstruction.data() -> str");

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

    {
        const QDomProcessingInstruction *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->data());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomProcessingInstruction, sipName_data, doc_QDomProcessingInstruction_data);

    return NULL;
}


PyDoc_STRVAR(doc_QDomProcessingInstruction_setData, "QDomProcessingInstruction.setData(str)");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomProcessingInstruction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomProcessingInstruction, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomProcessingInstruction, sipName_setData, doc_QDomProcessingInstruction_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QDomProcessingInstruction_nodeType, "QDomProcessingInstruction.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomProcessingInstruction *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomProcessingInstruction, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomProcessingInstruction, sipName_nodeType, doc_QDomProcessingInstruction_nodeType);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomProcessingInstruction(void *, const sipTypeDef *);}
static void *cast_QDomProcessingInstruction(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDomProcessingInstruction)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDomNode)->ctd_cast((QDomNode *)(QDomProcessingInstruction *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomProcessingInstruction(void *, int);}
static void release_QDomProcessingInstruction(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomProcessingInstruction *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomProcessingInstruction(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomProcessingInstruction(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomProcessingInstruction *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomProcessingInstruction *>(sipSrc);
}


extern "C" {static void *array_QDomProcessingInstruction(SIP_SSIZE_T);}
static void *array_QDomProcessingInstruction(SIP_SSIZE_T sipNrElem)
{
    return new QDomProcessingInstruction[sipNrElem];
}


extern "C" {static void *copy_QDomProcessingInstruction(const void *, SIP_SSIZE_T);}
static void *copy_QDomProcessingInstruction(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomProcessingInstruction(reinterpret_cast<const QDomProcessingInstruction *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomProcessingInstruction(sipSimpleWrapper *);}
static void dealloc_QDomProcessingInstruction(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomProcessingInstruction(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomProcessingInstruction(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomProcessingInstruction(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomProcessingInstruction *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomProcessingInstruction();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomProcessingInstruction* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomProcessingInstruction, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomProcessingInstruction(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomProcessingInstruction[] = {{13, 255, 1}};


static PyMethodDef methods_QDomProcessingInstruction[] = {
    {SIP_MLNAME_CAST(sipName_data), meth_QDomProcessingInstruction_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomProcessingInstruction_data)},
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomProcessingInstruction_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomProcessingInstruction_nodeType)},
    {SIP_MLNAME_CAST(sipName_setData), meth_QDomProcessingInstruction_setData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomProcessingInstruction_setData)},
    {SIP_MLNAME_CAST(sipName_target), meth_QDomProcessingInstruction_target, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomProcessingInstruction_target)}
};

PyDoc_STRVAR(doc_QDomProcessingInstruction, "\1QDomProcessingInstruction()\n"
    "QDomProcessingInstruction(QDomProcessingInstruction)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomProcessingInstruction = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomProcessingInstruction,
        {0}
    },
    {
        sipNameNr_QDomProcessingInstruction,
        {0, 0, 1},
        4, methods_QDomProcessingInstruction,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomProcessingInstruction,
    -1,
    -1,
    supers_QDomProcessingInstruction,
    0,
    init_type_QDomProcessingInstruction,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomProcessingInstruction,
    assign_QDomProcessingInstruction,
    array_QDomProcessingInstruction,
    copy_QDomProcessingInstruction,
    release_QDomProcessingInstruction,
    cast_QDomProcessingInstruction,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10807 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10811 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10814 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10817 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 10820 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10823 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10826 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10829 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10832 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10835 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10838 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10841 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10844 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10847 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10850 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10853 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10856 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 10859 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomEntityReference_nodeType, "QDomEntityReference.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomEntityReference *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomEntityReference, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomEntityReference, sipName_nodeType, doc_QDomEntityReference_nodeType);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomEntityReference(void *, const sipTypeDef *);}
static void *cast_QDomEntityReference(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDomEntityReference)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDomNode)->ctd_cast((QDomNode *)(QDomEntityReference *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomEntityReference(void *, int);}
static void release_QDomEntityReference(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomEntityReference *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomEntityReference(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomEntityReference(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomEntityReference *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomEntityReference *>(sipSrc);
}


extern "C" {static void *array_QDomEntityReference(SIP_SSIZE_T);}
static void *array_QDomEntityReference(SIP_SSIZE_T sipNrElem)
{
    return new QDomEntityReference[sipNrElem];
}


extern "C" {static void *copy_QDomEntityReference(const void *, SIP_SSIZE_T);}
static void *copy_QDomEntityReference(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomEntityReference(reinterpret_cast<const QDomEntityReference *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomEntityReference(sipSimpleWrapper *);}
static void dealloc_QDomEntityReference(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomEntityReference(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomEntityReference(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomEntityReference(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomEntityReference *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomEntityReference();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomEntityReference* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomEntityReference, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomEntityReference(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomEntityReference[] = {{13, 255, 1}};


static PyMethodDef methods_QDomEntityReference[] = {
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomEntityReference_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomEntityReference_nodeType)}
};

PyDoc_STRVAR(doc_QDomEntityReference, "\1QDomEntityReference()\n"
    "QDomEntityReference(QDomEntityReference)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomEntityReference = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomEntityReference,
        {0}
    },
    {
        sipNameNr_QDomEntityReference,
        {0, 0, 1},
        1, methods_QDomEntityReference,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomEntityReference,
    -1,
    -1,
    supers_QDomEntityReference,
    0,
    init_type_QDomEntityReference,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomEntityReference,
    assign_QDomEntityReference,
    array_QDomEntityReference,
    copy_QDomEntityReference,
    release_QDomEntityReference,
    cast_QDomEntityReference,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11051 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11055 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11058 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11061 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 11064 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11067 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11070 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11073 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11076 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11079 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11082 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11085 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11088 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11091 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11094 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11097 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11100 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11103 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomEntity_publicId, "QDomEntity.publicId() -> str");

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

    {
        const QDomEntity *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->publicId());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomEntity, sipName_publicId, doc_QDomEntity_publicId);

    return NULL;
}


PyDoc_STRVAR(doc_QDomEntity_systemId, "QDomEntity.systemId() -> str");

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

    {
        const QDomEntity *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->systemId());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomEntity, sipName_systemId, doc_QDomEntity_systemId);

    return NULL;
}


PyDoc_STRVAR(doc_QDomEntity_notationName, "QDomEntity.notationName() -> str");

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

    {
        const QDomEntity *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->notationName());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomEntity, sipName_notationName, doc_QDomEntity_notationName);

    return NULL;
}


PyDoc_STRVAR(doc_QDomEntity_nodeType, "QDomEntity.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomEntity *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomEntity, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomEntity, sipName_nodeType, doc_QDomEntity_nodeType);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomEntity(void *, const sipTypeDef *);}
static void *cast_QDomEntity(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDomEntity)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDomNode)->ctd_cast((QDomNode *)(QDomEntity *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomEntity(void *, int);}
static void release_QDomEntity(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomEntity *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomEntity(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomEntity(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomEntity *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomEntity *>(sipSrc);
}


extern "C" {static void *array_QDomEntity(SIP_SSIZE_T);}
static void *array_QDomEntity(SIP_SSIZE_T sipNrElem)
{
    return new QDomEntity[sipNrElem];
}


extern "C" {static void *copy_QDomEntity(const void *, SIP_SSIZE_T);}
static void *copy_QDomEntity(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomEntity(reinterpret_cast<const QDomEntity *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomEntity(sipSimpleWrapper *);}
static void dealloc_QDomEntity(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomEntity(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomEntity(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomEntity(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomEntity *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomEntity();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomEntity* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomEntity, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomEntity(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomEntity[] = {{13, 255, 1}};


static PyMethodDef methods_QDomEntity[] = {
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomEntity_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomEntity_nodeType)},
    {SIP_MLNAME_CAST(sipName_notationName), meth_QDomEntity_notationName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomEntity_notationName)},
    {SIP_MLNAME_CAST(sipName_publicId), meth_QDomEntity_publicId, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomEntity_publicId)},
    {SIP_MLNAME_CAST(sipName_systemId), meth_QDomEntity_systemId, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomEntity_systemId)}
};

PyDoc_STRVAR(doc_QDomEntity, "\1QDomEntity()\n"
    "QDomEntity(QDomEntity)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomEntity = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomEntity,
        {0}
    },
    {
        sipNameNr_QDomEntity,
        {0, 0, 1},
        4, methods_QDomEntity,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomEntity,
    -1,
    -1,
    supers_QDomEntity,
    0,
    init_type_QDomEntity,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomEntity,
    assign_QDomEntity,
    array_QDomEntity,
    copy_QDomEntity,
    release_QDomEntity,
    cast_QDomEntity,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11385 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11389 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11392 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11395 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 11398 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11401 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11404 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11407 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11410 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11413 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11416 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11419 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11422 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11425 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11428 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11431 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11434 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11437 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomNotation_publicId, "QDomNotation.publicId() -> str");

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

    {
        const QDomNotation *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->publicId());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNotation, sipName_publicId, doc_QDomNotation_publicId);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNotation_systemId, "QDomNotation.systemId() -> str");

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

    {
        const QDomNotation *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->systemId());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNotation, sipName_systemId, doc_QDomNotation_systemId);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNotation_nodeType, "QDomNotation.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomNotation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNotation, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNotation, sipName_nodeType, doc_QDomNotation_nodeType);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomNotation(void *, const sipTypeDef *);}
static void *cast_QDomNotation(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDomNotation)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDomNode)->ctd_cast((QDomNode *)(QDomNotation *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomNotation(void *, int);}
static void release_QDomNotation(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomNotation *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomNotation(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomNotation(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomNotation *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomNotation *>(sipSrc);
}


extern "C" {static void *array_QDomNotation(SIP_SSIZE_T);}
static void *array_QDomNotation(SIP_SSIZE_T sipNrElem)
{
    return new QDomNotation[sipNrElem];
}


extern "C" {static void *copy_QDomNotation(const void *, SIP_SSIZE_T);}
static void *copy_QDomNotation(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomNotation(reinterpret_cast<const QDomNotation *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomNotation(sipSimpleWrapper *);}
static void dealloc_QDomNotation(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomNotation(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomNotation(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomNotation(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomNotation *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomNotation();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomNotation* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomNotation, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomNotation(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomNotation[] = {{13, 255, 1}};


static PyMethodDef methods_QDomNotation[] = {
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomNotation_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNotation_nodeType)},
    {SIP_MLNAME_CAST(sipName_publicId), meth_QDomNotation_publicId, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNotation_publicId)},
    {SIP_MLNAME_CAST(sipName_systemId), meth_QDomNotation_systemId, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNotation_systemId)}
};

PyDoc_STRVAR(doc_QDomNotation, "\1QDomNotation()\n"
    "QDomNotation(QDomNotation)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomNotation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomNotation,
        {0}
    },
    {
        sipNameNr_QDomNotation,
        {0, 0, 1},
        3, methods_QDomNotation,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomNotation,
    -1,
    -1,
    supers_QDomNotation,
    0,
    init_type_QDomNotation,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomNotation,
    assign_QDomNotation,
    array_QDomNotation,
    copy_QDomNotation,
    release_QDomNotation,
    cast_QDomNotation,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11689 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11693 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11696 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11699 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11702 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 11705 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11708 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11711 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11714 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11717 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11720 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11723 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11726 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11729 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11732 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11735 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11738 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11741 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomCDATASection_nodeType, "QDomCDATASection.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomCDATASection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomCDATASection, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomCDATASection, sipName_nodeType, doc_QDomCDATASection_nodeType);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomCDATASection(void *, const sipTypeDef *);}
static void *cast_QDomCDATASection(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDomCDATASection)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDomText)->ctd_cast((QDomText *)(QDomCDATASection *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomCDATASection(void *, int);}
static void release_QDomCDATASection(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomCDATASection *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomCDATASection(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomCDATASection(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomCDATASection *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomCDATASection *>(sipSrc);
}


extern "C" {static void *array_QDomCDATASection(SIP_SSIZE_T);}
static void *array_QDomCDATASection(SIP_SSIZE_T sipNrElem)
{
    return new QDomCDATASection[sipNrElem];
}


extern "C" {static void *copy_QDomCDATASection(const void *, SIP_SSIZE_T);}
static void *copy_QDomCDATASection(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomCDATASection(reinterpret_cast<const QDomCDATASection *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomCDATASection(sipSimpleWrapper *);}
static void dealloc_QDomCDATASection(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomCDATASection(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomCDATASection(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomCDATASection(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomCDATASection *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomCDATASection();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomCDATASection* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomCDATASection, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomCDATASection(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomCDATASection[] = {{19, 255, 1}};


static PyMethodDef methods_QDomCDATASection[] = {
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomCDATASection_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCDATASection_nodeType)}
};

PyDoc_STRVAR(doc_QDomCDATASection, "\1QDomCDATASection()\n"
    "QDomCDATASection(QDomCDATASection)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomCDATASection = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomCDATASection,
        {0}
    },
    {
        sipNameNr_QDomCDATASection,
        {0, 0, 1},
        1, methods_QDomCDATASection,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomCDATASection,
    -1,
    -1,
    supers_QDomCDATASection,
    0,
    init_type_QDomCDATASection,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomCDATASection,
    assign_QDomCDATASection,
    array_QDomCDATASection,
    copy_QDomCDATASection,
    release_QDomCDATASection,
    cast_QDomCDATASection,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11933 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11937 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 11940 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11943 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 11946 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11949 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11952 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11955 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11958 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11961 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11964 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11967 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11970 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11973 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11976 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11979 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11982 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 11985 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomComment_nodeType, "QDomComment.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomComment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomComment, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomComment, sipName_nodeType, doc_QDomComment_nodeType);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomComment(void *, const sipTypeDef *);}
static void *cast_QDomComment(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDomComment)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDomCharacterData)->ctd_cast((QDomCharacterData *)(QDomComment *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomComment(void *, int);}
static void release_QDomComment(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomComment *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomComment(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomComment(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomComment *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomComment *>(sipSrc);
}


extern "C" {static void *array_QDomComment(SIP_SSIZE_T);}
static void *array_QDomComment(SIP_SSIZE_T sipNrElem)
{
    return new QDomComment[sipNrElem];
}


extern "C" {static void *copy_QDomComment(const void *, SIP_SSIZE_T);}
static void *copy_QDomComment(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomComment(reinterpret_cast<const QDomComment *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomComment(sipSimpleWrapper *);}
static void dealloc_QDomComment(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomComment(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomComment(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomComment(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomComment *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomComment();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomComment* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomComment, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomComment(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomComment[] = {{2, 255, 1}};


static PyMethodDef methods_QDomComment[] = {
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomComment_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomComment_nodeType)}
};

PyDoc_STRVAR(doc_QDomComment, "\1QDomComment()\n"
    "QDomComment(QDomComment)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomComment = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomComment,
        {0}
    },
    {
        sipNameNr_QDomComment,
        {0, 0, 1},
        1, methods_QDomComment,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomComment,
    -1,
    -1,
    supers_QDomComment,
    0,
    init_type_QDomComment,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomComment,
    assign_QDomComment,
    array_QDomComment,
    copy_QDomComment,
    release_QDomComment,
    cast_QDomComment,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12177 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12181 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12184 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12187 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 12190 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12193 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12196 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12199 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12202 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12205 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12208 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12211 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12214 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12217 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12220 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12223 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12226 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12229 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomText_splitText, "QDomText.splitText(int) -> QDomText");

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

    {
        int a0;
        QDomText *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDomText, &sipCpp, &a0))
        {
            QDomText*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomText(sipCpp->splitText(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomText,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomText, sipName_splitText, doc_QDomText_splitText);

    return NULL;
}


PyDoc_STRVAR(doc_QDomText_nodeType, "QDomText.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomText *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomText, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomText, sipName_nodeType, doc_QDomText_nodeType);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomText(void *, const sipTypeDef *);}
static void *cast_QDomText(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDomText)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDomCharacterData)->ctd_cast((QDomCharacterData *)(QDomText *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomText(void *, int);}
static void release_QDomText(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomText *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomText(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomText(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomText *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomText *>(sipSrc);
}


extern "C" {static void *array_QDomText(SIP_SSIZE_T);}
static void *array_QDomText(SIP_SSIZE_T sipNrElem)
{
    return new QDomText[sipNrElem];
}


extern "C" {static void *copy_QDomText(const void *, SIP_SSIZE_T);}
static void *copy_QDomText(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomText(reinterpret_cast<const QDomText *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomText(sipSimpleWrapper *);}
static void dealloc_QDomText(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomText(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomText(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomText(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomText *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomText();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomText* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomText, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomText(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomText[] = {{2, 255, 1}};


static PyMethodDef methods_QDomText[] = {
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomText_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomText_nodeType)},
    {SIP_MLNAME_CAST(sipName_splitText), meth_QDomText_splitText, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomText_splitText)}
};

PyDoc_STRVAR(doc_QDomText, "\1QDomText()\n"
    "QDomText(QDomText)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomText = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomText,
        {0}
    },
    {
        sipNameNr_QDomText,
        {0, 0, 1},
        2, methods_QDomText,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomText,
    -1,
    -1,
    supers_QDomText,
    0,
    init_type_QDomText,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomText,
    assign_QDomText,
    array_QDomText,
    copy_QDomText,
    release_QDomText,
    cast_QDomText,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12452 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 12456 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12459 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12465 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12468 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 12471 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12474 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12477 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12480 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12483 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12486 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12489 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12492 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12495 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12498 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12501 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 12504 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomElement_attribute, "QDomElement.attribute(str, str defaultValue='') -> str");

extern "C" {static PyObject *meth_QDomElement_attribute(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDomElement_attribute(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString& a1def = QString();
        const QString* a1 = &a1def;
        int a1State = 0;
        const QDomElement *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->attribute(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_attribute, doc_QDomElement_attribute);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_setAttribute, "QDomElement.setAttribute(str, str)\n"
    "QDomElement.setAttribute(str, int)\n"
    "QDomElement.setAttribute(str, int)\n"
    "QDomElement.setAttribute(str, float)\n"
    "QDomElement.setAttribute(str, int)");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttribute(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        qlonglong a1;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1n", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttribute(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        qulonglong a1;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1o", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttribute(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        double a1;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1Xd", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttribute(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        int a1;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1i", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttribute(*a0,a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_setAttribute, doc_QDomElement_setAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_removeAttribute, "QDomElement.removeAttribute(str)");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAttribute(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_removeAttribute, doc_QDomElement_removeAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_attributeNode, "QDomElement.attributeNode(str) -> QDomAttr");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomAttr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomAttr(sipCpp->attributeNode(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomAttr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_attributeNode, doc_QDomElement_attributeNode);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_setAttributeNode, "QDomElement.setAttributeNode(QDomAttr) -> QDomAttr");

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

    {
        const QDomAttr* a0;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QDomAttr, &a0))
        {
            QDomAttr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomAttr(sipCpp->setAttributeNode(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomAttr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_setAttributeNode, doc_QDomElement_setAttributeNode);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_removeAttributeNode, "QDomElement.removeAttributeNode(QDomAttr) -> QDomAttr");

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

    {
        const QDomAttr* a0;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QDomAttr, &a0))
        {
            QDomAttr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomAttr(sipCpp->removeAttributeNode(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomAttr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_removeAttributeNode, doc_QDomElement_removeAttributeNode);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_elementsByTagName, "QDomElement.elementsByTagName(str) -> QDomNodeList");

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

    {
        const QString* a0;
        int a0State = 0;
        const QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomNodeList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNodeList(sipCpp->elementsByTagName(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomNodeList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_elementsByTagName, doc_QDomElement_elementsByTagName);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_hasAttribute, "QDomElement.hasAttribute(str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QDomElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasAttribute(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_hasAttribute, doc_QDomElement_hasAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_attributeNS, "QDomElement.attributeNS(str, str, str defaultValue='') -> str");

extern "C" {static PyObject *meth_QDomElement_attributeNS(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDomElement_attributeNS(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString& a2def = QString();
        const QString* a2 = &a2def;
        int a2State = 0;
        const QDomElement *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J1|J1", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->attributeNS(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_attributeNS, doc_QDomElement_attributeNS);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_setAttributeNS, "QDomElement.setAttributeNS(str, str, str)\n"
    "QDomElement.setAttributeNS(str, str, int)\n"
    "QDomElement.setAttributeNS(str, str, int)\n"
    "QDomElement.setAttributeNS(str, str, float)\n"
    "QDomElement.setAttributeNS(str, str, int)");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttributeNS(*a0,*a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        qlonglong a2;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1n", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttributeNS(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        qulonglong a2;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1o", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttributeNS(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        double a2;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1Xd", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttributeNS(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        int a2;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1i", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setAttributeNS(*a0,*a1,a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_setAttributeNS, doc_QDomElement_setAttributeNS);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_removeAttributeNS, "QDomElement.removeAttributeNS(str, str)");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->removeAttributeNS(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_removeAttributeNS, doc_QDomElement_removeAttributeNS);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_attributeNodeNS, "QDomElement.attributeNodeNS(str, str) -> QDomAttr");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QDomAttr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomAttr(sipCpp->attributeNodeNS(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDomAttr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_attributeNodeNS, doc_QDomElement_attributeNodeNS);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_setAttributeNodeNS, "QDomElement.setAttributeNodeNS(QDomAttr) -> QDomAttr");

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

    {
        const QDomAttr* a0;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QDomAttr, &a0))
        {
            QDomAttr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomAttr(sipCpp->setAttributeNodeNS(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomAttr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_setAttributeNodeNS, doc_QDomElement_setAttributeNodeNS);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_elementsByTagNameNS, "QDomElement.elementsByTagNameNS(str, str) -> QDomNodeList");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QDomNodeList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNodeList(sipCpp->elementsByTagNameNS(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDomNodeList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_elementsByTagNameNS, doc_QDomElement_elementsByTagNameNS);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_hasAttributeNS, "QDomElement.hasAttributeNS(str, str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QDomElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasAttributeNS(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_hasAttributeNS, doc_QDomElement_hasAttributeNS);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_tagName, "QDomElement.tagName() -> str");

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

    {
        const QDomElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->tagName());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_tagName, doc_QDomElement_tagName);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_setTagName, "QDomElement.setTagName(str)");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setTagName(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_setTagName, doc_QDomElement_setTagName);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_attributes, "QDomElement.attributes() -> QDomNamedNodeMap");

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

    {
        const QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomElement, &sipCpp))
        {
            QDomNamedNodeMap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNamedNodeMap(sipCpp->attributes());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNamedNodeMap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_attributes, doc_QDomElement_attributes);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_nodeType, "QDomElement.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomElement, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_nodeType, doc_QDomElement_nodeType);

    return NULL;
}


PyDoc_STRVAR(doc_QDomElement_text, "QDomElement.text() -> str");

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

    {
        const QDomElement *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->text());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomElement, sipName_text, doc_QDomElement_text);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomElement(void *, const sipTypeDef *);}
static void *cast_QDomElement(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDomElement)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDomNode)->ctd_cast((QDomNode *)(QDomElement *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomElement(void *, int);}
static void release_QDomElement(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomElement *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomElement(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomElement *>(sipSrc);
}


extern "C" {static void *array_QDomElement(SIP_SSIZE_T);}
static void *array_QDomElement(SIP_SSIZE_T sipNrElem)
{
    return new QDomElement[sipNrElem];
}


extern "C" {static void *copy_QDomElement(const void *, SIP_SSIZE_T);}
static void *copy_QDomElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomElement(reinterpret_cast<const QDomElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomElement(sipSimpleWrapper *);}
static void dealloc_QDomElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomElement(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomElement *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomElement();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomElement, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomElement(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomElement[] = {{13, 255, 1}};


static PyMethodDef methods_QDomElement[] = {
    {SIP_MLNAME_CAST(sipName_attribute), (PyCFunction)meth_QDomElement_attribute, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDomElement_attribute)},
    {SIP_MLNAME_CAST(sipName_attributeNS), (PyCFunction)meth_QDomElement_attributeNS, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDomElement_attributeNS)},
    {SIP_MLNAME_CAST(sipName_attributeNode), meth_QDomElement_attributeNode, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_attributeNode)},
    {SIP_MLNAME_CAST(sipName_attributeNodeNS), meth_QDomElement_attributeNodeNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_attributeNodeNS)},
    {SIP_MLNAME_CAST(sipName_attributes), meth_QDomElement_attributes, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_attributes)},
    {SIP_MLNAME_CAST(sipName_elementsByTagName), meth_QDomElement_elementsByTagName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_elementsByTagName)},
    {SIP_MLNAME_CAST(sipName_elementsByTagNameNS), meth_QDomElement_elementsByTagNameNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_elementsByTagNameNS)},
    {SIP_MLNAME_CAST(sipName_hasAttribute), meth_QDomElement_hasAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_hasAttribute)},
    {SIP_MLNAME_CAST(sipName_hasAttributeNS), meth_QDomElement_hasAttributeNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_hasAttributeNS)},
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomElement_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_nodeType)},
    {SIP_MLNAME_CAST(sipName_removeAttribute), meth_QDomElement_removeAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_removeAttribute)},
    {SIP_MLNAME_CAST(sipName_removeAttributeNS), meth_QDomElement_removeAttributeNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_removeAttributeNS)},
    {SIP_MLNAME_CAST(sipName_removeAttributeNode), meth_QDomElement_removeAttributeNode, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_removeAttributeNode)},
    {SIP_MLNAME_CAST(sipName_setAttribute), meth_QDomElement_setAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_setAttribute)},
    {SIP_MLNAME_CAST(sipName_setAttributeNS), meth_QDomElement_setAttributeNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_setAttributeNS)},
    {SIP_MLNAME_CAST(sipName_setAttributeNode), meth_QDomElement_setAttributeNode, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_setAttributeNode)},
    {SIP_MLNAME_CAST(sipName_setAttributeNodeNS), meth_QDomElement_setAttributeNodeNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_setAttributeNodeNS)},
    {SIP_MLNAME_CAST(sipName_setTagName), meth_QDomElement_setTagName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_setTagName)},
    {SIP_MLNAME_CAST(sipName_tagName), meth_QDomElement_tagName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_tagName)},
    {SIP_MLNAME_CAST(sipName_text), meth_QDomElement_text, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomElement_text)}
};

PyDoc_STRVAR(doc_QDomElement, "\1QDomElement()\n"
    "QDomElement(QDomElement)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomElement = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomElement,
        {0}
    },
    {
        sipNameNr_QDomElement,
        {0, 0, 1},
        20, methods_QDomElement,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomElement,
    -1,
    -1,
    supers_QDomElement,
    0,
    init_type_QDomElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomElement,
    assign_QDomElement,
    array_QDomElement,
    copy_QDomElement,
    release_QDomElement,
    cast_QDomElement,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13510 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13514 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13517 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13520 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 13523 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13526 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13529 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13532 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13535 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13538 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13541 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13544 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13547 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13550 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13553 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13556 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13559 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13562 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomAttr_name, "QDomAttr.name() -> str");

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

    {
        const QDomAttr *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomAttr, sipName_name, doc_QDomAttr_name);

    return NULL;
}


PyDoc_STRVAR(doc_QDomAttr_specified, "QDomAttr.specified() -> bool");

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

    {
        const QDomAttr *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->specified();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomAttr, sipName_specified, doc_QDomAttr_specified);

    return NULL;
}


PyDoc_STRVAR(doc_QDomAttr_ownerElement, "QDomAttr.ownerElement() -> QDomElement");

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

    {
        const QDomAttr *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomAttr, &sipCpp))
        {
            QDomElement*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomElement(sipCpp->ownerElement());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomElement,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomAttr, sipName_ownerElement, doc_QDomAttr_ownerElement);

    return NULL;
}


PyDoc_STRVAR(doc_QDomAttr_value, "QDomAttr.value() -> str");

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

    {
        const QDomAttr *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->value());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomAttr, sipName_value, doc_QDomAttr_value);

    return NULL;
}


PyDoc_STRVAR(doc_QDomAttr_setValue, "QDomAttr.setValue(str)");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomAttr *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomAttr, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setValue(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomAttr, sipName_setValue, doc_QDomAttr_setValue);

    return NULL;
}


PyDoc_STRVAR(doc_QDomAttr_nodeType, "QDomAttr.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomAttr *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomAttr, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomAttr, sipName_nodeType, doc_QDomAttr_nodeType);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomAttr(void *, const sipTypeDef *);}
static void *cast_QDomAttr(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDomAttr)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDomNode)->ctd_cast((QDomNode *)(QDomAttr *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomAttr(void *, int);}
static void release_QDomAttr(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomAttr *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomAttr(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomAttr(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomAttr *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomAttr *>(sipSrc);
}


extern "C" {static void *array_QDomAttr(SIP_SSIZE_T);}
static void *array_QDomAttr(SIP_SSIZE_T sipNrElem)
{
    return new QDomAttr[sipNrElem];
}


extern "C" {static void *copy_QDomAttr(const void *, SIP_SSIZE_T);}
static void *copy_QDomAttr(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomAttr(reinterpret_cast<const QDomAttr *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomAttr(sipSimpleWrapper *);}
static void dealloc_QDomAttr(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomAttr(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomAttr(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomAttr(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomAttr *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomAttr();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomAttr* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomAttr, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomAttr(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomAttr[] = {{13, 255, 1}};


static PyMethodDef methods_QDomAttr[] = {
    {SIP_MLNAME_CAST(sipName_name), meth_QDomAttr_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomAttr_name)},
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomAttr_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomAttr_nodeType)},
    {SIP_MLNAME_CAST(sipName_ownerElement), meth_QDomAttr_ownerElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomAttr_ownerElement)},
    {SIP_MLNAME_CAST(sipName_setValue), meth_QDomAttr_setValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomAttr_setValue)},
    {SIP_MLNAME_CAST(sipName_specified), meth_QDomAttr_specified, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomAttr_specified)},
    {SIP_MLNAME_CAST(sipName_value), meth_QDomAttr_value, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomAttr_value)}
};

PyDoc_STRVAR(doc_QDomAttr, "\1QDomAttr()\n"
    "QDomAttr(QDomAttr)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomAttr = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomAttr,
        {0}
    },
    {
        sipNameNr_QDomAttr,
        {0, 0, 1},
        6, methods_QDomAttr,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomAttr,
    -1,
    -1,
    supers_QDomAttr,
    0,
    init_type_QDomAttr,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomAttr,
    assign_QDomAttr,
    array_QDomAttr,
    copy_QDomAttr,
    release_QDomAttr,
    cast_QDomAttr,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13906 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13910 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 13913 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13916 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 13919 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13922 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13925 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13928 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13931 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13934 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13937 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13940 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13943 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13946 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13949 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13952 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13955 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 13958 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomCharacterData_substringData, "QDomCharacterData.substringData(int, int) -> str");

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

    {
        unsigned long a0;
        unsigned long a1;
        QDomCharacterData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bmm", &sipSelf, sipType_QDomCharacterData, &sipCpp, &a0, &a1))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->substringData(a0,a1));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomCharacterData, sipName_substringData, doc_QDomCharacterData_substringData);

    return NULL;
}


PyDoc_STRVAR(doc_QDomCharacterData_appendData, "QDomCharacterData.appendData(str)");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomCharacterData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomCharacterData, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->appendData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomCharacterData, sipName_appendData, doc_QDomCharacterData_appendData);

    return NULL;
}


PyDoc_STRVAR(doc_QDomCharacterData_insertData, "QDomCharacterData.insertData(int, str)");

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

    {
        unsigned long a0;
        const QString* a1;
        int a1State = 0;
        QDomCharacterData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BmJ1", &sipSelf, sipType_QDomCharacterData, &sipCpp, &a0, sipType_QString,&a1, &a1State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->insertData(a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomCharacterData, sipName_insertData, doc_QDomCharacterData_insertData);

    return NULL;
}


PyDoc_STRVAR(doc_QDomCharacterData_deleteData, "QDomCharacterData.deleteData(int, int)");

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

    {
        unsigned long a0;
        unsigned long a1;
        QDomCharacterData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bmm", &sipSelf, sipType_QDomCharacterData, &sipCpp, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->deleteData(a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomCharacterData, sipName_deleteData, doc_QDomCharacterData_deleteData);

    return NULL;
}


PyDoc_STRVAR(doc_QDomCharacterData_replaceData, "QDomCharacterData.replaceData(int, int, str)");

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

    {
        unsigned long a0;
        unsigned long a1;
        const QString* a2;
        int a2State = 0;
        QDomCharacterData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BmmJ1", &sipSelf, sipType_QDomCharacterData, &sipCpp, &a0, &a1, sipType_QString,&a2, &a2State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->replaceData(a0,a1,*a2);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomCharacterData, sipName_replaceData, doc_QDomCharacterData_replaceData);

    return NULL;
}


PyDoc_STRVAR(doc_QDomCharacterData_length, "QDomCharacterData.length() -> int");

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

    {
        const QDomCharacterData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomCharacterData, &sipCpp))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->length();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomCharacterData, sipName_length, doc_QDomCharacterData_length);

    return NULL;
}


PyDoc_STRVAR(doc_QDomCharacterData_data, "QDomCharacterData.data() -> str");

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

    {
        const QDomCharacterData *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->data());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomCharacterData, sipName_data, doc_QDomCharacterData_data);

    return NULL;
}


PyDoc_STRVAR(doc_QDomCharacterData_setData, "QDomCharacterData.setData(str)");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomCharacterData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomCharacterData, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setData(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomCharacterData, sipName_setData, doc_QDomCharacterData_setData);

    return NULL;
}


PyDoc_STRVAR(doc_QDomCharacterData_nodeType, "QDomCharacterData.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomCharacterData *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomCharacterData, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomCharacterData, sipName_nodeType, doc_QDomCharacterData_nodeType);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomCharacterData(void *, const sipTypeDef *);}
static void *cast_QDomCharacterData(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDomCharacterData)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDomNode)->ctd_cast((QDomNode *)(QDomCharacterData *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomCharacterData(void *, int);}
static void release_QDomCharacterData(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomCharacterData *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomCharacterData(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomCharacterData(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomCharacterData *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomCharacterData *>(sipSrc);
}


extern "C" {static void *array_QDomCharacterData(SIP_SSIZE_T);}
static void *array_QDomCharacterData(SIP_SSIZE_T sipNrElem)
{
    return new QDomCharacterData[sipNrElem];
}


extern "C" {static void *copy_QDomCharacterData(const void *, SIP_SSIZE_T);}
static void *copy_QDomCharacterData(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomCharacterData(reinterpret_cast<const QDomCharacterData *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomCharacterData(sipSimpleWrapper *);}
static void dealloc_QDomCharacterData(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomCharacterData(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomCharacterData(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomCharacterData(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomCharacterData *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomCharacterData();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomCharacterData* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomCharacterData, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomCharacterData(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomCharacterData[] = {{13, 255, 1}};


static PyMethodDef methods_QDomCharacterData[] = {
    {SIP_MLNAME_CAST(sipName_appendData), meth_QDomCharacterData_appendData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_appendData)},
    {SIP_MLNAME_CAST(sipName_data), meth_QDomCharacterData_data, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_data)},
    {SIP_MLNAME_CAST(sipName_deleteData), meth_QDomCharacterData_deleteData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_deleteData)},
    {SIP_MLNAME_CAST(sipName_insertData), meth_QDomCharacterData_insertData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_insertData)},
    {SIP_MLNAME_CAST(sipName_length), meth_QDomCharacterData_length, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_length)},
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomCharacterData_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_nodeType)},
    {SIP_MLNAME_CAST(sipName_replaceData), meth_QDomCharacterData_replaceData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_replaceData)},
    {SIP_MLNAME_CAST(sipName_setData), meth_QDomCharacterData_setData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_setData)},
    {SIP_MLNAME_CAST(sipName_substringData), meth_QDomCharacterData_substringData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomCharacterData_substringData)}
};

PyDoc_STRVAR(doc_QDomCharacterData, "\1QDomCharacterData()\n"
    "QDomCharacterData(QDomCharacterData)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomCharacterData = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomCharacterData,
        {0}
    },
    {
        sipNameNr_QDomCharacterData,
        {0, 0, 1},
        9, methods_QDomCharacterData,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomCharacterData,
    -1,
    -1,
    supers_QDomCharacterData,
    0,
    init_type_QDomCharacterData,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomCharacterData,
    assign_QDomCharacterData,
    array_QDomCharacterData,
    copy_QDomCharacterData,
    release_QDomCharacterData,
    cast_QDomCharacterData,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14404 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14408 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14411 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14414 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 14417 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14420 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14423 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14426 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14429 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14432 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14438 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14441 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14444 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14447 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14453 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14456 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomDocumentFragment_nodeType, "QDomDocumentFragment.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomDocumentFragment *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomDocumentFragment, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocumentFragment, sipName_nodeType, doc_QDomDocumentFragment_nodeType);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomDocumentFragment(void *, const sipTypeDef *);}
static void *cast_QDomDocumentFragment(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDomDocumentFragment)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDomNode)->ctd_cast((QDomNode *)(QDomDocumentFragment *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomDocumentFragment(void *, int);}
static void release_QDomDocumentFragment(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomDocumentFragment *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomDocumentFragment(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomDocumentFragment(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomDocumentFragment *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomDocumentFragment *>(sipSrc);
}


extern "C" {static void *array_QDomDocumentFragment(SIP_SSIZE_T);}
static void *array_QDomDocumentFragment(SIP_SSIZE_T sipNrElem)
{
    return new QDomDocumentFragment[sipNrElem];
}


extern "C" {static void *copy_QDomDocumentFragment(const void *, SIP_SSIZE_T);}
static void *copy_QDomDocumentFragment(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomDocumentFragment(reinterpret_cast<const QDomDocumentFragment *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomDocumentFragment(sipSimpleWrapper *);}
static void dealloc_QDomDocumentFragment(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomDocumentFragment(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomDocumentFragment(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomDocumentFragment(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomDocumentFragment *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomDocumentFragment();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomDocumentFragment* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomDocumentFragment, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomDocumentFragment(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomDocumentFragment[] = {{13, 255, 1}};


static PyMethodDef methods_QDomDocumentFragment[] = {
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomDocumentFragment_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocumentFragment_nodeType)}
};

PyDoc_STRVAR(doc_QDomDocumentFragment, "\1QDomDocumentFragment()\n"
    "QDomDocumentFragment(QDomDocumentFragment)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomDocumentFragment = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomDocumentFragment,
        {0}
    },
    {
        sipNameNr_QDomDocumentFragment,
        {0, 0, 1},
        1, methods_QDomDocumentFragment,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomDocumentFragment,
    -1,
    -1,
    supers_QDomDocumentFragment,
    0,
    init_type_QDomDocumentFragment,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomDocumentFragment,
    assign_QDomDocumentFragment,
    array_QDomDocumentFragment,
    copy_QDomDocumentFragment,
    release_QDomDocumentFragment,
    cast_QDomDocumentFragment,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14648 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 14652 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 14655 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomNamedNodeMap_namedItem, "QDomNamedNodeMap.namedItem(str) -> QDomNode");

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

    {
        const QString* a0;
        int a0State = 0;
        const QDomNamedNodeMap *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomNamedNodeMap, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->namedItem(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNamedNodeMap, sipName_namedItem, doc_QDomNamedNodeMap_namedItem);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNamedNodeMap_setNamedItem, "QDomNamedNodeMap.setNamedItem(QDomNode) -> QDomNode");

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

    {
        const QDomNode* a0;
        QDomNamedNodeMap *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDomNamedNodeMap, &sipCpp, sipType_QDomNode, &a0))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->setNamedItem(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNamedNodeMap, sipName_setNamedItem, doc_QDomNamedNodeMap_setNamedItem);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNamedNodeMap_removeNamedItem, "QDomNamedNodeMap.removeNamedItem(str) -> QDomNode");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomNamedNodeMap *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomNamedNodeMap, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->removeNamedItem(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNamedNodeMap, sipName_removeNamedItem, doc_QDomNamedNodeMap_removeNamedItem);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNamedNodeMap_item, "QDomNamedNodeMap.item(int) -> QDomNode");

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

    {
        int a0;
        const QDomNamedNodeMap *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDomNamedNodeMap, &sipCpp, &a0))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->item(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNamedNodeMap, sipName_item, doc_QDomNamedNodeMap_item);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNamedNodeMap_namedItemNS, "QDomNamedNodeMap.namedItemNS(str, str) -> QDomNode");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QDomNamedNodeMap *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDomNamedNodeMap, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->namedItemNS(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNamedNodeMap, sipName_namedItemNS, doc_QDomNamedNodeMap_namedItemNS);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNamedNodeMap_setNamedItemNS, "QDomNamedNodeMap.setNamedItemNS(QDomNode) -> QDomNode");

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

    {
        const QDomNode* a0;
        QDomNamedNodeMap *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDomNamedNodeMap, &sipCpp, sipType_QDomNode, &a0))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->setNamedItemNS(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNamedNodeMap, sipName_setNamedItemNS, doc_QDomNamedNodeMap_setNamedItemNS);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNamedNodeMap_removeNamedItemNS, "QDomNamedNodeMap.removeNamedItemNS(str, str) -> QDomNode");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QDomNamedNodeMap *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDomNamedNodeMap, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->removeNamedItemNS(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNamedNodeMap, sipName_removeNamedItemNS, doc_QDomNamedNodeMap_removeNamedItemNS);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNamedNodeMap_length, "QDomNamedNodeMap.length() -> int");

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

    {
        const QDomNamedNodeMap *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNamedNodeMap, &sipCpp))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->length();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNamedNodeMap, sipName_length, doc_QDomNamedNodeMap_length);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNamedNodeMap_count, "QDomNamedNodeMap.count() -> int");

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

    {
        const QDomNamedNodeMap *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNamedNodeMap, sipName_count, doc_QDomNamedNodeMap_count);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNamedNodeMap_size, "QDomNamedNodeMap.size() -> int");

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

    {
        const QDomNamedNodeMap *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNamedNodeMap, sipName_size, doc_QDomNamedNodeMap_size);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNamedNodeMap_isEmpty, "QDomNamedNodeMap.isEmpty() -> bool");

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

    {
        const QDomNamedNodeMap *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNamedNodeMap, sipName_isEmpty, doc_QDomNamedNodeMap_isEmpty);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNamedNodeMap_contains, "QDomNamedNodeMap.contains(str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QDomNamedNodeMap *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->contains(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNamedNodeMap, sipName_contains, doc_QDomNamedNodeMap_contains);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QDomNamedNodeMap___len__(PyObject *);}
static SIP_SSIZE_T slot_QDomNamedNodeMap___len__(PyObject *sipSelf)
{
    QDomNamedNodeMap *sipCpp = reinterpret_cast<QDomNamedNodeMap *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDomNamedNodeMap));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 15045 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDomNamedNodeMap___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDomNamedNodeMap___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QDomNamedNodeMap *sipCpp = reinterpret_cast<QDomNamedNodeMap *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDomNamedNodeMap));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDomNamedNodeMap* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDomNamedNodeMap, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDomNamedNodeMap::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtXml,ne_slot,sipType_QDomNamedNodeMap,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QDomNamedNodeMap___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDomNamedNodeMap___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QDomNamedNodeMap *sipCpp = reinterpret_cast<QDomNamedNodeMap *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDomNamedNodeMap));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDomNamedNodeMap* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDomNamedNodeMap, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDomNamedNodeMap::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtXml,eq_slot,sipType_QDomNamedNodeMap,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomNamedNodeMap(void *, const sipTypeDef *);}
static void *cast_QDomNamedNodeMap(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDomNamedNodeMap)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomNamedNodeMap(void *, int);}
static void release_QDomNamedNodeMap(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomNamedNodeMap *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomNamedNodeMap(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomNamedNodeMap(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomNamedNodeMap *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomNamedNodeMap *>(sipSrc);
}


extern "C" {static void *array_QDomNamedNodeMap(SIP_SSIZE_T);}
static void *array_QDomNamedNodeMap(SIP_SSIZE_T sipNrElem)
{
    return new QDomNamedNodeMap[sipNrElem];
}


extern "C" {static void *copy_QDomNamedNodeMap(const void *, SIP_SSIZE_T);}
static void *copy_QDomNamedNodeMap(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomNamedNodeMap(reinterpret_cast<const QDomNamedNodeMap *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomNamedNodeMap(sipSimpleWrapper *);}
static void dealloc_QDomNamedNodeMap(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomNamedNodeMap(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomNamedNodeMap(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomNamedNodeMap(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomNamedNodeMap *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomNamedNodeMap();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomNamedNodeMap* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomNamedNodeMap, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomNamedNodeMap(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDomNamedNodeMap[] = {
    {(void *)slot_QDomNamedNodeMap___len__, len_slot},
    {(void *)slot_QDomNamedNodeMap___ne__, ne_slot},
    {(void *)slot_QDomNamedNodeMap___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDomNamedNodeMap[] = {
    {SIP_MLNAME_CAST(sipName_contains), meth_QDomNamedNodeMap_contains, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNamedNodeMap_contains)},
    {SIP_MLNAME_CAST(sipName_count), meth_QDomNamedNodeMap_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNamedNodeMap_count)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QDomNamedNodeMap_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNamedNodeMap_isEmpty)},
    {SIP_MLNAME_CAST(sipName_item), meth_QDomNamedNodeMap_item, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNamedNodeMap_item)},
    {SIP_MLNAME_CAST(sipName_length), meth_QDomNamedNodeMap_length, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNamedNodeMap_length)},
    {SIP_MLNAME_CAST(sipName_namedItem), meth_QDomNamedNodeMap_namedItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNamedNodeMap_namedItem)},
    {SIP_MLNAME_CAST(sipName_namedItemNS), meth_QDomNamedNodeMap_namedItemNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNamedNodeMap_namedItemNS)},
    {SIP_MLNAME_CAST(sipName_removeNamedItem), meth_QDomNamedNodeMap_removeNamedItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNamedNodeMap_removeNamedItem)},
    {SIP_MLNAME_CAST(sipName_removeNamedItemNS), meth_QDomNamedNodeMap_removeNamedItemNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNamedNodeMap_removeNamedItemNS)},
    {SIP_MLNAME_CAST(sipName_setNamedItem), meth_QDomNamedNodeMap_setNamedItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNamedNodeMap_setNamedItem)},
    {SIP_MLNAME_CAST(sipName_setNamedItemNS), meth_QDomNamedNodeMap_setNamedItemNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNamedNodeMap_setNamedItemNS)},
    {SIP_MLNAME_CAST(sipName_size), meth_QDomNamedNodeMap_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNamedNodeMap_size)}
};

PyDoc_STRVAR(doc_QDomNamedNodeMap, "\1QDomNamedNodeMap()\n"
    "QDomNamedNodeMap(QDomNamedNodeMap)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomNamedNodeMap = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomNamedNodeMap,
        {0}
    },
    {
        sipNameNr_QDomNamedNodeMap,
        {0, 0, 1},
        12, methods_QDomNamedNodeMap,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomNamedNodeMap,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDomNamedNodeMap,
    init_type_QDomNamedNodeMap,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomNamedNodeMap,
    assign_QDomNamedNodeMap,
    array_QDomNamedNodeMap,
    copy_QDomNamedNodeMap,
    release_QDomNamedNodeMap,
    cast_QDomNamedNodeMap,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15294 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 15298 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15301 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 37 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 15304 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qiodevice.sip"
#include <qiodevice.h>
#line 15307 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 83 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 15310 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 141 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qxml.sip"
#include <qxml.h>
#line 15313 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15316 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15319 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15322 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15325 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15331 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15334 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15337 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15340 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15343 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15346 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 15349 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15352 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15355 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15358 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 15361 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomDocument_createElement, "QDomDocument.createElement(str) -> QDomElement");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomElement*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomElement(sipCpp->createElement(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomElement,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_createElement, doc_QDomDocument_createElement);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_createDocumentFragment, "QDomDocument.createDocumentFragment() -> QDomDocumentFragment");

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

    {
        QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomDocument, &sipCpp))
        {
            QDomDocumentFragment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomDocumentFragment(sipCpp->createDocumentFragment());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomDocumentFragment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_createDocumentFragment, doc_QDomDocument_createDocumentFragment);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_createTextNode, "QDomDocument.createTextNode(str) -> QDomText");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomText*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomText(sipCpp->createTextNode(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomText,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_createTextNode, doc_QDomDocument_createTextNode);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_createComment, "QDomDocument.createComment(str) -> QDomComment");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomComment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomComment(sipCpp->createComment(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomComment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_createComment, doc_QDomDocument_createComment);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_createCDATASection, "QDomDocument.createCDATASection(str) -> QDomCDATASection");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomCDATASection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomCDATASection(sipCpp->createCDATASection(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomCDATASection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_createCDATASection, doc_QDomDocument_createCDATASection);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_createProcessingInstruction, "QDomDocument.createProcessingInstruction(str, str) -> QDomProcessingInstruction");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QDomProcessingInstruction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomProcessingInstruction(sipCpp->createProcessingInstruction(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDomProcessingInstruction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_createProcessingInstruction, doc_QDomDocument_createProcessingInstruction);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_createAttribute, "QDomDocument.createAttribute(str) -> QDomAttr");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomAttr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomAttr(sipCpp->createAttribute(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomAttr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_createAttribute, doc_QDomDocument_createAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_createEntityReference, "QDomDocument.createEntityReference(str) -> QDomEntityReference");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomEntityReference*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomEntityReference(sipCpp->createEntityReference(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomEntityReference,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_createEntityReference, doc_QDomDocument_createEntityReference);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_elementsByTagName, "QDomDocument.elementsByTagName(str) -> QDomNodeList");

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

    {
        const QString* a0;
        int a0State = 0;
        const QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomNodeList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNodeList(sipCpp->elementsByTagName(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomNodeList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_elementsByTagName, doc_QDomDocument_elementsByTagName);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_importNode, "QDomDocument.importNode(QDomNode, bool) -> QDomNode");

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

    {
        const QDomNode* a0;
        bool a1;
        QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9b", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QDomNode, &a0, &a1))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->importNode(*a0,a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_importNode, doc_QDomDocument_importNode);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_createElementNS, "QDomDocument.createElementNS(str, str) -> QDomElement");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QDomElement*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomElement(sipCpp->createElementNS(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDomElement,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_createElementNS, doc_QDomDocument_createElementNS);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_createAttributeNS, "QDomDocument.createAttributeNS(str, str) -> QDomAttr");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QDomAttr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomAttr(sipCpp->createAttributeNS(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDomAttr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_createAttributeNS, doc_QDomDocument_createAttributeNS);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_elementsByTagNameNS, "QDomDocument.elementsByTagNameNS(str, str) -> QDomNodeList");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            QDomNodeList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNodeList(sipCpp->elementsByTagNameNS(*a0,*a1));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDomNodeList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_elementsByTagNameNS, doc_QDomDocument_elementsByTagNameNS);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_elementById, "QDomDocument.elementById(str) -> QDomElement");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomElement*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomElement(sipCpp->elementById(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomElement,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_elementById, doc_QDomDocument_elementById);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_doctype, "QDomDocument.doctype() -> QDomDocumentType");

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

    {
        const QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomDocument, &sipCpp))
        {
            QDomDocumentType*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomDocumentType(sipCpp->doctype());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomDocumentType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_doctype, doc_QDomDocument_doctype);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_implementation, "QDomDocument.implementation() -> QDomImplementation");

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

    {
        const QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomDocument, &sipCpp))
        {
            QDomImplementation*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomImplementation(sipCpp->implementation());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomImplementation,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_implementation, doc_QDomDocument_implementation);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_documentElement, "QDomDocument.documentElement() -> QDomElement");

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

    {
        const QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomDocument, &sipCpp))
        {
            QDomElement*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomElement(sipCpp->documentElement());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomElement,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_documentElement, doc_QDomDocument_documentElement);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_nodeType, "QDomDocument.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomDocument *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomDocument, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_nodeType, doc_QDomDocument_nodeType);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_setContent, "QDomDocument.setContent(QByteArray, bool) -> (bool, str, int, int)\n"
    "QDomDocument.setContent(str, bool) -> (bool, str, int, int)\n"
    "QDomDocument.setContent(QIODevice, bool) -> (bool, str, int, int)\n"
    "QDomDocument.setContent(QXmlInputSource, bool) -> (bool, str, int, int)\n"
    "QDomDocument.setContent(QByteArray) -> (bool, str, int, int)\n"
    "QDomDocument.setContent(str) -> (bool, str, int, int)\n"
    "QDomDocument.setContent(QIODevice) -> (bool, str, int, int)\n"
    "QDomDocument.setContent(QXmlInputSource, QXmlReader) -> (bool, str, int, int)");

extern "C" {static PyObject *meth_QDomDocument_setContent(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDomDocument_setContent(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QByteArray* a0;
        int a0State = 0;
        bool a1;
        QString* a2;
        int a3;
        int a4;
        QDomDocument *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1b", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QByteArray, &a0, &a0State, &a1))
        {
            bool sipRes;
            a2 = new QString();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setContent(*a0,a1,a2,&a3,&a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bNii)",sipRes,a2,sipType_QString,NULL,a3,a4);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        bool a1;
        QString* a2;
        int a3;
        int a4;
        QDomDocument *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1b", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State, &a1))
        {
            bool sipRes;
            a2 = new QString();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setContent(*a0,a1,a2,&a3,&a4);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(bNii)",sipRes,a2,sipType_QString,NULL,a3,a4);
        }
    }

    {
        QIODevice* a0;
        bool a1;
        QString* a2;
        int a3;
        int a4;
        QDomDocument *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8b", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QIODevice, &a0, &a1))
        {
            bool sipRes;
            a2 = new QString();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setContent(a0,a1,a2,&a3,&a4);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(bNii)",sipRes,a2,sipType_QString,NULL,a3,a4);
        }
    }

    {
        QXmlInputSource* a0;
        bool a1;
        QString* a2;
        int a3;
        int a4;
        QDomDocument *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8b", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QXmlInputSource, &a0, &a1))
        {
            bool sipRes;
            a2 = new QString();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setContent(a0,a1,a2,&a3,&a4);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(bNii)",sipRes,a2,sipType_QString,NULL,a3,a4);
        }
    }

    {
        const QByteArray* a0;
        int a0State = 0;
        QString* a1;
        int a2;
        int a3;
        QDomDocument *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QByteArray, &a0, &a0State))
        {
            bool sipRes;
            a1 = new QString();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setContent(*a0,a1,&a2,&a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QByteArray *>(a0),sipType_QByteArray,a0State);

            return sipBuildResult(0,"(bNii)",sipRes,a1,sipType_QString,NULL,a2,a3);
        }
    }

    {
        const QString* a0;
        int a0State = 0;
        QString* a1;
        int a2;
        int a3;
        QDomDocument *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QString,&a0, &a0State))
        {
            bool sipRes;
            a1 = new QString();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setContent(*a0,a1,&a2,&a3);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipBuildResult(0,"(bNii)",sipRes,a1,sipType_QString,NULL,a2,a3);
        }
    }

    {
        QIODevice* a0;
        QString* a1;
        int a2;
        int a3;
        QDomDocument *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QIODevice, &a0))
        {
            bool sipRes;
            a1 = new QString();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setContent(a0,a1,&a2,&a3);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(bNii)",sipRes,a1,sipType_QString,NULL,a2,a3);
        }
    }

    {
        QXmlInputSource* a0;
        QXmlReader* a1;
        QString* a2;
        int a3;
        int a4;
        QDomDocument *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ8J8", &sipSelf, sipType_QDomDocument, &sipCpp, sipType_QXmlInputSource, &a0, sipType_QXmlReader, &a1))
        {
            bool sipRes;
            a2 = new QString();

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->setContent(a0,a1,a2,&a3,&a4);
            Py_END_ALLOW_THREADS

            return sipBuildResult(0,"(bNii)",sipRes,a2,sipType_QString,NULL,a3,a4);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_setContent, doc_QDomDocument_setContent);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_toString, "QDomDocument.toString(int indent=1) -> str");

extern "C" {static PyObject *meth_QDomDocument_toString(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDomDocument_toString(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
        const QDomDocument *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QDomDocument, &sipCpp, &a0))
        {
            QString*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->toString(a0));
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_toString, doc_QDomDocument_toString);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocument_toByteArray, "QDomDocument.toByteArray(int indent=1) -> QByteArray");

extern "C" {static PyObject *meth_QDomDocument_toByteArray(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDomDocument_toByteArray(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        int a0 = 1;
        const QDomDocument *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|i", &sipSelf, sipType_QDomDocument, &sipCpp, &a0))
        {
            QByteArray*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QByteArray(sipCpp->toByteArray(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QByteArray,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocument, sipName_toByteArray, doc_QDomDocument_toByteArray);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomDocument(void *, const sipTypeDef *);}
static void *cast_QDomDocument(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDomDocument)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDomNode)->ctd_cast((QDomNode *)(QDomDocument *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomDocument(void *, int);}
static void release_QDomDocument(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomDocument *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomDocument(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomDocument(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomDocument *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomDocument *>(sipSrc);
}


extern "C" {static void *array_QDomDocument(SIP_SSIZE_T);}
static void *array_QDomDocument(SIP_SSIZE_T sipNrElem)
{
    return new QDomDocument[sipNrElem];
}


extern "C" {static void *copy_QDomDocument(const void *, SIP_SSIZE_T);}
static void *copy_QDomDocument(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomDocument(reinterpret_cast<const QDomDocument *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomDocument(sipSimpleWrapper *);}
static void dealloc_QDomDocument(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomDocument(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomDocument(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomDocument(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomDocument *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomDocument();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QString* a0;
        int a0State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J1", sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomDocument(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipCpp;
        }
    }

    {
        const QDomDocumentType* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomDocumentType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomDocument(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomDocument* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomDocument, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomDocument(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomDocument[] = {{13, 255, 1}};


static PyMethodDef methods_QDomDocument[] = {
    {SIP_MLNAME_CAST(sipName_createAttribute), meth_QDomDocument_createAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_createAttribute)},
    {SIP_MLNAME_CAST(sipName_createAttributeNS), meth_QDomDocument_createAttributeNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_createAttributeNS)},
    {SIP_MLNAME_CAST(sipName_createCDATASection), meth_QDomDocument_createCDATASection, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_createCDATASection)},
    {SIP_MLNAME_CAST(sipName_createComment), meth_QDomDocument_createComment, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_createComment)},
    {SIP_MLNAME_CAST(sipName_createDocumentFragment), meth_QDomDocument_createDocumentFragment, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_createDocumentFragment)},
    {SIP_MLNAME_CAST(sipName_createElement), meth_QDomDocument_createElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_createElement)},
    {SIP_MLNAME_CAST(sipName_createElementNS), meth_QDomDocument_createElementNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_createElementNS)},
    {SIP_MLNAME_CAST(sipName_createEntityReference), meth_QDomDocument_createEntityReference, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_createEntityReference)},
    {SIP_MLNAME_CAST(sipName_createProcessingInstruction), meth_QDomDocument_createProcessingInstruction, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_createProcessingInstruction)},
    {SIP_MLNAME_CAST(sipName_createTextNode), meth_QDomDocument_createTextNode, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_createTextNode)},
    {SIP_MLNAME_CAST(sipName_doctype), meth_QDomDocument_doctype, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_doctype)},
    {SIP_MLNAME_CAST(sipName_documentElement), meth_QDomDocument_documentElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_documentElement)},
    {SIP_MLNAME_CAST(sipName_elementById), meth_QDomDocument_elementById, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_elementById)},
    {SIP_MLNAME_CAST(sipName_elementsByTagName), meth_QDomDocument_elementsByTagName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_elementsByTagName)},
    {SIP_MLNAME_CAST(sipName_elementsByTagNameNS), meth_QDomDocument_elementsByTagNameNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_elementsByTagNameNS)},
    {SIP_MLNAME_CAST(sipName_implementation), meth_QDomDocument_implementation, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_implementation)},
    {SIP_MLNAME_CAST(sipName_importNode), meth_QDomDocument_importNode, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_importNode)},
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomDocument_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocument_nodeType)},
    {SIP_MLNAME_CAST(sipName_setContent), (PyCFunction)meth_QDomDocument_setContent, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDomDocument_setContent)},
    {SIP_MLNAME_CAST(sipName_toByteArray), (PyCFunction)meth_QDomDocument_toByteArray, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDomDocument_toByteArray)},
    {SIP_MLNAME_CAST(sipName_toString), (PyCFunction)meth_QDomDocument_toString, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDomDocument_toString)}
};

PyDoc_STRVAR(doc_QDomDocument, "\1QDomDocument()\n"
    "QDomDocument(str)\n"
    "QDomDocument(QDomDocumentType)\n"
    "QDomDocument(QDomDocument)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomDocument = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomDocument,
        {0}
    },
    {
        sipNameNr_QDomDocument,
        {0, 0, 1},
        21, methods_QDomDocument,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomDocument,
    -1,
    -1,
    supers_QDomDocument,
    0,
    init_type_QDomDocument,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomDocument,
    assign_QDomDocument,
    array_QDomDocument,
    copy_QDomDocument,
    release_QDomDocument,
    cast_QDomDocument,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16445 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16449 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 16452 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16455 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16458 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 16461 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16464 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16467 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16470 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16473 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16476 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16479 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16482 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16485 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16488 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16491 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16494 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16497 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomDocumentType_name, "QDomDocumentType.name() -> str");

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

    {
        const QDomDocumentType *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->name());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocumentType, sipName_name, doc_QDomDocumentType_name);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocumentType_entities, "QDomDocumentType.entities() -> QDomNamedNodeMap");

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

    {
        const QDomDocumentType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomDocumentType, &sipCpp))
        {
            QDomNamedNodeMap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNamedNodeMap(sipCpp->entities());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNamedNodeMap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocumentType, sipName_entities, doc_QDomDocumentType_entities);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocumentType_notations, "QDomDocumentType.notations() -> QDomNamedNodeMap");

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

    {
        const QDomDocumentType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomDocumentType, &sipCpp))
        {
            QDomNamedNodeMap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNamedNodeMap(sipCpp->notations());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNamedNodeMap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocumentType, sipName_notations, doc_QDomDocumentType_notations);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocumentType_publicId, "QDomDocumentType.publicId() -> str");

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

    {
        const QDomDocumentType *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->publicId());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocumentType, sipName_publicId, doc_QDomDocumentType_publicId);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocumentType_systemId, "QDomDocumentType.systemId() -> str");

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

    {
        const QDomDocumentType *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->systemId());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocumentType, sipName_systemId, doc_QDomDocumentType_systemId);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocumentType_internalSubset, "QDomDocumentType.internalSubset() -> str");

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

    {
        const QDomDocumentType *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->internalSubset());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocumentType, sipName_internalSubset, doc_QDomDocumentType_internalSubset);

    return NULL;
}


PyDoc_STRVAR(doc_QDomDocumentType_nodeType, "QDomDocumentType.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomDocumentType *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomDocumentType, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomDocumentType, sipName_nodeType, doc_QDomDocumentType_nodeType);

    return NULL;
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomDocumentType(void *, const sipTypeDef *);}
static void *cast_QDomDocumentType(void *ptr, const sipTypeDef *targetType)
{
    void *res;

    if (targetType == sipType_QDomDocumentType)
        return ptr;

    if ((res = ((const sipClassTypeDef *)sipType_QDomNode)->ctd_cast((QDomNode *)(QDomDocumentType *)ptr,targetType)) != NULL)
        return res;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomDocumentType(void *, int);}
static void release_QDomDocumentType(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomDocumentType *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomDocumentType(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomDocumentType(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomDocumentType *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomDocumentType *>(sipSrc);
}


extern "C" {static void *array_QDomDocumentType(SIP_SSIZE_T);}
static void *array_QDomDocumentType(SIP_SSIZE_T sipNrElem)
{
    return new QDomDocumentType[sipNrElem];
}


extern "C" {static void *copy_QDomDocumentType(const void *, SIP_SSIZE_T);}
static void *copy_QDomDocumentType(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomDocumentType(reinterpret_cast<const QDomDocumentType *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomDocumentType(sipSimpleWrapper *);}
static void dealloc_QDomDocumentType(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomDocumentType(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomDocumentType(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomDocumentType(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomDocumentType *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomDocumentType();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomDocumentType* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomDocumentType, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomDocumentType(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's super-types. */
static sipEncodedTypeDef supers_QDomDocumentType[] = {{13, 255, 1}};


static PyMethodDef methods_QDomDocumentType[] = {
    {SIP_MLNAME_CAST(sipName_entities), meth_QDomDocumentType_entities, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocumentType_entities)},
    {SIP_MLNAME_CAST(sipName_internalSubset), meth_QDomDocumentType_internalSubset, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocumentType_internalSubset)},
    {SIP_MLNAME_CAST(sipName_name), meth_QDomDocumentType_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocumentType_name)},
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomDocumentType_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocumentType_nodeType)},
    {SIP_MLNAME_CAST(sipName_notations), meth_QDomDocumentType_notations, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocumentType_notations)},
    {SIP_MLNAME_CAST(sipName_publicId), meth_QDomDocumentType_publicId, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocumentType_publicId)},
    {SIP_MLNAME_CAST(sipName_systemId), meth_QDomDocumentType_systemId, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomDocumentType_systemId)}
};

PyDoc_STRVAR(doc_QDomDocumentType, "\1QDomDocumentType()\n"
    "QDomDocumentType(QDomDocumentType)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomDocumentType = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomDocumentType,
        {0}
    },
    {
        sipNameNr_QDomDocumentType,
        {0, 0, 1},
        7, methods_QDomDocumentType,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomDocumentType,
    -1,
    -1,
    supers_QDomDocumentType,
    0,
    init_type_QDomDocumentType,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomDocumentType,
    assign_QDomDocumentType,
    array_QDomDocumentType,
    copy_QDomDocumentType,
    release_QDomDocumentType,
    cast_QDomDocumentType,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16869 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 16873 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomNodeList_item, "QDomNodeList.item(int) -> QDomNode");

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

    {
        int a0;
        const QDomNodeList *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDomNodeList, &sipCpp, &a0))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->item(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNodeList, sipName_item, doc_QDomNodeList_item);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNodeList_length, "QDomNodeList.length() -> int");

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

    {
        const QDomNodeList *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNodeList, &sipCpp))
        {
            uint sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->length();
            Py_END_ALLOW_THREADS

            return PyLong_FromUnsignedLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNodeList, sipName_length, doc_QDomNodeList_length);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNodeList_count, "QDomNodeList.count() -> int");

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

    {
        const QDomNodeList *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->count();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNodeList, sipName_count, doc_QDomNodeList_count);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNodeList_at, "QDomNodeList.at(int) -> QDomNode");

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

    {
        int a0;
        const QDomNodeList *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QDomNodeList, &sipCpp, &a0))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->at(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNodeList, sipName_at, doc_QDomNodeList_at);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNodeList_size, "QDomNodeList.size() -> int");

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

    {
        const QDomNodeList *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->size();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNodeList, sipName_size, doc_QDomNodeList_size);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNodeList_isEmpty, "QDomNodeList.isEmpty() -> bool");

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

    {
        const QDomNodeList *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEmpty();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNodeList, sipName_isEmpty, doc_QDomNodeList_isEmpty);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QDomNodeList___len__(PyObject *);}
static SIP_SSIZE_T slot_QDomNodeList___len__(PyObject *sipSelf)
{
    QDomNodeList *sipCpp = reinterpret_cast<QDomNodeList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDomNodeList));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 17067 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QDomNodeList___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDomNodeList___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QDomNodeList *sipCpp = reinterpret_cast<QDomNodeList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDomNodeList));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDomNodeList* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDomNodeList, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDomNodeList::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtXml,ne_slot,sipType_QDomNodeList,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QDomNodeList___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDomNodeList___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QDomNodeList *sipCpp = reinterpret_cast<QDomNodeList *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDomNodeList));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDomNodeList* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDomNodeList, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDomNodeList::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtXml,eq_slot,sipType_QDomNodeList,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomNodeList(void *, const sipTypeDef *);}
static void *cast_QDomNodeList(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDomNodeList)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomNodeList(void *, int);}
static void release_QDomNodeList(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomNodeList *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomNodeList(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomNodeList(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomNodeList *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomNodeList *>(sipSrc);
}


extern "C" {static void *array_QDomNodeList(SIP_SSIZE_T);}
static void *array_QDomNodeList(SIP_SSIZE_T sipNrElem)
{
    return new QDomNodeList[sipNrElem];
}


extern "C" {static void *copy_QDomNodeList(const void *, SIP_SSIZE_T);}
static void *copy_QDomNodeList(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomNodeList(reinterpret_cast<const QDomNodeList *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomNodeList(sipSimpleWrapper *);}
static void dealloc_QDomNodeList(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomNodeList(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomNodeList(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomNodeList(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomNodeList *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomNodeList();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomNodeList* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomNodeList, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomNodeList(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDomNodeList[] = {
    {(void *)slot_QDomNodeList___len__, len_slot},
    {(void *)slot_QDomNodeList___ne__, ne_slot},
    {(void *)slot_QDomNodeList___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDomNodeList[] = {
    {SIP_MLNAME_CAST(sipName_at), meth_QDomNodeList_at, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNodeList_at)},
    {SIP_MLNAME_CAST(sipName_count), meth_QDomNodeList_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNodeList_count)},
    {SIP_MLNAME_CAST(sipName_isEmpty), meth_QDomNodeList_isEmpty, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNodeList_isEmpty)},
    {SIP_MLNAME_CAST(sipName_item), meth_QDomNodeList_item, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNodeList_item)},
    {SIP_MLNAME_CAST(sipName_length), meth_QDomNodeList_length, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNodeList_length)},
    {SIP_MLNAME_CAST(sipName_size), meth_QDomNodeList_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNodeList_size)}
};

PyDoc_STRVAR(doc_QDomNodeList, "\1QDomNodeList()\n"
    "QDomNodeList(QDomNodeList)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomNodeList = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomNodeList,
        {0}
    },
    {
        sipNameNr_QDomNodeList,
        {0, 0, 1},
        6, methods_QDomNodeList,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomNodeList,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDomNodeList,
    init_type_QDomNodeList,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomNodeList,
    assign_QDomNodeList,
    array_QDomNodeList,
    copy_QDomNodeList,
    release_QDomNodeList,
    cast_QDomNodeList,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 62 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17310 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 345 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17314 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 17317 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qtextstream.sip"
#include <qtextstream.h>
#line 17320 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 397 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17323 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 303 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17326 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 462 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17329 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 421 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17332 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 435 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17335 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 384 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17338 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 450 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17341 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17344 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17347 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 291 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17350 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 409 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17353 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 328 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17356 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 260 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17359 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 173 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 17362 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomNode_insertBefore, "QDomNode.insertBefore(QDomNode, QDomNode) -> QDomNode");

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

    {
        const QDomNode* a0;
        const QDomNode* a1;
        QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QDomNode, &a0, sipType_QDomNode, &a1))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->insertBefore(*a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_insertBefore, doc_QDomNode_insertBefore);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_insertAfter, "QDomNode.insertAfter(QDomNode, QDomNode) -> QDomNode");

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

    {
        const QDomNode* a0;
        const QDomNode* a1;
        QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QDomNode, &a0, sipType_QDomNode, &a1))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->insertAfter(*a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_insertAfter, doc_QDomNode_insertAfter);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_replaceChild, "QDomNode.replaceChild(QDomNode, QDomNode) -> QDomNode");

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

    {
        const QDomNode* a0;
        const QDomNode* a1;
        QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9J9", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QDomNode, &a0, sipType_QDomNode, &a1))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->replaceChild(*a0,*a1));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_replaceChild, doc_QDomNode_replaceChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_removeChild, "QDomNode.removeChild(QDomNode) -> QDomNode");

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

    {
        const QDomNode* a0;
        QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QDomNode, &a0))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->removeChild(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_removeChild, doc_QDomNode_removeChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_appendChild, "QDomNode.appendChild(QDomNode) -> QDomNode");

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

    {
        const QDomNode* a0;
        QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QDomNode, &a0))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->appendChild(*a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_appendChild, doc_QDomNode_appendChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_hasChildNodes, "QDomNode.hasChildNodes() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasChildNodes();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_hasChildNodes, doc_QDomNode_hasChildNodes);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_cloneNode, "QDomNode.cloneNode(bool deep=True) -> QDomNode");

extern "C" {static PyObject *meth_QDomNode_cloneNode(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDomNode_cloneNode(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        bool a0 = 1;
        const QDomNode *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|b", &sipSelf, sipType_QDomNode, &sipCpp, &a0))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->cloneNode(a0));
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_cloneNode, doc_QDomNode_cloneNode);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_normalize, "QDomNode.normalize()");

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

    {
        QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->normalize();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_normalize, doc_QDomNode_normalize);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isSupported, "QDomNode.isSupported(str, str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isSupported(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isSupported, doc_QDomNode_isSupported);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_nodeName, "QDomNode.nodeName() -> str");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->nodeName());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_nodeName, doc_QDomNode_nodeName);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_nodeType, "QDomNode.nodeType() -> QDomNode.NodeType");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomNode::NodeType sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->nodeType();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomNode_NodeType);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_nodeType, doc_QDomNode_nodeType);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_parentNode, "QDomNode.parentNode() -> QDomNode");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->parentNode());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_parentNode, doc_QDomNode_parentNode);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_childNodes, "QDomNode.childNodes() -> QDomNodeList");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomNodeList*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNodeList(sipCpp->childNodes());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNodeList,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_childNodes, doc_QDomNode_childNodes);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_firstChild, "QDomNode.firstChild() -> QDomNode");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->firstChild());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_firstChild, doc_QDomNode_firstChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_lastChild, "QDomNode.lastChild() -> QDomNode");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->lastChild());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_lastChild, doc_QDomNode_lastChild);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_previousSibling, "QDomNode.previousSibling() -> QDomNode");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->previousSibling());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_previousSibling, doc_QDomNode_previousSibling);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_nextSibling, "QDomNode.nextSibling() -> QDomNode");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->nextSibling());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_nextSibling, doc_QDomNode_nextSibling);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_attributes, "QDomNode.attributes() -> QDomNamedNodeMap");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomNamedNodeMap*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNamedNodeMap(sipCpp->attributes());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNamedNodeMap,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_attributes, doc_QDomNode_attributes);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_ownerDocument, "QDomNode.ownerDocument() -> QDomDocument");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomDocument*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomDocument(sipCpp->ownerDocument());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomDocument,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_ownerDocument, doc_QDomNode_ownerDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_namespaceURI, "QDomNode.namespaceURI() -> str");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->namespaceURI());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_namespaceURI, doc_QDomNode_namespaceURI);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_localName, "QDomNode.localName() -> str");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->localName());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_localName, doc_QDomNode_localName);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_hasAttributes, "QDomNode.hasAttributes() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasAttributes();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_hasAttributes, doc_QDomNode_hasAttributes);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_nodeValue, "QDomNode.nodeValue() -> str");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->nodeValue());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_nodeValue, doc_QDomNode_nodeValue);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_setNodeValue, "QDomNode.setNodeValue(str)");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setNodeValue(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_setNodeValue, doc_QDomNode_setNodeValue);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_prefix, "QDomNode.prefix() -> str");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QString(sipCpp->prefix());
            Py_END_ALLOW_THREADS

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_prefix, doc_QDomNode_prefix);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_setPrefix, "QDomNode.setPrefix(str)");

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

    {
        const QString* a0;
        int a0State = 0;
        QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QString,&a0, &a0State))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->setPrefix(*a0);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_setPrefix, doc_QDomNode_setPrefix);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isAttr, "QDomNode.isAttr() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isAttr();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isAttr, doc_QDomNode_isAttr);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isCDATASection, "QDomNode.isCDATASection() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCDATASection();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isCDATASection, doc_QDomNode_isCDATASection);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isDocumentFragment, "QDomNode.isDocumentFragment() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDocumentFragment();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isDocumentFragment, doc_QDomNode_isDocumentFragment);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isDocument, "QDomNode.isDocument() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDocument();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isDocument, doc_QDomNode_isDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isDocumentType, "QDomNode.isDocumentType() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isDocumentType();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isDocumentType, doc_QDomNode_isDocumentType);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isElement, "QDomNode.isElement() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isElement();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isElement, doc_QDomNode_isElement);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isEntityReference, "QDomNode.isEntityReference() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEntityReference();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isEntityReference, doc_QDomNode_isEntityReference);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isText, "QDomNode.isText() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isText();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isText, doc_QDomNode_isText);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isEntity, "QDomNode.isEntity() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isEntity();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isEntity, doc_QDomNode_isEntity);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isNotation, "QDomNode.isNotation() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNotation();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isNotation, doc_QDomNode_isNotation);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isProcessingInstruction, "QDomNode.isProcessingInstruction() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isProcessingInstruction();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isProcessingInstruction, doc_QDomNode_isProcessingInstruction);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isCharacterData, "QDomNode.isCharacterData() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isCharacterData();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isCharacterData, doc_QDomNode_isCharacterData);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isComment, "QDomNode.isComment() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isComment();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isComment, doc_QDomNode_isComment);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_namedItem, "QDomNode.namedItem(str) -> QDomNode");

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

    {
        const QString* a0;
        int a0State = 0;
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomNode*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNode(sipCpp->namedItem(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomNode,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_namedItem, doc_QDomNode_namedItem);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_isNull, "QDomNode.isNull() -> bool");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_isNull, doc_QDomNode_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_clear, "QDomNode.clear()");

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

    {
        QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->clear();
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_clear, doc_QDomNode_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_toAttr, "QDomNode.toAttr() -> QDomAttr");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomAttr*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomAttr(sipCpp->toAttr());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomAttr,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_toAttr, doc_QDomNode_toAttr);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_toCDATASection, "QDomNode.toCDATASection() -> QDomCDATASection");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomCDATASection*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomCDATASection(sipCpp->toCDATASection());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomCDATASection,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_toCDATASection, doc_QDomNode_toCDATASection);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_toDocumentFragment, "QDomNode.toDocumentFragment() -> QDomDocumentFragment");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomDocumentFragment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomDocumentFragment(sipCpp->toDocumentFragment());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomDocumentFragment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_toDocumentFragment, doc_QDomNode_toDocumentFragment);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_toDocument, "QDomNode.toDocument() -> QDomDocument");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomDocument*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomDocument(sipCpp->toDocument());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomDocument,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_toDocument, doc_QDomNode_toDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_toDocumentType, "QDomNode.toDocumentType() -> QDomDocumentType");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomDocumentType*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomDocumentType(sipCpp->toDocumentType());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomDocumentType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_toDocumentType, doc_QDomNode_toDocumentType);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_toElement, "QDomNode.toElement() -> QDomElement");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomElement*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomElement(sipCpp->toElement());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomElement,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_toElement, doc_QDomNode_toElement);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_toEntityReference, "QDomNode.toEntityReference() -> QDomEntityReference");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomEntityReference*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomEntityReference(sipCpp->toEntityReference());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomEntityReference,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_toEntityReference, doc_QDomNode_toEntityReference);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_toText, "QDomNode.toText() -> QDomText");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomText*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomText(sipCpp->toText());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomText,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_toText, doc_QDomNode_toText);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_toEntity, "QDomNode.toEntity() -> QDomEntity");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomEntity*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomEntity(sipCpp->toEntity());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomEntity,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_toEntity, doc_QDomNode_toEntity);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_toNotation, "QDomNode.toNotation() -> QDomNotation");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomNotation*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomNotation(sipCpp->toNotation());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomNotation,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_toNotation, doc_QDomNode_toNotation);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_toProcessingInstruction, "QDomNode.toProcessingInstruction() -> QDomProcessingInstruction");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomProcessingInstruction*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomProcessingInstruction(sipCpp->toProcessingInstruction());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomProcessingInstruction,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_toProcessingInstruction, doc_QDomNode_toProcessingInstruction);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_toCharacterData, "QDomNode.toCharacterData() -> QDomCharacterData");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomCharacterData*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomCharacterData(sipCpp->toCharacterData());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomCharacterData,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_toCharacterData, doc_QDomNode_toCharacterData);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_toComment, "QDomNode.toComment() -> QDomComment");

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

    {
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QDomNode, &sipCpp))
        {
            QDomComment*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomComment(sipCpp->toComment());
            Py_END_ALLOW_THREADS

            return sipConvertFromNewType(sipRes,sipType_QDomComment,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_toComment, doc_QDomNode_toComment);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_save, "QDomNode.save(QTextStream, int)\n"
    "QDomNode.save(QTextStream, int, QDomNode.EncodingPolicy)");

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

    {
        QTextStream* a0;
        int a1;
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9i", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QTextStream, &a0, &a1))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->save(*a0,a1);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        QTextStream* a0;
        int a1;
        QDomNode::EncodingPolicy a2;
        const QDomNode *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9iE", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QTextStream, &a0, &a1, sipType_QDomNode_EncodingPolicy, &a2))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp->save(*a0,a1,a2);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_save, doc_QDomNode_save);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_firstChildElement, "QDomNode.firstChildElement(str tagName='') -> QDomElement");

extern "C" {static PyObject *meth_QDomNode_firstChildElement(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDomNode_firstChildElement(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        const QDomNode *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomElement*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomElement(sipCpp->firstChildElement(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomElement,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_firstChildElement, doc_QDomNode_firstChildElement);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_lastChildElement, "QDomNode.lastChildElement(str tagName='') -> QDomElement");

extern "C" {static PyObject *meth_QDomNode_lastChildElement(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDomNode_lastChildElement(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        const QDomNode *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomElement*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomElement(sipCpp->lastChildElement(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomElement,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_lastChildElement, doc_QDomNode_lastChildElement);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_previousSiblingElement, "QDomNode.previousSiblingElement(str tagName='') -> QDomElement");

extern "C" {static PyObject *meth_QDomNode_previousSiblingElement(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDomNode_previousSiblingElement(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        const QDomNode *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomElement*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomElement(sipCpp->previousSiblingElement(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomElement,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_previousSiblingElement, doc_QDomNode_previousSiblingElement);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_nextSiblingElement, "QDomNode.nextSiblingElement(str tagName='') -> QDomElement");

extern "C" {static PyObject *meth_QDomNode_nextSiblingElement(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QDomNode_nextSiblingElement(PyObject *sipSelf, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const QString& a0def = QString();
        const QString* a0 = &a0def;
        int a0State = 0;
        const QDomNode *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QDomNode, &sipCpp, sipType_QString,&a0, &a0State))
        {
            QDomElement*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomElement(sipCpp->nextSiblingElement(*a0));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);

            return sipConvertFromNewType(sipRes,sipType_QDomElement,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_nextSiblingElement, doc_QDomNode_nextSiblingElement);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_lineNumber, "QDomNode.lineNumber() -> int");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->lineNumber();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_lineNumber, doc_QDomNode_lineNumber);

    return NULL;
}


PyDoc_STRVAR(doc_QDomNode_columnNumber, "QDomNode.columnNumber() -> int");

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

    {
        const QDomNode *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->columnNumber();
            Py_END_ALLOW_THREADS

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomNode, sipName_columnNumber, doc_QDomNode_columnNumber);

    return NULL;
}


extern "C" {static PyObject *slot_QDomNode___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDomNode___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QDomNode *sipCpp = reinterpret_cast<QDomNode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDomNode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDomNode* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDomNode, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDomNode::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtXml,ne_slot,sipType_QDomNode,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QDomNode___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDomNode___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QDomNode *sipCpp = reinterpret_cast<QDomNode *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDomNode));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDomNode* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDomNode, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDomNode::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtXml,eq_slot,sipType_QDomNode,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomNode(void *, const sipTypeDef *);}
static void *cast_QDomNode(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDomNode)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomNode(void *, int);}
static void release_QDomNode(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomNode *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomNode(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomNode(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomNode *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomNode *>(sipSrc);
}


extern "C" {static void *array_QDomNode(SIP_SSIZE_T);}
static void *array_QDomNode(SIP_SSIZE_T sipNrElem)
{
    return new QDomNode[sipNrElem];
}


extern "C" {static void *copy_QDomNode(const void *, SIP_SSIZE_T);}
static void *copy_QDomNode(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomNode(reinterpret_cast<const QDomNode *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomNode(sipSimpleWrapper *);}
static void dealloc_QDomNode(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomNode(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomNode(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomNode(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomNode *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomNode();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomNode* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomNode, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomNode(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDomNode[] = {
    {(void *)slot_QDomNode___ne__, ne_slot},
    {(void *)slot_QDomNode___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDomNode[] = {
    {SIP_MLNAME_CAST(sipName_appendChild), meth_QDomNode_appendChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_appendChild)},
    {SIP_MLNAME_CAST(sipName_attributes), meth_QDomNode_attributes, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_attributes)},
    {SIP_MLNAME_CAST(sipName_childNodes), meth_QDomNode_childNodes, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_childNodes)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QDomNode_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_clear)},
    {SIP_MLNAME_CAST(sipName_cloneNode), (PyCFunction)meth_QDomNode_cloneNode, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDomNode_cloneNode)},
    {SIP_MLNAME_CAST(sipName_columnNumber), meth_QDomNode_columnNumber, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_columnNumber)},
    {SIP_MLNAME_CAST(sipName_firstChild), meth_QDomNode_firstChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_firstChild)},
    {SIP_MLNAME_CAST(sipName_firstChildElement), (PyCFunction)meth_QDomNode_firstChildElement, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDomNode_firstChildElement)},
    {SIP_MLNAME_CAST(sipName_hasAttributes), meth_QDomNode_hasAttributes, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_hasAttributes)},
    {SIP_MLNAME_CAST(sipName_hasChildNodes), meth_QDomNode_hasChildNodes, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_hasChildNodes)},
    {SIP_MLNAME_CAST(sipName_insertAfter), meth_QDomNode_insertAfter, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_insertAfter)},
    {SIP_MLNAME_CAST(sipName_insertBefore), meth_QDomNode_insertBefore, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_insertBefore)},
    {SIP_MLNAME_CAST(sipName_isAttr), meth_QDomNode_isAttr, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isAttr)},
    {SIP_MLNAME_CAST(sipName_isCDATASection), meth_QDomNode_isCDATASection, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isCDATASection)},
    {SIP_MLNAME_CAST(sipName_isCharacterData), meth_QDomNode_isCharacterData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isCharacterData)},
    {SIP_MLNAME_CAST(sipName_isComment), meth_QDomNode_isComment, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isComment)},
    {SIP_MLNAME_CAST(sipName_isDocument), meth_QDomNode_isDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isDocument)},
    {SIP_MLNAME_CAST(sipName_isDocumentFragment), meth_QDomNode_isDocumentFragment, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isDocumentFragment)},
    {SIP_MLNAME_CAST(sipName_isDocumentType), meth_QDomNode_isDocumentType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isDocumentType)},
    {SIP_MLNAME_CAST(sipName_isElement), meth_QDomNode_isElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isElement)},
    {SIP_MLNAME_CAST(sipName_isEntity), meth_QDomNode_isEntity, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isEntity)},
    {SIP_MLNAME_CAST(sipName_isEntityReference), meth_QDomNode_isEntityReference, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isEntityReference)},
    {SIP_MLNAME_CAST(sipName_isNotation), meth_QDomNode_isNotation, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isNotation)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QDomNode_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isNull)},
    {SIP_MLNAME_CAST(sipName_isProcessingInstruction), meth_QDomNode_isProcessingInstruction, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isProcessingInstruction)},
    {SIP_MLNAME_CAST(sipName_isSupported), meth_QDomNode_isSupported, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isSupported)},
    {SIP_MLNAME_CAST(sipName_isText), meth_QDomNode_isText, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_isText)},
    {SIP_MLNAME_CAST(sipName_lastChild), meth_QDomNode_lastChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_lastChild)},
    {SIP_MLNAME_CAST(sipName_lastChildElement), (PyCFunction)meth_QDomNode_lastChildElement, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDomNode_lastChildElement)},
    {SIP_MLNAME_CAST(sipName_lineNumber), meth_QDomNode_lineNumber, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_lineNumber)},
    {SIP_MLNAME_CAST(sipName_localName), meth_QDomNode_localName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_localName)},
    {SIP_MLNAME_CAST(sipName_namedItem), meth_QDomNode_namedItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_namedItem)},
    {SIP_MLNAME_CAST(sipName_namespaceURI), meth_QDomNode_namespaceURI, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_namespaceURI)},
    {SIP_MLNAME_CAST(sipName_nextSibling), meth_QDomNode_nextSibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_nextSibling)},
    {SIP_MLNAME_CAST(sipName_nextSiblingElement), (PyCFunction)meth_QDomNode_nextSiblingElement, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDomNode_nextSiblingElement)},
    {SIP_MLNAME_CAST(sipName_nodeName), meth_QDomNode_nodeName, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_nodeName)},
    {SIP_MLNAME_CAST(sipName_nodeType), meth_QDomNode_nodeType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_nodeType)},
    {SIP_MLNAME_CAST(sipName_nodeValue), meth_QDomNode_nodeValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_nodeValue)},
    {SIP_MLNAME_CAST(sipName_normalize), meth_QDomNode_normalize, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_normalize)},
    {SIP_MLNAME_CAST(sipName_ownerDocument), meth_QDomNode_ownerDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_ownerDocument)},
    {SIP_MLNAME_CAST(sipName_parentNode), meth_QDomNode_parentNode, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_parentNode)},
    {SIP_MLNAME_CAST(sipName_prefix), meth_QDomNode_prefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_prefix)},
    {SIP_MLNAME_CAST(sipName_previousSibling), meth_QDomNode_previousSibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_previousSibling)},
    {SIP_MLNAME_CAST(sipName_previousSiblingElement), (PyCFunction)meth_QDomNode_previousSiblingElement, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QDomNode_previousSiblingElement)},
    {SIP_MLNAME_CAST(sipName_removeChild), meth_QDomNode_removeChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_removeChild)},
    {SIP_MLNAME_CAST(sipName_replaceChild), meth_QDomNode_replaceChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_replaceChild)},
    {SIP_MLNAME_CAST(sipName_save), meth_QDomNode_save, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_save)},
    {SIP_MLNAME_CAST(sipName_setNodeValue), meth_QDomNode_setNodeValue, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_setNodeValue)},
    {SIP_MLNAME_CAST(sipName_setPrefix), meth_QDomNode_setPrefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_setPrefix)},
    {SIP_MLNAME_CAST(sipName_toAttr), meth_QDomNode_toAttr, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_toAttr)},
    {SIP_MLNAME_CAST(sipName_toCDATASection), meth_QDomNode_toCDATASection, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_toCDATASection)},
    {SIP_MLNAME_CAST(sipName_toCharacterData), meth_QDomNode_toCharacterData, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_toCharacterData)},
    {SIP_MLNAME_CAST(sipName_toComment), meth_QDomNode_toComment, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_toComment)},
    {SIP_MLNAME_CAST(sipName_toDocument), meth_QDomNode_toDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_toDocument)},
    {SIP_MLNAME_CAST(sipName_toDocumentFragment), meth_QDomNode_toDocumentFragment, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_toDocumentFragment)},
    {SIP_MLNAME_CAST(sipName_toDocumentType), meth_QDomNode_toDocumentType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_toDocumentType)},
    {SIP_MLNAME_CAST(sipName_toElement), meth_QDomNode_toElement, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_toElement)},
    {SIP_MLNAME_CAST(sipName_toEntity), meth_QDomNode_toEntity, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_toEntity)},
    {SIP_MLNAME_CAST(sipName_toEntityReference), meth_QDomNode_toEntityReference, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_toEntityReference)},
    {SIP_MLNAME_CAST(sipName_toNotation), meth_QDomNode_toNotation, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_toNotation)},
    {SIP_MLNAME_CAST(sipName_toProcessingInstruction), meth_QDomNode_toProcessingInstruction, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_toProcessingInstruction)},
    {SIP_MLNAME_CAST(sipName_toText), meth_QDomNode_toText, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomNode_toText)}
};

static sipEnumMemberDef enummembers_QDomNode[] = {
    {sipName_AttributeNode, static_cast<int>(QDomNode::AttributeNode), 15},
    {sipName_BaseNode, static_cast<int>(QDomNode::BaseNode), 15},
    {sipName_CDATASectionNode, static_cast<int>(QDomNode::CDATASectionNode), 15},
    {sipName_CharacterDataNode, static_cast<int>(QDomNode::CharacterDataNode), 15},
    {sipName_CommentNode, static_cast<int>(QDomNode::CommentNode), 15},
    {sipName_DocumentFragmentNode, static_cast<int>(QDomNode::DocumentFragmentNode), 15},
    {sipName_DocumentNode, static_cast<int>(QDomNode::DocumentNode), 15},
    {sipName_DocumentTypeNode, static_cast<int>(QDomNode::DocumentTypeNode), 15},
    {sipName_ElementNode, static_cast<int>(QDomNode::ElementNode), 15},
    {sipName_EncodingFromDocument, static_cast<int>(QDomNode::EncodingFromDocument), 14},
    {sipName_EncodingFromTextStream, static_cast<int>(QDomNode::EncodingFromTextStream), 14},
    {sipName_EntityNode, static_cast<int>(QDomNode::EntityNode), 15},
    {sipName_EntityReferenceNode, static_cast<int>(QDomNode::EntityReferenceNode), 15},
    {sipName_NotationNode, static_cast<int>(QDomNode::NotationNode), 15},
    {sipName_ProcessingInstructionNode, static_cast<int>(QDomNode::ProcessingInstructionNode), 15},
    {sipName_TextNode, static_cast<int>(QDomNode::TextNode), 15},
};

PyDoc_STRVAR(doc_QDomNode, "\1QDomNode()\n"
    "QDomNode(QDomNode)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomNode = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomNode,
        {0}
    },
    {
        sipNameNr_QDomNode,
        {0, 0, 1},
        62, methods_QDomNode,
        16, enummembers_QDomNode,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomNode,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDomNode,
    init_type_QDomNode,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomNode,
    assign_QDomNode,
    array_QDomNode,
    copy_QDomNode,
    release_QDomNode,
    cast_QDomNode,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};

#line 35 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 19545 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"

#line 216 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 19549 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 36 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtCore/qstring.sip"
#include <qstring.h>
#line 19552 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"
#line 198 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/sip/QtXml/qdom.sip"
#include <qdom.h>
#line 19555 "/usr/src/ports/python3-pyqt4/python3-pyqt4-4.11.3-2.x86_64/build/QtXml/sipQtXmlpart0.cpp"


PyDoc_STRVAR(doc_QDomImplementation_hasFeature, "QDomImplementation.hasFeature(str, str) -> bool");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QDomImplementation *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->hasFeature(*a0,*a1);
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomImplementation, sipName_hasFeature, doc_QDomImplementation_hasFeature);

    return NULL;
}


PyDoc_STRVAR(doc_QDomImplementation_createDocumentType, "QDomImplementation.createDocumentType(str, str, str) -> QDomDocumentType");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QString* a2;
        int a2State = 0;
        QDomImplementation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QDomImplementation, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            QDomDocumentType*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomDocumentType(sipCpp->createDocumentType(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);
            sipReleaseType(const_cast<QString *>(a2),sipType_QString,a2State);

            return sipConvertFromNewType(sipRes,sipType_QDomDocumentType,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomImplementation, sipName_createDocumentType, doc_QDomImplementation_createDocumentType);

    return NULL;
}


PyDoc_STRVAR(doc_QDomImplementation_createDocument, "QDomImplementation.createDocument(str, str, QDomDocumentType) -> QDomDocument");

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

    {
        const QString* a0;
        int a0State = 0;
        const QString* a1;
        int a1State = 0;
        const QDomDocumentType* a2;
        QDomImplementation *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J9", &sipSelf, sipType_QDomImplementation, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QDomDocumentType, &a2))
        {
            QDomDocument*sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = new QDomDocument(sipCpp->createDocument(*a0,*a1,*a2));
            Py_END_ALLOW_THREADS
            sipReleaseType(const_cast<QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast<QString *>(a1),sipType_QString,a1State);

            return sipConvertFromNewType(sipRes,sipType_QDomDocument,NULL);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomImplementation, sipName_createDocument, doc_QDomImplementation_createDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QDomImplementation_isNull, "QDomImplementation.isNull() -> bool");

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

    {
        QDomImplementation *sipCpp;

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

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->isNull();
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomImplementation, sipName_isNull, doc_QDomImplementation_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QDomImplementation_invalidDataPolicy, "QDomImplementation.invalidDataPolicy() -> QDomImplementation.InvalidDataPolicy");

extern "C" {static PyObject *meth_QDomImplementation_invalidDataPolicy(PyObject *, PyObject *);}
static PyObject *meth_QDomImplementation_invalidDataPolicy(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QDomImplementation::InvalidDataPolicy sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = QDomImplementation::invalidDataPolicy();
            Py_END_ALLOW_THREADS

            return sipConvertFromEnum(sipRes,sipType_QDomImplementation_InvalidDataPolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomImplementation, sipName_invalidDataPolicy, doc_QDomImplementation_invalidDataPolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QDomImplementation_setInvalidDataPolicy, "QDomImplementation.setInvalidDataPolicy(QDomImplementation.InvalidDataPolicy)");

extern "C" {static PyObject *meth_QDomImplementation_setInvalidDataPolicy(PyObject *, PyObject *);}
static PyObject *meth_QDomImplementation_setInvalidDataPolicy(PyObject *, PyObject *sipArgs)
{
    PyObject *sipParseErr = NULL;

    {
        QDomImplementation::InvalidDataPolicy a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QDomImplementation_InvalidDataPolicy, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            QDomImplementation::setInvalidDataPolicy(a0);
            Py_END_ALLOW_THREADS

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QDomImplementation, sipName_setInvalidDataPolicy, doc_QDomImplementation_setInvalidDataPolicy);

    return NULL;
}


extern "C" {static PyObject *slot_QDomImplementation___ne__(PyObject *,PyObject *);}
static PyObject *slot_QDomImplementation___ne__(PyObject *sipSelf,PyObject *sipArg)
{
    QDomImplementation *sipCpp = reinterpret_cast<QDomImplementation *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDomImplementation));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDomImplementation* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDomImplementation, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDomImplementation::operator!=(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtXml,ne_slot,sipType_QDomImplementation,sipSelf,sipArg);
}


extern "C" {static PyObject *slot_QDomImplementation___eq__(PyObject *,PyObject *);}
static PyObject *slot_QDomImplementation___eq__(PyObject *sipSelf,PyObject *sipArg)
{
    QDomImplementation *sipCpp = reinterpret_cast<QDomImplementation *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QDomImplementation));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const QDomImplementation* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QDomImplementation, &a0))
        {
            bool sipRes;

            Py_BEGIN_ALLOW_THREADS
            sipRes = sipCpp->QDomImplementation::operator==(*a0);
            Py_END_ALLOW_THREADS

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtXml,eq_slot,sipType_QDomImplementation,sipSelf,sipArg);
}


/* Cast a pointer to a type somewhere in its superclass hierarchy. */
extern "C" {static void *cast_QDomImplementation(void *, const sipTypeDef *);}
static void *cast_QDomImplementation(void *ptr, const sipTypeDef *targetType)
{
    if (targetType == sipType_QDomImplementation)
        return ptr;

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QDomImplementation(void *, int);}
static void release_QDomImplementation(void *sipCppV,int)
{
    Py_BEGIN_ALLOW_THREADS

    delete reinterpret_cast<QDomImplementation *>(sipCppV);

    Py_END_ALLOW_THREADS
}


extern "C" {static void assign_QDomImplementation(void *, SIP_SSIZE_T, const void *);}
static void assign_QDomImplementation(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QDomImplementation *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QDomImplementation *>(sipSrc);
}


extern "C" {static void *array_QDomImplementation(SIP_SSIZE_T);}
static void *array_QDomImplementation(SIP_SSIZE_T sipNrElem)
{
    return new QDomImplementation[sipNrElem];
}


extern "C" {static void *copy_QDomImplementation(const void *, SIP_SSIZE_T);}
static void *copy_QDomImplementation(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QDomImplementation(reinterpret_cast<const QDomImplementation *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QDomImplementation(sipSimpleWrapper *);}
static void dealloc_QDomImplementation(sipSimpleWrapper *sipSelf)
{
    if (sipIsPyOwned(sipSelf))
    {
        release_QDomImplementation(sipGetAddress(sipSelf),0);
    }
}


extern "C" {static void *init_type_QDomImplementation(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QDomImplementation(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
    QDomImplementation *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomImplementation();
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    {
        const QDomImplementation* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QDomImplementation, &a0))
        {
            Py_BEGIN_ALLOW_THREADS
            sipCpp = new QDomImplementation(*a0);
            Py_END_ALLOW_THREADS

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QDomImplementation[] = {
    {(void *)slot_QDomImplementation___ne__, ne_slot},
    {(void *)slot_QDomImplementation___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QDomImplementation[] = {
    {SIP_MLNAME_CAST(sipName_createDocument), meth_QDomImplementation_createDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomImplementation_createDocument)},
    {SIP_MLNAME_CAST(sipName_createDocumentType), meth_QDomImplementation_createDocumentType, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomImplementation_createDocumentType)},
    {SIP_MLNAME_CAST(sipName_hasFeature), meth_QDomImplementation_hasFeature, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomImplementation_hasFeature)},
    {SIP_MLNAME_CAST(sipName_invalidDataPolicy), meth_QDomImplementation_invalidDataPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomImplementation_invalidDataPolicy)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QDomImplementation_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomImplementation_isNull)},
    {SIP_MLNAME_CAST(sipName_setInvalidDataPolicy), meth_QDomImplementation_setInvalidDataPolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QDomImplementation_setInvalidDataPolicy)}
};

static sipEnumMemberDef enummembers_QDomImplementation[] = {
    {sipName_AcceptInvalidChars, static_cast<int>(QDomImplementation::AcceptInvalidChars), 11},
    {sipName_DropInvalidChars, static_cast<int>(QDomImplementation::DropInvalidChars), 11},
    {sipName_ReturnNullNode, static_cast<int>(QDomImplementation::ReturnNullNode), 11},
};

PyDoc_STRVAR(doc_QDomImplementation, "\1QDomImplementation()\n"
    "QDomImplementation(QDomImplementation)");


pyqt4ClassTypeDef sipTypeDef_QtXml_QDomImplementation = {
{
    {
        -1,
        0,
        0,
        SIP_TYPE_CLASS,
        sipNameNr_QDomImplementation,
        {0}
    },
    {
        sipNameNr_QDomImplementation,
        {0, 0, 1},
        6, methods_QDomImplementation,
        3, enummembers_QDomImplementation,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QDomImplementation,
    sipNameNr_PyQt4_QtCore_pyqtWrapperType,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QDomImplementation,
    init_type_QDomImplementation,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QDomImplementation,
    assign_QDomImplementation,
    array_QDomImplementation,
    copy_QDomImplementation,
    release_QDomImplementation,
    cast_QDomImplementation,
    0,
    0,
    0,
    0,
    0,
    0
},
    0,
    0,
    0
};
