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

#include "sipAPIQtWebKit.h"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 29 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 32 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 35 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 38 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 41 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 44 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 47 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 75 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 52 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 55 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 58 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 61 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 66 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 71 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qdatastream.sip"
#include <qdatastream.h>
#line 74 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 45 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebhistory.sip"
#include <qwebhistory.h>
#line 77 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebelement.sip"
#include <qwebelement.h>
#line 80 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebelement.sip"
#include <qwebelement.h>
#line 83 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 88 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

/* Define the strings used by this module. */
const char sipStrings_QtWebKit[] = {
    'Q', 'W', 'e', 'b', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', ':', ':', 'T', 'h', 'i', 'r', 'd', 'P', 'a', 'r', 't', 'y', 'C', 'o', 'o', 'k', 'i', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'Q', 'W', 'e', 'b', 'S', 'e', 'c', 'u', 'r', 'i', 't', 'y', 'O', 'r', 'i', 'g', 'i', 'n', ':', ':', 'S', 'u', 'b', 'd', 'o', 'm', 'a', 'i', 'n', 'S', 'e', 't', 't', 'i', 'n', 'g', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'W', 'e', 'b', 'P', 'l', 'u', 'g', 'i', 'n', 'F', 'a', 'c', 't', 'o', 'r', 'y', ':', ':', 'M', 'i', 'm', 'e', 'T', 'y', 'p', 'e', '>', 0,
    'A', 'l', 'l', 'o', 'w', 'T', 'h', 'i', 'r', 'd', 'P', 'a', 'r', 't', 'y', 'W', 'i', 't', 'h', 'E', 'x', 'i', 's', 't', 'i', 'n', 'g', 'C', 'o', 'o', 'k', 'i', 'e', 's', 0,
    's', 'e', 't', 'O', 'f', 'f', 'l', 'i', 'n', 'e', 'W', 'e', 'b', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'C', 'a', 'c', 'h', 'e', 'Q', 'u', 'o', 't', 'a', 0,
    'Q', 'W', 'e', 'b', 'P', 'l', 'u', 'g', 'i', 'n', 'F', 'a', 'c', 't', 'o', 'r', 'y', ':', ':', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'R', 'e', 't', 'u', 'r', 'n', 0,
    'Q', 'W', 'e', 'b', 'P', 'l', 'u', 'g', 'i', 'n', 'F', 'a', 'c', 't', 'o', 'r', 'y', ':', ':', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 'O', 'p', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'O', 'f', 'f', 'l', 'i', 'n', 'e', 'W', 'e', 'b', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'C', 'a', 'c', 'h', 'e', 'P', 'a', 't', 'h', 0,
    'O', 'f', 'f', 'l', 'i', 'n', 'e', 'W', 'e', 'b', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'C', 'a', 'c', 'h', 'e', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'Q', 'W', 'e', 'b', 'E', 'l', 'e', 'm', 'e', 'n', 't', ':', ':', 'S', 't', 'y', 'l', 'e', 'R', 'e', 's', 'o', 'l', 'v', 'e', 'S', 't', 'r', 'a', 't', 'e', 'g', 'y', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'W', 'e', 'b', 'P', 'l', 'u', 'g', 'i', 'n', 'F', 'a', 'c', 't', 'o', 'r', 'y', ':', ':', 'P', 'l', 'u', 'g', 'i', 'n', '>', 0,
    'S', 'e', 'a', 'r', 'c', 'h', 'C', 'a', 'n', 'c', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', 'P', 'r', 'e', 's', 's', 'e', 'd', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 0,
    'o', 'f', 'f', 'l', 'i', 'n', 'e', 'W', 'e', 'b', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'C', 'a', 'c', 'h', 'e', 'Q', 'u', 'o', 't', 'a', 0,
    'L', 'o', 'c', 'a', 'l', 'C', 'o', 'n', 't', 'e', 'n', 't', 'C', 'a', 'n', 'A', 'c', 'c', 'e', 's', 's', 'R', 'e', 'm', 'o', 't', 'e', 'U', 'r', 'l', 's', 0,
    'o', 'f', 'f', 'l', 'i', 'n', 'e', 'W', 'e', 'b', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'C', 'a', 'c', 'h', 'e', 'P', 'a', 't', 'h', 0,
    's', 'e', 't', 'O', 'f', 'f', 'l', 'i', 'n', 'e', 'S', 't', 'o', 'r', 'a', 'g', 'e', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'Q', 'u', 'o', 't', 'a', 0,
    'T', 'e', 'x', 't', 'A', 'r', 'e', 'a', 'S', 'i', 'z', 'e', 'G', 'r', 'i', 'p', 'C', 'o', 'r', 'n', 'e', 'r', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 0,
    'L', 'o', 'c', 'a', 'l', 'C', 'o', 'n', 't', 'e', 'n', 't', 'C', 'a', 'n', 'A', 'c', 'c', 'e', 's', 's', 'F', 'i', 'l', 'e', 'U', 'r', 'l', 's', 0,
    'A', 'c', 'c', 'e', 'l', 'e', 'r', 'a', 't', 'e', 'd', 'C', 'o', 'm', 'p', 'o', 's', 'i', 't', 'i', 'n', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'O', 'f', 'f', 'l', 'i', 'n', 'e', 'S', 't', 'o', 'r', 'a', 'g', 'e', 'D', 'a', 't', 'a', 'b', 'a', 's', 'e', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'A', 'l', 'w', 'a', 'y', 's', 'B', 'l', 'o', 'c', 'k', 'T', 'h', 'i', 'r', 'd', 'P', 'a', 'r', 't', 'y', 'C', 'o', 'o', 'k', 'i', 'e', 's', 0,
    'A', 'l', 'w', 'a', 'y', 's', 'A', 'l', 'l', 'o', 'w', 'T', 'h', 'i', 'r', 'd', 'P', 'a', 'r', 't', 'y', 'C', 'o', 'o', 'k', 'i', 'e', 's', 0,
    'J', 'a', 'v', 'a', 's', 'c', 'r', 'i', 'p', 't', 'C', 'a', 'n', 'A', 'c', 'c', 'e', 's', 's', 'C', 'l', 'i', 'p', 'b', 'o', 'a', 'r', 'd', 0,
    'Q', 'W', 'e', 'b', 'P', 'l', 'u', 'g', 'i', 'n', 'F', 'a', 'c', 't', 'o', 'r', 'y', ':', ':', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 0,
    'L', 'o', 'c', 'a', 'l', 'S', 't', 'o', 'r', 'a', 'g', 'e', 'D', 'a', 't', 'a', 'b', 'a', 's', 'e', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'Q', 'W', 'e', 'b', 'P', 'l', 'u', 'g', 'i', 'n', 'F', 'a', 'c', 't', 'o', 'r', 'y', ':', ':', 'M', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 0,
    'o', 'f', 'f', 'l', 'i', 'n', 'e', 'S', 't', 'o', 'r', 'a', 'g', 'e', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'Q', 'u', 'o', 't', 'a', 0,
    'A', 'c', 'c', 'e', 'l', 'e', 'r', 'a', 't', 'e', 'd', '2', 'd', 'C', 'a', 'n', 'v', 'a', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'Q', 'W', 'e', 'b', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', ':', ':', 'W', 'e', 'b', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 'c', 'c', 'e', 's', 's', 'W', 'h', 'i', 't', 'e', 'l', 'i', 's', 't', 'E', 'n', 't', 'r', 'y', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'W', 'e', 'b', 'S', 'e', 'c', 'u', 'r', 'i', 't', 'y', 'O', 'r', 'i', 'g', 'i', 'n', '>', 0,
    's', 'e', 't', 'T', 'h', 'i', 'r', 'd', 'P', 'a', 'r', 't', 'y', 'C', 'o', 'o', 'k', 'i', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'S', 'e', 'a', 'r', 'c', 'h', 'C', 'a', 'n', 'c', 'e', 'l', 'B', 'u', 't', 't', 'o', 'n', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 0,
    'S', 'i', 't', 'e', 'S', 'p', 'e', 'c', 'i', 'f', 'i', 'c', 'Q', 'u', 'i', 'r', 'k', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'L', 'i', 'n', 'k', 's', 'I', 'n', 'c', 'l', 'u', 'd', 'e', 'd', 'I', 'n', 'F', 'o', 'c', 'u', 's', 'C', 'h', 'a', 'i', 'n', 0,
    'J', 'a', 'v', 'a', 's', 'c', 'r', 'i', 'p', 't', 'C', 'a', 'n', 'C', 'l', 'o', 's', 'e', 'W', 'i', 'n', 'd', 'o', 'w', 's', 0,
    'Q', 'W', 'e', 'b', 'P', 'l', 'u', 'g', 'i', 'n', 'F', 'a', 'c', 't', 'o', 'r', 'y', ':', ':', 'P', 'l', 'u', 'g', 'i', 'n', 0,
    's', 'e', 't', 'O', 'b', 'j', 'e', 'c', 't', 'C', 'a', 'c', 'h', 'e', 'C', 'a', 'p', 'a', 'c', 'i', 't', 'i', 'e', 's', 0,
    'I', 'n', 'p', 'u', 't', 'S', 'p', 'e', 'e', 'c', 'h', 'B', 'u', 't', 't', 'o', 'n', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 0,
    'Q', 'W', 'e', 'b', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', ':', ':', 'W', 'e', 'b', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 0,
    'H', 'y', 'p', 'e', 'r', 'l', 'i', 'n', 'k', 'A', 'u', 'd', 'i', 't', 'i', 'n', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'T', 'i', 'l', 'e', 'd', 'B', 'a', 'c', 'k', 'i', 'n', 'g', 'S', 't', 'o', 'r', 'e', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'S', 'p', 'a', 't', 'i', 'a', 'l', 'N', 'a', 'v', 'i', 'g', 'a', 't', 'i', 'o', 'n', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'J', 'a', 'v', 'a', 's', 'c', 'r', 'i', 'p', 't', 'C', 'a', 'n', 'O', 'p', 'e', 'n', 'W', 'i', 'n', 'd', 'o', 'w', 's', 0,
    'Q', 'W', 'e', 'b', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', ':', ':', 'F', 'o', 'n', 't', 'F', 'a', 'm', 'i', 'l', 'y', 0,
    's', 'e', 't', 'A', 'p', 'p', 'l', 'i', 'c', 'a', 't', 'i', 'o', 'n', 'C', 'a', 'c', 'h', 'e', 'Q', 'u', 'o', 't', 'a', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'P', 'e', 'r', 's', 'i', 's', 't', 'e', 'n', 't', 'S', 't', 'o', 'r', 'a', 'g', 'e', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'F', 'r', 'a', 'm', 'e', 'I', 'c', 'o', 'n', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 0,
    'P', 'r', 'i', 'n', 't', 'E', 'l', 'e', 'm', 'e', 'n', 't', 'B', 'a', 'c', 'k', 'g', 'r', 'o', 'u', 'n', 'd', 's', 0,
    'a', 'd', 'd', 'A', 'c', 'c', 'e', 's', 's', 'W', 'h', 'i', 't', 'e', 'l', 'i', 's', 't', 'E', 'n', 't', 'r', 'y', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'W', 'e', 'b', 'H', 'i', 's', 't', 'o', 'r', 'y', 'I', 't', 'e', 'm', '>', 0,
    't', 'h', 'i', 'r', 'd', 'P', 'a', 'r', 't', 'y', 'C', 'o', 'o', 'k', 'i', 'e', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'T', 'e', 'x', 't', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 0,
    's', 'e', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'P', 'a', 'g', 'e', 's', 'I', 'n', 'C', 'a', 'c', 'h', 'e', 0,
    'M', 'i', 'n', 'i', 'm', 'u', 'm', 'L', 'o', 'g', 'i', 'c', 'a', 'l', 'F', 'o', 'n', 't', 'S', 'i', 'z', 'e', 0,
    'Q', 'W', 'e', 'b', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', ':', ':', 'F', 'o', 'n', 't', 'S', 'i', 'z', 'e', 0,
    'F', 'r', 'a', 'm', 'e', 'F', 'l', 'a', 't', 't', 'e', 'n', 'i', 'n', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'D', 'e', 'v', 'e', 'l', 'o', 'p', 'e', 'r', 'E', 'x', 't', 'r', 'a', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'P', 'r', 'i', 'v', 'a', 't', 'e', 'B', 'r', 'o', 'w', 's', 'i', 'n', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'O', 'f', 'f', 'l', 'i', 'n', 'e', 'S', 't', 'o', 'r', 'a', 'g', 'e', 'P', 'a', 't', 'h', 0,
    'S', 'c', 'r', 'o', 'l', 'l', 'A', 'n', 'i', 'm', 'a', 't', 'o', 'r', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'Q', 'W', 'e', 'b', 'E', 'l', 'e', 'm', 'e', 'n', 't', 'C', 'o', 'l', 'l', 'e', 'c', 't', 'i', 'o', 'n', 0,
    's', 'e', 't', 'U', 's', 'e', 'r', 'S', 't', 'y', 'l', 'e', 'S', 'h', 'e', 'e', 't', 'U', 'r', 'l', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'F', 'i', 'x', 'e', 'd', 'F', 'o', 'n', 't', 'S', 'i', 'z', 'e', 0,
    'M', 'i', 's', 's', 'i', 'n', 'g', 'P', 'l', 'u', 'g', 'i', 'n', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 0,
    'N', 'o', 't', 'i', 'f', 'i', 'c', 'a', 't', 'i', 'o', 'n', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'C', 'a', 'r', 'e', 't', 'B', 'r', 'o', 'w', 's', 'i', 'n', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'C', 'S', 'S', 'G', 'r', 'i', 'd', 'L', 'a', 'y', 'o', 'u', 't', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'Q', 'W', 'e', 'b', 'H', 'i', 's', 't', 'o', 'r', 'y', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'W', 'e', 'b', 'D', 'a', 't', 'a', 'b', 'a', 's', 'e', '>', 0,
    's', 'e', 't', 'L', 'o', 'c', 'a', 'l', 'S', 't', 'o', 'r', 'a', 'g', 'e', 'P', 'a', 't', 'h', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'T', 'e', 'x', 't', 'E', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 0,
    'm', 'a', 'x', 'i', 'm', 'u', 'm', 'P', 'a', 'g', 'e', 's', 'I', 'n', 'C', 'a', 'c', 'h', 'e', 0,
    's', 'e', 't', 'I', 'c', 'o', 'n', 'D', 'a', 't', 'a', 'b', 'a', 's', 'e', 'P', 'a', 't', 'h', 0,
    'M', 'i', 's', 's', 'i', 'n', 'g', 'I', 'm', 'a', 'g', 'e', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 0,
    'L', 'o', 'c', 'a', 'l', 'S', 't', 'o', 'r', 'a', 'g', 'e', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    's', 'e', 't', 'D', 'e', 'f', 'a', 'u', 'l', 't', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    's', 'e', 't', 'M', 'a', 'x', 'i', 'm', 'u', 'm', 'I', 't', 'e', 'm', 'C', 'o', 'u', 'n', 't', 0,
    'q', 'W', 'e', 'b', 'K', 'i', 't', 'M', 'i', 'n', 'o', 'r', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'q', 'W', 'e', 'b', 'K', 'i', 't', 'M', 'a', 'j', 'o', 'r', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'e', 'n', 'c', 'l', 'o', 's', 'e', 'C', 'o', 'n', 't', 'e', 'n', 't', 's', 'W', 'i', 't', 'h', 0,
    'Q', 'L', 'i', 's', 't', '<', 'Q', 'W', 'e', 'b', 'E', 'l', 'e', 'm', 'e', 'n', 't', '>', 0,
    'o', 'f', 'f', 'l', 'i', 'n', 'e', 'S', 't', 'o', 'r', 'a', 'g', 'e', 'P', 'a', 't', 'h', 0,
    'X', 'S', 'S', 'A', 'u', 'd', 'i', 't', 'i', 'n', 'g', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'D', 'n', 's', 'P', 'r', 'e', 'f', 'e', 't', 'c', 'h', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'D', 'i', 's', 'a', 'l', 'l', 'o', 'w', 'S', 'u', 'b', 'd', 'o', 'm', 'a', 'i', 'n', 's', 0,
    'Q', 'W', 'e', 'b', 'S', 'e', 'c', 'u', 'r', 'i', 't', 'y', 'O', 'r', 'i', 'g', 'i', 'n', 0,
    'e', 'v', 'a', 'l', 'u', 'a', 't', 'e', 'J', 'a', 'v', 'a', 'S', 'c', 'r', 'i', 'p', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'F', 'r', 'o', 'm', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 'l', 'l', 'D', 'a', 't', 'a', 'b', 'a', 's', 'e', 's', 0,
    'c', 'l', 'e', 'a', 'r', 'M', 'e', 'm', 'o', 'r', 'y', 'C', 'a', 'c', 'h', 'e', 's', 0,
    'c', 'l', 'e', 'a', 'r', 'I', 'c', 'o', 'n', 'D', 'a', 't', 'a', 'b', 'a', 's', 'e', 0,
    'u', 's', 'e', 'r', 'S', 't', 'y', 'l', 'e', 'S', 'h', 'e', 'e', 't', 'U', 'r', 'l', 0,
    'C', 'S', 'S', 'R', 'e', 'g', 'i', 'o', 'n', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'J', 'a', 'v', 'a', 's', 'c', 'r', 'i', 'p', 't', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'L', 'o', 'c', 'a', 'l', 'S', 'c', 'h', 'e', 'm', 'e', 0,
    's', 'u', 'p', 'p', 'o', 'r', 't', 's', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 0,
    'Q', 'W', 'e', 'b', 'P', 'l', 'u', 'g', 'i', 'n', 'F', 'a', 'c', 't', 'o', 'r', 'y', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 'l', 'l', 'C', 'h', 'i', 'l', 'd', 'r', 'e', 'n', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'S', 0,
    'i', 's', 'S', 'i', 'g', 'n', 'a', 'l', 'C', 'o', 'n', 'n', 'e', 'c', 't', 'e', 'd', 0,
    's', 'e', 'n', 'd', 'e', 'r', 'S', 'i', 'g', 'n', 'a', 'l', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'i', 'p', '.', 's', 'i', 'm', 'p', 'l', 'e', 'w', 'r', 'a', 'p', 'p', 'e', 'r', 0,
    'l', 'o', 'c', 'a', 'l', 'S', 't', 'o', 'r', 'a', 'g', 'e', 'P', 'a', 't', 'h', 0,
    'i', 'c', 'o', 'n', 'D', 'a', 't', 'a', 'b', 'a', 's', 'e', 'P', 'a', 't', 'h', 0,
    's', 'e', 't', 'D', 'a', 't', 'a', 'b', 'a', 's', 'e', 'Q', 'u', 'o', 't', 'a', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'I', 'n', 't', 'e', 'r', 'f', 'a', 'c', 'e', 0,
    'm', 'a', 'x', 'i', 'm', 'u', 'm', 'I', 't', 'e', 'm', 'C', 'o', 'u', 'n', 't', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'I', 't', 'e', 'm', 'I', 'n', 'd', 'e', 'x', 0,
    's', 'e', 't', 'S', 't', 'y', 'l', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    't', 'a', 'k', 'e', 'F', 'r', 'o', 'm', 'D', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'd', 'i', 's', 'c', 'o', 'n', 'n', 'e', 'c', 't', 'N', 'o', 't', 'i', 'f', 'y', 0,
    's', 'e', 't', 'C', 'S', 'S', 'M', 'e', 'd', 'i', 'a', 'T', 'y', 'p', 'e', 0,
    'r', 'e', 's', 'e', 't', 'F', 'o', 'n', 't', 'F', 'a', 'm', 'i', 'l', 'y', 0,
    'D', 'e', 'f', 'a', 'u', 'l', 't', 'F', 'o', 'n', 't', 'S', 'i', 'z', 'e', 0,
    'M', 'i', 'n', 'i', 'm', 'u', 'm', 'F', 'o', 'n', 't', 'S', 'i', 'z', 'e', 0,
    'W', 'e', 'b', 'A', 'u', 'd', 'i', 'o', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'A', 'l', 'l', 'o', 'w', 'S', 'u', 'b', 'd', 'o', 'm', 'a', 'i', 'n', 's', 0,
    'a', 'd', 'd', 'H', 'i', 's', 't', 'o', 'r', 'y', 'E', 'n', 't', 'r', 'y', 0,
    'h', 'i', 's', 't', 'o', 'r', 'y', 'C', 'o', 'n', 't', 'a', 'i', 'n', 's', 0,
    'Q', 'W', 'e', 'b', 'H', 'i', 's', 't', 'o', 'r', 'y', 'I', 't', 'e', 'm', 0,
    'p', 'r', 'e', 'v', 'i', 'o', 'u', 's', 'S', 'i', 'b', 'l', 'i', 'n', 'g', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'i', 'n', 't', 'e', 'r', 'n', 'a', 'l', '_', 'f', 'o', 'r', 'm', 'a', 't', 0,
    'a', 's', 'p', 'e', 'c', 't', 'R', 'a', 't', 'i', 'o', 'M', 'o', 'd', 'e', 0,
    'r', 'e', 's', 'e', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'g', 'l', 'o', 'b', 'a', 'l', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 0,
    'P', 'l', 'u', 'g', 'i', 'n', 's', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'A', 'u', 't', 'o', 'L', 'o', 'a', 'd', 'I', 'm', 'a', 'g', 'e', 's', 0,
    'a', 'd', 'd', 'L', 'o', 'c', 'a', 'l', 'S', 'c', 'h', 'e', 'm', 'e', 0,
    'r', 'e', 'f', 'r', 'e', 's', 'h', 'P', 'l', 'u', 'g', 'i', 'n', 's', 0,
    'f', 'i', 'l', 'e', 'E', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 's', 0,
    'q', 'W', 'e', 'b', 'K', 'i', 't', 'V', 'e', 'r', 's', 'i', 'o', 'n', 0,
    'p', 'r', 'e', 'p', 'e', 'n', 'd', 'O', 'u', 't', 's', 'i', 'd', 'e', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'a', 'm', '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,
    'r', 'e', 'm', 'o', 'v', 'e', 'D', 'a', 't', 'a', 'b', 'a', 's', 'e', 0,
    'P', 'y', 'Q', 't', '5', '.', 'Q', 't', 'W', 'e', 'b', 'K', 'i', 't', 0,
    's', 'e', 't', 'W', 'e', 'b', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 0,
    'r', 'e', 's', 'e', 't', 'F', 'o', 'n', 't', 'S', 'i', 'z', 'e', 0,
    'S', 'a', 'n', 's', 'S', 'e', 'r', 'i', 'f', 'F', 'o', 'n', 't', 0,
    'd', 'a', 't', 'a', 'b', 'a', 's', 'e', 'Q', 'u', 'o', 't', 'a', 0,
    'd', 'a', 't', 'a', 'b', 'a', 's', 'e', 'U', 's', 'a', 'g', 'e', 0,
    's', 't', 'y', 'l', 'e', 'P', 'r', 'o', 'p', 'e', 'r', 't', 'y', 0,
    'C', 'o', 'm', 'p', 'u', 't', 'e', 'd', 'S', 't', 'y', 'l', 'e', 0,
    'C', 'a', 's', 'c', 'a', 'd', 'e', 'd', 'S', 't', 'y', 'l', 'e', 0,
    'a', 'p', 'p', 'e', 'n', 'd', 'O', 'u', 't', 's', 'i', 'd', 'e', 0,
    'p', 'r', 'e', 'p', 'e', 'n', 'd', 'I', 'n', 's', 'i', 'd', 'e', 0,
    'h', 'a', 's', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 's', 0,
    't', 'r', 'a', 'n', 's', 'f', 'o', 'r', 'm', 'M', 'o', 'd', 'e', 0,
    't', 'e', 's', 't', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'c', 's', 's', 'M', 'e', 'd', 'i', 'a', 'T', 'y', 'p', 'e', 0,
    'W', 'e', 'b', 'G', 'L', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'Z', 'o', 'o', 'm', 'T', 'e', 'x', 't', 'O', 'n', 'l', 'y', 0,
    'S', 't', 'a', 'n', 'd', 'a', 'r', 'd', 'F', 'o', 'n', 't', 0,
    'Q', 'W', 'e', 'b', 'S', 'e', 't', 't', 'i', 'n', 'g', 's', 0,
    'l', 'o', 'c', 'a', 'l', 'S', 'c', 'h', 'e', 'm', 'e', 's', 0,
    'c', 'a', 'n', 'G', 'o', 'F', 'o', 'r', 'w', 'a', 'r', 'd', 0,
    'f', 'o', 'r', 'w', 'a', 'r', 'd', 'I', 't', 'e', 'm', 's', 0,
    'a', 'p', 'p', 'e', 'n', 'd', 'I', 'n', 's', 'i', 'd', 'e', 0,
    'e', 'x', 'p', 'e', 'c', 't', 'e', 'd', 'S', 'i', 'z', 'e', 0,
    'Q', 'W', 'e', 'b', 'D', 'a', 't', 'a', 'b', 'a', 's', 'e', 0,
    's', 'e', 't', 'P', 'l', 'a', 'i', 'n', 'T', 'e', 'x', 't', 0,
    'b', 'o', 'u', 'n', 'd', 'i', 'n', 'g', 'R', 'e', 'c', 't', 0,
    'h', 'a', 's', 'A', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'n', 'a', 'm', 'e', 's', 'p', 'a', 'c', 'e', 'U', 'r', 'i', 0,
    'd', 'e', 'f', 'a', 'u', 'l', 't', 'V', 'a', 'l', 'u', 'e', 0,
    'J', 'a', 'v', 'a', 'E', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    'F', 'a', 'n', 't', 'a', 's', 'y', 'F', 'o', 'n', 't', 0,
    'C', 'u', 'r', 's', 'i', 'v', 'e', 'F', 'o', 'n', 't', 0,
    'f', 'o', 'r', 'w', 'a', 'r', 'd', 'I', 't', 'e', 'm', 0,
    'c', 'u', 'r', 'r', 'e', 'n', 't', 'I', 't', 'e', 'm', 0,
    'Q', 'W', 'e', 'b', 'H', 'i', 's', 't', 'o', 'r', 'y', 0,
    'l', 'a', 's', 't', 'V', 'i', 's', 'i', 't', 'e', 'd', 0,
    'o', 'r', 'i', 'g', 'i', 'n', 'a', 'l', 'U', 'r', 'l', 0,
    'I', 'n', 'l', 'i', 'n', 'e', 'S', 't', 'y', 'l', 'e', 0,
    'e', 'n', 'c', 'l', 'o', 's', 'e', 'W', 'i', 't', 'h', 0,
    'n', 'e', 'x', 't', 'S', 'i', 'b', 'l', 'i', 'n', 'g', 0,
    't', 'o', 'g', 'g', 'l', 'e', 'C', 'l', 'a', 's', 's', 0,
    'r', 'e', 'm', 'o', 'v', 'e', 'C', 'l', 'a', 's', 's', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 'N', 'S', 0,
    's', 'e', 't', 'I', 'n', 'n', 'e', 'r', 'X', 'm', 'l', 0,
    's', 'e', 't', 'O', 'u', 't', 'e', 'r', 'X', 'm', 'l', 0,
    'Q', 'W', 'e', 'b', 'E', 'l', 'e', 'm', 'e', 'n', 't', 0,
    's', 'e', 't', 'U', 's', 'e', 'r', 'D', 'a', 't', 'a', 0,
    't', 'o', 'P', 'l', 'a', 'i', 'n', 'T', 'e', 'x', 't', 0,
    'm', 'a', 't', 'c', 'h', 'P', 'o', 'l', 'i', 'c', 'y', 0,
    'd', 'i', 's', 'p', 'l', 'a', 'y', 'N', 'a', 'm', 'e', 0,
    'c', 'u', 's', 't', 'o', 'm', 'E', 'v', 'e', 'n', 't', 0,
    'e', 'v', 'e', 'n', 't', 'F', 'i', 'l', 't', 'e', 'r', 0,
    'd', 'e', 's', 'c', 'r', 'i', 'p', 't', 'i', 'o', 'n', 0,
    '_', '_', 'g', 'e', 't', 'i', 't', 'e', 'm', '_', '_', 0,
    'w', 'e', 'b', 'G', 'r', 'a', 'p', 'h', 'i', 'c', 0,
    'i', 'c', 'o', 'n', 'F', 'o', 'r', 'U', 'r', 'l', 0,
    'a', 'l', 'l', 'O', 'r', 'i', 'g', 'i', 'n', 's', 0,
    'f', 'i', 'r', 's', 't', 'C', 'h', 'i', 'l', 'd', 0,
    't', 'o', 'I', 'n', 'n', 'e', 'r', 'X', 'm', 'l', 0,
    't', 'o', 'O', 'u', 't', 'e', 'r', 'X', 'm', 'l', 0,
    'f', 'o', 'n', 't', 'F', 'a', 'm', 'i', 'l', 'y', 0,
    'g', 'e', 'n', 'M', 'i', 'p', 'M', 'a', 'p', 's', 0,
    'c', 'h', 'i', 'l', 'd', 'E', 'v', 'e', 'n', 't', 0,
    't', 'i', 'm', 'e', 'r', 'E', 'v', 'e', 'n', 't', 0,
    '_', '_', 'r', 's', 'h', 'i', 'f', 't', '_', '_', 0,
    '_', '_', 'l', 's', 'h', 'i', 'f', 't', '_', '_', 0,
    'd', 'a', 't', 'a', 'b', 'a', 's', 'e', 's', 0,
    'c', 'a', 'n', 'G', 'o', 'B', 'a', 'c', 'k', 0,
    'b', 'a', 'c', 'k', 'I', 't', 'e', 'm', 's', 0,
    'l', 'a', 's', 't', 'C', 'h', 'i', 'l', 'd', 0,
    'l', 'o', 'c', 'a', 'l', 'N', 'a', 'm', 'e', 0,
    'f', 'i', 'n', 'd', 'F', 'i', 'r', 's', 't', 0,
    'Q', 'W', 'e', 'b', 'F', 'r', 'a', 'm', 'e', 0,
    'o', 'p', 'e', 'r', 'a', 't', 'i', 'o', 'n', 0,
    'e', 'x', 't', 'e', 'n', 's', 'i', 'o', 'n', 0,
    'F', 'i', 'x', 'e', 'd', 'F', 'o', 'n', 't', 0,
    'd', 'i', 'r', 'e', 'c', 't', 'o', 'r', 'y', 0,
    'a', 'l', 'i', 'g', 'n', 'm', 'e', 'n', 't', 0,
    'r', 'e', 'c', 'e', 'i', 'v', 'e', 'r', 's', 0,
    'a', 't', 't', 'r', 'i', 'b', 'u', 't', 'e', 0,
    'p', 'r', 'e', 'c', 'i', 's', 'i', 'o', 'n', 0,
    'm', 'i', 'm', 'e', 'T', 'y', 'p', 'e', 's', 0,
    'f', 'o', 'n', 't', 'S', 'i', 'z', 'e', 0,
    'b', 'a', 'c', 'k', 'I', 't', 'e', 'm', 0,
    'g', 'o', 'T', 'o', 'I', 't', 'e', 'm', 0,
    'w', 'e', 'b', 'F', 'r', 'a', 'm', 'e', 0,
    's', 'e', 't', 'F', 'o', 'c', 'u', 's', 0,
    'h', 'a', 's', 'F', 'o', 'c', 'u', 's', 0,
    'a', 'd', 'd', 'C', 'l', 'a', 's', 's', 0,
    'h', 'a', 's', 'C', 'l', 'a', 's', 's', 0,
    'p', 'r', 'o', 't', 'o', 'c', 'o', 'l', 0,
    'u', 's', 'e', 'r', 'D', 'a', 't', 'a', 0,
    'e', 'n', 'c', 'o', 'd', 'i', 'n', 'g', 0,
    'g', 'e', 'o', 'm', 'e', 't', 'r', 'y', 0,
    'f', 'i', 'l', 'l', 'R', 'u', 'l', 'e', 0,
    't', 'a', 'b', 'A', 'r', 'r', 'a', 'y', 0,
    't', 'a', 'b', 'S', 't', 'o', 'p', 's', 0,
    'd', 'o', 'c', 'u', 'm', 'e', 'n', 't', 0,
    'n', 'a', 'm', 'e', 'T', 'y', 'p', 'e', 0,
    'p', 'o', 's', 'i', 't', 'i', 'o', 'n', 0,
    'f', 'i', 'l', 'e', 'N', 'a', 'm', 'e', 0,
    '_', '_', 'i', 'a', 'd', 'd', '_', '_', 0,
    'p', 'l', 'u', 'g', 'i', 'n', 's', 0,
    'f', 'o', 'r', 'w', 'a', 'r', 'd', 0,
    'c', 'l', 'a', 's', 's', 'e', 's', 0,
    'f', 'i', 'n', 'd', 'A', 'l', 'l', 0,
    't', 'a', 'g', 'N', 'a', 'm', 'e', 0,
    'e', 'x', 'p', 'o', 's', 'e', 'd', 0,
    'b', 'u', 'f', 'f', 'e', 'r', 's', 0,
    's', 'o', 'u', 'r', 'c', 'e', 's', 0,
    'q', 'u', 'a', 'l', 'i', 't', 'y', 0,
    'f', 'i', 'l', 't', 'e', 'r', 's', 0,
    'e', 'n', 'a', 'b', 'l', 'e', 'd', 0,
    '_', '_', 'a', 'd', 'd', '_', '_', 0,
    'o', 'p', 't', 'i', 'o', 'n', 's', 0,
    'r', 'e', 'p', 'l', 'a', 'c', 'e', 0,
    '_', '_', 'l', 'e', 'n', '_', '_', 0,
    'i', 's', 'V', 'a', 'l', 'i', 'd', 0,
    'o', 'u', 't', 'p', 'u', 't', 0,
    'i', 't', 'e', 'm', 'A', 't', 0,
    't', 'o', 'L', 'i', 's', 't', 0,
    'r', 'e', 'n', 'd', 'e', 'r', 0,
    'o', 'r', 'i', 'g', 'i', 'n', 0,
    's', 't', 'r', 'i', 'd', 'e', 0,
    's', 'c', 'h', 'e', 'm', 'e', 0,
    'c', 'r', 'e', 'a', 't', 'e', 0,
    'p', 'r', 'o', 'p', 'e', 'r', 0,
    's', 'e', 'n', 'd', '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', '2', 0,
    'v', 'a', 'l', 'u', 'e', '1', 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', 'i', 'l', 't', 'e', 'r', 0,
    'd', 'e', 'v', 'i', 'c', 'e', 0,
    'o', 'p', 't', 'i', 'o', 'n', 0,
    'l', 'o', 'c', 'a', 'l', 'e', 0,
    'a', 'p', 'p', 'e', 'n', 'd', 0,
    'i', 's', 'N', 'u', 'l', 'l', 0,
    'o', 'b', 'j', 'e', 'c', 't', 0,
    'p', 'a', 'r', 'e', 'n', 't', 0,
    '_', '_', 'n', 'e', '_', '_', 0,
    '_', '_', 'e', 'q', '_', '_', 0,
    'i', 't', 'e', 'm', 's', 0,
    't', 'i', 't', 'l', 'e', 0,
    'c', 'l', 'o', 'n', 'e', 0,
    't', 'y', 'p', 'e', 's', 0,
    'c', 'l', 'e', 'a', 'r', 0,
    'f', 'i', 'r', 's', 't', 0,
    'c', 'o', 'u', 'n', 't', 0,
    'f', 'l', 'a', 'g', 's', 0,
    'e', 'v', 'e', 'n', 't', 0,
    'm', 's', 'e', 'c', 's', 0,
    's', 't', 'a', 't', 'e', 0,
    'b', 'a', 'c', 'k', 0,
    'i', 'c', 'o', 'n', 0,
    'p', 'o', 'r', 't', 0,
    'h', 'o', 's', 't', 0,
    'p', 'a', 't', 'h', 0,
    'm', 'o', 'd', 'e', 0,
    'n', 'a', 'm', 'e', 0,
    's', 'i', 'z', 'e', 0,
    'f', 'r', 'o', 'm', 0,
    'l', 'a', 's', 't', 0,
    's', 'o', 'r', 't', 0,
    'u', 'r', 'l', 0,
    'p', 'o', 's', 0,
    's', 'w', 0,
    's', 'h', 0,
    's', 'y', 0,
    's', 'x', 0,
};
#line 24 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebkitglobal.sip"
#include <qwebkitglobal.h>
#line 413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

bool sipVH_QtWebKit_12(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QWebPluginFactory::Extension a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "F", a0, sipType_QWebPluginFactory_Extension);

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

    return sipRes;
}

bool sipVH_QtWebKit_11(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QWebPluginFactory::Extension a0,const  ::QWebPluginFactory::ExtensionOption*a1, ::QWebPluginFactory::ExtensionReturn*a2)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "FDD", a0, sipType_QWebPluginFactory_Extension, const_cast< ::QWebPluginFactory::ExtensionOption *>(a1), sipType_QWebPluginFactory_ExtensionOption, NULL, a2, sipType_QWebPluginFactory_ExtensionReturn, NULL);

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

    return sipRes;
}

 ::QObject* sipVH_QtWebKit_10(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QString& a0,const  ::QUrl& a1,const  ::QStringList& a2,const  ::QStringList& a3)
{
     ::QObject* sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "NNNN", new  ::QString(a0), sipType_QString, NULL, new  ::QUrl(a1), sipType_QUrl, NULL, new  ::QStringList(a2), sipType_QStringList, NULL, new  ::QStringList(a3), sipType_QStringList, NULL);

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

    return sipRes;
}

void sipVH_QtWebKit_9(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "");
}

QList< ::QWebPluginFactory::Plugin> sipVH_QtWebKit_8(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod)
{
    QList< ::QWebPluginFactory::Plugin> sipRes;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "");

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

    return sipRes;
}

void sipVH_QtWebKit_7(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QString& a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "N", new  ::QString(a0), sipType_QString, NULL);
}

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

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

    return sipRes;
}

bool sipVH_QtWebKit_5(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QEvent*a0)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "D", a0, sipType_QEvent, NULL);

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

    return sipRes;
}

bool sipVH_QtWebKit_4(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QObject*a0, ::QEvent*a1)
{
    bool sipRes = 0;
    PyObject *sipResObj = sipCallMethod(0, sipMethod, "DD", a0, sipType_QObject, NULL, a1, sipType_QEvent, NULL);

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

    return sipRes;
}

void sipVH_QtWebKit_3(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QTimerEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QTimerEvent, NULL);
}

void sipVH_QtWebKit_2(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QChildEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QChildEvent, NULL);
}

void sipVH_QtWebKit_1(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod,  ::QEvent*a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "D", a0, sipType_QEvent, NULL);
}

void sipVH_QtWebKit_0(sip_gilstate_t sipGILState, sipVirtErrorHandlerFunc sipErrorHandler, sipSimpleWrapper *sipPySelf, PyObject *sipMethod, const  ::QMetaMethod& a0)
{
    sipCallProcedureMethod(sipGILState, sipErrorHandler, sipPySelf, sipMethod, "N", new  ::QMetaMethod(a0), sipType_QMetaMethod, NULL);
}


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

    {
         ::QDataStream* a0;
         ::QWebHistory* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QWebHistory, &a1))
        {
             ::QDataStream*sipRes;

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

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


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

    {
         ::QDataStream* a0;
        const  ::QWebHistory* a1;

        if (sipParsePair(&sipParseErr, sipArg0, sipArg1, "J9J9", sipType_QDataStream, &a0, sipType_QWebHistory, &a1))
        {
             ::QDataStream*sipRes;

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

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

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    Py_INCREF(Py_NotImplemented);
    return Py_NotImplemented;
}


PyDoc_STRVAR(doc_qWebKitMinorVersion, "qWebKitMinorVersion() -> int");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipRes = qWebKitMinorVersion();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_qWebKitMinorVersion, doc_qWebKitMinorVersion);

    return NULL;
}


PyDoc_STRVAR(doc_qWebKitMajorVersion, "qWebKitMajorVersion() -> int");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipRes = qWebKitMajorVersion();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_qWebKitMajorVersion, doc_qWebKitMajorVersion);

    return NULL;
}


PyDoc_STRVAR(doc_qWebKitVersion, "qWebKitVersion() -> str");

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

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

            sipRes = new  ::QString(qWebKitVersion());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoFunction(sipParseErr, sipName_qWebKitVersion, doc_qWebKitVersion);

    return NULL;
}

static sipPySlotExtenderDef slotExtenders[] = {
    {(void *)slot___rshift__, rshift_slot, {0, 0, 0}},
    {(void *)slot___lshift__, lshift_slot, {0, 0, 0}},
    {NULL, (sipPySlotType)0, {0, 0, 0}}
};


/* Convert to a sub-class if possible. */
extern "C" {static const sipTypeDef *sipSubClass_QWebPluginFactory(void **);}
static const sipTypeDef *sipSubClass_QWebPluginFactory(void **sipCppRet)
{
     ::QObject *sipCpp = reinterpret_cast< ::QObject *>(*sipCppRet);
    const sipTypeDef *sipType;

#line 30 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
    static struct class_graph {
        const char *name;
        sipTypeDef **type;
        int yes, no;
    } graph[] = {
        {sipName_QWebHistoryInterface, &sipType_QWebHistoryInterface, -1, 1},
        {sipName_QWebPluginFactory, &sipType_QWebPluginFactory, -1, -1},
    };
    
    int i = 0;
    
    sipType = NULL;
    
    do
    {
        struct class_graph *cg = &graph[i];
    
        if (cg->name != NULL && sipCpp->inherits(cg->name))
        {
            sipType = *cg->type;
            i = cg->yes;
        }
        else
            i = cg->no;
    }
    while (i >= 0);
#line 696 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

    return sipType;
}


/* This defines each external type declared in this module, */
static sipExternalTypeDef externalTypesTable[] = {
    {10, "QWebFrame"},
    {-1, NULL}
};
static sipEnumTypeDef enumTypes[] = {
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWebSettings__ThirdPartyCookiePolicy, {0}, 0}, sipNameNr_ThirdPartyCookiePolicy, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWebSettings__FontSize, {0}, 0}, sipNameNr_FontSize, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWebSettings__WebGraphic, {0}, 0}, sipNameNr_WebGraphic, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWebSettings__WebAttribute, {0}, 0}, sipNameNr_WebAttribute, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWebSettings__FontFamily, {0}, 0}, sipNameNr_FontFamily, 22, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWebSecurityOrigin__SubdomainSetting, {0}, 0}, sipNameNr_SubdomainSetting, 20, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWebPluginFactory__Extension, {0}, 0}, sipNameNr_Extension, 14, NULL},
    {{-1, 0, 0, SIP_TYPE_ENUM, sipNameNr_QWebElement__StyleResolveStrategy, {0}, 0}, sipNameNr_StyleResolveStrategy, 7, NULL},
};


/*
 * This defines each type in this module.
 */
sipTypeDef *sipExportedTypes_QtWebKit[] = {
    &sipTypeDef_QtWebKit_QList_0100QWebDatabase.mtd_base,
    &sipTypeDef_QtWebKit_QList_0100QWebElement.mtd_base,
    &sipTypeDef_QtWebKit_QList_0100QWebHistoryItem.mtd_base,
    &sipTypeDef_QtWebKit_QList_0100QWebPluginFactory_MimeType.mtd_base,
    &sipTypeDef_QtWebKit_QList_0100QWebPluginFactory_Plugin.mtd_base,
    &sipTypeDef_QtWebKit_QList_0100QWebSecurityOrigin.mtd_base,
    &sipTypeDef_QtWebKit_QWebDatabase.ctd_base,
    &sipTypeDef_QtWebKit_QWebElement.ctd_base,
    &enumTypes[7].etd_base,
    &sipTypeDef_QtWebKit_QWebElementCollection.ctd_base,
    0,
    &sipTypeDef_QtWebKit_QWebHistory.ctd_base,
    &sipTypeDef_QtWebKit_QWebHistoryInterface.ctd_base,
    &sipTypeDef_QtWebKit_QWebHistoryItem.ctd_base,
    &sipTypeDef_QtWebKit_QWebPluginFactory.ctd_base,
    &enumTypes[6].etd_base,
    &sipTypeDef_QtWebKit_QWebPluginFactory_ExtensionOption.ctd_base,
    &sipTypeDef_QtWebKit_QWebPluginFactory_ExtensionReturn.ctd_base,
    &sipTypeDef_QtWebKit_QWebPluginFactory_MimeType.ctd_base,
    &sipTypeDef_QtWebKit_QWebPluginFactory_Plugin.ctd_base,
    &sipTypeDef_QtWebKit_QWebSecurityOrigin.ctd_base,
    &enumTypes[5].etd_base,
    &sipTypeDef_QtWebKit_QWebSettings.ctd_base,
    &enumTypes[4].etd_base,
    &enumTypes[1].etd_base,
    &enumTypes[0].etd_base,
    &enumTypes[3].etd_base,
    &enumTypes[2].etd_base,
};


/* This defines the types that this module needs to import from QtCore. */
sipImportedTypeDef sipImportedTypes_QtWebKit_QtCore[] = {
    {"QChildEvent"},
    {"QDataStream"},
    {"QDateTime"},
    {"QEvent"},
    {"QMetaMethod"},
    {"QObject"},
    {"QRect"},
    {"QString"},
    {"QStringList"},
    {"QTimerEvent"},
    {"QUrl"},
    {"QVariant"},
    {NULL}
};


/*
 * This defines the virtual error handlers that this module needs to import
 * from QtCore.
 */
sipImportedVirtErrorHandlerDef sipImportedVirtErrorHandlers_QtWebKit_QtCore[] = {
    {"PyQt5"},
    {NULL}
};


/* This defines the types that this module needs to import from QtGui. */
sipImportedTypeDef sipImportedTypes_QtWebKit_QtGui[] = {
    {"QIcon"},
    {"QPainter"},
    {"QPixmap"},
    {NULL}
};


/* This defines the modules that this module needs to import. */
static sipImportedModuleDef importsTable[] = {
    {"PyQt5.QtCore", sipImportedTypes_QtWebKit_QtCore, sipImportedVirtErrorHandlers_QtWebKit_QtCore, NULL},
    {"PyQt5.QtNetwork", NULL, NULL, NULL},
    {"PyQt5.QtGui", sipImportedTypes_QtWebKit_QtGui, NULL, NULL},
    {NULL, NULL, NULL, NULL}
};


/* This defines the class sub-convertors that this module defines. */
static sipSubClassConvertorDef convertorsTable[] = {
    {sipSubClass_QWebPluginFactory, {5, 0, 0}, NULL},
    {NULL, {0, 0, 0}, NULL}
};


/* This defines this module. */
sipExportedModuleDef sipModuleAPI_QtWebKit = {
    0,
    SIP_API_MINOR_NR,
    sipNameNr_PyQt5_QtWebKit,
    0,
    sipStrings_QtWebKit,
    importsTable,
    NULL,
    28,
    sipExportedTypes_QtWebKit,
    externalTypesTable,
    0,
    NULL,
    0,
    NULL,
    NULL,
    convertorsTable,
    {NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL},
    NULL,
    NULL,
    slotExtenders,
    NULL,
    NULL,
    NULL,
    NULL,
    NULL
};


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

sip_qt_metaobject_func sip_QtWebKit_qt_metaobject;
sip_qt_metacall_func sip_QtWebKit_qt_metacall;
sip_qt_metacast_func sip_QtWebKit_qt_metacast;


/* The Python module initialisation function. */
#if PY_MAJOR_VERSION >= 3
#define SIP_MODULE_ENTRY        PyInit_QtWebKit
#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        initQtWebKit
#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[] = {
        {SIP_MLNAME_CAST(sipName_qWebKitMinorVersion), func_qWebKitMinorVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_qWebKitMinorVersion)},
        {SIP_MLNAME_CAST(sipName_qWebKitMajorVersion), func_qWebKitMajorVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_qWebKitMajorVersion)},
        {SIP_MLNAME_CAST(sipName_qWebKitVersion), func_qWebKitVersion, METH_VARARGS, SIP_MLDOC_CAST(doc_qWebKitVersion)},
        {0, 0, 0, 0}
    };

#if PY_MAJOR_VERSION >= 3
    static PyModuleDef sip_module_def = {
        PyModuleDef_HEAD_INIT,
        "PyQt5.QtWebKit",
        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_PyQt5_QtWebKit, sip_methods);
#else
    sipModule = Py_InitModule(const_cast<char *>(sipName_PyQt5_QtWebKit), 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_QtWebKit = reinterpret_cast<const sipAPIDef *>(PyCapsule_GetPointer(sip_capiobj, SIP_MODULE_NAME "._C_API"));
#else
    sipAPI_QtWebKit = reinterpret_cast<const sipAPIDef *>(PyCObject_AsVoidPtr(sip_capiobj));
#endif

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

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

    sip_QtWebKit_qt_metaobject = (sip_qt_metaobject_func)sipImportSymbol("qtcore_qt_metaobject");
    sip_QtWebKit_qt_metacall = (sip_qt_metacall_func)sipImportSymbol("qtcore_qt_metacall");
    sip_QtWebKit_qt_metacast = (sip_qt_metacast_func)sipImportSymbol("qtcore_qt_metacast");

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

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

    SIP_MODULE_RETURN(sipModule);
}

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 968 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebdatabase.sip"
#include <qwebdatabase.h>
#line 972 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


extern "C" {static void assign_QList_0100QWebDatabase(void *, SIP_SSIZE_T, const void *);}
static void assign_QList_0100QWebDatabase(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QList< ::QWebDatabase> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QList< ::QWebDatabase> *>(sipSrc);
}


extern "C" {static void *array_QList_0100QWebDatabase(SIP_SSIZE_T);}
static void *array_QList_0100QWebDatabase(SIP_SSIZE_T sipNrElem)
{
    return new QList< ::QWebDatabase>[sipNrElem];
}


extern "C" {static void *copy_QList_0100QWebDatabase(const void *, SIP_SSIZE_T);}
static void *copy_QList_0100QWebDatabase(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QList< ::QWebDatabase>(reinterpret_cast<const QList< ::QWebDatabase> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0100QWebDatabase(void *, int);}
static void release_QList_0100QWebDatabase(void *ptr, int)
{
    delete reinterpret_cast<QList< ::QWebDatabase> *>(ptr);
}



extern "C" {static int convertTo_QList_0100QWebDatabase(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0100QWebDatabase(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList< ::QWebDatabase> **sipCppPtr = reinterpret_cast<QList< ::QWebDatabase> **>(sipCppPtrV);

#line 68 "sip/QtCore/qpycore_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

        return (iter
#if PY_MAJOR_VERSION < 3
                && !PyString_Check(sipPy)
#endif
                && !PyUnicode_Check(sipPy));
    }

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

    QList<QWebDatabase> *ql = new QList<QWebDatabase>;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

        if (!itm)
        {
            if (PyErr_Occurred())
            {
                delete ql;
                Py_DECREF(iter);
                *sipIsErr = 1;

                return 0;
            }

            break;
        }

        int state;
        QWebDatabase *t = reinterpret_cast<QWebDatabase *>(
                sipForceConvertToType(itm, sipType_QWebDatabase, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QWebDatabase' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

            Py_DECREF(itm);
            delete ql;
            Py_DECREF(iter);

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QWebDatabase, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 1081 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100QWebDatabase(void *, PyObject *);}
static PyObject *convertFrom_QList_0100QWebDatabase(void *sipCppV, PyObject *sipTransferObj)
{
   QList< ::QWebDatabase> *sipCpp = reinterpret_cast<QList< ::QWebDatabase> *>(sipCppV);

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QWebDatabase *t = new QWebDatabase(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QWebDatabase,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 1114 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWebKit_QList_0100QWebDatabase = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1865,     /* QList<QWebDatabase> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QWebDatabase,
    array_QList_0100QWebDatabase,
    copy_QList_0100QWebDatabase,
    release_QList_0100QWebDatabase,
    convertTo_QList_0100QWebDatabase,
    convertFrom_QList_0100QWebDatabase
};

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 1146 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebsecurityorigin.sip"
#include <qwebsecurityorigin.h>
#line 1150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


extern "C" {static void assign_QList_0100QWebSecurityOrigin(void *, SIP_SSIZE_T, const void *);}
static void assign_QList_0100QWebSecurityOrigin(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QList< ::QWebSecurityOrigin> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QList< ::QWebSecurityOrigin> *>(sipSrc);
}


extern "C" {static void *array_QList_0100QWebSecurityOrigin(SIP_SSIZE_T);}
static void *array_QList_0100QWebSecurityOrigin(SIP_SSIZE_T sipNrElem)
{
    return new QList< ::QWebSecurityOrigin>[sipNrElem];
}


extern "C" {static void *copy_QList_0100QWebSecurityOrigin(const void *, SIP_SSIZE_T);}
static void *copy_QList_0100QWebSecurityOrigin(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QList< ::QWebSecurityOrigin>(reinterpret_cast<const QList< ::QWebSecurityOrigin> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0100QWebSecurityOrigin(void *, int);}
static void release_QList_0100QWebSecurityOrigin(void *ptr, int)
{
    delete reinterpret_cast<QList< ::QWebSecurityOrigin> *>(ptr);
}



extern "C" {static int convertTo_QList_0100QWebSecurityOrigin(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0100QWebSecurityOrigin(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList< ::QWebSecurityOrigin> **sipCppPtr = reinterpret_cast<QList< ::QWebSecurityOrigin> **>(sipCppPtrV);

#line 68 "sip/QtCore/qpycore_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

        return (iter
#if PY_MAJOR_VERSION < 3
                && !PyString_Check(sipPy)
#endif
                && !PyUnicode_Check(sipPy));
    }

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

    QList<QWebSecurityOrigin> *ql = new QList<QWebSecurityOrigin>;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

        if (!itm)
        {
            if (PyErr_Occurred())
            {
                delete ql;
                Py_DECREF(iter);
                *sipIsErr = 1;

                return 0;
            }

            break;
        }

        int state;
        QWebSecurityOrigin *t = reinterpret_cast<QWebSecurityOrigin *>(
                sipForceConvertToType(itm, sipType_QWebSecurityOrigin, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QWebSecurityOrigin' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

            Py_DECREF(itm);
            delete ql;
            Py_DECREF(iter);

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QWebSecurityOrigin, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 1259 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100QWebSecurityOrigin(void *, PyObject *);}
static PyObject *convertFrom_QList_0100QWebSecurityOrigin(void *sipCppV, PyObject *sipTransferObj)
{
   QList< ::QWebSecurityOrigin> *sipCpp = reinterpret_cast<QList< ::QWebSecurityOrigin> *>(sipCppV);

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QWebSecurityOrigin *t = new QWebSecurityOrigin(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QWebSecurityOrigin,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 1292 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWebKit_QList_0100QWebSecurityOrigin = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_942,     /* QList<QWebSecurityOrigin> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QWebSecurityOrigin,
    array_QList_0100QWebSecurityOrigin,
    copy_QList_0100QWebSecurityOrigin,
    release_QList_0100QWebSecurityOrigin,
    convertTo_QList_0100QWebSecurityOrigin,
    convertFrom_QList_0100QWebSecurityOrigin
};

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 1324 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 75 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 1330 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


extern "C" {static void assign_QList_0100QWebPluginFactory_Plugin(void *, SIP_SSIZE_T, const void *);}
static void assign_QList_0100QWebPluginFactory_Plugin(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QList< ::QWebPluginFactory::Plugin> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QList< ::QWebPluginFactory::Plugin> *>(sipSrc);
}


extern "C" {static void *array_QList_0100QWebPluginFactory_Plugin(SIP_SSIZE_T);}
static void *array_QList_0100QWebPluginFactory_Plugin(SIP_SSIZE_T sipNrElem)
{
    return new QList< ::QWebPluginFactory::Plugin>[sipNrElem];
}


extern "C" {static void *copy_QList_0100QWebPluginFactory_Plugin(const void *, SIP_SSIZE_T);}
static void *copy_QList_0100QWebPluginFactory_Plugin(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QList< ::QWebPluginFactory::Plugin>(reinterpret_cast<const QList< ::QWebPluginFactory::Plugin> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0100QWebPluginFactory_Plugin(void *, int);}
static void release_QList_0100QWebPluginFactory_Plugin(void *ptr, int)
{
    delete reinterpret_cast<QList< ::QWebPluginFactory::Plugin> *>(ptr);
}



extern "C" {static int convertTo_QList_0100QWebPluginFactory_Plugin(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0100QWebPluginFactory_Plugin(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList< ::QWebPluginFactory::Plugin> **sipCppPtr = reinterpret_cast<QList< ::QWebPluginFactory::Plugin> **>(sipCppPtrV);

#line 68 "sip/QtCore/qpycore_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

        return (iter
#if PY_MAJOR_VERSION < 3
                && !PyString_Check(sipPy)
#endif
                && !PyUnicode_Check(sipPy));
    }

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

    QList<QWebPluginFactory::Plugin> *ql = new QList<QWebPluginFactory::Plugin>;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

        if (!itm)
        {
            if (PyErr_Occurred())
            {
                delete ql;
                Py_DECREF(iter);
                *sipIsErr = 1;

                return 0;
            }

            break;
        }

        int state;
        QWebPluginFactory::Plugin *t = reinterpret_cast<QWebPluginFactory::Plugin *>(
                sipForceConvertToType(itm, sipType_QWebPluginFactory_Plugin, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QWebPluginFactory::Plugin' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

            Py_DECREF(itm);
            delete ql;
            Py_DECREF(iter);

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QWebPluginFactory_Plugin, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 1439 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100QWebPluginFactory_Plugin(void *, PyObject *);}
static PyObject *convertFrom_QList_0100QWebPluginFactory_Plugin(void *sipCppV, PyObject *sipTransferObj)
{
   QList< ::QWebPluginFactory::Plugin> *sipCpp = reinterpret_cast<QList< ::QWebPluginFactory::Plugin> *>(sipCppV);

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QWebPluginFactory::Plugin *t = new QWebPluginFactory::Plugin(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QWebPluginFactory_Plugin,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 1472 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWebKit_QList_0100QWebPluginFactory_Plugin = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_351,     /* QList<QWebPluginFactory::Plugin> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QWebPluginFactory_Plugin,
    array_QList_0100QWebPluginFactory_Plugin,
    copy_QList_0100QWebPluginFactory_Plugin,
    release_QList_0100QWebPluginFactory_Plugin,
    convertTo_QList_0100QWebPluginFactory_Plugin,
    convertFrom_QList_0100QWebPluginFactory_Plugin
};

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 1504 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebhistory.sip"
#include <qwebhistory.h>
#line 1508 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


extern "C" {static void assign_QList_0100QWebHistoryItem(void *, SIP_SSIZE_T, const void *);}
static void assign_QList_0100QWebHistoryItem(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QList< ::QWebHistoryItem> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QList< ::QWebHistoryItem> *>(sipSrc);
}


extern "C" {static void *array_QList_0100QWebHistoryItem(SIP_SSIZE_T);}
static void *array_QList_0100QWebHistoryItem(SIP_SSIZE_T sipNrElem)
{
    return new QList< ::QWebHistoryItem>[sipNrElem];
}


extern "C" {static void *copy_QList_0100QWebHistoryItem(const void *, SIP_SSIZE_T);}
static void *copy_QList_0100QWebHistoryItem(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QList< ::QWebHistoryItem>(reinterpret_cast<const QList< ::QWebHistoryItem> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0100QWebHistoryItem(void *, int);}
static void release_QList_0100QWebHistoryItem(void *ptr, int)
{
    delete reinterpret_cast<QList< ::QWebHistoryItem> *>(ptr);
}



extern "C" {static int convertTo_QList_0100QWebHistoryItem(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0100QWebHistoryItem(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList< ::QWebHistoryItem> **sipCppPtr = reinterpret_cast<QList< ::QWebHistoryItem> **>(sipCppPtrV);

#line 68 "sip/QtCore/qpycore_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

        return (iter
#if PY_MAJOR_VERSION < 3
                && !PyString_Check(sipPy)
#endif
                && !PyUnicode_Check(sipPy));
    }

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

    QList<QWebHistoryItem> *ql = new QList<QWebHistoryItem>;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

        if (!itm)
        {
            if (PyErr_Occurred())
            {
                delete ql;
                Py_DECREF(iter);
                *sipIsErr = 1;

                return 0;
            }

            break;
        }

        int state;
        QWebHistoryItem *t = reinterpret_cast<QWebHistoryItem *>(
                sipForceConvertToType(itm, sipType_QWebHistoryItem, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QWebHistoryItem' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

            Py_DECREF(itm);
            delete ql;
            Py_DECREF(iter);

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QWebHistoryItem, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 1617 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100QWebHistoryItem(void *, PyObject *);}
static PyObject *convertFrom_QList_0100QWebHistoryItem(void *sipCppV, PyObject *sipTransferObj)
{
   QList< ::QWebHistoryItem> *sipCpp = reinterpret_cast<QList< ::QWebHistoryItem> *>(sipCppV);

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QWebHistoryItem *t = new QWebHistoryItem(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QWebHistoryItem,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 1650 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWebKit_QList_0100QWebHistoryItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_1445,     /* QList<QWebHistoryItem> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QWebHistoryItem,
    array_QList_0100QWebHistoryItem,
    copy_QList_0100QWebHistoryItem,
    release_QList_0100QWebHistoryItem,
    convertTo_QList_0100QWebHistoryItem,
    convertFrom_QList_0100QWebHistoryItem
};

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 1682 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebelement.sip"
#include <qwebelement.h>
#line 1686 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


extern "C" {static void assign_QList_0100QWebElement(void *, SIP_SSIZE_T, const void *);}
static void assign_QList_0100QWebElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QList< ::QWebElement> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QList< ::QWebElement> *>(sipSrc);
}


extern "C" {static void *array_QList_0100QWebElement(SIP_SSIZE_T);}
static void *array_QList_0100QWebElement(SIP_SSIZE_T sipNrElem)
{
    return new QList< ::QWebElement>[sipNrElem];
}


extern "C" {static void *copy_QList_0100QWebElement(const void *, SIP_SSIZE_T);}
static void *copy_QList_0100QWebElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QList< ::QWebElement>(reinterpret_cast<const QList< ::QWebElement> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0100QWebElement(void *, int);}
static void release_QList_0100QWebElement(void *ptr, int)
{
    delete reinterpret_cast<QList< ::QWebElement> *>(ptr);
}



extern "C" {static int convertTo_QList_0100QWebElement(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0100QWebElement(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList< ::QWebElement> **sipCppPtr = reinterpret_cast<QList< ::QWebElement> **>(sipCppPtrV);

#line 68 "sip/QtCore/qpycore_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

        return (iter
#if PY_MAJOR_VERSION < 3
                && !PyString_Check(sipPy)
#endif
                && !PyUnicode_Check(sipPy));
    }

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

    QList<QWebElement> *ql = new QList<QWebElement>;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

        if (!itm)
        {
            if (PyErr_Occurred())
            {
                delete ql;
                Py_DECREF(iter);
                *sipIsErr = 1;

                return 0;
            }

            break;
        }

        int state;
        QWebElement *t = reinterpret_cast<QWebElement *>(
                sipForceConvertToType(itm, sipType_QWebElement, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QWebElement' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

            Py_DECREF(itm);
            delete ql;
            Py_DECREF(iter);

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QWebElement, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 1795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100QWebElement(void *, PyObject *);}
static PyObject *convertFrom_QList_0100QWebElement(void *sipCppV, PyObject *sipTransferObj)
{
   QList< ::QWebElement> *sipCpp = reinterpret_cast<QList< ::QWebElement> *>(sipCppV);

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QWebElement *t = new QWebElement(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QWebElement,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 1828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWebKit_QList_0100QWebElement = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_2105,     /* QList<QWebElement> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QWebElement,
    array_QList_0100QWebElement,
    copy_QList_0100QWebElement,
    release_QList_0100QWebElement,
    convertTo_QList_0100QWebElement,
    convertFrom_QList_0100QWebElement
};

#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 1860 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 1866 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


extern "C" {static void assign_QList_0100QWebPluginFactory_MimeType(void *, SIP_SSIZE_T, const void *);}
static void assign_QList_0100QWebPluginFactory_MimeType(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast<QList< ::QWebPluginFactory::MimeType> *>(sipDst)[sipDstIdx] = *reinterpret_cast<const QList< ::QWebPluginFactory::MimeType> *>(sipSrc);
}


extern "C" {static void *array_QList_0100QWebPluginFactory_MimeType(SIP_SSIZE_T);}
static void *array_QList_0100QWebPluginFactory_MimeType(SIP_SSIZE_T sipNrElem)
{
    return new QList< ::QWebPluginFactory::MimeType>[sipNrElem];
}


extern "C" {static void *copy_QList_0100QWebPluginFactory_MimeType(const void *, SIP_SSIZE_T);}
static void *copy_QList_0100QWebPluginFactory_MimeType(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new QList< ::QWebPluginFactory::MimeType>(reinterpret_cast<const QList< ::QWebPluginFactory::MimeType> *>(sipSrc)[sipSrcIdx]);
}


/* Call the mapped type's destructor. */
extern "C" {static void release_QList_0100QWebPluginFactory_MimeType(void *, int);}
static void release_QList_0100QWebPluginFactory_MimeType(void *ptr, int)
{
    delete reinterpret_cast<QList< ::QWebPluginFactory::MimeType> *>(ptr);
}



extern "C" {static int convertTo_QList_0100QWebPluginFactory_MimeType(PyObject *, void **, int *, PyObject *);}
static int convertTo_QList_0100QWebPluginFactory_MimeType(PyObject *sipPy,void **sipCppPtrV,int *sipIsErr,PyObject *sipTransferObj)
{
    QList< ::QWebPluginFactory::MimeType> **sipCppPtr = reinterpret_cast<QList< ::QWebPluginFactory::MimeType> **>(sipCppPtrV);

#line 68 "sip/QtCore/qpycore_qlist.sip"
    PyObject *iter = PyObject_GetIter(sipPy);

    if (!sipIsErr)
    {
        Py_XDECREF(iter);

        return (iter
#if PY_MAJOR_VERSION < 3
                && !PyString_Check(sipPy)
#endif
                && !PyUnicode_Check(sipPy));
    }

    if (!iter)
    {
        *sipIsErr = 1;

        return 0;
    }

    QList<QWebPluginFactory::MimeType> *ql = new QList<QWebPluginFactory::MimeType>;
 
    for (Py_ssize_t i = 0; ; ++i)
    {
        PyErr_Clear();
        PyObject *itm = PyIter_Next(iter);

        if (!itm)
        {
            if (PyErr_Occurred())
            {
                delete ql;
                Py_DECREF(iter);
                *sipIsErr = 1;

                return 0;
            }

            break;
        }

        int state;
        QWebPluginFactory::MimeType *t = reinterpret_cast<QWebPluginFactory::MimeType *>(
                sipForceConvertToType(itm, sipType_QWebPluginFactory_MimeType, sipTransferObj,
                        SIP_NOT_NONE, &state, sipIsErr));

        if (*sipIsErr)
        {
            PyErr_Format(PyExc_TypeError,
                    "index %zd has type '%s' but 'QWebPluginFactory::MimeType' is expected", i,
                    sipPyTypeName(Py_TYPE(itm)));

            Py_DECREF(itm);
            delete ql;
            Py_DECREF(iter);

            return 0;
        }

        ql->append(*t);

        sipReleaseType(t, sipType_QWebPluginFactory_MimeType, state);
        Py_DECREF(itm);
    }
 
    Py_DECREF(iter);

    *sipCppPtr = ql;
 
    return sipGetState(sipTransferObj);
#line 1975 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
}


extern "C" {static PyObject *convertFrom_QList_0100QWebPluginFactory_MimeType(void *, PyObject *);}
static PyObject *convertFrom_QList_0100QWebPluginFactory_MimeType(void *sipCppV, PyObject *sipTransferObj)
{
   QList< ::QWebPluginFactory::MimeType> *sipCpp = reinterpret_cast<QList< ::QWebPluginFactory::MimeType> *>(sipCppV);

#line 42 "sip/QtCore/qpycore_qlist.sip"
    PyObject *l = PyList_New(sipCpp->size());

    if (!l)
        return 0;

    for (int i = 0; i < sipCpp->size(); ++i)
    {
        QWebPluginFactory::MimeType *t = new QWebPluginFactory::MimeType(sipCpp->at(i));
        PyObject *tobj = sipConvertFromNewType(t, sipType_QWebPluginFactory_MimeType,
                sipTransferObj);

        if (!tobj)
        {
            delete t;
            Py_DECREF(l);

            return 0;
        }

        PyList_SetItem(l, i, tobj);
    }

    return l;
#line 2008 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
}


sipMappedTypeDef sipTypeDef_QtWebKit_QList_0100QWebPluginFactory_MimeType = {
    {
        -1,
        0,
        0,
        SIP_TYPE_MAPPED,
        sipNameNr_74,     /* QList<QWebPluginFactory::MimeType> */
        {0},
        0
    },
    {
        -1,
        {0, 0, 1},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
    },
    assign_QList_0100QWebPluginFactory_MimeType,
    array_QList_0100QWebPluginFactory_MimeType,
    copy_QList_0100QWebPluginFactory_MimeType,
    release_QList_0100QWebPluginFactory_MimeType,
    convertTo_QList_0100QWebPluginFactory_MimeType,
    convertFrom_QList_0100QWebPluginFactory_MimeType
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebsettings.sip"
#include <qwebsettings.h>
#line 2040 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 2044 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtGui/qpixmap.sip"
#include <qpixmap.h>
#line 2047 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 2050 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 2053 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


PyDoc_STRVAR(doc_QWebSettings_globalSettings, "globalSettings() -> QWebSettings");

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

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

            sipRes =  ::QWebSettings::globalSettings();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_globalSettings, doc_QWebSettings_globalSettings);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setFontFamily, "setFontFamily(self, QWebSettings.FontFamily, str)");

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

    {
         ::QWebSettings::FontFamily a0;
        const  ::QString* a1;
        int a1State = 0;
         ::QWebSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEJ1", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QWebSettings_FontFamily, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp->setFontFamily(a0,*a1);
            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_QWebSettings, sipName_setFontFamily, doc_QWebSettings_setFontFamily);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_fontFamily, "fontFamily(self, QWebSettings.FontFamily) -> str");

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

    {
         ::QWebSettings::FontFamily a0;
        const  ::QWebSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QWebSettings_FontFamily, &a0))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->fontFamily(a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_fontFamily, doc_QWebSettings_fontFamily);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_resetFontFamily, "resetFontFamily(self, QWebSettings.FontFamily)");

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

    {
         ::QWebSettings::FontFamily a0;
         ::QWebSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QWebSettings_FontFamily, &a0))
        {
            sipCpp->resetFontFamily(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_resetFontFamily, doc_QWebSettings_resetFontFamily);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setFontSize, "setFontSize(self, QWebSettings.FontSize, int)");

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

    {
         ::QWebSettings::FontSize a0;
        int a1;
         ::QWebSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEi", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QWebSettings_FontSize, &a0, &a1))
        {
            sipCpp->setFontSize(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_setFontSize, doc_QWebSettings_setFontSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_fontSize, "fontSize(self, QWebSettings.FontSize) -> int");

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

    {
         ::QWebSettings::FontSize a0;
        const  ::QWebSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QWebSettings_FontSize, &a0))
        {
            int sipRes;

            sipRes = sipCpp->fontSize(a0);

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_fontSize, doc_QWebSettings_fontSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_resetFontSize, "resetFontSize(self, QWebSettings.FontSize)");

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

    {
         ::QWebSettings::FontSize a0;
         ::QWebSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QWebSettings_FontSize, &a0))
        {
            sipCpp->resetFontSize(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_resetFontSize, doc_QWebSettings_resetFontSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setAttribute, "setAttribute(self, QWebSettings.WebAttribute, bool)");

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

    {
         ::QWebSettings::WebAttribute a0;
        bool a1;
         ::QWebSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BEb", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QWebSettings_WebAttribute, &a0, &a1))
        {
            sipCpp->setAttribute(a0,a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_setAttribute, doc_QWebSettings_setAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_testAttribute, "testAttribute(self, QWebSettings.WebAttribute) -> bool");

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

    {
         ::QWebSettings::WebAttribute a0;
        const  ::QWebSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QWebSettings_WebAttribute, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->testAttribute(a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_testAttribute, doc_QWebSettings_testAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_resetAttribute, "resetAttribute(self, QWebSettings.WebAttribute)");

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

    {
         ::QWebSettings::WebAttribute a0;
         ::QWebSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QWebSettings_WebAttribute, &a0))
        {
            sipCpp->resetAttribute(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_resetAttribute, doc_QWebSettings_resetAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setUserStyleSheetUrl, "setUserStyleSheetUrl(self, QUrl)");

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

    {
        const  ::QUrl* a0;
         ::QWebSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QUrl, &a0))
        {
            sipCpp->setUserStyleSheetUrl(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_setUserStyleSheetUrl, doc_QWebSettings_setUserStyleSheetUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_userStyleSheetUrl, "userStyleSheetUrl(self) -> QUrl");

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

    {
        const  ::QWebSettings *sipCpp;

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

            sipRes = new  ::QUrl(sipCpp->userStyleSheetUrl());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_userStyleSheetUrl, doc_QWebSettings_userStyleSheetUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setIconDatabasePath, "setIconDatabasePath(str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QWebSettings::setIconDatabasePath(*a0);
            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_QWebSettings, sipName_setIconDatabasePath, doc_QWebSettings_setIconDatabasePath);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_iconDatabasePath, "iconDatabasePath() -> str");

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

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

            sipRes = new  ::QString( ::QWebSettings::iconDatabasePath());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_iconDatabasePath, doc_QWebSettings_iconDatabasePath);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_clearIconDatabase, "clearIconDatabase()");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QWebSettings::clearIconDatabase();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_clearIconDatabase, doc_QWebSettings_clearIconDatabase);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_iconForUrl, "iconForUrl(QUrl) -> QIcon");

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

    {
        const  ::QUrl* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QUrl, &a0))
        {
             ::QIcon*sipRes;

            sipRes = new  ::QIcon( ::QWebSettings::iconForUrl(*a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_iconForUrl, doc_QWebSettings_iconForUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setWebGraphic, "setWebGraphic(QWebSettings.WebGraphic, QPixmap)");

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

    {
         ::QWebSettings::WebGraphic a0;
        const  ::QPixmap* a1;

        if (sipParseArgs(&sipParseErr, sipArgs, "EJ9", sipType_QWebSettings_WebGraphic, &a0, sipType_QPixmap, &a1))
        {
             ::QWebSettings::setWebGraphic(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_setWebGraphic, doc_QWebSettings_setWebGraphic);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_webGraphic, "webGraphic(QWebSettings.WebGraphic) -> QPixmap");

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

    {
         ::QWebSettings::WebGraphic a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "E", sipType_QWebSettings_WebGraphic, &a0))
        {
             ::QPixmap*sipRes;

            sipRes = new  ::QPixmap( ::QWebSettings::webGraphic(a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_webGraphic, doc_QWebSettings_webGraphic);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setMaximumPagesInCache, "setMaximumPagesInCache(int)");

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

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "i", &a0))
        {
             ::QWebSettings::setMaximumPagesInCache(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_setMaximumPagesInCache, doc_QWebSettings_setMaximumPagesInCache);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_maximumPagesInCache, "maximumPagesInCache() -> int");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            int sipRes;

            sipRes =  ::QWebSettings::maximumPagesInCache();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_maximumPagesInCache, doc_QWebSettings_maximumPagesInCache);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setObjectCacheCapacities, "setObjectCacheCapacities(int, int, int)");

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

    {
        int a0;
        int a1;
        int a2;

        if (sipParseArgs(&sipParseErr, sipArgs, "iii", &a0, &a1, &a2))
        {
             ::QWebSettings::setObjectCacheCapacities(a0,a1,a2);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_setObjectCacheCapacities, doc_QWebSettings_setObjectCacheCapacities);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setOfflineStoragePath, "setOfflineStoragePath(str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QWebSettings::setOfflineStoragePath(*a0);
            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_QWebSettings, sipName_setOfflineStoragePath, doc_QWebSettings_setOfflineStoragePath);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_offlineStoragePath, "offlineStoragePath() -> str");

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

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

            sipRes = new  ::QString( ::QWebSettings::offlineStoragePath());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_offlineStoragePath, doc_QWebSettings_offlineStoragePath);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setOfflineStorageDefaultQuota, "setOfflineStorageDefaultQuota(int)");

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

    {
         ::qint64 a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "n", &a0))
        {
             ::QWebSettings::setOfflineStorageDefaultQuota(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_setOfflineStorageDefaultQuota, doc_QWebSettings_setOfflineStorageDefaultQuota);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_offlineStorageDefaultQuota, "offlineStorageDefaultQuota() -> int");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::qint64 sipRes;

            sipRes =  ::QWebSettings::offlineStorageDefaultQuota();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_offlineStorageDefaultQuota, doc_QWebSettings_offlineStorageDefaultQuota);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setDefaultTextEncoding, "setDefaultTextEncoding(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setDefaultTextEncoding(*a0);
            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_QWebSettings, sipName_setDefaultTextEncoding, doc_QWebSettings_setDefaultTextEncoding);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_defaultTextEncoding, "defaultTextEncoding(self) -> str");

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

    {
        const  ::QWebSettings *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_defaultTextEncoding, doc_QWebSettings_defaultTextEncoding);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setOfflineWebApplicationCachePath, "setOfflineWebApplicationCachePath(str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QWebSettings::setOfflineWebApplicationCachePath(*a0);
            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_QWebSettings, sipName_setOfflineWebApplicationCachePath, doc_QWebSettings_setOfflineWebApplicationCachePath);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_offlineWebApplicationCachePath, "offlineWebApplicationCachePath() -> str");

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

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

            sipRes = new  ::QString( ::QWebSettings::offlineWebApplicationCachePath());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_offlineWebApplicationCachePath, doc_QWebSettings_offlineWebApplicationCachePath);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setOfflineWebApplicationCacheQuota, "setOfflineWebApplicationCacheQuota(int)");

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

    {
         ::qint64 a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "n", &a0))
        {
             ::QWebSettings::setOfflineWebApplicationCacheQuota(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_setOfflineWebApplicationCacheQuota, doc_QWebSettings_setOfflineWebApplicationCacheQuota);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_offlineWebApplicationCacheQuota, "offlineWebApplicationCacheQuota() -> int");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::qint64 sipRes;

            sipRes =  ::QWebSettings::offlineWebApplicationCacheQuota();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_offlineWebApplicationCacheQuota, doc_QWebSettings_offlineWebApplicationCacheQuota);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setLocalStoragePath, "setLocalStoragePath(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setLocalStoragePath(*a0);
            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_QWebSettings, sipName_setLocalStoragePath, doc_QWebSettings_setLocalStoragePath);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_localStoragePath, "localStoragePath(self) -> str");

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

    {
        const  ::QWebSettings *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_localStoragePath, doc_QWebSettings_localStoragePath);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_clearMemoryCaches, "clearMemoryCaches()");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QWebSettings::clearMemoryCaches();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_clearMemoryCaches, doc_QWebSettings_clearMemoryCaches);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_enablePersistentStorage, "enablePersistentStorage(path: str = '')");

extern "C" {static PyObject *meth_QWebSettings_enablePersistentStorage(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWebSettings_enablePersistentStorage(PyObject *, PyObject *sipArgs, PyObject *sipKwds)
{
    PyObject *sipParseErr = NULL;

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "|J1", sipType_QString,&a0, &a0State))
        {
             ::QWebSettings::enablePersistentStorage(*a0);
            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_QWebSettings, sipName_enablePersistentStorage, doc_QWebSettings_enablePersistentStorage);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setThirdPartyCookiePolicy, "setThirdPartyCookiePolicy(self, QWebSettings.ThirdPartyCookiePolicy)");

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

    {
         ::QWebSettings::ThirdPartyCookiePolicy a0;
         ::QWebSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QWebSettings_ThirdPartyCookiePolicy, &a0))
        {
            sipCpp->setThirdPartyCookiePolicy(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_setThirdPartyCookiePolicy, doc_QWebSettings_setThirdPartyCookiePolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_thirdPartyCookiePolicy, "thirdPartyCookiePolicy(self) -> QWebSettings.ThirdPartyCookiePolicy");

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

    {
        const  ::QWebSettings *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebSettings, &sipCpp))
        {
             ::QWebSettings::ThirdPartyCookiePolicy sipRes;

            sipRes = sipCpp->thirdPartyCookiePolicy();

            return sipConvertFromEnum(sipRes,sipType_QWebSettings_ThirdPartyCookiePolicy);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_thirdPartyCookiePolicy, doc_QWebSettings_thirdPartyCookiePolicy);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_setCSSMediaType, "setCSSMediaType(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebSettings, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setCSSMediaType(*a0);
            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_QWebSettings, sipName_setCSSMediaType, doc_QWebSettings_setCSSMediaType);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSettings_cssMediaType, "cssMediaType(self) -> str");

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

    {
        const  ::QWebSettings *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSettings, sipName_cssMediaType, doc_QWebSettings_cssMediaType);

    return NULL;
}


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


static PyMethodDef methods_QWebSettings[] = {
    {SIP_MLNAME_CAST(sipName_clearIconDatabase), meth_QWebSettings_clearIconDatabase, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_clearIconDatabase)},
    {SIP_MLNAME_CAST(sipName_clearMemoryCaches), meth_QWebSettings_clearMemoryCaches, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_clearMemoryCaches)},
    {SIP_MLNAME_CAST(sipName_cssMediaType), meth_QWebSettings_cssMediaType, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_cssMediaType)},
    {SIP_MLNAME_CAST(sipName_defaultTextEncoding), meth_QWebSettings_defaultTextEncoding, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_defaultTextEncoding)},
    {SIP_MLNAME_CAST(sipName_enablePersistentStorage), (PyCFunction)meth_QWebSettings_enablePersistentStorage, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWebSettings_enablePersistentStorage)},
    {SIP_MLNAME_CAST(sipName_fontFamily), meth_QWebSettings_fontFamily, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_fontFamily)},
    {SIP_MLNAME_CAST(sipName_fontSize), meth_QWebSettings_fontSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_fontSize)},
    {SIP_MLNAME_CAST(sipName_globalSettings), meth_QWebSettings_globalSettings, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_globalSettings)},
    {SIP_MLNAME_CAST(sipName_iconDatabasePath), meth_QWebSettings_iconDatabasePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_iconDatabasePath)},
    {SIP_MLNAME_CAST(sipName_iconForUrl), meth_QWebSettings_iconForUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_iconForUrl)},
    {SIP_MLNAME_CAST(sipName_localStoragePath), meth_QWebSettings_localStoragePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_localStoragePath)},
    {SIP_MLNAME_CAST(sipName_maximumPagesInCache), meth_QWebSettings_maximumPagesInCache, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_maximumPagesInCache)},
    {SIP_MLNAME_CAST(sipName_offlineStorageDefaultQuota), meth_QWebSettings_offlineStorageDefaultQuota, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_offlineStorageDefaultQuota)},
    {SIP_MLNAME_CAST(sipName_offlineStoragePath), meth_QWebSettings_offlineStoragePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_offlineStoragePath)},
    {SIP_MLNAME_CAST(sipName_offlineWebApplicationCachePath), meth_QWebSettings_offlineWebApplicationCachePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_offlineWebApplicationCachePath)},
    {SIP_MLNAME_CAST(sipName_offlineWebApplicationCacheQuota), meth_QWebSettings_offlineWebApplicationCacheQuota, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_offlineWebApplicationCacheQuota)},
    {SIP_MLNAME_CAST(sipName_resetAttribute), meth_QWebSettings_resetAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_resetAttribute)},
    {SIP_MLNAME_CAST(sipName_resetFontFamily), meth_QWebSettings_resetFontFamily, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_resetFontFamily)},
    {SIP_MLNAME_CAST(sipName_resetFontSize), meth_QWebSettings_resetFontSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_resetFontSize)},
    {SIP_MLNAME_CAST(sipName_setAttribute), meth_QWebSettings_setAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setAttribute)},
    {SIP_MLNAME_CAST(sipName_setCSSMediaType), meth_QWebSettings_setCSSMediaType, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setCSSMediaType)},
    {SIP_MLNAME_CAST(sipName_setDefaultTextEncoding), meth_QWebSettings_setDefaultTextEncoding, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setDefaultTextEncoding)},
    {SIP_MLNAME_CAST(sipName_setFontFamily), meth_QWebSettings_setFontFamily, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setFontFamily)},
    {SIP_MLNAME_CAST(sipName_setFontSize), meth_QWebSettings_setFontSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setFontSize)},
    {SIP_MLNAME_CAST(sipName_setIconDatabasePath), meth_QWebSettings_setIconDatabasePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setIconDatabasePath)},
    {SIP_MLNAME_CAST(sipName_setLocalStoragePath), meth_QWebSettings_setLocalStoragePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setLocalStoragePath)},
    {SIP_MLNAME_CAST(sipName_setMaximumPagesInCache), meth_QWebSettings_setMaximumPagesInCache, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setMaximumPagesInCache)},
    {SIP_MLNAME_CAST(sipName_setObjectCacheCapacities), meth_QWebSettings_setObjectCacheCapacities, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setObjectCacheCapacities)},
    {SIP_MLNAME_CAST(sipName_setOfflineStorageDefaultQuota), meth_QWebSettings_setOfflineStorageDefaultQuota, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setOfflineStorageDefaultQuota)},
    {SIP_MLNAME_CAST(sipName_setOfflineStoragePath), meth_QWebSettings_setOfflineStoragePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setOfflineStoragePath)},
    {SIP_MLNAME_CAST(sipName_setOfflineWebApplicationCachePath), meth_QWebSettings_setOfflineWebApplicationCachePath, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setOfflineWebApplicationCachePath)},
    {SIP_MLNAME_CAST(sipName_setOfflineWebApplicationCacheQuota), meth_QWebSettings_setOfflineWebApplicationCacheQuota, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setOfflineWebApplicationCacheQuota)},
    {SIP_MLNAME_CAST(sipName_setThirdPartyCookiePolicy), meth_QWebSettings_setThirdPartyCookiePolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setThirdPartyCookiePolicy)},
    {SIP_MLNAME_CAST(sipName_setUserStyleSheetUrl), meth_QWebSettings_setUserStyleSheetUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setUserStyleSheetUrl)},
    {SIP_MLNAME_CAST(sipName_setWebGraphic), meth_QWebSettings_setWebGraphic, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_setWebGraphic)},
    {SIP_MLNAME_CAST(sipName_testAttribute), meth_QWebSettings_testAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_testAttribute)},
    {SIP_MLNAME_CAST(sipName_thirdPartyCookiePolicy), meth_QWebSettings_thirdPartyCookiePolicy, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_thirdPartyCookiePolicy)},
    {SIP_MLNAME_CAST(sipName_userStyleSheetUrl), meth_QWebSettings_userStyleSheetUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_userStyleSheetUrl)},
    {SIP_MLNAME_CAST(sipName_webGraphic), meth_QWebSettings_webGraphic, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSettings_webGraphic)}
};

static sipEnumMemberDef enummembers_QWebSettings[] = {
    {sipName_Accelerated2dCanvasEnabled, static_cast<int>( ::QWebSettings::Accelerated2dCanvasEnabled), 26},
    {sipName_AcceleratedCompositingEnabled, static_cast<int>( ::QWebSettings::AcceleratedCompositingEnabled), 26},
    {sipName_AllowThirdPartyWithExistingCookies, static_cast<int>( ::QWebSettings::AllowThirdPartyWithExistingCookies), 25},
    {sipName_AlwaysAllowThirdPartyCookies, static_cast<int>( ::QWebSettings::AlwaysAllowThirdPartyCookies), 25},
    {sipName_AlwaysBlockThirdPartyCookies, static_cast<int>( ::QWebSettings::AlwaysBlockThirdPartyCookies), 25},
    {sipName_AutoLoadImages, static_cast<int>( ::QWebSettings::AutoLoadImages), 26},
    {sipName_CSSGridLayoutEnabled, static_cast<int>( ::QWebSettings::CSSGridLayoutEnabled), 26},
    {sipName_CSSRegionsEnabled, static_cast<int>( ::QWebSettings::CSSRegionsEnabled), 26},
    {sipName_CaretBrowsingEnabled, static_cast<int>( ::QWebSettings::CaretBrowsingEnabled), 26},
    {sipName_CursiveFont, static_cast<int>( ::QWebSettings::CursiveFont), 23},
    {sipName_DefaultFixedFontSize, static_cast<int>( ::QWebSettings::DefaultFixedFontSize), 24},
    {sipName_DefaultFontSize, static_cast<int>( ::QWebSettings::DefaultFontSize), 24},
    {sipName_DefaultFrameIconGraphic, static_cast<int>( ::QWebSettings::DefaultFrameIconGraphic), 27},
    {sipName_DeveloperExtrasEnabled, static_cast<int>( ::QWebSettings::DeveloperExtrasEnabled), 26},
    {sipName_DnsPrefetchEnabled, static_cast<int>( ::QWebSettings::DnsPrefetchEnabled), 26},
    {sipName_FantasyFont, static_cast<int>( ::QWebSettings::FantasyFont), 23},
    {sipName_FixedFont, static_cast<int>( ::QWebSettings::FixedFont), 23},
    {sipName_FrameFlatteningEnabled, static_cast<int>( ::QWebSettings::FrameFlatteningEnabled), 26},
    {sipName_HyperlinkAuditingEnabled, static_cast<int>( ::QWebSettings::HyperlinkAuditingEnabled), 26},
    {sipName_InputSpeechButtonGraphic, static_cast<int>( ::QWebSettings::InputSpeechButtonGraphic), 27},
    {sipName_JavaEnabled, static_cast<int>( ::QWebSettings::JavaEnabled), 26},
    {sipName_JavascriptCanAccessClipboard, static_cast<int>( ::QWebSettings::JavascriptCanAccessClipboard), 26},
    {sipName_JavascriptCanCloseWindows, static_cast<int>( ::QWebSettings::JavascriptCanCloseWindows), 26},
    {sipName_JavascriptCanOpenWindows, static_cast<int>( ::QWebSettings::JavascriptCanOpenWindows), 26},
    {sipName_JavascriptEnabled, static_cast<int>( ::QWebSettings::JavascriptEnabled), 26},
    {sipName_LinksIncludedInFocusChain, static_cast<int>( ::QWebSettings::LinksIncludedInFocusChain), 26},
    {sipName_LocalContentCanAccessFileUrls, static_cast<int>( ::QWebSettings::LocalContentCanAccessFileUrls), 26},
    {sipName_LocalContentCanAccessRemoteUrls, static_cast<int>( ::QWebSettings::LocalContentCanAccessRemoteUrls), 26},
    {sipName_LocalStorageDatabaseEnabled, static_cast<int>( ::QWebSettings::LocalStorageDatabaseEnabled), 26},
    {sipName_LocalStorageEnabled, static_cast<int>( ::QWebSettings::LocalStorageEnabled), 26},
    {sipName_MinimumFontSize, static_cast<int>( ::QWebSettings::MinimumFontSize), 24},
    {sipName_MinimumLogicalFontSize, static_cast<int>( ::QWebSettings::MinimumLogicalFontSize), 24},
    {sipName_MissingImageGraphic, static_cast<int>( ::QWebSettings::MissingImageGraphic), 27},
    {sipName_MissingPluginGraphic, static_cast<int>( ::QWebSettings::MissingPluginGraphic), 27},
    {sipName_NotificationsEnabled, static_cast<int>( ::QWebSettings::NotificationsEnabled), 26},
    {sipName_OfflineStorageDatabaseEnabled, static_cast<int>( ::QWebSettings::OfflineStorageDatabaseEnabled), 26},
    {sipName_OfflineWebApplicationCacheEnabled, static_cast<int>( ::QWebSettings::OfflineWebApplicationCacheEnabled), 26},
    {sipName_PluginsEnabled, static_cast<int>( ::QWebSettings::PluginsEnabled), 26},
    {sipName_PrintElementBackgrounds, static_cast<int>( ::QWebSettings::PrintElementBackgrounds), 26},
    {sipName_PrivateBrowsingEnabled, static_cast<int>( ::QWebSettings::PrivateBrowsingEnabled), 26},
    {sipName_SansSerifFont, static_cast<int>( ::QWebSettings::SansSerifFont), 23},
    {sipName_ScrollAnimatorEnabled, static_cast<int>( ::QWebSettings::ScrollAnimatorEnabled), 26},
    {sipName_SearchCancelButtonGraphic, static_cast<int>( ::QWebSettings::SearchCancelButtonGraphic), 27},
    {sipName_SearchCancelButtonPressedGraphic, static_cast<int>( ::QWebSettings::SearchCancelButtonPressedGraphic), 27},
    {sipName_SerifFont, static_cast<int>( ::QWebSettings::SerifFont), 23},
    {sipName_SiteSpecificQuirksEnabled, static_cast<int>( ::QWebSettings::SiteSpecificQuirksEnabled), 26},
    {sipName_SpatialNavigationEnabled, static_cast<int>( ::QWebSettings::SpatialNavigationEnabled), 26},
    {sipName_StandardFont, static_cast<int>( ::QWebSettings::StandardFont), 23},
    {sipName_TextAreaSizeGripCornerGraphic, static_cast<int>( ::QWebSettings::TextAreaSizeGripCornerGraphic), 27},
    {sipName_TiledBackingStoreEnabled, static_cast<int>( ::QWebSettings::TiledBackingStoreEnabled), 26},
    {sipName_WebAudioEnabled, static_cast<int>( ::QWebSettings::WebAudioEnabled), 26},
    {sipName_WebGLEnabled, static_cast<int>( ::QWebSettings::WebGLEnabled), 26},
    {sipName_XSSAuditingEnabled, static_cast<int>( ::QWebSettings::XSSAuditingEnabled), 26},
    {sipName_ZoomTextOnly, static_cast<int>( ::QWebSettings::ZoomTextOnly), 26},
};


static pyqt5ClassPluginDef plugin_QWebSettings = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWebKit_QWebSettings = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebSettings,
        {0},
        &plugin_QWebSettings
    },
    {
        sipNameNr_QWebSettings,
        {0, 0, 1},
        39, methods_QWebSettings,
        54, enummembers_QWebSettings,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_QWebSettings,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebsecurityorigin.sip"
#include <qwebsecurityorigin.h>
#line 3315 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 3319 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 3322 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 3325 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 3328 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebdatabase.sip"
#include <qwebdatabase.h>
#line 3331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 3334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


PyDoc_STRVAR(doc_QWebSecurityOrigin_allOrigins, "allOrigins() -> object");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
            QList< ::QWebSecurityOrigin>*sipRes;

            sipRes = new QList< ::QWebSecurityOrigin>( ::QWebSecurityOrigin::allOrigins());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSecurityOrigin, sipName_allOrigins, doc_QWebSecurityOrigin_allOrigins);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSecurityOrigin_scheme, "scheme(self) -> str");

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

    {
        const  ::QWebSecurityOrigin *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSecurityOrigin, sipName_scheme, doc_QWebSecurityOrigin_scheme);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSecurityOrigin_host, "host(self) -> str");

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

    {
        const  ::QWebSecurityOrigin *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSecurityOrigin, sipName_host, doc_QWebSecurityOrigin_host);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSecurityOrigin_port, "port(self) -> int");

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

    {
        const  ::QWebSecurityOrigin *sipCpp;

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

            sipRes = sipCpp->port();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSecurityOrigin, sipName_port, doc_QWebSecurityOrigin_port);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSecurityOrigin_databaseUsage, "databaseUsage(self) -> int");

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

    {
        const  ::QWebSecurityOrigin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebSecurityOrigin, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->databaseUsage();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSecurityOrigin, sipName_databaseUsage, doc_QWebSecurityOrigin_databaseUsage);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSecurityOrigin_databaseQuota, "databaseQuota(self) -> int");

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

    {
        const  ::QWebSecurityOrigin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebSecurityOrigin, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->databaseQuota();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSecurityOrigin, sipName_databaseQuota, doc_QWebSecurityOrigin_databaseQuota);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSecurityOrigin_setDatabaseQuota, "setDatabaseQuota(self, int)");

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

    {
         ::qint64 a0;
         ::QWebSecurityOrigin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QWebSecurityOrigin, &sipCpp, &a0))
        {
            sipCpp->setDatabaseQuota(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSecurityOrigin, sipName_setDatabaseQuota, doc_QWebSecurityOrigin_setDatabaseQuota);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSecurityOrigin_databases, "databases(self) -> object");

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

    {
        const  ::QWebSecurityOrigin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebSecurityOrigin, &sipCpp))
        {
            QList< ::QWebDatabase>*sipRes;

            sipRes = new QList< ::QWebDatabase>(sipCpp->databases());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSecurityOrigin, sipName_databases, doc_QWebSecurityOrigin_databases);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSecurityOrigin_addLocalScheme, "addLocalScheme(str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QWebSecurityOrigin::addLocalScheme(*a0);
            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_QWebSecurityOrigin, sipName_addLocalScheme, doc_QWebSecurityOrigin_addLocalScheme);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSecurityOrigin_removeLocalScheme, "removeLocalScheme(str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "J1", sipType_QString,&a0, &a0State))
        {
             ::QWebSecurityOrigin::removeLocalScheme(*a0);
            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_QWebSecurityOrigin, sipName_removeLocalScheme, doc_QWebSecurityOrigin_removeLocalScheme);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSecurityOrigin_localSchemes, "localSchemes() -> List[str]");

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

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

            sipRes = new  ::QStringList( ::QWebSecurityOrigin::localSchemes());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSecurityOrigin, sipName_localSchemes, doc_QWebSecurityOrigin_localSchemes);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSecurityOrigin_setApplicationCacheQuota, "setApplicationCacheQuota(self, int)");

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

    {
         ::qint64 a0;
         ::QWebSecurityOrigin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bn", &sipSelf, sipType_QWebSecurityOrigin, &sipCpp, &a0))
        {
            sipCpp->setApplicationCacheQuota(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebSecurityOrigin, sipName_setApplicationCacheQuota, doc_QWebSecurityOrigin_setApplicationCacheQuota);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSecurityOrigin_addAccessWhitelistEntry, "addAccessWhitelistEntry(self, str, str, QWebSecurityOrigin.SubdomainSetting)");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::QWebSecurityOrigin::SubdomainSetting a2;
         ::QWebSecurityOrigin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1E", &sipSelf, sipType_QWebSecurityOrigin, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QWebSecurityOrigin_SubdomainSetting, &a2))
        {
            sipCpp->addAccessWhitelistEntry(*a0,*a1,a2);
            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_QWebSecurityOrigin, sipName_addAccessWhitelistEntry, doc_QWebSecurityOrigin_addAccessWhitelistEntry);

    return NULL;
}


PyDoc_STRVAR(doc_QWebSecurityOrigin_removeAccessWhitelistEntry, "removeAccessWhitelistEntry(self, str, str, QWebSecurityOrigin.SubdomainSetting)");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QString* a1;
        int a1State = 0;
         ::QWebSecurityOrigin::SubdomainSetting a2;
         ::QWebSecurityOrigin *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1E", &sipSelf, sipType_QWebSecurityOrigin, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QWebSecurityOrigin_SubdomainSetting, &a2))
        {
            sipCpp->removeAccessWhitelistEntry(*a0,*a1,a2);
            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_QWebSecurityOrigin, sipName_removeAccessWhitelistEntry, doc_QWebSecurityOrigin_removeAccessWhitelistEntry);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWebSecurityOrigin(void *, int);}
static void release_QWebSecurityOrigin(void *sipCppV, int)
{
    delete reinterpret_cast< ::QWebSecurityOrigin *>(sipCppV);
}


extern "C" {static void dealloc_QWebSecurityOrigin(sipSimpleWrapper *);}
static void dealloc_QWebSecurityOrigin(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWebSecurityOrigin(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QWebSecurityOrigin(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWebSecurityOrigin(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QWebSecurityOrigin *sipCpp = 0;

    {
        const  ::QUrl* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QUrl, &a0))
        {
            sipCpp = new  ::QWebSecurityOrigin(*a0);

            return sipCpp;
        }
    }

    {
        const  ::QWebSecurityOrigin* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QWebSecurityOrigin, &a0))
        {
            sipCpp = new  ::QWebSecurityOrigin(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QWebSecurityOrigin[] = {
    {SIP_MLNAME_CAST(sipName_addAccessWhitelistEntry), meth_QWebSecurityOrigin_addAccessWhitelistEntry, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_addAccessWhitelistEntry)},
    {SIP_MLNAME_CAST(sipName_addLocalScheme), meth_QWebSecurityOrigin_addLocalScheme, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_addLocalScheme)},
    {SIP_MLNAME_CAST(sipName_allOrigins), meth_QWebSecurityOrigin_allOrigins, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_allOrigins)},
    {SIP_MLNAME_CAST(sipName_databaseQuota), meth_QWebSecurityOrigin_databaseQuota, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_databaseQuota)},
    {SIP_MLNAME_CAST(sipName_databaseUsage), meth_QWebSecurityOrigin_databaseUsage, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_databaseUsage)},
    {SIP_MLNAME_CAST(sipName_databases), meth_QWebSecurityOrigin_databases, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_databases)},
    {SIP_MLNAME_CAST(sipName_host), meth_QWebSecurityOrigin_host, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_host)},
    {SIP_MLNAME_CAST(sipName_localSchemes), meth_QWebSecurityOrigin_localSchemes, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_localSchemes)},
    {SIP_MLNAME_CAST(sipName_port), meth_QWebSecurityOrigin_port, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_port)},
    {SIP_MLNAME_CAST(sipName_removeAccessWhitelistEntry), meth_QWebSecurityOrigin_removeAccessWhitelistEntry, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_removeAccessWhitelistEntry)},
    {SIP_MLNAME_CAST(sipName_removeLocalScheme), meth_QWebSecurityOrigin_removeLocalScheme, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_removeLocalScheme)},
    {SIP_MLNAME_CAST(sipName_scheme), meth_QWebSecurityOrigin_scheme, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_scheme)},
    {SIP_MLNAME_CAST(sipName_setApplicationCacheQuota), meth_QWebSecurityOrigin_setApplicationCacheQuota, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_setApplicationCacheQuota)},
    {SIP_MLNAME_CAST(sipName_setDatabaseQuota), meth_QWebSecurityOrigin_setDatabaseQuota, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebSecurityOrigin_setDatabaseQuota)}
};

static sipEnumMemberDef enummembers_QWebSecurityOrigin[] = {
    {sipName_AllowSubdomains, static_cast<int>( ::QWebSecurityOrigin::AllowSubdomains), 21},
    {sipName_DisallowSubdomains, static_cast<int>( ::QWebSecurityOrigin::DisallowSubdomains), 21},
};

PyDoc_STRVAR(doc_QWebSecurityOrigin, "\1QWebSecurityOrigin(QUrl)\n"
    "QWebSecurityOrigin(QWebSecurityOrigin)");


static pyqt5ClassPluginDef plugin_QWebSecurityOrigin = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWebKit_QWebSecurityOrigin = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebSecurityOrigin,
        {0},
        &plugin_QWebSecurityOrigin
    },
    {
        sipNameNr_QWebSecurityOrigin,
        {0, 0, 1},
        14, methods_QWebSecurityOrigin,
        2, enummembers_QWebSecurityOrigin,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWebSecurityOrigin,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QWebSecurityOrigin,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWebSecurityOrigin,
    0,
    0,
    0,
    release_QWebSecurityOrigin,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 3876 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"



/* Call the instance's destructor. */
extern "C" {static void release_QWebPluginFactory_ExtensionReturn(void *, int);}
static void release_QWebPluginFactory_ExtensionReturn(void *sipCppV, int)
{
    delete reinterpret_cast< ::QWebPluginFactory::ExtensionReturn *>(sipCppV);
}


extern "C" {static void assign_QWebPluginFactory_ExtensionReturn(void *, SIP_SSIZE_T, const void *);}
static void assign_QWebPluginFactory_ExtensionReturn(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QWebPluginFactory::ExtensionReturn *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QWebPluginFactory::ExtensionReturn *>(sipSrc);
}


extern "C" {static void *array_QWebPluginFactory_ExtensionReturn(SIP_SSIZE_T);}
static void *array_QWebPluginFactory_ExtensionReturn(SIP_SSIZE_T sipNrElem)
{
    return new  ::QWebPluginFactory::ExtensionReturn[sipNrElem];
}


extern "C" {static void *copy_QWebPluginFactory_ExtensionReturn(const void *, SIP_SSIZE_T);}
static void *copy_QWebPluginFactory_ExtensionReturn(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QWebPluginFactory::ExtensionReturn(reinterpret_cast<const  ::QWebPluginFactory::ExtensionReturn *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QWebPluginFactory_ExtensionReturn(sipSimpleWrapper *);}
static void dealloc_QWebPluginFactory_ExtensionReturn(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWebPluginFactory_ExtensionReturn(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QWebPluginFactory_ExtensionReturn(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWebPluginFactory_ExtensionReturn(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QWebPluginFactory::ExtensionReturn *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QWebPluginFactory::ExtensionReturn();

            return sipCpp;
        }
    }

    {
        const  ::QWebPluginFactory::ExtensionReturn* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QWebPluginFactory_ExtensionReturn, &a0))
        {
            sipCpp = new  ::QWebPluginFactory::ExtensionReturn(*a0);

            return sipCpp;
        }
    }

    return NULL;
}

PyDoc_STRVAR(doc_QWebPluginFactory_ExtensionReturn, "\1QWebPluginFactory.ExtensionReturn()\n"
    "QWebPluginFactory.ExtensionReturn(QWebPluginFactory.ExtensionReturn)");


static pyqt5ClassPluginDef plugin_QWebPluginFactory_ExtensionReturn = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWebKit_QWebPluginFactory_ExtensionReturn = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebPluginFactory__ExtensionReturn,
        {0},
        &plugin_QWebPluginFactory_ExtensionReturn
    },
    {
        sipNameNr_ExtensionReturn,
        {14, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWebPluginFactory_ExtensionReturn,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QWebPluginFactory_ExtensionReturn,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWebPluginFactory_ExtensionReturn,
    assign_QWebPluginFactory_ExtensionReturn,
    array_QWebPluginFactory_ExtensionReturn,
    copy_QWebPluginFactory_ExtensionReturn,
    release_QWebPluginFactory_ExtensionReturn,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 4013 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"



/* Call the instance's destructor. */
extern "C" {static void release_QWebPluginFactory_ExtensionOption(void *, int);}
static void release_QWebPluginFactory_ExtensionOption(void *sipCppV, int)
{
    delete reinterpret_cast< ::QWebPluginFactory::ExtensionOption *>(sipCppV);
}


extern "C" {static void assign_QWebPluginFactory_ExtensionOption(void *, SIP_SSIZE_T, const void *);}
static void assign_QWebPluginFactory_ExtensionOption(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QWebPluginFactory::ExtensionOption *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QWebPluginFactory::ExtensionOption *>(sipSrc);
}


extern "C" {static void *array_QWebPluginFactory_ExtensionOption(SIP_SSIZE_T);}
static void *array_QWebPluginFactory_ExtensionOption(SIP_SSIZE_T sipNrElem)
{
    return new  ::QWebPluginFactory::ExtensionOption[sipNrElem];
}


extern "C" {static void *copy_QWebPluginFactory_ExtensionOption(const void *, SIP_SSIZE_T);}
static void *copy_QWebPluginFactory_ExtensionOption(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QWebPluginFactory::ExtensionOption(reinterpret_cast<const  ::QWebPluginFactory::ExtensionOption *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QWebPluginFactory_ExtensionOption(sipSimpleWrapper *);}
static void dealloc_QWebPluginFactory_ExtensionOption(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWebPluginFactory_ExtensionOption(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QWebPluginFactory_ExtensionOption(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWebPluginFactory_ExtensionOption(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QWebPluginFactory::ExtensionOption *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QWebPluginFactory::ExtensionOption();

            return sipCpp;
        }
    }

    {
        const  ::QWebPluginFactory::ExtensionOption* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QWebPluginFactory_ExtensionOption, &a0))
        {
            sipCpp = new  ::QWebPluginFactory::ExtensionOption(*a0);

            return sipCpp;
        }
    }

    return NULL;
}

PyDoc_STRVAR(doc_QWebPluginFactory_ExtensionOption, "\1QWebPluginFactory.ExtensionOption()\n"
    "QWebPluginFactory.ExtensionOption(QWebPluginFactory.ExtensionOption)");


static pyqt5ClassPluginDef plugin_QWebPluginFactory_ExtensionOption = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWebKit_QWebPluginFactory_ExtensionOption = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebPluginFactory__ExtensionOption,
        {0},
        &plugin_QWebPluginFactory_ExtensionOption
    },
    {
        sipNameNr_ExtensionOption,
        {14, 255, 0},
        0, 0,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWebPluginFactory_ExtensionOption,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QWebPluginFactory_ExtensionOption,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWebPluginFactory_ExtensionOption,
    assign_QWebPluginFactory_ExtensionOption,
    array_QWebPluginFactory_ExtensionOption,
    copy_QWebPluginFactory_ExtensionOption,
    release_QWebPluginFactory_ExtensionOption,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 75 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 4150 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4154 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 4157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 4162 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


/* Call the instance's destructor. */
extern "C" {static void release_QWebPluginFactory_Plugin(void *, int);}
static void release_QWebPluginFactory_Plugin(void *sipCppV, int)
{
    delete reinterpret_cast< ::QWebPluginFactory::Plugin *>(sipCppV);
}


extern "C" {static void assign_QWebPluginFactory_Plugin(void *, SIP_SSIZE_T, const void *);}
static void assign_QWebPluginFactory_Plugin(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QWebPluginFactory::Plugin *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QWebPluginFactory::Plugin *>(sipSrc);
}


extern "C" {static void *array_QWebPluginFactory_Plugin(SIP_SSIZE_T);}
static void *array_QWebPluginFactory_Plugin(SIP_SSIZE_T sipNrElem)
{
    return new  ::QWebPluginFactory::Plugin[sipNrElem];
}


extern "C" {static void *copy_QWebPluginFactory_Plugin(const void *, SIP_SSIZE_T);}
static void *copy_QWebPluginFactory_Plugin(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QWebPluginFactory::Plugin(reinterpret_cast<const  ::QWebPluginFactory::Plugin *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QWebPluginFactory_Plugin(sipSimpleWrapper *);}
static void dealloc_QWebPluginFactory_Plugin(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWebPluginFactory_Plugin(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QWebPluginFactory_Plugin(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWebPluginFactory_Plugin(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QWebPluginFactory::Plugin *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QWebPluginFactory::Plugin();

            return sipCpp;
        }
    }

    {
        const  ::QWebPluginFactory::Plugin* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QWebPluginFactory_Plugin, &a0))
        {
            sipCpp = new  ::QWebPluginFactory::Plugin(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


extern "C" {static PyObject *varget_QWebPluginFactory_Plugin_description(void *, PyObject *, PyObject *);}
static PyObject *varget_QWebPluginFactory_Plugin_description(void *sipSelf, PyObject *, PyObject *)
{
     ::QString*sipVal;
     ::QWebPluginFactory::Plugin *sipCpp = reinterpret_cast< ::QWebPluginFactory::Plugin *>(sipSelf);

    sipVal = &sipCpp->description;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_QWebPluginFactory_Plugin_description(void *, PyObject *, PyObject *);}
static int varset_QWebPluginFactory_Plugin_description(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QString*sipVal;
     ::QWebPluginFactory::Plugin *sipCpp = reinterpret_cast< ::QWebPluginFactory::Plugin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast< ::QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->description = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QWebPluginFactory_Plugin_mimeTypes(void *, PyObject *, PyObject *);}
static PyObject *varget_QWebPluginFactory_Plugin_mimeTypes(void *sipSelf, PyObject *, PyObject *)
{
    QList< ::QWebPluginFactory::MimeType>*sipVal;
     ::QWebPluginFactory::Plugin *sipCpp = reinterpret_cast< ::QWebPluginFactory::Plugin *>(sipSelf);

    sipVal = &sipCpp->mimeTypes;

    return sipConvertFromType(sipVal, sipType_QList_0100QWebPluginFactory_MimeType, NULL);
}


extern "C" {static int varset_QWebPluginFactory_Plugin_mimeTypes(void *, PyObject *, PyObject *);}
static int varset_QWebPluginFactory_Plugin_mimeTypes(void *sipSelf, PyObject *sipPy, PyObject *)
{
    QList< ::QWebPluginFactory::MimeType>*sipVal;
     ::QWebPluginFactory::Plugin *sipCpp = reinterpret_cast< ::QWebPluginFactory::Plugin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast<QList< ::QWebPluginFactory::MimeType> *>(sipForceConvertToType(sipPy,sipType_QList_0100QWebPluginFactory_MimeType,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->mimeTypes = *sipVal;

    sipReleaseType(sipVal, sipType_QList_0100QWebPluginFactory_MimeType, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QWebPluginFactory_Plugin_name(void *, PyObject *, PyObject *);}
static PyObject *varget_QWebPluginFactory_Plugin_name(void *sipSelf, PyObject *, PyObject *)
{
     ::QString*sipVal;
     ::QWebPluginFactory::Plugin *sipCpp = reinterpret_cast< ::QWebPluginFactory::Plugin *>(sipSelf);

    sipVal = &sipCpp->name;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_QWebPluginFactory_Plugin_name(void *, PyObject *, PyObject *);}
static int varset_QWebPluginFactory_Plugin_name(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QString*sipVal;
     ::QWebPluginFactory::Plugin *sipCpp = reinterpret_cast< ::QWebPluginFactory::Plugin *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast< ::QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->name = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_QWebPluginFactory_Plugin[] = {
    {InstanceVariable, sipName_description, (PyMethodDef *)varget_QWebPluginFactory_Plugin_description, (PyMethodDef *)varset_QWebPluginFactory_Plugin_description, NULL, NULL},
    {InstanceVariable, sipName_mimeTypes, (PyMethodDef *)varget_QWebPluginFactory_Plugin_mimeTypes, (PyMethodDef *)varset_QWebPluginFactory_Plugin_mimeTypes, NULL, NULL},
    {InstanceVariable, sipName_name, (PyMethodDef *)varget_QWebPluginFactory_Plugin_name, (PyMethodDef *)varset_QWebPluginFactory_Plugin_name, NULL, NULL},
};

PyDoc_STRVAR(doc_QWebPluginFactory_Plugin, "\1QWebPluginFactory.Plugin()\n"
    "QWebPluginFactory.Plugin(QWebPluginFactory.Plugin)");


static pyqt5ClassPluginDef plugin_QWebPluginFactory_Plugin = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWebKit_QWebPluginFactory_Plugin = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebPluginFactory__Plugin,
        {0},
        &plugin_QWebPluginFactory_Plugin
    },
    {
        sipNameNr_Plugin,
        {14, 255, 0},
        0, 0,
        0, 0,
        3, variables_QWebPluginFactory_Plugin,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWebPluginFactory_Plugin,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QWebPluginFactory_Plugin,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWebPluginFactory_Plugin,
    assign_QWebPluginFactory_Plugin,
    array_QWebPluginFactory_Plugin,
    copy_QWebPluginFactory_Plugin,
    release_QWebPluginFactory_Plugin,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 62 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 4406 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4410 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 4413 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


extern "C" {static PyObject *slot_QWebPluginFactory_MimeType___ne__(PyObject *,PyObject *);}
static PyObject *slot_QWebPluginFactory_MimeType___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QWebPluginFactory::MimeType *sipCpp = reinterpret_cast< ::QWebPluginFactory::MimeType *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWebPluginFactory_MimeType));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QWebPluginFactory::MimeType* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QWebPluginFactory_MimeType, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QWebPluginFactory::MimeType::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWebKit, ne_slot, sipType_QWebPluginFactory_MimeType, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QWebPluginFactory_MimeType___eq__(PyObject *,PyObject *);}
static PyObject *slot_QWebPluginFactory_MimeType___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QWebPluginFactory::MimeType *sipCpp = reinterpret_cast< ::QWebPluginFactory::MimeType *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWebPluginFactory_MimeType));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QWebPluginFactory::MimeType* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QWebPluginFactory_MimeType, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QWebPluginFactory::MimeType::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWebKit, eq_slot, sipType_QWebPluginFactory_MimeType, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QWebPluginFactory_MimeType(void *, int);}
static void release_QWebPluginFactory_MimeType(void *sipCppV, int)
{
    delete reinterpret_cast< ::QWebPluginFactory::MimeType *>(sipCppV);
}


extern "C" {static void assign_QWebPluginFactory_MimeType(void *, SIP_SSIZE_T, const void *);}
static void assign_QWebPluginFactory_MimeType(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QWebPluginFactory::MimeType *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QWebPluginFactory::MimeType *>(sipSrc);
}


extern "C" {static void *array_QWebPluginFactory_MimeType(SIP_SSIZE_T);}
static void *array_QWebPluginFactory_MimeType(SIP_SSIZE_T sipNrElem)
{
    return new  ::QWebPluginFactory::MimeType[sipNrElem];
}


extern "C" {static void *copy_QWebPluginFactory_MimeType(const void *, SIP_SSIZE_T);}
static void *copy_QWebPluginFactory_MimeType(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QWebPluginFactory::MimeType(reinterpret_cast<const  ::QWebPluginFactory::MimeType *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QWebPluginFactory_MimeType(sipSimpleWrapper *);}
static void dealloc_QWebPluginFactory_MimeType(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWebPluginFactory_MimeType(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QWebPluginFactory_MimeType(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWebPluginFactory_MimeType(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QWebPluginFactory::MimeType *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QWebPluginFactory::MimeType();

            return sipCpp;
        }
    }

    {
        const  ::QWebPluginFactory::MimeType* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QWebPluginFactory_MimeType, &a0))
        {
            sipCpp = new  ::QWebPluginFactory::MimeType(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QWebPluginFactory_MimeType[] = {
    {(void *)slot_QWebPluginFactory_MimeType___ne__, ne_slot},
    {(void *)slot_QWebPluginFactory_MimeType___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


extern "C" {static PyObject *varget_QWebPluginFactory_MimeType_description(void *, PyObject *, PyObject *);}
static PyObject *varget_QWebPluginFactory_MimeType_description(void *sipSelf, PyObject *, PyObject *)
{
     ::QString*sipVal;
     ::QWebPluginFactory::MimeType *sipCpp = reinterpret_cast< ::QWebPluginFactory::MimeType *>(sipSelf);

    sipVal = &sipCpp->description;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_QWebPluginFactory_MimeType_description(void *, PyObject *, PyObject *);}
static int varset_QWebPluginFactory_MimeType_description(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QString*sipVal;
     ::QWebPluginFactory::MimeType *sipCpp = reinterpret_cast< ::QWebPluginFactory::MimeType *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast< ::QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->description = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QWebPluginFactory_MimeType_fileExtensions(void *, PyObject *, PyObject *);}
static PyObject *varget_QWebPluginFactory_MimeType_fileExtensions(void *sipSelf, PyObject *, PyObject *)
{
     ::QStringList*sipVal;
     ::QWebPluginFactory::MimeType *sipCpp = reinterpret_cast< ::QWebPluginFactory::MimeType *>(sipSelf);

    sipVal = &sipCpp->fileExtensions;

    return sipConvertFromType(sipVal, sipType_QStringList, NULL);
}


extern "C" {static int varset_QWebPluginFactory_MimeType_fileExtensions(void *, PyObject *, PyObject *);}
static int varset_QWebPluginFactory_MimeType_fileExtensions(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QStringList*sipVal;
     ::QWebPluginFactory::MimeType *sipCpp = reinterpret_cast< ::QWebPluginFactory::MimeType *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast< ::QStringList *>(sipForceConvertToType(sipPy,sipType_QStringList,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->fileExtensions = *sipVal;

    sipReleaseType(sipVal, sipType_QStringList, sipValState);

    return 0;
}


extern "C" {static PyObject *varget_QWebPluginFactory_MimeType_name(void *, PyObject *, PyObject *);}
static PyObject *varget_QWebPluginFactory_MimeType_name(void *sipSelf, PyObject *, PyObject *)
{
     ::QString*sipVal;
     ::QWebPluginFactory::MimeType *sipCpp = reinterpret_cast< ::QWebPluginFactory::MimeType *>(sipSelf);

    sipVal = &sipCpp->name;

    return sipConvertFromType(sipVal, sipType_QString, NULL);
}


extern "C" {static int varset_QWebPluginFactory_MimeType_name(void *, PyObject *, PyObject *);}
static int varset_QWebPluginFactory_MimeType_name(void *sipSelf, PyObject *sipPy, PyObject *)
{
     ::QString*sipVal;
     ::QWebPluginFactory::MimeType *sipCpp = reinterpret_cast< ::QWebPluginFactory::MimeType *>(sipSelf);

    int sipValState;
    int sipIsErr = 0;

    sipVal = reinterpret_cast< ::QString *>(sipForceConvertToType(sipPy,sipType_QString,NULL,SIP_NOT_NONE,&sipValState,&sipIsErr));

    if (sipIsErr)
        return -1;

    sipCpp->name = *sipVal;

    sipReleaseType(sipVal, sipType_QString, sipValState);

    return 0;
}

sipVariableDef variables_QWebPluginFactory_MimeType[] = {
    {InstanceVariable, sipName_description, (PyMethodDef *)varget_QWebPluginFactory_MimeType_description, (PyMethodDef *)varset_QWebPluginFactory_MimeType_description, NULL, NULL},
    {InstanceVariable, sipName_fileExtensions, (PyMethodDef *)varget_QWebPluginFactory_MimeType_fileExtensions, (PyMethodDef *)varset_QWebPluginFactory_MimeType_fileExtensions, NULL, NULL},
    {InstanceVariable, sipName_name, (PyMethodDef *)varget_QWebPluginFactory_MimeType_name, (PyMethodDef *)varset_QWebPluginFactory_MimeType_name, NULL, NULL},
};

PyDoc_STRVAR(doc_QWebPluginFactory_MimeType, "\1QWebPluginFactory.MimeType()\n"
    "QWebPluginFactory.MimeType(QWebPluginFactory.MimeType)");


static pyqt5ClassPluginDef plugin_QWebPluginFactory_MimeType = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWebKit_QWebPluginFactory_MimeType = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebPluginFactory__MimeType,
        {0},
        &plugin_QWebPluginFactory_MimeType
    },
    {
        sipNameNr_MimeType,
        {14, 255, 0},
        0, 0,
        0, 0,
        3, variables_QWebPluginFactory_MimeType,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWebPluginFactory_MimeType,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QWebPluginFactory_MimeType,
    init_type_QWebPluginFactory_MimeType,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWebPluginFactory_MimeType,
    assign_QWebPluginFactory_MimeType,
    array_QWebPluginFactory_MimeType,
    copy_QWebPluginFactory_MimeType,
    release_QWebPluginFactory_MimeType,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 4727 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 4731 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 96 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 4736 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 103 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 4741 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 4744 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 4747 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 4750 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 4753 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 75 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebpluginfactory.sip"
#include <qwebpluginfactory.h>
#line 4758 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 4761 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4764 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4767 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 4770 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 4773 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 4776 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 4779 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 4782 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 4788 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 4791 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 4794 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 4797 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 4800 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


class sipQWebPluginFactory : public  ::QWebPluginFactory
{
public:
    sipQWebPluginFactory( ::QObject*);
    virtual ~sipQWebPluginFactory();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    bool supportsExtension( ::QWebPluginFactory::Extension) const;
    bool extension( ::QWebPluginFactory::Extension,const  ::QWebPluginFactory::ExtensionOption*, ::QWebPluginFactory::ExtensionReturn*);
     ::QObject* create(const  ::QString&,const  ::QUrl&,const  ::QStringList&,const  ::QStringList&) const;
    void refreshPlugins();
    QList< ::QWebPluginFactory::Plugin> plugins() const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[12];
};

sipQWebPluginFactory::sipQWebPluginFactory( ::QObject*a0):  ::QWebPluginFactory(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQWebPluginFactory::~sipQWebPluginFactory()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQWebPluginFactory::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWebKit_qt_metaobject(sipPySelf,sipType_QWebPluginFactory);

    return  ::QWebPluginFactory::metaObject();
}

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

    if (_id >= 0)
        _id = sip_QtWebKit_qt_metacall(sipPySelf,sipType_QWebPluginFactory,_c,_id,_a);

    return _id;
}

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

    return (sip_QtWebKit_qt_metacast(sipPySelf, sipType_QWebPluginFactory, _clname, &sipCpp) ? sipCpp :  ::QWebPluginFactory::qt_metacast(_clname));
}

bool sipQWebPluginFactory::supportsExtension( ::QWebPluginFactory::Extension a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWebPluginFactory::supportsExtension(a0);

    extern bool sipVH_QtWebKit_12(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWebPluginFactory::Extension);

    return sipVH_QtWebKit_12(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQWebPluginFactory::extension( ::QWebPluginFactory::Extension a0,const  ::QWebPluginFactory::ExtensionOption*a1, ::QWebPluginFactory::ExtensionReturn*a2)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
        return  ::QWebPluginFactory::extension(a0,a1,a2);

    extern bool sipVH_QtWebKit_11(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *,  ::QWebPluginFactory::Extension,const  ::QWebPluginFactory::ExtensionOption*, ::QWebPluginFactory::ExtensionReturn*);

    return sipVH_QtWebKit_11(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2);
}

 ::QObject* sipQWebPluginFactory::create(const  ::QString& a0,const  ::QUrl& a1,const  ::QStringList& a2,const  ::QStringList& a3) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[2]),sipPySelf,sipName_QWebPluginFactory,sipName_create);

    if (!sipMeth)
        return 0;

    extern  ::QObject* sipVH_QtWebKit_10(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *, const  ::QString&,const  ::QUrl&,const  ::QStringList&,const  ::QStringList&);

    return sipVH_QtWebKit_10(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0, a1, a2, a3);
}

void sipQWebPluginFactory::refreshPlugins()
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

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

    if (!sipMeth)
    {
         ::QWebPluginFactory::refreshPlugins();
        return;
    }

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

    sipVH_QtWebKit_9(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

QList< ::QWebPluginFactory::Plugin> sipQWebPluginFactory::plugins() const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[4]),sipPySelf,sipName_QWebPluginFactory,sipName_plugins);

    if (!sipMeth)
        return QList< ::QWebPluginFactory::Plugin>();

    extern QList< ::QWebPluginFactory::Plugin> sipVH_QtWebKit_8(sip_gilstate_t, sipVirtErrorHandlerFunc, sipSimpleWrapper *, PyObject *);

    return sipVH_QtWebKit_8(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth);
}

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

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

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

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

    return sipVH_QtWebKit_5(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtWebKit_3(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWebKit_2(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWebKit_1(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWebKit_0(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWebKit_0(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQWebPluginFactory::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQWebPluginFactory::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQWebPluginFactory::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQWebPluginFactory::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQWebPluginFactory::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQWebPluginFactory::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQWebPluginFactory::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQWebPluginFactory::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQWebPluginFactory::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QWebPluginFactory_sender, "sender(self) -> QObject");

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

    {
        const sipQWebPluginFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWebPluginFactory, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 5177 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_sender, doc_QWebPluginFactory_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QWebPluginFactory_receivers, "receivers(self, PYQT_SIGNAL) -> int");

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

    {
        PyObject * a0;
        const sipQWebPluginFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QWebPluginFactory, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 5237 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_receivers, doc_QWebPluginFactory_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QWebPluginFactory_timerEvent, "timerEvent(self, QTimerEvent)");

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

    {
         ::QTimerEvent* a0;
        sipQWebPluginFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWebPluginFactory, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_timerEvent, doc_QWebPluginFactory_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWebPluginFactory_childEvent, "childEvent(self, QChildEvent)");

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

    {
         ::QChildEvent* a0;
        sipQWebPluginFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWebPluginFactory, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_childEvent, doc_QWebPluginFactory_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWebPluginFactory_customEvent, "customEvent(self, QEvent)");

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

    {
         ::QEvent* a0;
        sipQWebPluginFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWebPluginFactory, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_customEvent, doc_QWebPluginFactory_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWebPluginFactory_connectNotify, "connectNotify(self, QMetaMethod)");

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

    {
        const  ::QMetaMethod* a0;
        sipQWebPluginFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWebPluginFactory, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_connectNotify, doc_QWebPluginFactory_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QWebPluginFactory_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

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

    {
        const  ::QMetaMethod* a0;
        sipQWebPluginFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWebPluginFactory, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_disconnectNotify, doc_QWebPluginFactory_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QWebPluginFactory_senderSignalIndex, "senderSignalIndex(self) -> int");

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

    {
        const sipQWebPluginFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWebPluginFactory, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_senderSignalIndex, doc_QWebPluginFactory_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QWebPluginFactory_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

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

    {
        const  ::QMetaMethod* a0;
        const sipQWebPluginFactory *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWebPluginFactory, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_isSignalConnected, doc_QWebPluginFactory_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QWebPluginFactory_plugins, "plugins(self) -> object");

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

    {
        const  ::QWebPluginFactory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebPluginFactory, &sipCpp))
        {
            QList< ::QWebPluginFactory::Plugin>*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QWebPluginFactory, sipName_plugins);
                return NULL;
            }

            sipRes = new QList< ::QWebPluginFactory::Plugin>(sipCpp->plugins());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_plugins, doc_QWebPluginFactory_plugins);

    return NULL;
}


PyDoc_STRVAR(doc_QWebPluginFactory_refreshPlugins, "refreshPlugins(self)");

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

    {
         ::QWebPluginFactory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebPluginFactory, &sipCpp))
        {
            (sipSelfWasArg ? sipCpp-> ::QWebPluginFactory::refreshPlugins() : sipCpp->refreshPlugins());

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_refreshPlugins, doc_QWebPluginFactory_refreshPlugins);

    return NULL;
}


PyDoc_STRVAR(doc_QWebPluginFactory_create, "create(self, str, QUrl, Iterable[str], Iterable[str]) -> QObject");

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

    {
        const  ::QString* a0;
        int a0State = 0;
        const  ::QUrl* a1;
        const  ::QStringList* a2;
        int a2State = 0;
        const  ::QStringList* a3;
        int a3State = 0;
        const  ::QWebPluginFactory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J9J1J1", &sipSelf, sipType_QWebPluginFactory, &sipCpp, sipType_QString,&a0, &a0State, sipType_QUrl, &a1, sipType_QStringList,&a2, &a2State, sipType_QStringList,&a3, &a3State))
        {
             ::QObject*sipRes;

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QWebPluginFactory, sipName_create);
                return NULL;
            }

            sipRes = sipCpp->create(*a0,*a1,*a2,*a3);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);
            sipReleaseType(const_cast< ::QStringList *>(a2),sipType_QStringList,a2State);
            sipReleaseType(const_cast< ::QStringList *>(a3),sipType_QStringList,a3State);

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_create, doc_QWebPluginFactory_create);

    return NULL;
}


PyDoc_STRVAR(doc_QWebPluginFactory_extension, "extension(self, QWebPluginFactory.Extension, option: QWebPluginFactory.ExtensionOption = None, output: QWebPluginFactory.ExtensionReturn = None) -> bool");

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

    {
         ::QWebPluginFactory::Extension a0;
        const  ::QWebPluginFactory::ExtensionOption* a1 = 0;
         ::QWebPluginFactory::ExtensionReturn* a2 = 0;
         ::QWebPluginFactory *sipCpp;

        static const char *sipKwdList[] = {
            NULL,
            sipName_option,
            sipName_output,
        };

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BE|J8J8", &sipSelf, sipType_QWebPluginFactory, &sipCpp, sipType_QWebPluginFactory_Extension, &a0, sipType_QWebPluginFactory_ExtensionOption, &a1, sipType_QWebPluginFactory_ExtensionReturn, &a2))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QWebPluginFactory::extension(a0,a1,a2) : sipCpp->extension(a0,a1,a2));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_extension, doc_QWebPluginFactory_extension);

    return NULL;
}


PyDoc_STRVAR(doc_QWebPluginFactory_supportsExtension, "supportsExtension(self, QWebPluginFactory.Extension) -> bool");

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

    {
         ::QWebPluginFactory::Extension a0;
        const  ::QWebPluginFactory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BE", &sipSelf, sipType_QWebPluginFactory, &sipCpp, sipType_QWebPluginFactory_Extension, &a0))
        {
            bool sipRes;

            sipRes = (sipSelfWasArg ? sipCpp-> ::QWebPluginFactory::supportsExtension(a0) : sipCpp->supportsExtension(a0));

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebPluginFactory, sipName_supportsExtension, doc_QWebPluginFactory_supportsExtension);

    return NULL;
}


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

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

    return sipCppV;
}


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

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


extern "C" {static void dealloc_QWebPluginFactory(sipSimpleWrapper *);}
static void dealloc_QWebPluginFactory(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQWebPluginFactory *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
         ::QObject* a0 = 0;

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QWebPluginFactory[] = {
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QWebPluginFactory_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QWebPluginFactory_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_create), meth_QWebPluginFactory_create, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebPluginFactory_create)},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QWebPluginFactory_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QWebPluginFactory_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_extension), (PyCFunction)meth_QWebPluginFactory_extension, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWebPluginFactory_extension)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QWebPluginFactory_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_plugins), meth_QWebPluginFactory_plugins, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebPluginFactory_plugins)},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QWebPluginFactory_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_refreshPlugins), meth_QWebPluginFactory_refreshPlugins, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebPluginFactory_refreshPlugins)},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QWebPluginFactory_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QWebPluginFactory_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_supportsExtension), meth_QWebPluginFactory_supportsExtension, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebPluginFactory_supportsExtension)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QWebPluginFactory_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QWebPluginFactory, "\1QWebPluginFactory(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QWebPluginFactory = {
    & ::QWebPluginFactory::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWebKit_QWebPluginFactory = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebPluginFactory,
        {0},
        &plugin_QWebPluginFactory
    },
    {
        sipNameNr_QWebPluginFactory,
        {0, 0, 1},
        14, methods_QWebPluginFactory,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWebPluginFactory,
    -1,
    -1,
    supers_QWebPluginFactory,
    0,
    init_type_QWebPluginFactory,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWebPluginFactory,
    0,
    0,
    0,
    release_QWebPluginFactory,
    cast_QWebPluginFactory,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebhistoryinterface.sip"
#include <qwebhistoryinterface.h>
#line 5785 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 28 "sip/QtCore/qobject.sip"
#include <qobject.h>
#line 5789 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 5792 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qmetaobject.sip"
#include <qmetaobject.h>
#line 5795 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5798 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 247 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5801 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 235 "sip/QtCore/qcoreevent.sip"
#include <qcoreevent.h>
#line 5804 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 5807 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 5810 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 30 "sip/QtCore/qbytearray.sip"
#include <qbytearray.h>
#line 5813 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 148 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 5816 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5819 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qthread.sip"
#include <qthread.h>
#line 5822 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qnamespace.sip"
#include <qnamespace.h>
#line 5825 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qregexp.sip"
#include <qregexp.h>
#line 5828 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qregularexpression.sip"
#include <qregularexpression.h>
#line 5831 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qobjectdefs.sip"
#include <qobjectdefs.h>
#line 5834 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


class sipQWebHistoryInterface : public  ::QWebHistoryInterface
{
public:
    sipQWebHistoryInterface( ::QObject*);
    virtual ~sipQWebHistoryInterface();

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

    /*
     * There is a public method for every protected method visible from
     * this class.
     */
     ::QObject* sipProtect_sender() const;
    int sipProtect_receivers(const char*) const;
    void sipProtectVirt_timerEvent(bool, ::QTimerEvent*);
    void sipProtectVirt_childEvent(bool, ::QChildEvent*);
    void sipProtectVirt_customEvent(bool, ::QEvent*);
    void sipProtectVirt_connectNotify(bool,const  ::QMetaMethod&);
    void sipProtectVirt_disconnectNotify(bool,const  ::QMetaMethod&);
    int sipProtect_senderSignalIndex() const;
    bool sipProtect_isSignalConnected(const  ::QMetaMethod&) const;

    /*
     * There is a protected method for every virtual method visible from
     * this class.
     */
protected:
    void addHistoryEntry(const  ::QString&);
    bool historyContains(const  ::QString&) const;
    bool event( ::QEvent*);
    bool eventFilter( ::QObject*, ::QEvent*);
    void timerEvent( ::QTimerEvent*);
    void childEvent( ::QChildEvent*);
    void customEvent( ::QEvent*);
    void connectNotify(const  ::QMetaMethod&);
    void disconnectNotify(const  ::QMetaMethod&);

public:
    sipSimpleWrapper *sipPySelf;

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

    char sipPyMethods[9];
};

sipQWebHistoryInterface::sipQWebHistoryInterface( ::QObject*a0):  ::QWebHistoryInterface(a0), sipPySelf(0)
{
    memset(sipPyMethods, 0, sizeof (sipPyMethods));
}

sipQWebHistoryInterface::~sipQWebHistoryInterface()
{
    sipInstanceDestroyed(sipPySelf);
}

const QMetaObject *sipQWebHistoryInterface::metaObject() const
{
    if (sipGetInterpreter())
        return QObject::d_ptr->metaObject ? QObject::d_ptr->dynamicMetaObject() : sip_QtWebKit_qt_metaobject(sipPySelf,sipType_QWebHistoryInterface);

    return  ::QWebHistoryInterface::metaObject();
}

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

    if (_id >= 0)
        _id = sip_QtWebKit_qt_metacall(sipPySelf,sipType_QWebHistoryInterface,_c,_id,_a);

    return _id;
}

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

    return (sip_QtWebKit_qt_metacast(sipPySelf, sipType_QWebHistoryInterface, _clname, &sipCpp) ? sipCpp :  ::QWebHistoryInterface::qt_metacast(_clname));
}

void sipQWebHistoryInterface::addHistoryEntry(const  ::QString& a0)
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,&sipPyMethods[0],sipPySelf,sipName_QWebHistoryInterface,sipName_addHistoryEntry);

    if (!sipMeth)
        return;

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

    sipVH_QtWebKit_7(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

bool sipQWebHistoryInterface::historyContains(const  ::QString& a0) const
{
    sip_gilstate_t sipGILState;
    PyObject *sipMeth;

    sipMeth = sipIsPyMethod(&sipGILState,const_cast<char *>(&sipPyMethods[1]),sipPySelf,sipName_QWebHistoryInterface,sipName_historyContains);

    if (!sipMeth)
        return 0;

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

    return sipVH_QtWebKit_6(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    return sipVH_QtWebKit_5(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

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

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

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

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

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

    sipVH_QtWebKit_3(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWebKit_2(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWebKit_1(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWebKit_0(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

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

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

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

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

    sipVH_QtWebKit_0(sipGILState, sipImportedVirtErrorHandlers_QtWebKit_QtCore[0].iveh_handler, sipPySelf, sipMeth, a0);
}

 ::QObject* sipQWebHistoryInterface::sipProtect_sender() const
{
    return  ::QObject::sender();
}

int sipQWebHistoryInterface::sipProtect_receivers(const char*a0) const
{
    return  ::QObject::receivers(a0);
}

void sipQWebHistoryInterface::sipProtectVirt_timerEvent(bool sipSelfWasArg, ::QTimerEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::timerEvent(a0) : timerEvent(a0));
}

void sipQWebHistoryInterface::sipProtectVirt_childEvent(bool sipSelfWasArg, ::QChildEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::childEvent(a0) : childEvent(a0));
}

void sipQWebHistoryInterface::sipProtectVirt_customEvent(bool sipSelfWasArg, ::QEvent*a0)
{
    (sipSelfWasArg ?  ::QObject::customEvent(a0) : customEvent(a0));
}

void sipQWebHistoryInterface::sipProtectVirt_connectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::connectNotify(a0) : connectNotify(a0));
}

void sipQWebHistoryInterface::sipProtectVirt_disconnectNotify(bool sipSelfWasArg,const  ::QMetaMethod& a0)
{
    (sipSelfWasArg ?  ::QObject::disconnectNotify(a0) : disconnectNotify(a0));
}

int sipQWebHistoryInterface::sipProtect_senderSignalIndex() const
{
    return  ::QObject::senderSignalIndex();
}

bool sipQWebHistoryInterface::sipProtect_isSignalConnected(const  ::QMetaMethod& a0) const
{
    return  ::QObject::isSignalConnected(a0);
}


PyDoc_STRVAR(doc_QWebHistoryInterface_sender, "sender(self) -> QObject");

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

    {
        const sipQWebHistoryInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWebHistoryInterface, &sipCpp))
        {
             ::QObject*sipRes = 0;

#line 560 "sip/QtCore/qobject.sip"
        // sender() must be called without the GIL to avoid possible deadlocks between
        // the GIL and Qt's internal thread data mutex.
        
        Py_BEGIN_ALLOW_THREADS
        
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        sipRes = sipCpp->sender();
        #else
        sipRes = sipCpp->sipProtect_sender();
        #endif
        
        Py_END_ALLOW_THREADS
        
        if (!sipRes)
        {
            typedef QObject *(*qtcore_qobject_sender_t)();
        
            static qtcore_qobject_sender_t qtcore_qobject_sender = 0;
        
            if (!qtcore_qobject_sender)
            {
                qtcore_qobject_sender = (qtcore_qobject_sender_t)sipImportSymbol("qtcore_qobject_sender");
                Q_ASSERT(qtcore_qobject_sender);
            }
        
            sipRes = qtcore_qobject_sender();
        }
#line 6160 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryInterface, sipName_sender, doc_QWebHistoryInterface_sender);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryInterface_receivers, "receivers(self, PYQT_SIGNAL) -> int");

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

    {
        PyObject * a0;
        const sipQWebHistoryInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BP0", &sipSelf, sipType_QWebHistoryInterface, &sipCpp, &a0))
        {
            int sipRes = 0;
            sipErrorState sipError = sipErrorNone;

#line 591 "sip/QtCore/qobject.sip"
        // We need to handle the signal object.  Import the helper if it hasn't already
        // been done.
        typedef sipErrorState (*pyqt5_get_signal_signature_t)(PyObject *, const QObject *, const QByteArray &);
        
        static pyqt5_get_signal_signature_t pyqt5_get_signal_signature = 0;
        
        if (!pyqt5_get_signal_signature)
        {
            pyqt5_get_signal_signature = (pyqt5_get_signal_signature_t)sipImportSymbol("pyqt5_get_signal_signature");
            Q_ASSERT(pyqt5_get_signal_signature);
        }
        
        QByteArray signal_signature;
            
        #if defined(SIP_PROTECTED_IS_PUBLIC)
        if ((sipError = pyqt5_get_signal_signature(a0, sipCpp, signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->receivers(signal_signature.constData());
        }
        #else
        if ((sipError = pyqt5_get_signal_signature(a0, static_cast<const QObject *>(sipCpp), signal_signature)) == sipErrorNone)
        {
            sipRes = sipCpp->sipProtect_receivers(signal_signature.constData());
        }
        #endif
        else if (sipError == sipErrorContinue)
        {
            sipError = sipBadCallableArg(0, a0);
        }
#line 6220 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

            if (sipError == sipErrorFail)
                return 0;

            if (sipError == sipErrorNone)
            {
            return SIPLong_FromLong(sipRes);
            }

            sipAddException(sipError, &sipParseErr);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryInterface, sipName_receivers, doc_QWebHistoryInterface_receivers);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryInterface_timerEvent, "timerEvent(self, QTimerEvent)");

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

    {
         ::QTimerEvent* a0;
        sipQWebHistoryInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWebHistoryInterface, &sipCpp, sipType_QTimerEvent, &a0))
        {
            sipCpp->sipProtectVirt_timerEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryInterface, sipName_timerEvent, doc_QWebHistoryInterface_timerEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryInterface_childEvent, "childEvent(self, QChildEvent)");

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

    {
         ::QChildEvent* a0;
        sipQWebHistoryInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWebHistoryInterface, &sipCpp, sipType_QChildEvent, &a0))
        {
            sipCpp->sipProtectVirt_childEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryInterface, sipName_childEvent, doc_QWebHistoryInterface_childEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryInterface_customEvent, "customEvent(self, QEvent)");

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

    {
         ::QEvent* a0;
        sipQWebHistoryInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ8", &sipSelf, sipType_QWebHistoryInterface, &sipCpp, sipType_QEvent, &a0))
        {
            sipCpp->sipProtectVirt_customEvent(sipSelfWasArg,a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryInterface, sipName_customEvent, doc_QWebHistoryInterface_customEvent);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryInterface_connectNotify, "connectNotify(self, QMetaMethod)");

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

    {
        const  ::QMetaMethod* a0;
        sipQWebHistoryInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWebHistoryInterface, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_connectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryInterface, sipName_connectNotify, doc_QWebHistoryInterface_connectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryInterface_disconnectNotify, "disconnectNotify(self, QMetaMethod)");

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

    {
        const  ::QMetaMethod* a0;
        sipQWebHistoryInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWebHistoryInterface, &sipCpp, sipType_QMetaMethod, &a0))
        {
            sipCpp->sipProtectVirt_disconnectNotify(sipSelfWasArg,*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryInterface, sipName_disconnectNotify, doc_QWebHistoryInterface_disconnectNotify);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryInterface_senderSignalIndex, "senderSignalIndex(self) -> int");

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

    {
        const sipQWebHistoryInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "B", &sipSelf, sipType_QWebHistoryInterface, &sipCpp))
        {
            int sipRes;

            sipRes = sipCpp->sipProtect_senderSignalIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryInterface, sipName_senderSignalIndex, doc_QWebHistoryInterface_senderSignalIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryInterface_isSignalConnected, "isSignalConnected(self, QMetaMethod) -> bool");

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

    {
        const  ::QMetaMethod* a0;
        const sipQWebHistoryInterface *sipCpp;

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, NULL, NULL, "BJ9", &sipSelf, sipType_QWebHistoryInterface, &sipCpp, sipType_QMetaMethod, &a0))
        {
            bool sipRes;

            sipRes = sipCpp->sipProtect_isSignalConnected(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryInterface, sipName_isSignalConnected, doc_QWebHistoryInterface_isSignalConnected);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryInterface_setDefaultInterface, "setDefaultInterface(QWebHistoryInterface)");

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

    {
         ::QWebHistoryInterface* a0;
        PyObject *a0Keep;

        if (sipParseArgs(&sipParseErr, sipArgs, "@J8", &a0Keep, sipType_QWebHistoryInterface, &a0))
        {
             ::QWebHistoryInterface::setDefaultInterface(a0);

            sipKeepReference(NULL, -1, a0Keep);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryInterface, sipName_setDefaultInterface, doc_QWebHistoryInterface_setDefaultInterface);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryInterface_defaultInterface, "defaultInterface() -> QWebHistoryInterface");

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

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

            sipRes =  ::QWebHistoryInterface::defaultInterface();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryInterface, sipName_defaultInterface, doc_QWebHistoryInterface_defaultInterface);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryInterface_historyContains, "historyContains(self, str) -> bool");

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

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

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

            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QWebHistoryInterface, sipName_historyContains);
                return NULL;
            }

            sipRes = sipCpp->historyContains(*a0);
            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_QWebHistoryInterface, sipName_historyContains, doc_QWebHistoryInterface_historyContains);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryInterface_addHistoryEntry, "addHistoryEntry(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebHistoryInterface, &sipCpp, sipType_QString,&a0, &a0State))
        {
            if (!sipOrigSelf)
            {
                sipAbstractMethod(sipName_QWebHistoryInterface, sipName_addHistoryEntry);
                return NULL;
            }

            sipCpp->addHistoryEntry(*a0);
            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_QWebHistoryInterface, sipName_addHistoryEntry, doc_QWebHistoryInterface_addHistoryEntry);

    return NULL;
}


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

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

    return sipCppV;
}


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

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


extern "C" {static void dealloc_QWebHistoryInterface(sipSimpleWrapper *);}
static void dealloc_QWebHistoryInterface(sipSimpleWrapper *sipSelf)
{
    if (sipIsDerivedClass(sipSelf))
        reinterpret_cast<sipQWebHistoryInterface *>(sipGetAddress(sipSelf))->sipPySelf = NULL;

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


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

    {
         ::QObject* a0 = 0;

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

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

            sipCpp->sipPySelf = sipSelf;

            return sipCpp;
        }
    }

    return NULL;
}


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


static PyMethodDef methods_QWebHistoryInterface[] = {
    {SIP_MLNAME_CAST(sipName_addHistoryEntry), meth_QWebHistoryInterface_addHistoryEntry, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistoryInterface_addHistoryEntry)},
    {SIP_MLNAME_CAST(sipName_childEvent), (PyCFunction)meth_QWebHistoryInterface_childEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_connectNotify), (PyCFunction)meth_QWebHistoryInterface_connectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_customEvent), (PyCFunction)meth_QWebHistoryInterface_customEvent, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_defaultInterface), meth_QWebHistoryInterface_defaultInterface, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistoryInterface_defaultInterface)},
    {SIP_MLNAME_CAST(sipName_disconnectNotify), (PyCFunction)meth_QWebHistoryInterface_disconnectNotify, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_historyContains), meth_QWebHistoryInterface_historyContains, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistoryInterface_historyContains)},
    {SIP_MLNAME_CAST(sipName_isSignalConnected), (PyCFunction)meth_QWebHistoryInterface_isSignalConnected, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_receivers), (PyCFunction)meth_QWebHistoryInterface_receivers, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_sender), (PyCFunction)meth_QWebHistoryInterface_sender, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_senderSignalIndex), (PyCFunction)meth_QWebHistoryInterface_senderSignalIndex, METH_VARARGS|METH_KEYWORDS, NULL},
    {SIP_MLNAME_CAST(sipName_setDefaultInterface), meth_QWebHistoryInterface_setDefaultInterface, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistoryInterface_setDefaultInterface)},
    {SIP_MLNAME_CAST(sipName_timerEvent), (PyCFunction)meth_QWebHistoryInterface_timerEvent, METH_VARARGS|METH_KEYWORDS, NULL}
};

PyDoc_STRVAR(doc_QWebHistoryInterface, "\1QWebHistoryInterface(parent: QObject = None)");


static pyqt5ClassPluginDef plugin_QWebHistoryInterface = {
    & ::QWebHistoryInterface::staticMetaObject,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWebKit_QWebHistoryInterface = {
    {
        -1,
        0,
        0,
        SIP_TYPE_ABSTRACT|SIP_TYPE_SCC|SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebHistoryInterface,
        {0},
        &plugin_QWebHistoryInterface
    },
    {
        sipNameNr_QWebHistoryInterface,
        {0, 0, 1},
        13, methods_QWebHistoryInterface,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWebHistoryInterface,
    -1,
    -1,
    supers_QWebHistoryInterface,
    0,
    init_type_QWebHistoryInterface,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWebHistoryInterface,
    0,
    0,
    0,
    release_QWebHistoryInterface,
    cast_QWebHistoryInterface,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 45 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebhistory.sip"
#include <qwebhistory.h>
#line 6722 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebhistory.sip"
#include <qwebhistory.h>
#line 6726 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 6729 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


PyDoc_STRVAR(doc_QWebHistory_clear, "clear(self)");

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

    {
         ::QWebHistory *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_clear, doc_QWebHistory_clear);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_items, "items(self) -> object");

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

    {
        const  ::QWebHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebHistory, &sipCpp))
        {
            QList< ::QWebHistoryItem>*sipRes;

            sipRes = new QList< ::QWebHistoryItem>(sipCpp->items());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_items, doc_QWebHistory_items);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_backItems, "backItems(self, int) -> List[QWebHistoryItem]");

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

    {
        int a0;
        const  ::QWebHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWebHistory, &sipCpp, &a0))
        {
            QList< ::QWebHistoryItem>*sipRes;

            sipRes = new QList< ::QWebHistoryItem>(sipCpp->backItems(a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_backItems, doc_QWebHistory_backItems);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_forwardItems, "forwardItems(self, int) -> List[QWebHistoryItem]");

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

    {
        int a0;
        const  ::QWebHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWebHistory, &sipCpp, &a0))
        {
            QList< ::QWebHistoryItem>*sipRes;

            sipRes = new QList< ::QWebHistoryItem>(sipCpp->forwardItems(a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_forwardItems, doc_QWebHistory_forwardItems);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_canGoBack, "canGoBack(self) -> bool");

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

    {
        const  ::QWebHistory *sipCpp;

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

            sipRes = sipCpp->canGoBack();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_canGoBack, doc_QWebHistory_canGoBack);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_canGoForward, "canGoForward(self) -> bool");

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

    {
        const  ::QWebHistory *sipCpp;

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

            sipRes = sipCpp->canGoForward();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_canGoForward, doc_QWebHistory_canGoForward);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_back, "back(self)");

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

    {
         ::QWebHistory *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_back, doc_QWebHistory_back);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_forward, "forward(self)");

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

    {
         ::QWebHistory *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_forward, doc_QWebHistory_forward);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_goToItem, "goToItem(self, QWebHistoryItem)");

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

    {
        const  ::QWebHistoryItem* a0;
         ::QWebHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebHistory, &sipCpp, sipType_QWebHistoryItem, &a0))
        {
            sipCpp->goToItem(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_goToItem, doc_QWebHistory_goToItem);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_backItem, "backItem(self) -> QWebHistoryItem");

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

    {
        const  ::QWebHistory *sipCpp;

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

            sipRes = new  ::QWebHistoryItem(sipCpp->backItem());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_backItem, doc_QWebHistory_backItem);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_currentItem, "currentItem(self) -> QWebHistoryItem");

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

    {
        const  ::QWebHistory *sipCpp;

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

            sipRes = new  ::QWebHistoryItem(sipCpp->currentItem());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_currentItem, doc_QWebHistory_currentItem);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_forwardItem, "forwardItem(self) -> QWebHistoryItem");

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

    {
        const  ::QWebHistory *sipCpp;

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

            sipRes = new  ::QWebHistoryItem(sipCpp->forwardItem());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_forwardItem, doc_QWebHistory_forwardItem);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_itemAt, "itemAt(self, int) -> QWebHistoryItem");

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

    {
        int a0;
        const  ::QWebHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWebHistory, &sipCpp, &a0))
        {
             ::QWebHistoryItem*sipRes;

            sipRes = new  ::QWebHistoryItem(sipCpp->itemAt(a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_itemAt, doc_QWebHistory_itemAt);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_count, "count(self) -> int");

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

    {
        const  ::QWebHistory *sipCpp;

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

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_count, doc_QWebHistory_count);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_currentItemIndex, "currentItemIndex(self) -> int");

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

    {
        const  ::QWebHistory *sipCpp;

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

            sipRes = sipCpp->currentItemIndex();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_currentItemIndex, doc_QWebHistory_currentItemIndex);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_maximumItemCount, "maximumItemCount(self) -> int");

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

    {
        const  ::QWebHistory *sipCpp;

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

            sipRes = sipCpp->maximumItemCount();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_maximumItemCount, doc_QWebHistory_maximumItemCount);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistory_setMaximumItemCount, "setMaximumItemCount(self, int)");

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

    {
        int a0;
         ::QWebHistory *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWebHistory, &sipCpp, &a0))
        {
            sipCpp->setMaximumItemCount(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistory, sipName_setMaximumItemCount, doc_QWebHistory_setMaximumItemCount);

    return NULL;
}


extern "C" {static SIP_SSIZE_T slot_QWebHistory___len__(PyObject *);}
static SIP_SSIZE_T slot_QWebHistory___len__(PyObject *sipSelf)
{
     ::QWebHistory *sipCpp = reinterpret_cast< ::QWebHistory *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWebHistory));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 7223 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


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


/* Define this type's Python slots. */
static sipPySlotDef slots_QWebHistory[] = {
    {(void *)slot_QWebHistory___len__, len_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QWebHistory[] = {
    {SIP_MLNAME_CAST(sipName_back), meth_QWebHistory_back, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_back)},
    {SIP_MLNAME_CAST(sipName_backItem), meth_QWebHistory_backItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_backItem)},
    {SIP_MLNAME_CAST(sipName_backItems), meth_QWebHistory_backItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_backItems)},
    {SIP_MLNAME_CAST(sipName_canGoBack), meth_QWebHistory_canGoBack, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_canGoBack)},
    {SIP_MLNAME_CAST(sipName_canGoForward), meth_QWebHistory_canGoForward, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_canGoForward)},
    {SIP_MLNAME_CAST(sipName_clear), meth_QWebHistory_clear, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_clear)},
    {SIP_MLNAME_CAST(sipName_count), meth_QWebHistory_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_count)},
    {SIP_MLNAME_CAST(sipName_currentItem), meth_QWebHistory_currentItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_currentItem)},
    {SIP_MLNAME_CAST(sipName_currentItemIndex), meth_QWebHistory_currentItemIndex, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_currentItemIndex)},
    {SIP_MLNAME_CAST(sipName_forward), meth_QWebHistory_forward, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_forward)},
    {SIP_MLNAME_CAST(sipName_forwardItem), meth_QWebHistory_forwardItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_forwardItem)},
    {SIP_MLNAME_CAST(sipName_forwardItems), meth_QWebHistory_forwardItems, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_forwardItems)},
    {SIP_MLNAME_CAST(sipName_goToItem), meth_QWebHistory_goToItem, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_goToItem)},
    {SIP_MLNAME_CAST(sipName_itemAt), meth_QWebHistory_itemAt, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_itemAt)},
    {SIP_MLNAME_CAST(sipName_items), meth_QWebHistory_items, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_items)},
    {SIP_MLNAME_CAST(sipName_maximumItemCount), meth_QWebHistory_maximumItemCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_maximumItemCount)},
    {SIP_MLNAME_CAST(sipName_setMaximumItemCount), meth_QWebHistory_setMaximumItemCount, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistory_setMaximumItemCount)}
};


static pyqt5ClassPluginDef plugin_QWebHistory = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWebKit_QWebHistory = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebHistory,
        {0},
        &plugin_QWebHistory
    },
    {
        sipNameNr_QWebHistory,
        {0, 0, 1},
        17, methods_QWebHistory,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    0,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QWebHistory,
    0,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    0,
    0,
    0,
    0,
    release_QWebHistory,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebhistory.sip"
#include <qwebhistory.h>
#line 7327 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 7331 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtGui/qicon.sip"
#include <qicon.h>
#line 7334 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 303 "sip/QtCore/qdatetime.sip"
#include <qdatetime.h>
#line 7337 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7340 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 96 "sip/QtCore/qurl.sip"
#include <qurl.h>
#line 7343 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


PyDoc_STRVAR(doc_QWebHistoryItem_originalUrl, "originalUrl(self) -> QUrl");

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

    {
        const  ::QWebHistoryItem *sipCpp;

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

            sipRes = new  ::QUrl(sipCpp->originalUrl());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryItem, sipName_originalUrl, doc_QWebHistoryItem_originalUrl);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryItem_url, "url(self) -> QUrl");

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

    {
        const  ::QWebHistoryItem *sipCpp;

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

            sipRes = new  ::QUrl(sipCpp->url());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryItem, sipName_url, doc_QWebHistoryItem_url);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryItem_title, "title(self) -> str");

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

    {
        const  ::QWebHistoryItem *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryItem, sipName_title, doc_QWebHistoryItem_title);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryItem_lastVisited, "lastVisited(self) -> QDateTime");

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

    {
        const  ::QWebHistoryItem *sipCpp;

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

            sipRes = new  ::QDateTime(sipCpp->lastVisited());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryItem, sipName_lastVisited, doc_QWebHistoryItem_lastVisited);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryItem_icon, "icon(self) -> QIcon");

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

    {
        const  ::QWebHistoryItem *sipCpp;

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

            sipRes = new  ::QIcon(sipCpp->icon());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryItem, sipName_icon, doc_QWebHistoryItem_icon);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryItem_userData, "userData(self) -> Any");

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

    {
        const  ::QWebHistoryItem *sipCpp;

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

            sipRes = new  ::QVariant(sipCpp->userData());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryItem, sipName_userData, doc_QWebHistoryItem_userData);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryItem_setUserData, "setUserData(self, Any)");

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

    {
        const  ::QVariant* a0;
        int a0State = 0;
         ::QWebHistoryItem *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebHistoryItem, &sipCpp, sipType_QVariant, &a0, &a0State))
        {
            sipCpp->setUserData(*a0);
            sipReleaseType(const_cast< ::QVariant *>(a0),sipType_QVariant,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryItem, sipName_setUserData, doc_QWebHistoryItem_setUserData);

    return NULL;
}


PyDoc_STRVAR(doc_QWebHistoryItem_isValid, "isValid(self) -> bool");

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

    {
        const  ::QWebHistoryItem *sipCpp;

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

            sipRes = sipCpp->isValid();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebHistoryItem, sipName_isValid, doc_QWebHistoryItem_isValid);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWebHistoryItem(void *, int);}
static void release_QWebHistoryItem(void *sipCppV, int)
{
    delete reinterpret_cast< ::QWebHistoryItem *>(sipCppV);
}


extern "C" {static void dealloc_QWebHistoryItem(sipSimpleWrapper *);}
static void dealloc_QWebHistoryItem(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWebHistoryItem(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QWebHistoryItem(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWebHistoryItem(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QWebHistoryItem *sipCpp = 0;

    {
        const  ::QWebHistoryItem* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QWebHistoryItem, &a0))
        {
            sipCpp = new  ::QWebHistoryItem(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QWebHistoryItem[] = {
    {SIP_MLNAME_CAST(sipName_icon), meth_QWebHistoryItem_icon, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistoryItem_icon)},
    {SIP_MLNAME_CAST(sipName_isValid), meth_QWebHistoryItem_isValid, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistoryItem_isValid)},
    {SIP_MLNAME_CAST(sipName_lastVisited), meth_QWebHistoryItem_lastVisited, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistoryItem_lastVisited)},
    {SIP_MLNAME_CAST(sipName_originalUrl), meth_QWebHistoryItem_originalUrl, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistoryItem_originalUrl)},
    {SIP_MLNAME_CAST(sipName_setUserData), meth_QWebHistoryItem_setUserData, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistoryItem_setUserData)},
    {SIP_MLNAME_CAST(sipName_title), meth_QWebHistoryItem_title, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistoryItem_title)},
    {SIP_MLNAME_CAST(sipName_url), meth_QWebHistoryItem_url, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistoryItem_url)},
    {SIP_MLNAME_CAST(sipName_userData), meth_QWebHistoryItem_userData, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebHistoryItem_userData)}
};

PyDoc_STRVAR(doc_QWebHistoryItem, "\1QWebHistoryItem(QWebHistoryItem)");


static pyqt5ClassPluginDef plugin_QWebHistoryItem = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWebKit_QWebHistoryItem = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebHistoryItem,
        {0},
        &plugin_QWebHistoryItem
    },
    {
        sipNameNr_QWebHistoryItem,
        {0, 0, 1},
        8, methods_QWebHistoryItem,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWebHistoryItem,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QWebHistoryItem,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWebHistoryItem,
    0,
    0,
    0,
    release_QWebHistoryItem,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebelement.sip"
#include <qwebelement.h>
#line 7684 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebelement.sip"
#include <qwebelement.h>
#line 7688 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 7691 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 38 "sip/QtCore/qpycore_qlist.sip"
#include <qlist.h>
#line 7694 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


PyDoc_STRVAR(doc_QWebElementCollection_append, "append(self, QWebElementCollection)");

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

    {
        const  ::QWebElementCollection* a0;
         ::QWebElementCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebElementCollection, &sipCpp, sipType_QWebElementCollection, &a0))
        {
            sipCpp->append(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElementCollection, sipName_append, doc_QWebElementCollection_append);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElementCollection_count, "count(self) -> int");

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

    {
        const  ::QWebElementCollection *sipCpp;

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

            sipRes = sipCpp->count();

            return SIPLong_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElementCollection, sipName_count, doc_QWebElementCollection_count);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElementCollection_at, "at(self, int) -> QWebElement");

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

    {
        int a0;
        const  ::QWebElementCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "Bi", &sipSelf, sipType_QWebElementCollection, &sipCpp, &a0))
        {
             ::QWebElement*sipRes;

            sipRes = new  ::QWebElement(sipCpp->at(a0));

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElementCollection, sipName_at, doc_QWebElementCollection_at);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElementCollection_first, "first(self) -> QWebElement");

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

    {
        const  ::QWebElementCollection *sipCpp;

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

            sipRes = new  ::QWebElement(sipCpp->first());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElementCollection, sipName_first, doc_QWebElementCollection_first);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElementCollection_last, "last(self) -> QWebElement");

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

    {
        const  ::QWebElementCollection *sipCpp;

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

            sipRes = new  ::QWebElement(sipCpp->last());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElementCollection, sipName_last, doc_QWebElementCollection_last);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElementCollection_toList, "toList(self) -> object");

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

    {
        const  ::QWebElementCollection *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebElementCollection, &sipCpp))
        {
            QList< ::QWebElement>*sipRes;

            sipRes = new QList< ::QWebElement>(sipCpp->toList());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElementCollection, sipName_toList, doc_QWebElementCollection_toList);

    return NULL;
}


extern "C" {static PyObject *slot_QWebElementCollection___getitem__(PyObject *,PyObject *);}
static PyObject *slot_QWebElementCollection___getitem__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QWebElementCollection *sipCpp = reinterpret_cast< ::QWebElementCollection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWebElementCollection));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        int a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1i", &a0))
        {
             ::QWebElement*sipRes = 0;
            int sipIsErr = 0;

#line 126 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebelement.sip"
        Py_ssize_t idx = sipConvertFromSequenceIndex(a0, sipCpp->count());
        
        if (idx < 0)
            sipIsErr = 1;
        else
            sipRes = new QWebElement(sipCpp->operator[]((int)idx));
#line 7891 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

            if (sipIsErr)
                return 0;

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElementCollection, sipName___getitem__, NULL);

    return 0;
}


extern "C" {static SIP_SSIZE_T slot_QWebElementCollection___len__(PyObject *);}
static SIP_SSIZE_T slot_QWebElementCollection___len__(PyObject *sipSelf)
{
     ::QWebElementCollection *sipCpp = reinterpret_cast< ::QWebElementCollection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWebElementCollection));

    if (!sipCpp)
        return 0;


    {
        {
            SIP_SSIZE_T sipRes = 0;

#line 1 "Auto-generated"
            sipRes = (SIP_SSIZE_T)sipCpp->count();
#line 7922 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

            return sipRes;
        }
    }

    return 0;
}


extern "C" {static PyObject *slot_QWebElementCollection___iadd__(PyObject *,PyObject *);}
static PyObject *slot_QWebElementCollection___iadd__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QWebElementCollection *sipCpp = reinterpret_cast< ::QWebElementCollection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWebElementCollection));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QWebElementCollection* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QWebElementCollection, &a0))
        {
            sipCpp-> ::QWebElementCollection::operator+=(*a0);

            Py_INCREF(sipSelf);
            return sipSelf;
        }
    }

    /* Raise an exception if the argument couldn't be parsed. */
    sipBadOperatorArg(sipSelf,sipArg,iconcat_slot);

    return NULL;
}


extern "C" {static PyObject *slot_QWebElementCollection___add__(PyObject *,PyObject *);}
static PyObject *slot_QWebElementCollection___add__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QWebElementCollection *sipCpp = reinterpret_cast< ::QWebElementCollection *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWebElementCollection));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QWebElementCollection* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QWebElementCollection, &a0))
        {
             ::QWebElementCollection*sipRes;

            sipRes = new  ::QWebElementCollection(sipCpp-> ::QWebElementCollection::operator+(*a0));

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

    /* Raise an exception if the argument couldn't be parsed. */
    sipBadOperatorArg(sipSelf,sipArg,concat_slot);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWebElementCollection(void *, int);}
static void release_QWebElementCollection(void *sipCppV, int)
{
    delete reinterpret_cast< ::QWebElementCollection *>(sipCppV);
}


extern "C" {static void assign_QWebElementCollection(void *, SIP_SSIZE_T, const void *);}
static void assign_QWebElementCollection(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QWebElementCollection *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QWebElementCollection *>(sipSrc);
}


extern "C" {static void *array_QWebElementCollection(SIP_SSIZE_T);}
static void *array_QWebElementCollection(SIP_SSIZE_T sipNrElem)
{
    return new  ::QWebElementCollection[sipNrElem];
}


extern "C" {static void *copy_QWebElementCollection(const void *, SIP_SSIZE_T);}
static void *copy_QWebElementCollection(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QWebElementCollection(reinterpret_cast<const  ::QWebElementCollection *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QWebElementCollection(sipSimpleWrapper *);}
static void dealloc_QWebElementCollection(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWebElementCollection(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QWebElementCollection(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWebElementCollection(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QWebElementCollection *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QWebElementCollection();

            return sipCpp;
        }
    }

    {
        const  ::QWebElement* a0;
        const  ::QString* a1;
        int a1State = 0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9J1", sipType_QWebElement, &a0, sipType_QString,&a1, &a1State))
        {
            sipCpp = new  ::QWebElementCollection(*a0,*a1);
            sipReleaseType(const_cast< ::QString *>(a1),sipType_QString,a1State);

            return sipCpp;
        }
    }

    {
        const  ::QWebElementCollection* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QWebElementCollection, &a0))
        {
            sipCpp = new  ::QWebElementCollection(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QWebElementCollection[] = {
    {(void *)slot_QWebElementCollection___getitem__, getitem_slot},
    {(void *)slot_QWebElementCollection___len__, len_slot},
    {(void *)slot_QWebElementCollection___iadd__, iconcat_slot},
    {(void *)slot_QWebElementCollection___add__, concat_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QWebElementCollection[] = {
    {SIP_MLNAME_CAST(sipName_append), meth_QWebElementCollection_append, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElementCollection_append)},
    {SIP_MLNAME_CAST(sipName_at), meth_QWebElementCollection_at, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElementCollection_at)},
    {SIP_MLNAME_CAST(sipName_count), meth_QWebElementCollection_count, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElementCollection_count)},
    {SIP_MLNAME_CAST(sipName_first), meth_QWebElementCollection_first, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElementCollection_first)},
    {SIP_MLNAME_CAST(sipName_last), meth_QWebElementCollection_last, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElementCollection_last)},
    {SIP_MLNAME_CAST(sipName_toList), meth_QWebElementCollection_toList, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElementCollection_toList)}
};

PyDoc_STRVAR(doc_QWebElementCollection, "\1QWebElementCollection()\n"
    "QWebElementCollection(QWebElement, str)\n"
    "QWebElementCollection(QWebElementCollection)");


static pyqt5ClassPluginDef plugin_QWebElementCollection = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWebKit_QWebElementCollection = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebElementCollection,
        {0},
        &plugin_QWebElementCollection
    },
    {
        sipNameNr_QWebElementCollection,
        {0, 0, 1},
        6, methods_QWebElementCollection,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWebElementCollection,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QWebElementCollection,
    init_type_QWebElementCollection,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWebElementCollection,
    assign_QWebElementCollection,
    array_QWebElementCollection,
    copy_QWebElementCollection,
    release_QWebElementCollection,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 28 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebelement.sip"
#include <qwebelement.h>
#line 8157 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 26 "sip/QtGui/qpainter.sip"
#include <qpainter.h>
#line 8161 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qrect.sip"
#include <qrect.h>
#line 8164 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 8167 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 26 "sip/QtCore/qvariant.sip"
#include <qvariant.h>
#line 8170 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 36 "sip/QtCore/qstringlist.sip"
#include <qstringlist.h>
#line 8173 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 111 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebelement.sip"
#include <qwebelement.h>
#line 8176 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


PyDoc_STRVAR(doc_QWebElement_isNull, "isNull(self) -> bool");

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

    {
        const  ::QWebElement *sipCpp;

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

            sipRes = sipCpp->isNull();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_isNull, doc_QWebElement_isNull);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_findAll, "findAll(self, str) -> QWebElementCollection");

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

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

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_findAll, doc_QWebElement_findAll);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_findFirst, "findFirst(self, str) -> QWebElement");

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

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

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_findFirst, doc_QWebElement_findFirst);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_setPlainText, "setPlainText(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setPlainText(*a0);
            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_QWebElement, sipName_setPlainText, doc_QWebElement_setPlainText);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_toPlainText, "toPlainText(self) -> str");

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

    {
        const  ::QWebElement *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_toPlainText, doc_QWebElement_toPlainText);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_setOuterXml, "setOuterXml(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setOuterXml(*a0);
            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_QWebElement, sipName_setOuterXml, doc_QWebElement_setOuterXml);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_toOuterXml, "toOuterXml(self) -> str");

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

    {
        const  ::QWebElement *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_toOuterXml, doc_QWebElement_toOuterXml);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_setInnerXml, "setInnerXml(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->setInnerXml(*a0);
            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_QWebElement, sipName_setInnerXml, doc_QWebElement_setInnerXml);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_toInnerXml, "toInnerXml(self) -> str");

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

    {
        const  ::QWebElement *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_toInnerXml, doc_QWebElement_toInnerXml);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_setAttribute, "setAttribute(self, str, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->setAttribute(*a0,*a1);
            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_QWebElement, sipName_setAttribute, doc_QWebElement_setAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_setAttributeNS, "setAttributeNS(self, str, str, str)");

extern "C" {static PyObject *meth_QWebElement_setAttributeNS(PyObject *, PyObject *);}
static PyObject *meth_QWebElement_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;
         ::QWebElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1J1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
            sipCpp->setAttributeNS(*a0,*a1,*a2);
            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;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_setAttributeNS, doc_QWebElement_setAttributeNS);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_attribute, "attribute(self, str, defaultValue: str = '') -> str");

extern "C" {static PyObject *meth_QWebElement_attribute(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWebElement_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  ::QWebElement *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1|J1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->attribute(*a0,*a1));
            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_QWebElement, sipName_attribute, doc_QWebElement_attribute);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_attributeNS, "attributeNS(self, str, str, defaultValue: str = '') -> str");

extern "C" {static PyObject *meth_QWebElement_attributeNS(PyObject *, PyObject *, PyObject *);}
static PyObject *meth_QWebElement_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  ::QWebElement *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "BJ1J1|J1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State, sipType_QString,&a2, &a2State))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->attributeNS(*a0,*a1,*a2));
            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_QWebElement, sipName_attributeNS, doc_QWebElement_attributeNS);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_hasAttribute, "hasAttribute(self, str) -> bool");

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

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

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

            sipRes = sipCpp->hasAttribute(*a0);
            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_QWebElement, sipName_hasAttribute, doc_QWebElement_hasAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_hasAttributeNS, "hasAttributeNS(self, str, str) -> bool");

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

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

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

            sipRes = sipCpp->hasAttributeNS(*a0,*a1);
            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_QWebElement, sipName_hasAttributeNS, doc_QWebElement_hasAttributeNS);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_removeAttribute, "removeAttribute(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->removeAttribute(*a0);
            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_QWebElement, sipName_removeAttribute, doc_QWebElement_removeAttribute);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_removeAttributeNS, "removeAttributeNS(self, str, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->removeAttributeNS(*a0,*a1);
            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_QWebElement, sipName_removeAttributeNS, doc_QWebElement_removeAttributeNS);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_hasAttributes, "hasAttributes(self) -> bool");

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

    {
        const  ::QWebElement *sipCpp;

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

            sipRes = sipCpp->hasAttributes();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_hasAttributes, doc_QWebElement_hasAttributes);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_attributeNames, "attributeNames(self, namespaceUri: str = '') -> List[str]");

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

    {
        const  ::QString& a0def = QString();
        const  ::QString* a0 = &a0def;
        int a0State = 0;
        const  ::QWebElement *sipCpp;

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

        if (sipParseKwdArgs(&sipParseErr, sipArgs, sipKwds, sipKwdList, NULL, "B|J1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
             ::QStringList*sipRes;

            sipRes = new  ::QStringList(sipCpp->attributeNames(*a0));
            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_QWebElement, sipName_attributeNames, doc_QWebElement_attributeNames);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_classes, "classes(self) -> List[str]");

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

    {
        const  ::QWebElement *sipCpp;

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

            sipRes = new  ::QStringList(sipCpp->classes());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_classes, doc_QWebElement_classes);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_hasClass, "hasClass(self, str) -> bool");

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

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

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

            sipRes = sipCpp->hasClass(*a0);
            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_QWebElement, sipName_hasClass, doc_QWebElement_hasClass);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_addClass, "addClass(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->addClass(*a0);
            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_QWebElement, sipName_addClass, doc_QWebElement_addClass);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_removeClass, "removeClass(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->removeClass(*a0);
            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_QWebElement, sipName_removeClass, doc_QWebElement_removeClass);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_toggleClass, "toggleClass(self, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->toggleClass(*a0);
            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_QWebElement, sipName_toggleClass, doc_QWebElement_toggleClass);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_hasFocus, "hasFocus(self) -> bool");

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

    {
        const  ::QWebElement *sipCpp;

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

            sipRes = sipCpp->hasFocus();

            return PyBool_FromLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_hasFocus, doc_QWebElement_hasFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_setFocus, "setFocus(self)");

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

    {
         ::QWebElement *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_setFocus, doc_QWebElement_setFocus);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_geometry, "geometry(self) -> QRect");

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

    {
        const  ::QWebElement *sipCpp;

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

            sipRes = new  ::QRect(sipCpp->geometry());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_geometry, doc_QWebElement_geometry);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_tagName, "tagName(self) -> str");

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

    {
        const  ::QWebElement *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_tagName, doc_QWebElement_tagName);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_prefix, "prefix(self) -> str");

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

    {
        const  ::QWebElement *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_prefix, doc_QWebElement_prefix);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_localName, "localName(self) -> str");

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

    {
        const  ::QWebElement *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_localName, doc_QWebElement_localName);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_namespaceUri, "namespaceUri(self) -> str");

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

    {
        const  ::QWebElement *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_namespaceUri, doc_QWebElement_namespaceUri);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_parent, "parent(self) -> QWebElement");

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

    {
        const  ::QWebElement *sipCpp;

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

            sipRes = new  ::QWebElement(sipCpp->parent());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_parent, doc_QWebElement_parent);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_firstChild, "firstChild(self) -> QWebElement");

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

    {
        const  ::QWebElement *sipCpp;

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

            sipRes = new  ::QWebElement(sipCpp->firstChild());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_firstChild, doc_QWebElement_firstChild);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_lastChild, "lastChild(self) -> QWebElement");

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

    {
        const  ::QWebElement *sipCpp;

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

            sipRes = new  ::QWebElement(sipCpp->lastChild());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_lastChild, doc_QWebElement_lastChild);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_nextSibling, "nextSibling(self) -> QWebElement");

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

    {
        const  ::QWebElement *sipCpp;

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

            sipRes = new  ::QWebElement(sipCpp->nextSibling());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_nextSibling, doc_QWebElement_nextSibling);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_previousSibling, "previousSibling(self) -> QWebElement");

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

    {
        const  ::QWebElement *sipCpp;

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

            sipRes = new  ::QWebElement(sipCpp->previousSibling());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_previousSibling, doc_QWebElement_previousSibling);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_document, "document(self) -> QWebElement");

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

    {
        const  ::QWebElement *sipCpp;

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

            sipRes = new  ::QWebElement(sipCpp->document());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_document, doc_QWebElement_document);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_webFrame, "webFrame(self) -> QWebFrame");

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

    {
        const  ::QWebElement *sipCpp;

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

            sipRes = sipCpp->webFrame();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_webFrame, doc_QWebElement_webFrame);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_appendInside, "appendInside(self, str)\n"
    "appendInside(self, QWebElement)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->appendInside(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QWebElement* a0;
         ::QWebElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QWebElement, &a0))
        {
            sipCpp->appendInside(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_appendInside, doc_QWebElement_appendInside);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_prependInside, "prependInside(self, str)\n"
    "prependInside(self, QWebElement)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->prependInside(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QWebElement* a0;
         ::QWebElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QWebElement, &a0))
        {
            sipCpp->prependInside(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_prependInside, doc_QWebElement_prependInside);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_appendOutside, "appendOutside(self, str)\n"
    "appendOutside(self, QWebElement)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->appendOutside(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QWebElement* a0;
         ::QWebElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QWebElement, &a0))
        {
            sipCpp->appendOutside(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_appendOutside, doc_QWebElement_appendOutside);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_prependOutside, "prependOutside(self, str)\n"
    "prependOutside(self, QWebElement)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->prependOutside(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QWebElement* a0;
         ::QWebElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QWebElement, &a0))
        {
            sipCpp->prependOutside(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_prependOutside, doc_QWebElement_prependOutside);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_encloseContentsWith, "encloseContentsWith(self, QWebElement)\n"
    "encloseContentsWith(self, str)");

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

    {
        const  ::QWebElement* a0;
         ::QWebElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QWebElement, &a0))
        {
            sipCpp->encloseContentsWith(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->encloseContentsWith(*a0);
            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_QWebElement, sipName_encloseContentsWith, doc_QWebElement_encloseContentsWith);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_encloseWith, "encloseWith(self, str)\n"
    "encloseWith(self, QWebElement)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->encloseWith(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QWebElement* a0;
         ::QWebElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QWebElement, &a0))
        {
            sipCpp->encloseWith(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_encloseWith, doc_QWebElement_encloseWith);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_replace, "replace(self, str)\n"
    "replace(self, QWebElement)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State))
        {
            sipCpp->replace(*a0);
            sipReleaseType(const_cast< ::QString *>(a0),sipType_QString,a0State);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
        const  ::QWebElement* a0;
         ::QWebElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ9", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QWebElement, &a0))
        {
            sipCpp->replace(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_replace, doc_QWebElement_replace);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_clone, "clone(self) -> QWebElement");

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

    {
        const  ::QWebElement *sipCpp;

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

            sipRes = new  ::QWebElement(sipCpp->clone());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_clone, doc_QWebElement_clone);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_takeFromDocument, "takeFromDocument(self) -> QWebElement");

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

    {
         ::QWebElement *sipCpp;

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

            sipRes = &sipCpp->takeFromDocument();

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_takeFromDocument, doc_QWebElement_takeFromDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_removeFromDocument, "removeFromDocument(self)");

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

    {
         ::QWebElement *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_removeFromDocument, doc_QWebElement_removeFromDocument);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_removeAllChildren, "removeAllChildren(self)");

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

    {
         ::QWebElement *sipCpp;

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

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_removeAllChildren, doc_QWebElement_removeAllChildren);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_evaluateJavaScript, "evaluateJavaScript(self, str) -> Any");

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

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

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_evaluateJavaScript, doc_QWebElement_evaluateJavaScript);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_styleProperty, "styleProperty(self, str, QWebElement.StyleResolveStrategy) -> str");

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

    {
        const  ::QString* a0;
        int a0State = 0;
         ::QWebElement::StyleResolveStrategy a1;
        const  ::QWebElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1E", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QWebElement_StyleResolveStrategy, &a1))
        {
             ::QString*sipRes;

            sipRes = new  ::QString(sipCpp->styleProperty(*a0,a1));
            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_QWebElement, sipName_styleProperty, doc_QWebElement_styleProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_setStyleProperty, "setStyleProperty(self, str, str)");

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

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

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ1J1", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QString,&a0, &a0State, sipType_QString,&a1, &a1State))
        {
            sipCpp->setStyleProperty(*a0,*a1);
            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_QWebElement, sipName_setStyleProperty, doc_QWebElement_setStyleProperty);

    return NULL;
}


PyDoc_STRVAR(doc_QWebElement_render, "render(self, QPainter)\n"
    "render(self, QPainter, QRect)");

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

    {
         ::QPainter* a0;
         ::QWebElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QPainter, &a0))
        {
            sipCpp->render(a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    {
         ::QPainter* a0;
        const  ::QRect* a1;
         ::QWebElement *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "BJ8J9", &sipSelf, sipType_QWebElement, &sipCpp, sipType_QPainter, &a0, sipType_QRect, &a1))
        {
            sipCpp->render(a0,*a1);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebElement, sipName_render, doc_QWebElement_render);

    return NULL;
}


extern "C" {static PyObject *slot_QWebElement___ne__(PyObject *,PyObject *);}
static PyObject *slot_QWebElement___ne__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QWebElement *sipCpp = reinterpret_cast< ::QWebElement *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWebElement));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QWebElement* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QWebElement, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QWebElement::operator!=(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWebKit, ne_slot, sipType_QWebElement, sipSelf, sipArg);
}


extern "C" {static PyObject *slot_QWebElement___eq__(PyObject *,PyObject *);}
static PyObject *slot_QWebElement___eq__(PyObject *sipSelf,PyObject *sipArg)
{
     ::QWebElement *sipCpp = reinterpret_cast< ::QWebElement *>(sipGetCppPtr((sipSimpleWrapper *)sipSelf,sipType_QWebElement));

    if (!sipCpp)
        return 0;

    PyObject *sipParseErr = NULL;

    {
        const  ::QWebElement* a0;

        if (sipParseArgs(&sipParseErr, sipArg, "1J9", sipType_QWebElement, &a0))
        {
            bool sipRes;

            sipRes = sipCpp-> ::QWebElement::operator==(*a0);

            return PyBool_FromLong(sipRes);
        }
    }

    Py_XDECREF(sipParseErr);

    if (sipParseErr == Py_None)
        return NULL;

    return sipPySlotExtend(&sipModuleAPI_QtWebKit, eq_slot, sipType_QWebElement, sipSelf, sipArg);
}


/* Call the instance's destructor. */
extern "C" {static void release_QWebElement(void *, int);}
static void release_QWebElement(void *sipCppV, int)
{
    delete reinterpret_cast< ::QWebElement *>(sipCppV);
}


extern "C" {static void assign_QWebElement(void *, SIP_SSIZE_T, const void *);}
static void assign_QWebElement(void *sipDst, SIP_SSIZE_T sipDstIdx, const void *sipSrc)
{
    reinterpret_cast< ::QWebElement *>(sipDst)[sipDstIdx] = *reinterpret_cast<const  ::QWebElement *>(sipSrc);
}


extern "C" {static void *array_QWebElement(SIP_SSIZE_T);}
static void *array_QWebElement(SIP_SSIZE_T sipNrElem)
{
    return new  ::QWebElement[sipNrElem];
}


extern "C" {static void *copy_QWebElement(const void *, SIP_SSIZE_T);}
static void *copy_QWebElement(const void *sipSrc, SIP_SSIZE_T sipSrcIdx)
{
    return new  ::QWebElement(reinterpret_cast<const  ::QWebElement *>(sipSrc)[sipSrcIdx]);
}


extern "C" {static void dealloc_QWebElement(sipSimpleWrapper *);}
static void dealloc_QWebElement(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWebElement(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QWebElement(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWebElement(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QWebElement *sipCpp = 0;

    {
        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, ""))
        {
            sipCpp = new  ::QWebElement();

            return sipCpp;
        }
    }

    {
        const  ::QWebElement* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QWebElement, &a0))
        {
            sipCpp = new  ::QWebElement(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


/* Define this type's Python slots. */
static sipPySlotDef slots_QWebElement[] = {
    {(void *)slot_QWebElement___ne__, ne_slot},
    {(void *)slot_QWebElement___eq__, eq_slot},
    {0, (sipPySlotType)0}
};


static PyMethodDef methods_QWebElement[] = {
    {SIP_MLNAME_CAST(sipName_addClass), meth_QWebElement_addClass, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_addClass)},
    {SIP_MLNAME_CAST(sipName_appendInside), meth_QWebElement_appendInside, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_appendInside)},
    {SIP_MLNAME_CAST(sipName_appendOutside), meth_QWebElement_appendOutside, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_appendOutside)},
    {SIP_MLNAME_CAST(sipName_attribute), (PyCFunction)meth_QWebElement_attribute, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWebElement_attribute)},
    {SIP_MLNAME_CAST(sipName_attributeNS), (PyCFunction)meth_QWebElement_attributeNS, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWebElement_attributeNS)},
    {SIP_MLNAME_CAST(sipName_attributeNames), (PyCFunction)meth_QWebElement_attributeNames, METH_VARARGS|METH_KEYWORDS, SIP_MLDOC_CAST(doc_QWebElement_attributeNames)},
    {SIP_MLNAME_CAST(sipName_classes), meth_QWebElement_classes, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_classes)},
    {SIP_MLNAME_CAST(sipName_clone), meth_QWebElement_clone, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_clone)},
    {SIP_MLNAME_CAST(sipName_document), meth_QWebElement_document, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_document)},
    {SIP_MLNAME_CAST(sipName_encloseContentsWith), meth_QWebElement_encloseContentsWith, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_encloseContentsWith)},
    {SIP_MLNAME_CAST(sipName_encloseWith), meth_QWebElement_encloseWith, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_encloseWith)},
    {SIP_MLNAME_CAST(sipName_evaluateJavaScript), meth_QWebElement_evaluateJavaScript, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_evaluateJavaScript)},
    {SIP_MLNAME_CAST(sipName_findAll), meth_QWebElement_findAll, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_findAll)},
    {SIP_MLNAME_CAST(sipName_findFirst), meth_QWebElement_findFirst, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_findFirst)},
    {SIP_MLNAME_CAST(sipName_firstChild), meth_QWebElement_firstChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_firstChild)},
    {SIP_MLNAME_CAST(sipName_geometry), meth_QWebElement_geometry, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_geometry)},
    {SIP_MLNAME_CAST(sipName_hasAttribute), meth_QWebElement_hasAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_hasAttribute)},
    {SIP_MLNAME_CAST(sipName_hasAttributeNS), meth_QWebElement_hasAttributeNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_hasAttributeNS)},
    {SIP_MLNAME_CAST(sipName_hasAttributes), meth_QWebElement_hasAttributes, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_hasAttributes)},
    {SIP_MLNAME_CAST(sipName_hasClass), meth_QWebElement_hasClass, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_hasClass)},
    {SIP_MLNAME_CAST(sipName_hasFocus), meth_QWebElement_hasFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_hasFocus)},
    {SIP_MLNAME_CAST(sipName_isNull), meth_QWebElement_isNull, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_isNull)},
    {SIP_MLNAME_CAST(sipName_lastChild), meth_QWebElement_lastChild, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_lastChild)},
    {SIP_MLNAME_CAST(sipName_localName), meth_QWebElement_localName, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_localName)},
    {SIP_MLNAME_CAST(sipName_namespaceUri), meth_QWebElement_namespaceUri, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_namespaceUri)},
    {SIP_MLNAME_CAST(sipName_nextSibling), meth_QWebElement_nextSibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_nextSibling)},
    {SIP_MLNAME_CAST(sipName_parent), meth_QWebElement_parent, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_parent)},
    {SIP_MLNAME_CAST(sipName_prefix), meth_QWebElement_prefix, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_prefix)},
    {SIP_MLNAME_CAST(sipName_prependInside), meth_QWebElement_prependInside, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_prependInside)},
    {SIP_MLNAME_CAST(sipName_prependOutside), meth_QWebElement_prependOutside, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_prependOutside)},
    {SIP_MLNAME_CAST(sipName_previousSibling), meth_QWebElement_previousSibling, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_previousSibling)},
    {SIP_MLNAME_CAST(sipName_removeAllChildren), meth_QWebElement_removeAllChildren, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_removeAllChildren)},
    {SIP_MLNAME_CAST(sipName_removeAttribute), meth_QWebElement_removeAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_removeAttribute)},
    {SIP_MLNAME_CAST(sipName_removeAttributeNS), meth_QWebElement_removeAttributeNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_removeAttributeNS)},
    {SIP_MLNAME_CAST(sipName_removeClass), meth_QWebElement_removeClass, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_removeClass)},
    {SIP_MLNAME_CAST(sipName_removeFromDocument), meth_QWebElement_removeFromDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_removeFromDocument)},
    {SIP_MLNAME_CAST(sipName_render), meth_QWebElement_render, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_render)},
    {SIP_MLNAME_CAST(sipName_replace), meth_QWebElement_replace, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_replace)},
    {SIP_MLNAME_CAST(sipName_setAttribute), meth_QWebElement_setAttribute, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_setAttribute)},
    {SIP_MLNAME_CAST(sipName_setAttributeNS), meth_QWebElement_setAttributeNS, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_setAttributeNS)},
    {SIP_MLNAME_CAST(sipName_setFocus), meth_QWebElement_setFocus, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_setFocus)},
    {SIP_MLNAME_CAST(sipName_setInnerXml), meth_QWebElement_setInnerXml, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_setInnerXml)},
    {SIP_MLNAME_CAST(sipName_setOuterXml), meth_QWebElement_setOuterXml, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_setOuterXml)},
    {SIP_MLNAME_CAST(sipName_setPlainText), meth_QWebElement_setPlainText, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_setPlainText)},
    {SIP_MLNAME_CAST(sipName_setStyleProperty), meth_QWebElement_setStyleProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_setStyleProperty)},
    {SIP_MLNAME_CAST(sipName_styleProperty), meth_QWebElement_styleProperty, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_styleProperty)},
    {SIP_MLNAME_CAST(sipName_tagName), meth_QWebElement_tagName, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_tagName)},
    {SIP_MLNAME_CAST(sipName_takeFromDocument), meth_QWebElement_takeFromDocument, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_takeFromDocument)},
    {SIP_MLNAME_CAST(sipName_toInnerXml), meth_QWebElement_toInnerXml, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_toInnerXml)},
    {SIP_MLNAME_CAST(sipName_toOuterXml), meth_QWebElement_toOuterXml, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_toOuterXml)},
    {SIP_MLNAME_CAST(sipName_toPlainText), meth_QWebElement_toPlainText, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_toPlainText)},
    {SIP_MLNAME_CAST(sipName_toggleClass), meth_QWebElement_toggleClass, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_toggleClass)},
    {SIP_MLNAME_CAST(sipName_webFrame), meth_QWebElement_webFrame, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebElement_webFrame)}
};

static sipEnumMemberDef enummembers_QWebElement[] = {
    {sipName_CascadedStyle, static_cast<int>( ::QWebElement::CascadedStyle), 8},
    {sipName_ComputedStyle, static_cast<int>( ::QWebElement::ComputedStyle), 8},
    {sipName_InlineStyle, static_cast<int>( ::QWebElement::InlineStyle), 8},
};

PyDoc_STRVAR(doc_QWebElement, "\1QWebElement()\n"
    "QWebElement(QWebElement)");


static pyqt5ClassPluginDef plugin_QWebElement = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWebKit_QWebElement = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebElement,
        {0},
        &plugin_QWebElement
    },
    {
        sipNameNr_QWebElement,
        {0, 0, 1},
        53, methods_QWebElement,
        3, enummembers_QWebElement,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWebElement,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    slots_QWebElement,
    init_type_QWebElement,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWebElement,
    assign_QWebElement,
    array_QWebElement,
    copy_QWebElement,
    release_QWebElement,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebdatabase.sip"
#include <qwebdatabase.h>
#line 10159 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"

#line 26 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/sip/QtWebKit/qwebsecurityorigin.sip"
#include <qwebsecurityorigin.h>
#line 10163 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"
#line 27 "sip/QtCore/qstring.sip"
#include <qstring.h>
#line 10166 "/usr/src/ports/python-pyqt5/python-pyqt5-5.9-2.i686/build/py2/QtWebKit/sipQtWebKitpart0.cpp"


PyDoc_STRVAR(doc_QWebDatabase_name, "name(self) -> str");

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

    {
        const  ::QWebDatabase *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebDatabase, sipName_name, doc_QWebDatabase_name);

    return NULL;
}


PyDoc_STRVAR(doc_QWebDatabase_displayName, "displayName(self) -> str");

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

    {
        const  ::QWebDatabase *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebDatabase, sipName_displayName, doc_QWebDatabase_displayName);

    return NULL;
}


PyDoc_STRVAR(doc_QWebDatabase_expectedSize, "expectedSize(self) -> int");

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

    {
        const  ::QWebDatabase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebDatabase, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->expectedSize();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebDatabase, sipName_expectedSize, doc_QWebDatabase_expectedSize);

    return NULL;
}


PyDoc_STRVAR(doc_QWebDatabase_size, "size(self) -> int");

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

    {
        const  ::QWebDatabase *sipCpp;

        if (sipParseArgs(&sipParseErr, sipArgs, "B", &sipSelf, sipType_QWebDatabase, &sipCpp))
        {
             ::qint64 sipRes;

            sipRes = sipCpp->size();

            return PyLong_FromLongLong(sipRes);
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebDatabase, sipName_size, doc_QWebDatabase_size);

    return NULL;
}


PyDoc_STRVAR(doc_QWebDatabase_fileName, "fileName(self) -> str");

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

    {
        const  ::QWebDatabase *sipCpp;

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

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

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebDatabase, sipName_fileName, doc_QWebDatabase_fileName);

    return NULL;
}


PyDoc_STRVAR(doc_QWebDatabase_origin, "origin(self) -> QWebSecurityOrigin");

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

    {
        const  ::QWebDatabase *sipCpp;

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

            sipRes = new  ::QWebSecurityOrigin(sipCpp->origin());

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

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebDatabase, sipName_origin, doc_QWebDatabase_origin);

    return NULL;
}


PyDoc_STRVAR(doc_QWebDatabase_removeDatabase, "removeDatabase(QWebDatabase)");

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

    {
        const  ::QWebDatabase* a0;

        if (sipParseArgs(&sipParseErr, sipArgs, "J9", sipType_QWebDatabase, &a0))
        {
             ::QWebDatabase::removeDatabase(*a0);

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebDatabase, sipName_removeDatabase, doc_QWebDatabase_removeDatabase);

    return NULL;
}


PyDoc_STRVAR(doc_QWebDatabase_removeAllDatabases, "removeAllDatabases()");

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

    {
        if (sipParseArgs(&sipParseErr, sipArgs, ""))
        {
             ::QWebDatabase::removeAllDatabases();

            Py_INCREF(Py_None);
            return Py_None;
        }
    }

    /* Raise an exception if the arguments couldn't be parsed. */
    sipNoMethod(sipParseErr, sipName_QWebDatabase, sipName_removeAllDatabases, doc_QWebDatabase_removeAllDatabases);

    return NULL;
}


/* Call the instance's destructor. */
extern "C" {static void release_QWebDatabase(void *, int);}
static void release_QWebDatabase(void *sipCppV, int)
{
    delete reinterpret_cast< ::QWebDatabase *>(sipCppV);
}


extern "C" {static void dealloc_QWebDatabase(sipSimpleWrapper *);}
static void dealloc_QWebDatabase(sipSimpleWrapper *sipSelf)
{
    if (sipIsOwnedByPython(sipSelf))
    {
        release_QWebDatabase(sipGetAddress(sipSelf), 0);
    }
}


extern "C" {static void *init_type_QWebDatabase(sipSimpleWrapper *, PyObject *, PyObject *, PyObject **, PyObject **, PyObject **);}
static void *init_type_QWebDatabase(sipSimpleWrapper *, PyObject *sipArgs, PyObject *sipKwds, PyObject **sipUnused, PyObject **, PyObject **sipParseErr)
{
     ::QWebDatabase *sipCpp = 0;

    {
        const  ::QWebDatabase* a0;

        if (sipParseKwdArgs(sipParseErr, sipArgs, sipKwds, NULL, sipUnused, "J9", sipType_QWebDatabase, &a0))
        {
            sipCpp = new  ::QWebDatabase(*a0);

            return sipCpp;
        }
    }

    return NULL;
}


static PyMethodDef methods_QWebDatabase[] = {
    {SIP_MLNAME_CAST(sipName_displayName), meth_QWebDatabase_displayName, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebDatabase_displayName)},
    {SIP_MLNAME_CAST(sipName_expectedSize), meth_QWebDatabase_expectedSize, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebDatabase_expectedSize)},
    {SIP_MLNAME_CAST(sipName_fileName), meth_QWebDatabase_fileName, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebDatabase_fileName)},
    {SIP_MLNAME_CAST(sipName_name), meth_QWebDatabase_name, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebDatabase_name)},
    {SIP_MLNAME_CAST(sipName_origin), meth_QWebDatabase_origin, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebDatabase_origin)},
    {SIP_MLNAME_CAST(sipName_removeAllDatabases), meth_QWebDatabase_removeAllDatabases, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebDatabase_removeAllDatabases)},
    {SIP_MLNAME_CAST(sipName_removeDatabase), meth_QWebDatabase_removeDatabase, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebDatabase_removeDatabase)},
    {SIP_MLNAME_CAST(sipName_size), meth_QWebDatabase_size, METH_VARARGS, SIP_MLDOC_CAST(doc_QWebDatabase_size)}
};

PyDoc_STRVAR(doc_QWebDatabase, "\1QWebDatabase(QWebDatabase)");


static pyqt5ClassPluginDef plugin_QWebDatabase = {
    0,
    0,
    0,
    0
};


sipClassTypeDef sipTypeDef_QtWebKit_QWebDatabase = {
    {
        -1,
        0,
        0,
        SIP_TYPE_SUPER_INIT|SIP_TYPE_LIMITED_API|SIP_TYPE_CLASS,
        sipNameNr_QWebDatabase,
        {0},
        &plugin_QWebDatabase
    },
    {
        sipNameNr_QWebDatabase,
        {0, 0, 1},
        8, methods_QWebDatabase,
        0, 0,
        0, 0,
        {0, 0, 0, 0, 0, 0, 0, 0, 0, 0},
    },
    doc_QWebDatabase,
    -1,
    sipNameNr_sip_simplewrapper,
    0,
    0,
    init_type_QWebDatabase,
    0,
    0,
#if PY_MAJOR_VERSION >= 3
    0,
    0,
#else
    0,
    0,
    0,
    0,
#endif
    dealloc_QWebDatabase,
    0,
    0,
    0,
    release_QWebDatabase,
    0,
    0,
    0,
    0,
    0,
    0,
    0
};
